|
|
|
@ -151,7 +151,7 @@ public class DsCraftController extends BladeController { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@GetMapping("/listByPart") |
|
|
|
@GetMapping("/listByPart") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@Operation(summary = "获取版本号", description = "传入零件ID") |
|
|
|
@Operation(summary = "根据零件ID查询工艺", description = "传入零件ID") |
|
|
|
public R<List<DsCraftVO>> listByPart(Long partId) { |
|
|
|
public R<List<DsCraftVO>> listByPart(Long partId) { |
|
|
|
return R.data(dsCraftService.selectDsCraftByPartId(partId)); |
|
|
|
return R.data(dsCraftService.selectDsCraftByPartId(partId)); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -183,4 +183,17 @@ public class DsCraftController extends BladeController { |
|
|
|
return R.status(dsCraftService.craftBatchCopy(craftVO)); |
|
|
|
return R.status(dsCraftService.craftBatchCopy(craftVO)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 根据零件号查询工艺 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@GetMapping("/listByPartCode") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
|
|
|
@Operation(summary = "根据零件号查询工艺", description = "传入零件partCode") |
|
|
|
|
|
|
|
public R<List<DsCraftVO>> listByPartCode(String partCode) { |
|
|
|
|
|
|
|
return R.data(dsCraftService.selectDsCraftByPartCode(partCode)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|