Commit 3e78469d by yinyong

skums资料库数据pushTime推送时间为空

parent cef3bdb0
......@@ -122,6 +122,9 @@ public class SkuMSSyncJob extends PointJob {
}
}
dcBaseSku.setGmtModified(LocalDateTime.now());
if(dcBaseSku.getPushTime().isBefore(LocalDateTime.of(1991, 01, 01, 00, 00, 00))) {
dcBaseSku.setPushTime(LocalDateTime.of(1991, 01, 01, 00, 00, 00));
}
int v = mapper.updateByExampleSelective(dcBaseSku, DcBaseSkuExample.newAndCreateCriteria().andBailunSkuEqualTo(dcBaseSku.getBailunSku()).example());
if (v == 0) {
mapper.insertSelective(dcBaseSku);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment