|
@@ -25,7 +25,7 @@ private Sfc10500ServiceImpl sfc10500Service;
|
|
@GetMapping(value = "/getLotAmount")
|
|
@GetMapping(value = "/getLotAmount")
|
|
private AjaxResult getLotAmount(Sfc10500 sfc10500) {
|
|
private AjaxResult getLotAmount(Sfc10500 sfc10500) {
|
|
//查找批次单批重量
|
|
//查找批次单批重量
|
|
- return success( sfc10500Service.getLotMount(sfc10500));
|
|
|
|
|
|
+ return success( sfc10500Service.query().like("lotno",sfc10500.getLotno()).eq("lotseq",sfc10500.getLotseq()).orderByDesc("peqty").list().get(0));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|