feat(入库计划): 对接小型刀具库
This commit is contained in:
parent
50f434954f
commit
a7021a27f4
@ -3,6 +3,7 @@ package com.ktg.mes.wm.controller;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ktg.mes.md.service.IAP0AEService;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@ -34,6 +35,9 @@ public class WmsInPlanController extends BaseController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IWmsInPlanService wmsInPlanService;
|
private IWmsInPlanService wmsInPlanService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IAP0AEService iAP0AEService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询入库计划列表
|
* 查询入库计划列表
|
||||||
*/
|
*/
|
||||||
@ -42,6 +46,7 @@ public class WmsInPlanController extends BaseController {
|
|||||||
public TableDataInfo list(WmsInPlan wmsInPlan) {
|
public TableDataInfo list(WmsInPlan wmsInPlan) {
|
||||||
startPage();
|
startPage();
|
||||||
List<WmsInPlan> list = wmsInPlanService.selectWmsInPlanList(wmsInPlan);
|
List<WmsInPlan> list = wmsInPlanService.selectWmsInPlanList(wmsInPlan);
|
||||||
|
iAP0AEService.selectInNewData();
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,7 +226,6 @@ public class WmsInPlanServiceImpl implements IWmsInPlanService {
|
|||||||
|
|
||||||
MdItem mdItem = mdItemService.selectMdItemById(Long.parseLong(wmsInTask.getMaterialId()));
|
MdItem mdItem = mdItemService.selectMdItemById(Long.parseLong(wmsInTask.getMaterialId()));
|
||||||
wmsInTask.setMaterialCode(mdItem.getItemCode());
|
wmsInTask.setMaterialCode(mdItem.getItemCode());
|
||||||
wmsInTask.setPlanTypeId(wmsInPlan.getPlanTypeId().toString());
|
|
||||||
wmsInTask.setPlanTypeCode(wmsInPlan.getPlanTypeCode());
|
wmsInTask.setPlanTypeCode(wmsInPlan.getPlanTypeCode());
|
||||||
wmsInTask.setPlanInStatus("0");
|
wmsInTask.setPlanInStatus("0");
|
||||||
wmsInTask.setDetailInId(detail.getDetailsId());
|
wmsInTask.setDetailInId(detail.getDetailsId());
|
||||||
|
Loading…
Reference in New Issue
Block a user