Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents into dev

魏超 5 years ago
parent
commit
6c45aba2c1

+ 5
- 5
src/main/java/com/huiju/estateagents/service/impl/TaPreselectionRecordServiceImpl.java View File

114
         // 校验用户是否已经预选房源
114
         // 校验用户是否已经预选房源
115
         TaPreselectionRecord record = taPreselectionRecordMapper.getRecordByPersonIdAndHouseId(personId, houseId);
115
         TaPreselectionRecord record = taPreselectionRecordMapper.getRecordByPersonIdAndHouseId(personId, houseId);
116
         if (record != null) {
116
         if (record != null) {
117
-            tip = "已预选过此房源,请到选房记录中查看。";
117
+            tip = "已预选过此房源。";
118
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
118
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
119
             responseBean.addError(tip);
119
             responseBean.addError(tip);
120
             return responseBean;
120
             return responseBean;
122
 
122
 
123
         TaHousingResourcesPO resourcesPO = taHousingResourcesMapper.getHousingDetailById(taPreselectionRecord.getHouseId(), "0");
123
         TaHousingResourcesPO resourcesPO = taHousingResourcesMapper.getHousingDetailById(taPreselectionRecord.getHouseId(), "0");
124
         if (resourcesPO == null) {
124
         if (resourcesPO == null) {
125
-            tip = "未知原因失败,请联系置业顾问。";
125
+            tip = "当前房源已临时取消发布。";
126
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
126
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
127
             responseBean.addError(tip);
127
             responseBean.addError(tip);
128
             return responseBean;
128
             return responseBean;
130
 
130
 
131
         // 校验当前批次状态是否为已发布
131
         // 校验当前批次状态是否为已发布
132
         if (resourcesPO.getSaleBatchStatus() != 1) {
132
         if (resourcesPO.getSaleBatchStatus() != 1) {
133
-            tip = "当前销售批次已临时取消发布,请稍后再试或联系置业顾问了解详情。";
133
+            tip = "当前销售批次已临时取消发布。";
134
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
134
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
135
             responseBean.addError(tip);
135
             responseBean.addError(tip);
136
             return responseBean;
136
             return responseBean;
138
 
138
 
139
         // 校验当前房源状态是否为已发布
139
         // 校验当前房源状态是否为已发布
140
         if (1 != resourcesPO.getStatus()) {
140
         if (1 != resourcesPO.getStatus()) {
141
-            tip = "当前房源已临时取消发布,请稍后再试或联系置业顾问了解详情。";
141
+            tip = "当前房源已临时取消发布。";
142
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
142
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
143
             responseBean.addError(tip);
143
             responseBean.addError(tip);
144
             return responseBean;
144
             return responseBean;
146
 
146
 
147
         // 校验预选操作时间是否在规定范围内
147
         // 校验预选操作时间是否在规定范围内
148
         if (!DateUtils.checkTimeRange(resourcesPO.getPreselectionStartTime(), resourcesPO.getPreselectionEndTime(), null)) {
148
         if (!DateUtils.checkTimeRange(resourcesPO.getPreselectionStartTime(), resourcesPO.getPreselectionEndTime(), null)) {
149
-            tip = "当前时间不在预选时间范围内,请联系置业顾问了解详情。";
149
+            tip = "当前时间不在预选时间范围内。";
150
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
150
             sendSubscribeMsg(houseId, personId, checkType, "失败", tip, false);
151
             responseBean.addError(tip);
151
             responseBean.addError(tip);
152
             return responseBean;
152
             return responseBean;