|
|
|
@ -20,10 +20,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Objects;
|
|
|
|
@ -175,9 +172,9 @@ public class MesProduceSnPrintController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping("/by-packageno-or-productsn/reprint-pack")
|
|
|
|
|
@PostMapping("/by-packageno/reprint-pack")
|
|
|
|
|
@ApiOperation(value = "根据包装条码或者零件条码补打印包装条码")
|
|
|
|
|
public ResultBean doRePrintPackByPackageNoOrProductSn(MesProduceSnPrintModel mesProduceSnPrintModel) {
|
|
|
|
|
public ResultBean doRePrintPackByPackageNoOrProductSn(@RequestBody MesProduceSnPrintModel mesProduceSnPrintModel) {
|
|
|
|
|
try {
|
|
|
|
|
ValidatorBean.checkNotNull(mesProduceSnPrintModel.getPackageNo(), "包装条码不能为空");
|
|
|
|
|
ValidatorBean.checkNotNull(mesProduceSnPrintModel.getOrganizeCode(), "工厂代码不能为空");
|
|
|
|
|