|
|
|
@ -97,7 +97,7 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
|
|
|
|
|
proOrder.setStatus("o0");
|
|
|
|
|
proOrder.setQuantitySplit(0L);
|
|
|
|
|
proOrder.setOrderType(proOrder.getProdType());
|
|
|
|
|
String bpDD = "DD" + DateUtils.parseDateToStr(DateUtils.YYYYMMDD, DateUtils.getNowDate());
|
|
|
|
|
String bpDD = "DD" + DateUtils.parseDateToStr(DateUtils.YYYYMMDD, proOrder.getPlanProDate());
|
|
|
|
|
int liushuiNum = proWhiteOrderMapper.getTodayMaxNum(proOrder);
|
|
|
|
|
String liushuiStr = String.format("%04d", liushuiNum);
|
|
|
|
|
proOrder.setOrderCode(bpDD+liushuiStr);
|
|
|
|
|