|
|
|
@ -2852,6 +2852,17 @@ public class OdsProcureOrderServiceImpl implements IOdsProcureOrderService {
|
|
|
|
|
String createBy= odsProcureOutOrder.getCreateBy();//操作人
|
|
|
|
|
produceCode= order1.getProcureCode();
|
|
|
|
|
String userDefined6= odsProcureOutOrder.getUserDefined6();//标识卡
|
|
|
|
|
//-这个地方的库区和仓库
|
|
|
|
|
String order1MaterialCode= order1.getMaterialCode();
|
|
|
|
|
String wcode= odsProcureOrderMapper.selectBaseProductAttached(order1MaterialCode);
|
|
|
|
|
if(wcode!=null&&wcode!=""){
|
|
|
|
|
odsProcureOutOrder.setWaCode(wcode);
|
|
|
|
|
String whCode= baseProductAttachedMapper.selectBaseAreaListnew(wcode);
|
|
|
|
|
odsProcureOutOrder.setWhCode(whCode);
|
|
|
|
|
}else {
|
|
|
|
|
odsProcureOutOrder.setWaCode("0000");
|
|
|
|
|
odsProcureOutOrder.setWhCode("WH02");
|
|
|
|
|
}
|
|
|
|
|
String waCode= odsProcureOutOrder.getWaCode();
|
|
|
|
|
String whCode= odsProcureOutOrder.getWhCode();
|
|
|
|
|
String wlCode= odsProcureOutOrder.getWlCode();
|
|
|
|
|