包装箱基板更新
This commit is contained in:
@@ -70,7 +70,7 @@ public class ChangePackagingBoxHistoryController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:save')")
|
||||
public Result<Long> save(@RequestBody ChangePackagingBoxHistoryDTO dto){
|
||||
//效验数据
|
||||
@@ -83,7 +83,7 @@ public class ChangePackagingBoxHistoryController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:update')")
|
||||
public Result<Long> update(@RequestBody ChangePackagingBoxHistoryDTO dto){
|
||||
//效验数据
|
||||
@@ -96,7 +96,7 @@ public class ChangePackagingBoxHistoryController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -109,7 +109,7 @@ public class ChangePackagingBoxHistoryController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:changePackagingBoxHistory:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<ChangePackagingBoxHistoryDTO> list = changePackagingBoxHistoryService.list(params);
|
||||
|
||||
@@ -82,7 +82,7 @@ public class PrintModelController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:printModel:update')")
|
||||
public Result<Long> update(@RequestBody PrintModelDTO dto){
|
||||
//效验数据
|
||||
@@ -95,7 +95,7 @@ public class PrintModelController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:printModel:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -108,7 +108,7 @@ public class PrintModelController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:printModel:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<PrintModelDTO> list = printModelService.list(params);
|
||||
|
||||
@@ -67,7 +67,7 @@ public class WoCompensationPowerController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:save')")
|
||||
public Result<Long> save(@RequestBody WoCompensationPowerDTO dto){
|
||||
//效验数据
|
||||
@@ -80,7 +80,7 @@ public class WoCompensationPowerController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:update')")
|
||||
public Result<Long> update(@RequestBody WoCompensationPowerDTO dto){
|
||||
//效验数据
|
||||
@@ -93,7 +93,7 @@ public class WoCompensationPowerController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -106,7 +106,7 @@ public class WoCompensationPowerController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woCompensationPower:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<WoCompensationPowerDTO> list = woCompensationPowerService.list(params);
|
||||
@@ -116,7 +116,7 @@ public class WoCompensationPowerController {
|
||||
|
||||
@PostMapping(value = "list")
|
||||
@ApiOperation(value = "获取基板补偿功率")
|
||||
@LogOperation("获取基板补偿功率")
|
||||
// @LogOperation("获取基板补偿功率")
|
||||
public List<WoCompensationPowerDTO> list() { return woCompensationPowerService.list(); }
|
||||
|
||||
}
|
||||
@@ -74,7 +74,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:save')")
|
||||
public Result<Long> save(@RequestBody WoPackagingBoxDTO dto){
|
||||
//效验数据
|
||||
@@ -87,7 +87,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:update')")
|
||||
public Result<Long> update(@RequestBody WoPackagingBoxDTO dto){
|
||||
//效验数据
|
||||
@@ -100,7 +100,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -113,7 +113,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBox:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<WoPackagingBoxDTO> list = woPackagingBoxService.list(params);
|
||||
@@ -123,7 +123,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@PostMapping(value = "list")
|
||||
@ApiOperation(value = "获取列表")
|
||||
@LogOperation("获取列表")
|
||||
// @LogOperation("获取列表")
|
||||
public List<WoPackagingBoxDTO> list() { return woPackagingBoxService.list(); }
|
||||
|
||||
}
|
||||
@@ -81,7 +81,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:save')")
|
||||
public Result<Long> save(@RequestBody WoPackagingBoxSubstrateDTO dto){
|
||||
//效验数据
|
||||
@@ -94,7 +94,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:update')")
|
||||
public Result<Long> update(@RequestBody WoPackagingBoxSubstrateDTO dto){
|
||||
//效验数据
|
||||
@@ -107,7 +107,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -120,7 +120,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingBoxSubstrate:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<WoPackagingBoxSubstrateDTO> list = woPackagingBoxSubstrateService.list(params);
|
||||
@@ -128,10 +128,10 @@ public class WoPackagingBoxSubstrateController {
|
||||
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxSubstrateExcel.class);
|
||||
}
|
||||
|
||||
@PostMapping("removeSubstrate")
|
||||
@PostMapping("removeSubstrate/{id}")
|
||||
@ApiOperation("移箱")
|
||||
@LogOperation("移箱")
|
||||
public Result removeSubstrate(@RequestBody Long id){
|
||||
// @LogOperation("移箱")
|
||||
public Result removeSubstrate(@PathVariable("id") Long id){
|
||||
|
||||
woPackagingBoxSubstrateService.removeSubstrate(id);
|
||||
|
||||
@@ -140,7 +140,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PostMapping("insertSubstrate")
|
||||
@ApiOperation("合箱")
|
||||
@LogOperation("合箱")
|
||||
// @LogOperation("合箱")
|
||||
public Result insertSubstrate(@RequestBody WoPackagingBoxSubstrateDTO dto){
|
||||
|
||||
String woSubstrateId = dto.getWoSubstrateId();
|
||||
@@ -183,7 +183,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PostMapping("replaceSubstrate")
|
||||
@ApiOperation("换箱")
|
||||
@LogOperation("换箱")
|
||||
// @LogOperation("换箱")
|
||||
public Result replaceSubstrate(@RequestBody WoPackagingBoxSubstrateDTO[] dtos){
|
||||
|
||||
woPackagingBoxSubstrateService.replaceSubstrate(dtos);
|
||||
@@ -193,7 +193,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PostMapping("slotValidation")
|
||||
@ApiOperation("slot是否占用验证")
|
||||
@LogOperation("slot是否占用验证")
|
||||
// @LogOperation("slot是否占用验证")
|
||||
public boolean slotValidation(@RequestBody WoPackagingBoxSubstrateDTO dto){
|
||||
|
||||
QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>();
|
||||
@@ -209,7 +209,7 @@ public class WoPackagingBoxSubstrateController {
|
||||
|
||||
@PostMapping("batchInsert")
|
||||
@ApiOperation("手动装箱")
|
||||
@LogOperation("手动装箱")
|
||||
// @LogOperation("手动装箱")
|
||||
public Result batchInsert(@RequestBody WoPackagingBoxSubstrateDTO[] lists){
|
||||
|
||||
woPackagingBoxSubstrateService.batchInsert(lists);
|
||||
|
||||
@@ -79,7 +79,7 @@ public class WoPackagingPrintHistoryController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:save')")
|
||||
public Result<Long> save(@RequestBody WoPackagingPrintHistoryDTO dto){
|
||||
//效验数据
|
||||
@@ -92,7 +92,7 @@ public class WoPackagingPrintHistoryController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:update')")
|
||||
public Result<Long> update(@RequestBody WoPackagingPrintHistoryDTO dto){
|
||||
//效验数据
|
||||
@@ -105,7 +105,7 @@ public class WoPackagingPrintHistoryController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -118,7 +118,7 @@ public class WoPackagingPrintHistoryController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPackagingPrintHistory:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<WoPackagingPrintHistoryDTO> list = woPackagingPrintHistoryService.list(params);
|
||||
@@ -126,10 +126,10 @@ public class WoPackagingPrintHistoryController {
|
||||
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingPrintHistoryExcel.class);
|
||||
}
|
||||
|
||||
@PostMapping("print")
|
||||
@PostMapping("print/{id}")
|
||||
@ApiOperation("打印")
|
||||
@LogOperation("打印")
|
||||
public Result<Long> print(@RequestBody Long id) {
|
||||
// @LogOperation("打印")
|
||||
public Result<Long> print(@PathVariable("id") Long id) {
|
||||
|
||||
WoPackagingBoxDTO woPackagingBox = woPackagingBoxServiceBiz.get(id);
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ public class WoPowerLevelController {
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
// @LogOperation("保存")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:save')")
|
||||
public Result<Long> save(@RequestBody WoPowerLevelDTO dto){
|
||||
//效验数据
|
||||
@@ -80,7 +80,7 @@ public class WoPowerLevelController {
|
||||
|
||||
@PutMapping
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
// @LogOperation("修改")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:update')")
|
||||
public Result<Long> update(@RequestBody WoPowerLevelDTO dto){
|
||||
//效验数据
|
||||
@@ -93,7 +93,7 @@ public class WoPowerLevelController {
|
||||
|
||||
@DeleteMapping
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
// @LogOperation("删除")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:delete')")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
@@ -106,7 +106,7 @@ public class WoPowerLevelController {
|
||||
|
||||
@GetMapping("export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
// @LogOperation("导出")
|
||||
// @PreAuthorize("@ex.hasAuthority('packing:woPowerLevel:export')")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<WoPowerLevelDTO> list = woPowerLevelService.list(params);
|
||||
@@ -116,7 +116,7 @@ public class WoPowerLevelController {
|
||||
|
||||
@PostMapping(value = "list")
|
||||
@ApiOperation(value = "获取功率等级")
|
||||
@LogOperation("获取功率等级")
|
||||
// @LogOperation("获取功率等级")
|
||||
public List<WoPowerLevelDTO> list() { return woPowerLevelService.list(); }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user