Просмотр исходного кода

微信端 推荐客户 插入的时候, verify_status 设置空值

魏熙美 5 лет назад
Родитель
Сommit
4a3256f2e9

+ 1
- 1
src/main/java/com/huiju/estateagents/controller/TaRecommendCustomerController.java Просмотреть файл

@@ -496,7 +496,7 @@ public class TaRecommendCustomerController extends BaseController {
496 496
         ResponseBean responseBean = new ResponseBean();
497 497
         try {
498 498
             TaRecommendCustomer taRecommendCustomer = taRecommendCustomerService.getById(id);
499
-            if(taRecommendCustomer.getVerifyStatus().equals(CommConstant.VERIFY_READY) ){
499
+            if(null == taRecommendCustomer.getVerifyStatus()){ // taRecommendCustomer.getVerifyStatus().equals(CommConstant.VERIFY_READY)
500 500
                 taRecommendCustomer.setVerifyStatus(verifyStatus);
501 501
                 if(!StringUtils.isEmpty(verifyRemark)){
502 502
                     taRecommendCustomer.setVerifyRemark(verifyRemark);

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java Просмотреть файл

@@ -186,7 +186,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
186 186
         taRecommendCustomer.setDemandType(params.getString("demandType"));
187 187
         taRecommendCustomer.setPriceRange(params.getString("priceRange"));
188 188
         taRecommendCustomer.setEntryType(CommConstant.ENTRY_INPUT);
189
-        taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_READY);
189
+        // taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_READY);
190 190
 
191 191
 
192 192
         String status = params.getString("status");