|
|
|
@ -88,6 +88,7 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
|
|
|
|
|
int num = 1;
|
|
|
|
|
// 创建主订单
|
|
|
|
|
proOrder.setPlanFactoryCode(factory);
|
|
|
|
|
proOrder.setFactoryCode(factory);
|
|
|
|
|
proOrder.setId(IdUtils.fastSimpleUUID());
|
|
|
|
|
proOrder.setParentOrder("0");
|
|
|
|
|
proOrder.setStatus("o0");
|
|
|
|
@ -141,11 +142,12 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
|
|
|
|
|
childProOrder.setProdDesc(prodDescs[i]);
|
|
|
|
|
childProOrder.setProdCode(prodCodes[i]);
|
|
|
|
|
childProOrder.setPlanFactoryCode(factory);
|
|
|
|
|
childProOrder.setFactoryCode(factory);
|
|
|
|
|
childProOrder.setId(IdUtils.fastSimpleUUID());
|
|
|
|
|
childProOrder.setParentOrder(orderCode);
|
|
|
|
|
childProOrder.setStatus("o0");
|
|
|
|
|
childProOrder.setOrderType(proOrder.getProdType());
|
|
|
|
|
childProOrder.setOrderCode(orderCode+"-"+num++);
|
|
|
|
|
childProOrder.setOrderCode(orderCode+num++);
|
|
|
|
|
childProOrder.setCreateBy(SecurityContextHolder.getUserName());
|
|
|
|
|
childProOrder.setCreateTime(DateUtils.getNowDate());
|
|
|
|
|
childProOrder.setUpdateBy(SecurityContextHolder.getUserName());
|
|
|
|
|