ezhizao_zx hai 1 ano
pai
achega
e89841377f

+ 17 - 0
src/main/java/cn/ezhizao/project/business/controller/BizLotController.java

@@ -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));
+//    }
 }

+ 2 - 1
src/main/java/cn/ezhizao/project/business/domain/BizLot.java

@@ -168,7 +168,8 @@ public class BizLot extends BaseEntity {
 
     @TableField(exist = false)
     private List<BizTechnologicalWasteRecyclingDetail> processList;
-
+//    @TableField(exist = false)
+//    private Date
 
 
 }