Sfoglia il codice sorgente

refactor(qhse-common): 短信通知成功后更新通知时间

- 将 MobileVehicleProcessingServiceImpl 类中的 processDate 字段改为 notificationTime
- 这个改动更准确地反映了该时间字段的实际含义,即通知时间而非处理时间
lg 3 settimane fa
parent
commit
5acd989de7

+ 1 - 1
qhse-common/src/main/java/com/rongwei/bscommon/sys/service/impl/MobileVehicleProcessingServiceImpl.java

@@ -56,7 +56,7 @@ public class MobileVehicleProcessingServiceImpl
                 throw new RuntimeException(e);
             }
             log.info("发送短信成功,手机号:{}", item.getPhone());
-            item.setProcessDate(new Date());
+            item.setNotificationTime(new Date());
             updateList.add(item);
         }
         updateBatchById(updateList);