yanyang #2

Merged
yanyang merged 3 commits from yanyang into master 2023-02-22 16:17:04 +08:00
64 changed files with 3369 additions and 5 deletions
Showing only changes of commit ff4bfe3a8b - Show all commits

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.ChangePackagingBoxHistoryDTO;
import com.cnbm.generator.code.excel.ChangePackagingBoxHistoryExcel;
import com.cnbm.generator.code.service.ChangePackagingBoxHistoryServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 包装箱拆合箱历史表 前端控制器
*
* @author codeGenerator
* @since 2023-02-16
*/
@RestController
@RequestMapping("/code/changePackagingBoxHistory")
@Api(tags="包装箱拆合箱历史表")
public class ChangePackagingBoxHistoryController {
@Autowired
private ChangePackagingBoxHistoryServiceBiz changePackagingBoxHistoryService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:page')")
public Result<PageData<ChangePackagingBoxHistoryDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<ChangePackagingBoxHistoryDTO> page = changePackagingBoxHistoryService.page(params);
return new Result<PageData<ChangePackagingBoxHistoryDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:info')")
public Result<ChangePackagingBoxHistoryDTO> get(@PathVariable("id") Long id){
ChangePackagingBoxHistoryDTO data = changePackagingBoxHistoryService.get(id);
return new Result<ChangePackagingBoxHistoryDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:save')")
public Result<Long> save(@RequestBody ChangePackagingBoxHistoryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
changePackagingBoxHistoryService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:update')")
public Result<Long> update(@RequestBody ChangePackagingBoxHistoryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
changePackagingBoxHistoryService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
changePackagingBoxHistoryService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:changePackagingBoxHistory:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<ChangePackagingBoxHistoryDTO> list = changePackagingBoxHistoryService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, ChangePackagingBoxHistoryExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.PrintModelDTO;
import com.cnbm.generator.code.excel.PrintModelExcel;
import com.cnbm.generator.code.service.PrintModelServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 打印标签模板表 前端控制器
*
* @author codeGenerator
* @since 2023-02-20
*/
@RestController
@RequestMapping("/code/printModel")
@Api(tags="打印标签模板表")
public class PrintModelController {
@Autowired
private PrintModelServiceBiz printModelService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:printModel:page')")
public Result<PageData<PrintModelDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<PrintModelDTO> page = printModelService.page(params);
return new Result<PageData<PrintModelDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:printModel:info')")
public Result<PrintModelDTO> get(@PathVariable("id") Long id){
PrintModelDTO data = printModelService.get(id);
return new Result<PrintModelDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:printModel:save')")
public Result<Long> save(@RequestBody PrintModelDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
printModelService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:printModel:update')")
public Result<Long> update(@RequestBody PrintModelDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
printModelService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:printModel:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
printModelService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:printModel:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<PrintModelDTO> list = printModelService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, PrintModelExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.WoCompensationPowerDTO;
import com.cnbm.generator.code.excel.WoCompensationPowerExcel;
import com.cnbm.generator.code.service.WoCompensationPowerServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 基板补偿功率 前端控制器
*
* @author codeGenerator
* @since 2023-02-20
*/
@RestController
@RequestMapping("/code/woCompensationPower")
@Api(tags="基板补偿功率 表")
public class WoCompensationPowerController {
@Autowired
private WoCompensationPowerServiceBiz woCompensationPowerService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:page')")
public Result<PageData<WoCompensationPowerDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoCompensationPowerDTO> page = woCompensationPowerService.page(params);
return new Result<PageData<WoCompensationPowerDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:info')")
public Result<WoCompensationPowerDTO> get(@PathVariable("id") Long id){
WoCompensationPowerDTO data = woCompensationPowerService.get(id);
return new Result<WoCompensationPowerDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:save')")
public Result<Long> save(@RequestBody WoCompensationPowerDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
woCompensationPowerService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:update')")
public Result<Long> update(@RequestBody WoCompensationPowerDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
woCompensationPowerService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
woCompensationPowerService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:woCompensationPower:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoCompensationPowerDTO> list = woCompensationPowerService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, WoCompensationPowerExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.WoPackagingBoxDTO;
import com.cnbm.generator.code.excel.WoPackagingBoxExcel;
import com.cnbm.generator.code.service.WoPackagingBoxServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 包装箱表 前端控制器
*
* @author codeGenerator
* @since 2023-02-22
*/
@RestController
@RequestMapping("/code/woPackagingBox")
@Api(tags="包装箱表")
public class WoPackagingBoxController {
@Autowired
private WoPackagingBoxServiceBiz woPackagingBoxService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:page')")
public Result<PageData<WoPackagingBoxDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoPackagingBoxDTO> page = woPackagingBoxService.page(params);
return new Result<PageData<WoPackagingBoxDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:info')")
public Result<WoPackagingBoxDTO> get(@PathVariable("id") Long id){
WoPackagingBoxDTO data = woPackagingBoxService.get(id);
return new Result<WoPackagingBoxDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:save')")
public Result<Long> save(@RequestBody WoPackagingBoxDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
woPackagingBoxService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:update')")
public Result<Long> update(@RequestBody WoPackagingBoxDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
woPackagingBoxService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
woPackagingBoxService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBox:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingBoxDTO> list = woPackagingBoxService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.WoPackagingBoxSubstrateDTO;
import com.cnbm.generator.code.excel.WoPackagingBoxSubstrateExcel;
import com.cnbm.generator.code.service.WoPackagingBoxSubstrateServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 包装箱基板关联表 ( 基板表 ) 前端控制器
*
* @author codeGenerator
* @since 2023-02-21
*/
@RestController
@RequestMapping("/code/woPackagingBoxSubstrate")
@Api(tags="包装箱基板关联表 ( 基板表 )")
public class WoPackagingBoxSubstrateController {
@Autowired
private WoPackagingBoxSubstrateServiceBiz woPackagingBoxSubstrateService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:page')")
public Result<PageData<WoPackagingBoxSubstrateDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoPackagingBoxSubstrateDTO> page = woPackagingBoxSubstrateService.page(params);
return new Result<PageData<WoPackagingBoxSubstrateDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:info')")
public Result<WoPackagingBoxSubstrateDTO> get(@PathVariable("id") Long id){
WoPackagingBoxSubstrateDTO data = woPackagingBoxSubstrateService.get(id);
return new Result<WoPackagingBoxSubstrateDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:save')")
public Result<Long> save(@RequestBody WoPackagingBoxSubstrateDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
woPackagingBoxSubstrateService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:update')")
public Result<Long> update(@RequestBody WoPackagingBoxSubstrateDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
woPackagingBoxSubstrateService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
woPackagingBoxSubstrateService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:woPackagingBoxSubstrate:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingBoxSubstrateDTO> list = woPackagingBoxSubstrateService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingBoxSubstrateExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.WoPackagingPrintHistoryDTO;
import com.cnbm.generator.code.excel.WoPackagingPrintHistoryExcel;
import com.cnbm.generator.code.service.WoPackagingPrintHistoryServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 包装箱打印历史表 前端控制器
*
* @author codeGenerator
* @since 2023-02-20
*/
@RestController
@RequestMapping("/code/woPackagingPrintHistory")
@Api(tags="包装箱打印历史表")
public class WoPackagingPrintHistoryController {
@Autowired
private WoPackagingPrintHistoryServiceBiz woPackagingPrintHistoryService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:page')")
public Result<PageData<WoPackagingPrintHistoryDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoPackagingPrintHistoryDTO> page = woPackagingPrintHistoryService.page(params);
return new Result<PageData<WoPackagingPrintHistoryDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:info')")
public Result<WoPackagingPrintHistoryDTO> get(@PathVariable("id") Long id){
WoPackagingPrintHistoryDTO data = woPackagingPrintHistoryService.get(id);
return new Result<WoPackagingPrintHistoryDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:save')")
public Result<Long> save(@RequestBody WoPackagingPrintHistoryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
woPackagingPrintHistoryService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:update')")
public Result<Long> update(@RequestBody WoPackagingPrintHistoryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
woPackagingPrintHistoryService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
woPackagingPrintHistoryService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:woPackagingPrintHistory:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPackagingPrintHistoryDTO> list = woPackagingPrintHistoryService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, WoPackagingPrintHistoryExcel.class);
}
}

View File

@ -0,0 +1,116 @@
package com.cnbm.generator.code.controller;
import com.cnbm.admin.annotation.LogOperation;
import com.cnbm.common.constant.Constant;
import com.cnbm.common.page.PageData;
import com.cnbm.common.utils.ExcelUtils;
import com.cnbm.common.utils.Result;
import com.cnbm.common.validator.AssertUtils;
import com.cnbm.common.validator.ValidatorUtils;
import com.cnbm.common.validator.group.AddGroup;
import com.cnbm.common.validator.group.DefaultGroup;
import com.cnbm.common.validator.group.UpdateGroup;
import com.cnbm.generator.code.dto.WoPowerLevelDTO;
import com.cnbm.generator.code.excel.WoPowerLevelExcel;
import com.cnbm.generator.code.service.WoPowerLevelServiceBiz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 功率等级 前端控制器
*
* @author codeGenerator
* @since 2023-02-20
*/
@RestController
@RequestMapping("/code/woPowerLevel")
@Api(tags="功率等级 表")
public class WoPowerLevelController {
@Autowired
private WoPowerLevelServiceBiz woPowerLevelService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码从1开始", paramType = "query", required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataTypeClass=Integer.class) ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataTypeClass=String.class) ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataTypeClass=String.class)
})
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:page')")
public Result<PageData<WoPowerLevelDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<WoPowerLevelDTO> page = woPowerLevelService.page(params);
return new Result<PageData<WoPowerLevelDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:info')")
public Result<WoPowerLevelDTO> get(@PathVariable("id") Long id){
WoPowerLevelDTO data = woPowerLevelService.get(id);
return new Result<WoPowerLevelDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:save')")
public Result<Long> save(@RequestBody WoPowerLevelDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
woPowerLevelService.save(dto);
return new Result<Long>().ok(dto.getId());
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:update')")
public Result<Long> update(@RequestBody WoPowerLevelDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
woPowerLevelService.update(dto);
return new Result<Long>().ok(dto.getId());
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
woPowerLevelService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("@ex.hasAuthority('code:woPowerLevel:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<WoPowerLevelDTO> list = woPowerLevelService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, WoPowerLevelExcel.class);
}
}

View File

@ -0,0 +1,80 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
@Data
@ApiModel(value = "包装箱拆合箱历史表DTO对象")
public class ChangePackagingBoxHistoryDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "基板ID或模组id")
private String substrateId;
@ApiModelProperty(value = "源包装箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long sourceBoxNo;
@ApiModelProperty(value = "源箱slot")
private Integer sourceSlot;
@ApiModelProperty(value = "离开时间")
private LocalDateTime leaveTime;
@ApiModelProperty(value = "目标箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long targetBoxNo;
@ApiModelProperty(value = "目标箱slot")
private Integer targetSlot;
@ApiModelProperty(value = "进入时间")
private LocalDateTime inputTime;
@ApiModelProperty(value = "等级")
private String grade;
@ApiModelProperty(value = "类型1为拆箱2为合箱")
private Integer type;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
}

View File

@ -0,0 +1,80 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@ApiModel(value = "打印标签模板表DTO对象")
public class PrintModelDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "班组名称")
private String name;
@ApiModelProperty(value = "启用状态:0 、停用1、启用")
private Integer enabled;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "类型0模组标签1等级标签")
private Integer type;
@ApiModelProperty(value = "是否默认模板01")
private Integer isDefault;
@ApiModelProperty(value = "是否要预览01")
private Integer isPreview;
@ApiModelProperty(value = "模板内容")
private String content;
@ApiModelProperty(value = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
}

View File

@ -0,0 +1,74 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 基板补偿功率
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@ApiModel(value = "基板补偿功率 表DTO对象")
public class WoCompensationPowerDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "实际功率下限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppLow;
@ApiModelProperty(value = "实际功率上限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppHigh;
@ApiModelProperty(value = "计算公式")
private String formula;
@ApiModelProperty(value = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@ApiModelProperty(value = "系数a,(手动录入)")
private Float coefficientA;
@ApiModelProperty(value = "系数b,(手动录入)")
private Float coefficientB;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
}

View File

@ -0,0 +1,113 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-22
*/
@Data
@ApiModel(value = "包装箱表DTO对象")
public class WoPackagingBoxDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "订单ID")
private Long orderId;
@ApiModelProperty(value = "工单ID舍弃啊")
private Long workOrderId;
@ApiModelProperty(value = "包装箱编号这个就是boxId,关联 t_wo_packaging_box表的 boxId")
private String boxNo;
@ApiModelProperty(value = "功率,单位瓦(舍弃)")
private Integer power;
@ApiModelProperty(value = "等级(舍弃)")
private Integer grade;
@ApiModelProperty(value = "基板数量每个包装箱最大20片舍弃")
private Integer substrateQuantity;
@ApiModelProperty(value = "装箱完成时间,指的是包装完成时间")
private LocalDateTime packagingTime;
@ApiModelProperty(value = "打印时间(最近一次打印时间)")
private LocalDateTime printTime;
@ApiModelProperty(value = "打印状态0、未打印1、已打印")
private Integer printStatus;
@ApiModelProperty(value = "报工状态0、未报工1、已报工(舍弃)")
private Integer completionReportingStatus;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
@ApiModelProperty(value = "离开产线时间(舍弃)")
private LocalDateTime leaveLineTime;
@ApiModelProperty(value = "下片端口id舍弃")
private String portId;
@ApiModelProperty(value = "打印次数")
private Integer printCount;
@ApiModelProperty(value = "功率等级")
private String powerLevel;
@ApiModelProperty(value = "客户id舍弃")
private Long customerId;
@ApiModelProperty(value = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@ApiModelProperty(value = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@ApiModelProperty(value = "模式1-手动模式2-自动模式")
private Integer model;
@ApiModelProperty(value = "是否到达包装台1=到达2=未达到")
private Integer isArrived;
}

View File

@ -0,0 +1,74 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
@Data
@ApiModel(value = "包装箱基板关联表 ( 基板表 )DTO对象")
public class WoPackagingBoxSubstrateDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "包装箱IDBoxId")
private String packagingBoxId;
@ApiModelProperty(value = "基板ID")
private String woSubstrateId;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
@ApiModelProperty(value = "箱中位置")
private Integer slot;
@ApiModelProperty(value = "进入时间")
private LocalDateTime inputTime;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@ApiModelProperty(value = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@ApiModelProperty(value = "功率等级")
private String powerLevel;
}

View File

@ -0,0 +1,83 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@ApiModel(value = "包装箱打印历史表DTO对象")
public class WoPackagingPrintHistoryDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "包装箱编号关联t_wo_packaging_box.box_no")
private Long boxNo;
@ApiModelProperty(value = "打印时间")
private LocalDateTime printTime;
@ApiModelProperty(value = "报工时间(舍弃)")
private LocalDateTime completionReportingTime;
@ApiModelProperty(value = "打印状态0、未打印1、已打印")
private Integer printStatus;
@ApiModelProperty(value = "报工状态0、未报工1、已报工, 指的是向ERP报工舍弃")
private Integer completionReportingStatus;
@ApiModelProperty(value = "移箱时间点击打印后这个时间从t_wo_packaging_box 里面带过来)")
private LocalDateTime leaveLineTime;
@ApiModelProperty(value = "下片端口id舍弃")
private String portId;
@ApiModelProperty(value = "打印次数")
private Integer printCount;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "模式1-手动模式2-自动模式")
private Integer model;
}

View File

@ -0,0 +1,83 @@
package com.cnbm.generator.code.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
/**
* 功率等级
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@ApiModel(value = "功率等级 表DTO对象")
public class WoPowerLevelDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID")
private Long id;
@ApiModelProperty(value = "功率等级名称,(现场人员手动录入)")
private Integer powerClass;
@ApiModelProperty(value = "pmpp_low,(现场人员手动录入)")
private Float pmppLow;
@ApiModelProperty(value = "pmpp_high,(现场人员手动录入)")
private Float pmppHigh;
@ApiModelProperty(value = "物料号,(现场人员手动录入)")
private String sapMaterialNum;
@ApiModelProperty(value = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@ApiModelProperty(value = "lable_voc,(手动录入)")
private BigDecimal lableVoc;
@ApiModelProperty(value = "lable_isc,(手动录入)")
private BigDecimal lableIsc;
@ApiModelProperty(value = "lable_vmpp,(手动录入)")
private BigDecimal lableVmpp;
@ApiModelProperty(value = "lable_impp,(手动录入)")
private BigDecimal lableImpp;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@ApiModelProperty(value = "创建人")
private Long creatorId;
@ApiModelProperty(value = "创建人姓名")
private String creatorName;
@ApiModelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(value = "更新人")
private Long updaterId;
@ApiModelProperty(value = "更新人姓名")
private String updaterName;
@ApiModelProperty(value = "更新时间")
private LocalDateTime updateTime;
@ApiModelProperty(value = "版本号")
private Integer version;
}

View File

@ -0,0 +1,118 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 包装箱拆合箱历史表
* </p>
*
* @author codeGenerator
* @since 2023-02-16
*/
@Data
@TableName("t_change_packaging_box_history")
@ApiModel(value = "ChangePackagingBoxHistory对象", description = "包装箱拆合箱历史表")
public class ChangePackagingBoxHistory implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("基板ID或模组id")
private String substrateId;
@ApiModelProperty("源包装箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long sourceBoxNo;
@ApiModelProperty("源箱slot")
private Integer sourceSlot;
@ApiModelProperty("离开时间")
private LocalDateTime leaveTime;
@ApiModelProperty("目标箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long targetBoxNo;
@ApiModelProperty("目标箱slot")
private Integer targetSlot;
@ApiModelProperty("进入时间")
private LocalDateTime inputTime;
@ApiModelProperty("等级")
private String grade;
@ApiModelProperty("类型1为拆箱2为合箱")
private Integer type;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
public static final String ID = "ID";
public static final String SUBSTRATE_ID = "SUBSTRATE_ID";
public static final String SOURCE_BOX_NO = "SOURCE_BOX_NO";
public static final String SOURCE_SLOT = "SOURCE_SLOT";
public static final String LEAVE_TIME = "LEAVE_TIME";
public static final String TARGET_BOX_NO = "TARGET_BOX_NO";
public static final String TARGET_SLOT = "TARGET_SLOT";
public static final String INPUT_TIME = "INPUT_TIME";
public static final String GRADE = "GRADE";
public static final String TYPE = "TYPE";
public static final String VALID = "VALID";
public static final String CREATOR_ID = "CREATOR_ID";
public static final String CREATOR_NAME = "CREATOR_NAME";
public static final String CREATE_TIME = "CREATE_TIME";
public static final String UPDATER_ID = "UPDATER_ID";
public static final String UPDATER_NAME = "UPDATER_NAME";
public static final String UPDATE_TIME = "UPDATE_TIME";
public static final String VERSION = "VERSION";
}

View File

@ -0,0 +1,118 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 打印标签模板表
* </p>
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@TableName("t_print_model")
@ApiModel(value = "PrintModel对象", description = "打印标签模板表")
public class PrintModel implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("id")
private Long id;
@ApiModelProperty("编码")
private String code;
@ApiModelProperty("班组名称")
private String name;
@ApiModelProperty("启用状态:0 、停用1、启用")
private Integer enabled;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("类型0模组标签1等级标签")
private Integer type;
@ApiModelProperty("是否默认模板01")
private Integer isDefault;
@ApiModelProperty("是否要预览01")
private Integer isPreview;
@ApiModelProperty("模板内容")
private String content;
@ApiModelProperty("线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
public static final String ID = "ID";
public static final String CODE = "CODE";
public static final String NAME = "NAME";
public static final String ENABLED = "ENABLED";
public static final String CREATOR_ID = "CREATOR_ID";
public static final String CREATOR_NAME = "CREATOR_NAME";
public static final String CREATE_TIME = "CREATE_TIME";
public static final String UPDATER_ID = "UPDATER_ID";
public static final String UPDATER_NAME = "UPDATER_NAME";
public static final String UPDATE_TIME = "UPDATE_TIME";
public static final String VERSION = "VERSION";
public static final String VALID = "VALID";
public static final String REMARK = "REMARK";
public static final String TYPE = "TYPE";
public static final String IS_DEFAULT = "IS_DEFAULT";
public static final String IS_PREVIEW = "IS_PREVIEW";
public static final String CONTENT = "CONTENT";
public static final String LINE_BODY = "line_body";
}

View File

@ -0,0 +1,108 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 基板补偿功率
* </p>
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@TableName("t_wo_compensation_power")
@ApiModel(value = "WoCompensationPower对象", description = "基板补偿功率 表")
public class WoCompensationPower implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("实际功率下限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppLow;
@ApiModelProperty("实际功率上限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppHigh;
@ApiModelProperty("计算公式")
private String formula;
@ApiModelProperty("线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@ApiModelProperty("系数a,(手动录入)")
private Float coefficientA;
@ApiModelProperty("系数b,(手动录入)")
private Float coefficientB;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
public static final String ID = "id";
public static final String ACTL_PMPP_LOW = "actl_pmpp_low";
public static final String ACTL_PMPP_HIGH = "actl_pmpp_high";
public static final String FORMULA = "formula";
public static final String LINE_BODY = "line_body";
public static final String COEFFICIENT_A = "coefficient_a";
public static final String COEFFICIENT_B = "coefficient_b";
public static final String REMARK = "remark";
public static final String VALID = "valid";
public static final String CREATOR_ID = "creator_id";
public static final String CREATOR_NAME = "creator_name";
public static final String CREATE_TIME = "create_time";
public static final String UPDATER_ID = "updater_id";
public static final String UPDATER_NAME = "updater_name";
public static final String UPDATE_TIME = "update_time";
public static final String VERSION = "version";
}

View File

@ -0,0 +1,173 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 包装箱表
* </p>
*
* @author codeGenerator
* @since 2023-02-22
*/
@Data
@TableName("t_wo_packaging_box")
@ApiModel(value = "WoPackagingBox对象", description = "包装箱表")
public class WoPackagingBox implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("订单ID")
private Long orderId;
@ApiModelProperty("工单ID舍弃啊")
private Long workOrderId;
@ApiModelProperty("包装箱编号这个就是boxId,关联 t_wo_packaging_box表的 boxId")
private String boxNo;
@ApiModelProperty("功率,单位瓦(舍弃)")
private Integer power;
@ApiModelProperty("等级(舍弃)")
private Integer grade;
@ApiModelProperty("基板数量每个包装箱最大20片舍弃")
private Integer substrateQuantity;
@ApiModelProperty("装箱完成时间,指的是包装完成时间")
private LocalDateTime packagingTime;
@ApiModelProperty("打印时间(最近一次打印时间)")
private LocalDateTime printTime;
@ApiModelProperty("打印状态0、未打印1、已打印")
private Integer printStatus;
@ApiModelProperty("报工状态0、未报工1、已报工(舍弃)")
private Integer completionReportingStatus;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
@ApiModelProperty("离开产线时间(舍弃)")
private LocalDateTime leaveLineTime;
@ApiModelProperty("下片端口id舍弃")
private String portId;
@ApiModelProperty("打印次数")
private Integer printCount;
@ApiModelProperty("功率等级")
private String powerLevel;
@ApiModelProperty("客户id舍弃")
private Long customerId;
@ApiModelProperty("SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@ApiModelProperty("线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@ApiModelProperty("模式1-手动模式2-自动模式")
private Integer model;
@ApiModelProperty("是否到达包装台1=到达2=未达到")
private Integer isArrived;
public static final String ID = "ID";
public static final String ORDER_ID = "ORDER_ID";
public static final String WORK_ORDER_ID = "WORK_ORDER_ID";
public static final String BOX_NO = "BOX_NO";
public static final String POWER = "POWER";
public static final String GRADE = "GRADE";
public static final String SUBSTRATE_QUANTITY = "SUBSTRATE_QUANTITY";
public static final String PACKAGING_TIME = "PACKAGING_TIME";
public static final String PRINT_TIME = "PRINT_TIME";
public static final String PRINT_STATUS = "PRINT_STATUS";
public static final String COMPLETION_REPORTING_STATUS = "COMPLETION_REPORTING_STATUS";
public static final String REMARK = "REMARK";
public static final String VALID = "VALID";
public static final String CREATOR_ID = "CREATOR_ID";
public static final String CREATOR_NAME = "CREATOR_NAME";
public static final String CREATE_TIME = "CREATE_TIME";
public static final String UPDATER_ID = "UPDATER_ID";
public static final String UPDATER_NAME = "UPDATER_NAME";
public static final String UPDATE_TIME = "UPDATE_TIME";
public static final String VERSION = "VERSION";
public static final String LEAVE_LINE_TIME = "LEAVE_LINE_TIME";
public static final String PORT_ID = "PORT_ID";
public static final String PRINT_COUNT = "PRINT_COUNT";
public static final String POWER_LEVEL = "POWER_LEVEL";
public static final String CUSTOMER_ID = "CUSTOMER_ID";
public static final String SAP_MATERIAL = "SAP_MATERIAL";
public static final String LINE_BODY = "LINE_BODY";
public static final String MODEL = "model";
public static final String IS_ARRIVED = "is_arrived";
}

View File

@ -0,0 +1,108 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 包装箱基板关联表 ( 基板表 )
* </p>
*
* @author codeGenerator
* @since 2023-02-21
*/
@Data
@TableName("t_wo_packaging_box_substrate")
@ApiModel(value = "WoPackagingBoxSubstrate对象", description = "包装箱基板关联表 ( 基板表 )")
public class WoPackagingBoxSubstrate implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("包装箱IDBoxId")
private String packagingBoxId;
@ApiModelProperty("基板ID")
private String woSubstrateId;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
@ApiModelProperty("箱中位置")
private Integer slot;
@ApiModelProperty("进入时间")
private LocalDateTime inputTime;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@ApiModelProperty("线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@ApiModelProperty("功率等级")
private String powerLevel;
public static final String ID = "ID";
public static final String PACKAGING_BOX_ID = "PACKAGING_BOX_ID";
public static final String WO_SUBSTRATE_ID = "WO_SUBSTRATE_ID";
public static final String CREATOR_ID = "CREATOR_ID";
public static final String CREATOR_NAME = "CREATOR_NAME";
public static final String CREATE_TIME = "CREATE_TIME";
public static final String UPDATER_ID = "UPDATER_ID";
public static final String UPDATER_NAME = "UPDATER_NAME";
public static final String UPDATE_TIME = "UPDATE_TIME";
public static final String VERSION = "VERSION";
public static final String SLOT = "SLOT";
public static final String INPUT_TIME = "INPUT_TIME";
public static final String VALID = "VALID";
public static final String SAP_MATERIAL = "SAP_MATERIAL";
public static final String LINE_BODY = "LINE_BODY";
public static final String POWER_LEVEL = "POWER_LEVEL";
}

View File

@ -0,0 +1,123 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 包装箱打印历史表
* </p>
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@TableName("t_wo_packaging_print_history")
@ApiModel(value = "WoPackagingPrintHistory对象", description = "包装箱打印历史表")
public class WoPackagingPrintHistory implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("包装箱编号关联t_wo_packaging_box.box_no")
private Long boxNo;
@ApiModelProperty("打印时间")
private LocalDateTime printTime;
@ApiModelProperty("报工时间(舍弃)")
private LocalDateTime completionReportingTime;
@ApiModelProperty("打印状态0、未打印1、已打印")
private Integer printStatus;
@ApiModelProperty("报工状态0、未报工1、已报工, 指的是向ERP报工舍弃")
private Integer completionReportingStatus;
@ApiModelProperty("移箱时间点击打印后这个时间从t_wo_packaging_box 里面带过来)")
private LocalDateTime leaveLineTime;
@ApiModelProperty("下片端口id舍弃")
private String portId;
@ApiModelProperty("打印次数")
private Integer printCount;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("模式1-手动模式2-自动模式")
private Integer model;
public static final String ID = "ID";
public static final String BOX_NO = "BOX_NO";
public static final String PRINT_TIME = "PRINT_TIME";
public static final String COMPLETION_REPORTING_TIME = "COMPLETION_REPORTING_TIME";
public static final String PRINT_STATUS = "PRINT_STATUS";
public static final String COMPLETION_REPORTING_STATUS = "COMPLETION_REPORTING_STATUS";
public static final String LEAVE_LINE_TIME = "LEAVE_LINE_TIME";
public static final String PORT_ID = "PORT_ID";
public static final String PRINT_COUNT = "PRINT_COUNT";
public static final String VALID = "VALID";
public static final String CREATOR_ID = "CREATOR_ID";
public static final String CREATOR_NAME = "CREATOR_NAME";
public static final String CREATE_TIME = "CREATE_TIME";
public static final String UPDATER_ID = "UPDATER_ID";
public static final String UPDATER_NAME = "UPDATER_NAME";
public static final String UPDATE_TIME = "UPDATE_TIME";
public static final String VERSION = "VERSION";
public static final String REMARK = "REMARK";
public static final String MODEL = "model";
}

View File

@ -0,0 +1,124 @@
package com.cnbm.generator.code.entity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* <p>
* 功率等级
* </p>
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
@TableName("t_wo_power_level")
@ApiModel(value = "WoPowerLevel对象", description = "功率等级 表")
public class WoPowerLevel implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
private Long id;
@ApiModelProperty("功率等级名称,(现场人员手动录入)")
private Integer powerClass;
@ApiModelProperty("pmpp_low,(现场人员手动录入)")
private Float pmppLow;
@ApiModelProperty("pmpp_high,(现场人员手动录入)")
private Float pmppHigh;
@ApiModelProperty("物料号,(现场人员手动录入)")
private String sapMaterialNum;
@ApiModelProperty("线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@ApiModelProperty("lable_voc,(手动录入)")
private BigDecimal lableVoc;
@ApiModelProperty("lable_isc,(手动录入)")
private BigDecimal lableIsc;
@ApiModelProperty("lable_vmpp,(手动录入)")
private BigDecimal lableVmpp;
@ApiModelProperty("lable_impp,(手动录入)")
private BigDecimal lableImpp;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("删除标志,是否有效:1 可用 0不可用")
@TableLogic
private Integer valid;
@ApiModelProperty("创建人")
private Long creatorId;
@ApiModelProperty("创建人姓名")
private String creatorName;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;
@ApiModelProperty("更新人")
private Long updaterId;
@ApiModelProperty("更新人姓名")
private String updaterName;
@ApiModelProperty("更新时间")
private LocalDateTime updateTime;
@ApiModelProperty("版本号")
private Integer version;
public static final String ID = "id";
public static final String POWER_CLASS = "power_class";
public static final String PMPP_LOW = "pmpp_low";
public static final String PMPP_HIGH = "pmpp_high";
public static final String SAP_MATERIAL_NUM = "sap_material_num";
public static final String LINE_BODY = "line_body";
public static final String LABLE_VOC = "lable_voc";
public static final String LABLE_ISC = "lable_isc";
public static final String LABLE_VMPP = "lable_vmpp";
public static final String LABLE_IMPP = "lable_impp";
public static final String REMARK = "remark";
public static final String VALID = "valid";
public static final String CREATOR_ID = "creator_id";
public static final String CREATOR_NAME = "creator_name";
public static final String CREATE_TIME = "create_time";
public static final String UPDATER_ID = "updater_id";
public static final String UPDATER_NAME = "updater_name";
public static final String UPDATE_TIME = "update_time";
public static final String VERSION = "version";
}

View File

@ -0,0 +1,56 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
@Data
public class ChangePackagingBoxHistoryExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "基板ID或模组id")
private String substrateId;
@Excel(name = "源包装箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long sourceBoxNo;
@Excel(name = "源箱slot")
private Integer sourceSlot;
@Excel(name = "离开时间")
private LocalDateTime leaveTime;
@Excel(name = "目标箱box no, 关联t_wo_packaging_box.box_no 字段")
private Long targetBoxNo;
@Excel(name = "目标箱slot")
private Integer targetSlot;
@Excel(name = "进入时间")
private LocalDateTime inputTime;
@Excel(name = "等级")
private String grade;
@Excel(name = "类型1为拆箱2为合箱")
private Integer type;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}

View File

@ -0,0 +1,56 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class PrintModelExcel {
@Excel(name = "id")
private Long id;
@Excel(name = "编码")
private String code;
@Excel(name = "班组名称")
private String name;
@Excel(name = "启用状态:0 、停用1、启用")
private Integer enabled;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "备注")
private String remark;
@Excel(name = "类型0模组标签1等级标签")
private Integer type;
@Excel(name = "是否默认模板01")
private Integer isDefault;
@Excel(name = "是否要预览01")
private Integer isPreview;
@Excel(name = "模板内容")
private String content;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
}

View File

@ -0,0 +1,52 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 基板补偿功率
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoCompensationPowerExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "实际功率下限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppLow;
@Excel(name = "实际功率上限,(现场人员手动录入),如果实际功率不在范围,那么实际功率就是补偿功率")
private Float actlPmppHigh;
@Excel(name = "计算公式")
private String formula;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@Excel(name = "系数a,(手动录入)")
private Float coefficientA;
@Excel(name = "系数b,(手动录入)")
private Float coefficientB;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}

View File

@ -0,0 +1,78 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-22
*/
@Data
public class WoPackagingBoxExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "订单ID")
private Long orderId;
@Excel(name = "工单ID舍弃啊")
private Long workOrderId;
@Excel(name = "包装箱编号这个就是boxId,关联 t_wo_packaging_box表的 boxId")
private String boxNo;
@Excel(name = "功率,单位瓦(舍弃)")
private Integer power;
@Excel(name = "等级(舍弃)")
private Integer grade;
@Excel(name = "基板数量每个包装箱最大20片舍弃")
private Integer substrateQuantity;
@Excel(name = "装箱完成时间,指的是包装完成时间")
private LocalDateTime packagingTime;
@Excel(name = "打印时间(最近一次打印时间)")
private LocalDateTime printTime;
@Excel(name = "打印状态0、未打印1、已打印")
private Integer printStatus;
@Excel(name = "报工状态0、未报工1、已报工(舍弃)")
private Integer completionReportingStatus;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "离开产线时间(舍弃)")
private LocalDateTime leaveLineTime;
@Excel(name = "下片端口id舍弃")
private String portId;
@Excel(name = "打印次数")
private Integer printCount;
@Excel(name = "功率等级")
private String powerLevel;
@Excel(name = "客户id舍弃")
private Long customerId;
@Excel(name = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@Excel(name = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@Excel(name = "模式1-手动模式2-自动模式")
private Integer model;
@Excel(name = "是否到达包装台1=到达2=未达到")
private Integer isArrived;
}

View File

@ -0,0 +1,52 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
@Data
public class WoPackagingBoxSubstrateExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "包装箱IDBoxId")
private String packagingBoxId;
@Excel(name = "基板ID")
private String woSubstrateId;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "箱中位置")
private Integer slot;
@Excel(name = "进入时间")
private LocalDateTime inputTime;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "SAP MATERIAL,从t_wo_power_level 对应过来的")
private String sapMaterial;
@Excel(name = "线体,从t_wo_power_level 对应过来的1=F ; 2=S")
private Integer lineBody;
@Excel(name = "功率等级")
private String powerLevel;
}

View File

@ -0,0 +1,58 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoPackagingPrintHistoryExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "包装箱编号关联t_wo_packaging_box.box_no")
private Long boxNo;
@Excel(name = "打印时间")
private LocalDateTime printTime;
@Excel(name = "报工时间(舍弃)")
private LocalDateTime completionReportingTime;
@Excel(name = "打印状态0、未打印1、已打印")
private Integer printStatus;
@Excel(name = "报工状态0、未报工1、已报工, 指的是向ERP报工舍弃")
private Integer completionReportingStatus;
@Excel(name = "移箱时间点击打印后这个时间从t_wo_packaging_box 里面带过来)")
private LocalDateTime leaveLineTime;
@Excel(name = "下片端口id舍弃")
private String portId;
@Excel(name = "打印次数")
private Integer printCount;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
@Excel(name = "备注")
private String remark;
@Excel(name = "模式1-手动模式2-自动模式")
private Integer model;
}

View File

@ -0,0 +1,58 @@
package com.cnbm.generator.code.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* 功率等级
*
* @author codeGenerator
* @since 2023-02-20
*/
@Data
public class WoPowerLevelExcel {
@Excel(name = "ID")
private Long id;
@Excel(name = "功率等级名称,(现场人员手动录入)")
private Integer powerClass;
@Excel(name = "pmpp_low,(现场人员手动录入)")
private Float pmppLow;
@Excel(name = "pmpp_high,(现场人员手动录入)")
private Float pmppHigh;
@Excel(name = "物料号,(现场人员手动录入)")
private String sapMaterialNum;
@Excel(name = "线体1=F ; 2=S (用于过程1比对和包装打印)(设备传给我们的)")
private Integer lineBody;
@Excel(name = "lable_voc,(手动录入)")
private BigDecimal lableVoc;
@Excel(name = "lable_isc,(手动录入)")
private BigDecimal lableIsc;
@Excel(name = "lable_vmpp,(手动录入)")
private BigDecimal lableVmpp;
@Excel(name = "lable_impp,(手动录入)")
private BigDecimal lableImpp;
@Excel(name = "备注")
private String remark;
@Excel(name = "删除标志,是否有效:1 可用 0不可用")
private Integer valid;
@Excel(name = "创建人")
private Long creatorId;
@Excel(name = "创建人姓名")
private String creatorName;
@Excel(name = "创建时间")
private LocalDateTime createTime;
@Excel(name = "更新人")
private Long updaterId;
@Excel(name = "更新人姓名")
private String updaterName;
@Excel(name = "更新时间")
private LocalDateTime updateTime;
@Excel(name = "版本号")
private Integer version;
}

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.ChangePackagingBoxHistory;
import org.apache.ibatis.annotations.Mapper;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
@Mapper
public interface ChangePackagingBoxHistoryMapper extends BaseDao<ChangePackagingBoxHistory> {
}

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.ChangePackagingBoxHistoryMapper">
<resultMap type="com.cnbm.generator.code.entity.ChangePackagingBoxHistory" id="ChangePackagingBoxHistoryMap">
<id column="ID" property="id" />
<id column="SUBSTRATE_ID" property="substrateId" />
<id column="SOURCE_BOX_NO" property="sourceBoxNo" />
<id column="SOURCE_SLOT" property="sourceSlot" />
<id column="LEAVE_TIME" property="leaveTime" />
<id column="TARGET_BOX_NO" property="targetBoxNo" />
<id column="TARGET_SLOT" property="targetSlot" />
<id column="INPUT_TIME" property="inputTime" />
<id column="GRADE" property="grade" />
<id column="TYPE" property="type" />
<id column="VALID" property="valid" />
<id column="CREATOR_ID" property="creatorId" />
<id column="CREATOR_NAME" property="creatorName" />
<id column="CREATE_TIME" property="createTime" />
<id column="UPDATER_ID" property="updaterId" />
<id column="UPDATER_NAME" property="updaterName" />
<id column="UPDATE_TIME" property="updateTime" />
<id column="VERSION" property="version" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.PrintModel;
import org.apache.ibatis.annotations.Mapper;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Mapper
public interface PrintModelMapper extends BaseDao<PrintModel> {
}

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.PrintModelMapper">
<resultMap type="com.cnbm.generator.code.entity.PrintModel" id="PrintModelMap">
<id column="ID" property="id" />
<id column="CODE" property="code" />
<id column="NAME" property="name" />
<id column="ENABLED" property="enabled" />
<id column="CREATOR_ID" property="creatorId" />
<id column="CREATOR_NAME" property="creatorName" />
<id column="CREATE_TIME" property="createTime" />
<id column="UPDATER_ID" property="updaterId" />
<id column="UPDATER_NAME" property="updaterName" />
<id column="UPDATE_TIME" property="updateTime" />
<id column="VERSION" property="version" />
<id column="VALID" property="valid" />
<id column="REMARK" property="remark" />
<id column="TYPE" property="type" />
<id column="IS_DEFAULT" property="isDefault" />
<id column="IS_PREVIEW" property="isPreview" />
<id column="CONTENT" property="content" />
<id column="line_body" property="lineBody" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.WoCompensationPower;
import org.apache.ibatis.annotations.Mapper;
/**
* 基板补偿功率
*
* @author codeGenerator
* @since 2023-02-20
*/
@Mapper
public interface WoCompensationPowerMapper extends BaseDao<WoCompensationPower> {
}

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.WoCompensationPowerMapper">
<resultMap type="com.cnbm.generator.code.entity.WoCompensationPower" id="WoCompensationPowerMap">
<id column="id" property="id" />
<id column="actl_pmpp_low" property="actlPmppLow" />
<id column="actl_pmpp_high" property="actlPmppHigh" />
<id column="formula" property="formula" />
<id column="line_body" property="lineBody" />
<id column="coefficient_a" property="coefficientA" />
<id column="coefficient_b" property="coefficientB" />
<id column="remark" property="remark" />
<id column="valid" property="valid" />
<id column="creator_id" property="creatorId" />
<id column="creator_name" property="creatorName" />
<id column="create_time" property="createTime" />
<id column="updater_id" property="updaterId" />
<id column="updater_name" property="updaterName" />
<id column="update_time" property="updateTime" />
<id column="version" property="version" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.WoPackagingBox;
import org.apache.ibatis.annotations.Mapper;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-22
*/
@Mapper
public interface WoPackagingBoxMapper extends BaseDao<WoPackagingBox> {
}

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.WoPackagingBoxMapper">
<resultMap type="com.cnbm.generator.code.entity.WoPackagingBox" id="WoPackagingBoxMap">
<id column="ID" property="id" />
<id column="ORDER_ID" property="orderId" />
<id column="WORK_ORDER_ID" property="workOrderId" />
<id column="BOX_NO" property="boxNo" />
<id column="POWER" property="power" />
<id column="GRADE" property="grade" />
<id column="SUBSTRATE_QUANTITY" property="substrateQuantity" />
<id column="PACKAGING_TIME" property="packagingTime" />
<id column="PRINT_TIME" property="printTime" />
<id column="PRINT_STATUS" property="printStatus" />
<id column="COMPLETION_REPORTING_STATUS" property="completionReportingStatus" />
<id column="REMARK" property="remark" />
<id column="VALID" property="valid" />
<id column="CREATOR_ID" property="creatorId" />
<id column="CREATOR_NAME" property="creatorName" />
<id column="CREATE_TIME" property="createTime" />
<id column="UPDATER_ID" property="updaterId" />
<id column="UPDATER_NAME" property="updaterName" />
<id column="UPDATE_TIME" property="updateTime" />
<id column="VERSION" property="version" />
<id column="LEAVE_LINE_TIME" property="leaveLineTime" />
<id column="PORT_ID" property="portId" />
<id column="PRINT_COUNT" property="printCount" />
<id column="POWER_LEVEL" property="powerLevel" />
<id column="CUSTOMER_ID" property="customerId" />
<id column="SAP_MATERIAL" property="sapMaterial" />
<id column="LINE_BODY" property="lineBody" />
<id column="model" property="model" />
<id column="is_arrived" property="isArrived" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.WoPackagingBoxSubstrate;
import org.apache.ibatis.annotations.Mapper;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
@Mapper
public interface WoPackagingBoxSubstrateMapper extends BaseDao<WoPackagingBoxSubstrate> {
}

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.WoPackagingBoxSubstrateMapper">
<resultMap type="com.cnbm.generator.code.entity.WoPackagingBoxSubstrate" id="WoPackagingBoxSubstrateMap">
<id column="ID" property="id" />
<id column="PACKAGING_BOX_ID" property="packagingBoxId" />
<id column="WO_SUBSTRATE_ID" property="woSubstrateId" />
<id column="CREATOR_ID" property="creatorId" />
<id column="CREATOR_NAME" property="creatorName" />
<id column="CREATE_TIME" property="createTime" />
<id column="UPDATER_ID" property="updaterId" />
<id column="UPDATER_NAME" property="updaterName" />
<id column="UPDATE_TIME" property="updateTime" />
<id column="VERSION" property="version" />
<id column="SLOT" property="slot" />
<id column="INPUT_TIME" property="inputTime" />
<id column="VALID" property="valid" />
<id column="SAP_MATERIAL" property="sapMaterial" />
<id column="LINE_BODY" property="lineBody" />
<id column="POWER_LEVEL" property="powerLevel" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.WoPackagingPrintHistory;
import org.apache.ibatis.annotations.Mapper;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Mapper
public interface WoPackagingPrintHistoryMapper extends BaseDao<WoPackagingPrintHistory> {
}

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.WoPackagingPrintHistoryMapper">
<resultMap type="com.cnbm.generator.code.entity.WoPackagingPrintHistory" id="WoPackagingPrintHistoryMap">
<id column="ID" property="id" />
<id column="BOX_NO" property="boxNo" />
<id column="PRINT_TIME" property="printTime" />
<id column="COMPLETION_REPORTING_TIME" property="completionReportingTime" />
<id column="PRINT_STATUS" property="printStatus" />
<id column="COMPLETION_REPORTING_STATUS" property="completionReportingStatus" />
<id column="LEAVE_LINE_TIME" property="leaveLineTime" />
<id column="PORT_ID" property="portId" />
<id column="PRINT_COUNT" property="printCount" />
<id column="VALID" property="valid" />
<id column="CREATOR_ID" property="creatorId" />
<id column="CREATOR_NAME" property="creatorName" />
<id column="CREATE_TIME" property="createTime" />
<id column="UPDATER_ID" property="updaterId" />
<id column="UPDATER_NAME" property="updaterName" />
<id column="UPDATE_TIME" property="updateTime" />
<id column="VERSION" property="version" />
<id column="REMARK" property="remark" />
<id column="model" property="model" />
</resultMap>
</mapper>

View File

@ -0,0 +1,16 @@
package com.cnbm.generator.code.mapper;
import com.cnbm.common.dao.BaseDao;
import com.cnbm.generator.code.entity.WoPowerLevel;
import org.apache.ibatis.annotations.Mapper;
/**
* 功率等级
*
* @author codeGenerator
* @since 2023-02-20
*/
@Mapper
public interface WoPowerLevelMapper extends BaseDao<WoPowerLevel> {
}

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cnbm.generator.code.mapper.WoPowerLevelMapper">
<resultMap type="com.cnbm.generator.code.entity.WoPowerLevel" id="WoPowerLevelMap">
<id column="id" property="id" />
<id column="power_class" property="powerClass" />
<id column="pmpp_low" property="pmppLow" />
<id column="pmpp_high" property="pmppHigh" />
<id column="sap_material_num" property="sapMaterialNum" />
<id column="line_body" property="lineBody" />
<id column="lable_voc" property="lableVoc" />
<id column="lable_isc" property="lableIsc" />
<id column="lable_vmpp" property="lableVmpp" />
<id column="lable_impp" property="lableImpp" />
<id column="remark" property="remark" />
<id column="valid" property="valid" />
<id column="creator_id" property="creatorId" />
<id column="creator_name" property="creatorName" />
<id column="create_time" property="createTime" />
<id column="updater_id" property="updaterId" />
<id column="updater_name" property="updaterName" />
<id column="update_time" property="updateTime" />
<id column="version" property="version" />
</resultMap>
</mapper>

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1626059890161434625, 1067246875800000035, '包装箱拆合箱历史表', 'packing/changePackagingBoxHistory', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1626059890161434626, 1626059890161434625, '查看', NULL, 'packing:changePackagingBoxHistory:page,packing:changePackagingBoxHistory:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1626059890161434627, 1626059890161434625, '新增', NULL, 'packing:changePackagingBoxHistory:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1626059890161434628, 1626059890161434625, '修改', NULL, 'packing:changePackagingBoxHistory:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1626059890161434629, 1626059890161434625, '删除', NULL, 'packing:changePackagingBoxHistory:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1626059890161434630, 1626059890161434625, '导出', NULL, 'packing:changePackagingBoxHistory:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627506543435272194, 1067246875800000035, '打印标签模板表', 'packing/printModel', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627506543435272195, 1627506543435272194, '查看', NULL, 'packing:printModel:page,packing:printModel:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627506543435272196, 1627506543435272194, '新增', NULL, 'packing:printModel:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627506543435272197, 1627506543435272194, '修改', NULL, 'packing:printModel:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627506543435272198, 1627506543435272194, '删除', NULL, 'packing:printModel:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627506543435272199, 1627506543435272194, '导出', NULL, 'packing:printModel:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627488175458189314, 1067246875800000035, '基板补偿功率 表', 'packing/woCompensationPower', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627488175458189315, 1627488175458189314, '查看', NULL, 'packing:woCompensationPower:page,packing:woCompensationPower:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627488175458189316, 1627488175458189314, '新增', NULL, 'packing:woCompensationPower:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627488175458189317, 1627488175458189314, '修改', NULL, 'packing:woCompensationPower:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627488175458189318, 1627488175458189314, '删除', NULL, 'packing:woCompensationPower:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627488175458189319, 1627488175458189314, '导出', NULL, 'packing:woCompensationPower:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627855073022648322, 1067246875800000035, '包装箱基板关联表 ( 基板表 )', 'packing/woPackagingBoxSubstrate', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648323, 1627855073022648322, '查看', NULL, 'packing:woPackagingBoxSubstrate:page,packing:woPackagingBoxSubstrate:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648324, 1627855073022648322, '新增', NULL, 'packing:woPackagingBoxSubstrate:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648325, 1627855073022648322, '修改', NULL, 'packing:woPackagingBoxSubstrate:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648326, 1627855073022648322, '删除', NULL, 'packing:woPackagingBoxSubstrate:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627855073022648327, 1627855073022648322, '导出', NULL, 'packing:woPackagingBoxSubstrate:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1628230581925277697, 1067246875800000035, '包装箱表', 'code/woPackagingBox', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277698, 1628230581925277697, '查看', NULL, 'code:woPackagingBox:page,code:woPackagingBox:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277699, 1628230581925277697, '新增', NULL, 'code:woPackagingBox:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277700, 1628230581925277697, '修改', NULL, 'code:woPackagingBox:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277701, 1628230581925277697, '删除', NULL, 'code:woPackagingBox:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1628230581925277702, 1628230581925277697, '导出', NULL, 'code:woPackagingBox:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627603723110080513, 1067246875800000035, '包装箱打印历史表', 'packing/woPackagingPrintHistory', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627603723110080514, 1627603723110080513, '查看', NULL, 'packing:woPackagingPrintHistory:page,packing:woPackagingPrintHistory:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627603723110080515, 1627603723110080513, '新增', NULL, 'packing:woPackagingPrintHistory:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627603723110080516, 1627603723110080513, '修改', NULL, 'packing:woPackagingPrintHistory:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627603723110080517, 1627603723110080513, '删除', NULL, 'packing:woPackagingPrintHistory:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627603723110080518, 1627603723110080513, '导出', NULL, 'packing:woPackagingPrintHistory:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,7 @@
-- 菜单初始SQL
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (1627486255993688065, 1067246875800000035, '功率等级 表', 'packing/woPowerLevel', NULL, 0, 'icon-desktop', 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627486255993688066, 1627486255993688065, '查看', NULL, 'packing:woPowerLevel:page,packing:woPowerLevel:info', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627486255993688067, 1627486255993688065, '新增', NULL, 'packing:woPowerLevel:save', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627486255993688068, 1627486255993688065, '修改', NULL, 'packing:woPowerLevel:update', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627486255993688069, 1627486255993688065, '删除', NULL, 'packing:woPowerLevel:delete', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());
INSERT INTO sys_menu(id, pid, name, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1627486255993688070, 1627486255993688065, '导出', NULL, 'packing:woPowerLevel:export', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.ChangePackagingBoxHistoryDTO;
import com.cnbm.generator.code.entity.ChangePackagingBoxHistory;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
public interface ChangePackagingBoxHistoryServiceBiz extends CrudService<ChangePackagingBoxHistory, ChangePackagingBoxHistoryDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.PrintModelDTO;
import com.cnbm.generator.code.entity.PrintModel;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
public interface PrintModelServiceBiz extends CrudService<PrintModel, PrintModelDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.WoCompensationPowerDTO;
import com.cnbm.generator.code.entity.WoCompensationPower;
/**
* 基板补偿功率
*
* @author codeGenerator
* @since 2023-02-20
*/
public interface WoCompensationPowerServiceBiz extends CrudService<WoCompensationPower, WoCompensationPowerDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.WoPackagingBoxDTO;
import com.cnbm.generator.code.entity.WoPackagingBox;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-22
*/
public interface WoPackagingBoxServiceBiz extends CrudService<WoPackagingBox, WoPackagingBoxDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.WoPackagingBoxSubstrateDTO;
import com.cnbm.generator.code.entity.WoPackagingBoxSubstrate;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
public interface WoPackagingBoxSubstrateServiceBiz extends CrudService<WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.WoPackagingPrintHistoryDTO;
import com.cnbm.generator.code.entity.WoPackagingPrintHistory;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-20
*/
public interface WoPackagingPrintHistoryServiceBiz extends CrudService<WoPackagingPrintHistory, WoPackagingPrintHistoryDTO> {
}

View File

@ -0,0 +1,15 @@
package com.cnbm.generator.code.service;
import com.cnbm.common.service.CrudService;
import com.cnbm.generator.code.dto.WoPowerLevelDTO;
import com.cnbm.generator.code.entity.WoPowerLevel;
/**
* 功率等级
*
* @author codeGenerator
* @since 2023-02-20
*/
public interface WoPowerLevelServiceBiz extends CrudService<WoPowerLevel, WoPowerLevelDTO> {
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.ChangePackagingBoxHistoryDTO;
import com.cnbm.generator.code.mapper.ChangePackagingBoxHistoryMapper;
import com.cnbm.generator.code.entity.ChangePackagingBoxHistory;
import com.cnbm.generator.code.service.ChangePackagingBoxHistoryServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 包装箱拆合箱历史表
*
* @author codeGenerator
* @since 2023-02-16
*/
@Service
public class ChangePackagingBoxHistoryServiceBizImpl extends CrudServiceImpl<ChangePackagingBoxHistoryMapper, ChangePackagingBoxHistory, ChangePackagingBoxHistoryDTO> implements ChangePackagingBoxHistoryServiceBiz {
@Override
public QueryWrapper<ChangePackagingBoxHistory> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<ChangePackagingBoxHistory> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.PrintModelDTO;
import com.cnbm.generator.code.mapper.PrintModelMapper;
import com.cnbm.generator.code.entity.PrintModel;
import com.cnbm.generator.code.service.PrintModelServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 打印标签模板表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Service
public class PrintModelServiceBizImpl extends CrudServiceImpl<PrintModelMapper, PrintModel, PrintModelDTO> implements PrintModelServiceBiz {
@Override
public QueryWrapper<PrintModel> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<PrintModel> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.WoCompensationPowerDTO;
import com.cnbm.generator.code.mapper.WoCompensationPowerMapper;
import com.cnbm.generator.code.entity.WoCompensationPower;
import com.cnbm.generator.code.service.WoCompensationPowerServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 基板补偿功率
*
* @author codeGenerator
* @since 2023-02-20
*/
@Service
public class WoCompensationPowerServiceBizImpl extends CrudServiceImpl<WoCompensationPowerMapper, WoCompensationPower, WoCompensationPowerDTO> implements WoCompensationPowerServiceBiz {
@Override
public QueryWrapper<WoCompensationPower> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<WoCompensationPower> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.WoPackagingBoxDTO;
import com.cnbm.generator.code.mapper.WoPackagingBoxMapper;
import com.cnbm.generator.code.entity.WoPackagingBox;
import com.cnbm.generator.code.service.WoPackagingBoxServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 包装箱表
*
* @author codeGenerator
* @since 2023-02-22
*/
@Service
public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBoxMapper, WoPackagingBox, WoPackagingBoxDTO> implements WoPackagingBoxServiceBiz {
@Override
public QueryWrapper<WoPackagingBox> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<WoPackagingBox> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.WoPackagingBoxSubstrateDTO;
import com.cnbm.generator.code.mapper.WoPackagingBoxSubstrateMapper;
import com.cnbm.generator.code.entity.WoPackagingBoxSubstrate;
import com.cnbm.generator.code.service.WoPackagingBoxSubstrateServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 包装箱基板关联表 ( 基板表 )
*
* @author codeGenerator
* @since 2023-02-21
*/
@Service
public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPackagingBoxSubstrateMapper, WoPackagingBoxSubstrate, WoPackagingBoxSubstrateDTO> implements WoPackagingBoxSubstrateServiceBiz {
@Override
public QueryWrapper<WoPackagingBoxSubstrate> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.WoPackagingPrintHistoryDTO;
import com.cnbm.generator.code.mapper.WoPackagingPrintHistoryMapper;
import com.cnbm.generator.code.entity.WoPackagingPrintHistory;
import com.cnbm.generator.code.service.WoPackagingPrintHistoryServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 包装箱打印历史表
*
* @author codeGenerator
* @since 2023-02-20
*/
@Service
public class WoPackagingPrintHistoryServiceBizImpl extends CrudServiceImpl<WoPackagingPrintHistoryMapper, WoPackagingPrintHistory, WoPackagingPrintHistoryDTO> implements WoPackagingPrintHistoryServiceBiz {
@Override
public QueryWrapper<WoPackagingPrintHistory> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<WoPackagingPrintHistory> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -0,0 +1,34 @@
package com.cnbm.generator.code.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cnbm.common.service.impl.CrudServiceImpl;
import com.cnbm.generator.code.dto.WoPowerLevelDTO;
import com.cnbm.generator.code.mapper.WoPowerLevelMapper;
import com.cnbm.generator.code.entity.WoPowerLevel;
import com.cnbm.generator.code.service.WoPowerLevelServiceBiz;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* 功率等级
*
* @author codeGenerator
* @since 2023-02-20
*/
@Service
public class WoPowerLevelServiceBizImpl extends CrudServiceImpl<WoPowerLevelMapper, WoPowerLevel, WoPowerLevelDTO> implements WoPowerLevelServiceBiz {
@Override
public QueryWrapper<WoPowerLevel> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
QueryWrapper<WoPowerLevel> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), "id", id);
return wrapper;
}
}

View File

@ -23,11 +23,6 @@
<artifactId>ym-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.cnbm</groupId>
<artifactId>ym-core</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>