|
@@ -273,4 +273,21 @@ public class BizLotController extends BaseController
|
|
|
{
|
|
|
return toAjax(bizLotService.removeBatchByIds(ids));
|
|
|
}
|
|
|
+
|
|
|
+// @PreAuthorize("@ss.hasPermi('business:lot:query')")
|
|
|
+// @Log(title="分批信息", businessType = BusinessType.SELECT)
|
|
|
+// @PostMapping("/getLotInfoForInBatches")
|
|
|
+// public AjaxResult getLotInfoForInBatches(@RequestBody BizLot bizLot) {
|
|
|
+// // 分批信息需要批次信息
|
|
|
+// // 下达日期
|
|
|
+// // 当前工段
|
|
|
+// // 当前工序投产量
|
|
|
+// List<BizLot> lots = bizLotService.getList(bizLot);
|
|
|
+// if (lots.size() == 0) {
|
|
|
+// return error("没有找到批次信息");
|
|
|
+// }
|
|
|
+// BizLot lot = lots.get(0);
|
|
|
+//
|
|
|
+// return success(bizLotService.getLotInfoForInBatches(bizLot));
|
|
|
+// }
|
|
|
}
|