feat(入库计划): 对接小型刀具库

This commit is contained in:
Kelvin 2024-11-29 11:41:12 +08:00
parent 50f434954f
commit a7021a27f4
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package com.ktg.mes.wm.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ktg.mes.md.service.IAP0AEService;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@ -34,6 +35,9 @@ public class WmsInPlanController extends BaseController {
@Autowired
private IWmsInPlanService wmsInPlanService;
@Autowired
private IAP0AEService iAP0AEService;
/**
* 查询入库计划列表
*/
@ -42,6 +46,7 @@ public class WmsInPlanController extends BaseController {
public TableDataInfo list(WmsInPlan wmsInPlan) {
startPage();
List<WmsInPlan> list = wmsInPlanService.selectWmsInPlanList(wmsInPlan);
iAP0AEService.selectInNewData();
return getDataTable(list);
}

View File

@ -226,7 +226,6 @@ public class WmsInPlanServiceImpl implements IWmsInPlanService {
MdItem mdItem = mdItemService.selectMdItemById(Long.parseLong(wmsInTask.getMaterialId()));
wmsInTask.setMaterialCode(mdItem.getItemCode());
wmsInTask.setPlanTypeId(wmsInPlan.getPlanTypeId().toString());
wmsInTask.setPlanTypeCode(wmsInPlan.getPlanTypeCode());
wmsInTask.setPlanInStatus("0");
wmsInTask.setDetailInId(detail.getDetailsId());