yaozhixue 1 year ago
parent
commit
bd2330e839

+ 2 - 2
src/main/java/com/zfire/jiasm/syncdata/service/impl/PublicServiceImpl.java

@@ -916,7 +916,7 @@ public class PublicServiceImpl implements PublicService {
         add.setFjwd(orderBase.getWebsitId());
         add.setFsma(getFaOrderSmsfsma(orderBase.getUserMobile()));
         add.setFsnr(String.format(ALISMS_RESERVE,
-                rea.getOldAppointmentTime()==null ? sdf.format(rea.getNewAppointmentTime()):sdf.format(rea.getOldAppointmentTime()),
+                rea.getNewAppointmentTime()==null ? sdf.format(rea.getOldAppointmentTime()):sdf.format(rea.getNewAppointmentTime()),
                 getSHWDPhone(rea.getWebsitId())));
         add.setSjid(orderBase.getUserMobile());
         // 1:预约上门,4:改约
@@ -1872,7 +1872,7 @@ public class PublicServiceImpl implements PublicService {
         record.setPhone(rea.getUserMobile());
         if (record.getType()==1){
             record.setContent(String.format(ALISMS_RESERVE,
-                    rea.getOldAppointmentTime()==null ? sdf.format(rea.getNewAppointmentTime()):sdf.format(rea.getOldAppointmentTime()),
+                    rea.getNewAppointmentTime()==null ? sdf.format(rea.getOldAppointmentTime()):sdf.format(rea.getNewAppointmentTime()),
                     getSHWDPhone(rea.getWebsitId())));
         } else {
             record.setContent(String.format(ALISMS_RESERVE,