|
|
@ -694,8 +694,8 @@ public class ProOrderServiceImpl implements IProOrderService {
|
|
|
|
//// calendar.add(Calendar.DAY_OF_MONTH,1);//明天
|
|
|
|
//// calendar.add(Calendar.DAY_OF_MONTH,1);//明天
|
|
|
|
// sapqo.setCreateTime(calendar.getTime());
|
|
|
|
// sapqo.setCreateTime(calendar.getTime());
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// sapqo.setFactoryCode(poolName.replace("ds_",""));
|
|
|
|
|
|
|
|
SapShopOrderQuery sapqo = new SapShopOrderQuery();
|
|
|
|
SapShopOrderQuery sapqo = new SapShopOrderQuery();
|
|
|
|
|
|
|
|
sapqo.setWerk(poolName.replace("ds_",""));
|
|
|
|
SapProOrder maxCreateTime = proOrderMapper.getMaxCreatetime();
|
|
|
|
SapProOrder maxCreateTime = proOrderMapper.getMaxCreatetime();
|
|
|
|
if(maxCreateTime == null ){
|
|
|
|
if(maxCreateTime == null ){
|
|
|
|
sapqo.setErdat(DateFormatUtils.format(new Date(), "yyyyMMdd"));//S_ERDAT(创建日期) 例如:20230923
|
|
|
|
sapqo.setErdat(DateFormatUtils.format(new Date(), "yyyyMMdd"));//S_ERDAT(创建日期) 例如:20230923
|
|
|
|