白坯订单v3

highway
zhaoxiaolin 1 year ago
parent 9067f3772c
commit ff20d3cfa4

@ -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);

Loading…
Cancel
Save