|
|
|
@ -3,6 +3,7 @@ package cn.estsh.i3plus.ext.mes.pcn.apiservice.serviceimpl.busi;
|
|
|
|
|
import cn.estsh.i3plus.ext.mes.pcn.api.busi.IMesConfigService;
|
|
|
|
|
import cn.estsh.i3plus.ext.mes.pcn.api.busi.IMesJisShippingService;
|
|
|
|
|
import cn.estsh.i3plus.ext.mes.pcn.api.busi.IMesPartShippingGroupService;
|
|
|
|
|
import cn.estsh.i3plus.ext.mes.pcn.pojo.util.MesPcnExtConstWords;
|
|
|
|
|
import cn.estsh.i3plus.platform.common.convert.ConvertBean;
|
|
|
|
|
import cn.estsh.i3plus.platform.common.tool.TimeTool;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
@ -44,8 +45,8 @@ public class MesJisShippingServiceImpl implements IMesJisShippingService {
|
|
|
|
|
List<MesJisShipping> jisShippingList = new ArrayList<>();
|
|
|
|
|
orderManagementDetailList.forEach(k -> {
|
|
|
|
|
MesJisShipping jisShipping = new MesJisShipping();
|
|
|
|
|
BeanUtils.copyProperties(orderManagement, jisShipping, "id");
|
|
|
|
|
BeanUtils.copyProperties(k, jisShipping, "id");
|
|
|
|
|
BeanUtils.copyProperties(orderManagement, jisShipping, MesPcnExtConstWords.BASE_BEAN_FIELDS);
|
|
|
|
|
BeanUtils.copyProperties(k, jisShipping, MesPcnExtConstWords.BASE_BEAN_FIELDS);
|
|
|
|
|
jisShipping.setFactoryCode(orderManagement.getCustOrganizeCode());
|
|
|
|
|
jisShipping.setShippingTime(TimeTool.getNowTime(true));
|
|
|
|
|
jisShipping.setErpWarerhouse(warerhouse);
|
|
|
|
|