|
|
@ -41,7 +41,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* <p>
|
|
|
|
* <p>
|
|
|
|
* 前端控制器
|
|
|
|
* 前端控制器 // 入库批号
|
|
|
|
* </p>
|
|
|
|
* </p>
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author xn
|
|
|
|
* @author xn
|
|
|
@ -83,6 +83,7 @@ public class PgdSljhController {
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/slPrint")
|
|
|
|
@PostMapping("/slPrint")
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
|
|
|
|
@AuthFunction
|
|
|
|
public ResultBean slPrint(HttpServletRequest req, @RequestBody List<SlKc> list) throws Exception, CustomException {
|
|
|
|
public ResultBean slPrint(HttpServletRequest req, @RequestBody List<SlKc> list) throws Exception, CustomException {
|
|
|
|
//ls_lsh = F_GETPJH("MM",'00',"MSMS")
|
|
|
|
//ls_lsh = F_GETPJH("MM",'00',"MSMS")
|
|
|
|
String id = syService.f_getpjh("MM", "00", "MSMS");
|
|
|
|
String id = syService.f_getpjh("MM", "00", "MSMS");
|
|
|
@ -109,6 +110,9 @@ public class PgdSljhController {
|
|
|
|
// 库存主键 没存
|
|
|
|
// 库存主键 没存
|
|
|
|
ydjh.setId(slKc.getYdid());
|
|
|
|
ydjh.setId(slKc.getYdid());
|
|
|
|
ydjh.setZt("11");
|
|
|
|
ydjh.setZt("11");
|
|
|
|
|
|
|
|
ydjh.setSllsh(id);
|
|
|
|
|
|
|
|
ydjh.setSldrrq(DateUtil.format(DateUtil.date(), "yyyy/MM/dd HH:mm"));
|
|
|
|
|
|
|
|
ydjh.setSldrry((String) req.getAttribute("yhms"));
|
|
|
|
ydupList.add(ydjh);
|
|
|
|
ydupList.add(ydjh);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -195,7 +199,7 @@ public class PgdSljhController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
imCkwpkwpService.updateBatchByMultiId(ckupList);
|
|
|
|
//imCkwpkwpService.updateBatchByMultiId(ckupList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Dm_zhbmp> qgkws = dm_zhbmpRepository.findByBMLB("QGKW");
|
|
|
|
List<Dm_zhbmp> qgkws = dm_zhbmpRepository.findByBMLB("QGKW");
|
|
|
@ -417,6 +421,7 @@ public class PgdSljhController {
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
|
|
|
|
dmYdjh.setNbsbm(slKc.getNBSBM());
|
|
|
|
dmYdjh.setSlycldw((Integer) map.get("dw"));
|
|
|
|
dmYdjh.setSlycldw((Integer) map.get("dw"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -518,6 +523,7 @@ public class PgdSljhController {
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
|
|
|
|
dmYdjh.setNbsbm(slKc.getNBSBM());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setKcch(slKc.getDCCH());
|
|
|
|
dmYdjh.setKcch(slKc.getDCCH());
|
|
|
|
imCkwpkwp.setZylx(getLx(dmYdjh.getLqlb(), dmYdjh.getZl(),dmYdjh.getTzbh()));
|
|
|
|
imCkwpkwp.setZylx(getLx(dmYdjh.getLqlb(), dmYdjh.getZl(),dmYdjh.getTzbh()));
|
|
|
@ -536,6 +542,7 @@ public class PgdSljhController {
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
|
|
|
|
dmYdjh.setNbsbm(slKc.getNBSBM());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setKcch(slKc.getDCCH());
|
|
|
|
dmYdjh.setKcch(slKc.getDCCH());
|
|
|
|
dmYdjh.setId(slKc.getYdid());
|
|
|
|
dmYdjh.setId(slKc.getYdid());
|
|
|
@ -917,6 +924,7 @@ public class PgdSljhController {
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlcs(slKc.getCFCS1());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlxhth(slKc.getGCDDH());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
dmYdjh.setSlhth(slKc.getDcFd());
|
|
|
|
|
|
|
|
dmYdjh.setNbsbm(slKc.getNBSBM());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setSlwlh(slKc.getWPH());
|
|
|
|
dmYdjh.setSlycldw((Integer) map.get("dw"));
|
|
|
|
dmYdjh.setSlycldw((Integer) map.get("dw"));
|
|
|
|
|
|
|
|
|
|
|
@ -985,6 +993,7 @@ public class PgdSljhController {
|
|
|
|
ydjh.setSlcs("");
|
|
|
|
ydjh.setSlcs("");
|
|
|
|
ydjh.setSlxhth("");
|
|
|
|
ydjh.setSlxhth("");
|
|
|
|
ydjh.setSlhth("");
|
|
|
|
ydjh.setSlhth("");
|
|
|
|
|
|
|
|
ydjh.setNbsbm("");
|
|
|
|
ydjh.setSlwlh("");
|
|
|
|
ydjh.setSlwlh("");
|
|
|
|
ydjh.setKcch("");
|
|
|
|
ydjh.setKcch("");
|
|
|
|
|
|
|
|
|
|
|
|