|
|
|
@ -55,7 +55,7 @@ public class MesContainerSnStationController {
|
|
|
|
|
@ApiOperation(value = "新增")
|
|
|
|
|
public ResultBean doInsert(@RequestBody MesContainerSnStation mesContainerSnStation) {
|
|
|
|
|
try {
|
|
|
|
|
ValidatorBean.checkNotNull(mesContainerSnStation.getCreateUser(), "工厂代码为空");
|
|
|
|
|
ValidatorBean.checkNotNull(mesContainerSnStation.getCreateUser(), "操作人为空");
|
|
|
|
|
ValidatorBean.checkNotNull(mesContainerSnStation.getOrganizeCode(), "工厂代码为空");
|
|
|
|
|
//校验容器条码是否存在
|
|
|
|
|
mesContainerSnService.checkContainerSnIsExist(mesContainerSnStation.getContainerSn(), mesContainerSnStation.getOrganizeCode());
|
|
|
|
|