Your Name пре 3 година
родитељ
комит
0945ea45e0

+ 4
- 4
src/main/java/com/yunzhi/shigongli/service/impl/TaHotelWorkerServiceImpl.java Прегледај датотеку

@@ -89,11 +89,11 @@ public class TaHotelWorkerServiceImpl extends BaseServiceImpl<TaHotelWorkerMappe
89 89
 
90 90
         // 发送内容
91 91
         List<WxMaSubscribeMessage.Data> dataList = new ArrayList<>();
92
-        String hotelName = taHotel.getHotelName();
93
-        if (null != hotelName && hotelName.length() > 10) {
94
-            hotelName = hotelName.substring(0, 10) + "...";
92
+        String roomName = taRoom.getRoomName();
93
+        if (null != roomName && roomName.length() > 10) {
94
+            roomName = roomName.substring(0, 10) + "...";
95 95
         }
96
-        dataList.add(new WxMaSubscribeMessage.Data("thing6", hotelName));
96
+        dataList.add(new WxMaSubscribeMessage.Data("thing6", roomName));
97 97
         dataList.add(new WxMaSubscribeMessage.Data("date2", taRoomOrder.getStartDate()));
98 98
 
99 99
         String templateId = messageTpl.getTemplateId();