Browse Source

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

魏熙美 5 years ago
parent
commit
4a3256f2e9

+ 1
- 1
src/main/java/com/huiju/estateagents/controller/TaRecommendCustomerController.java View File

496
         ResponseBean responseBean = new ResponseBean();
496
         ResponseBean responseBean = new ResponseBean();
497
         try {
497
         try {
498
             TaRecommendCustomer taRecommendCustomer = taRecommendCustomerService.getById(id);
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
                 taRecommendCustomer.setVerifyStatus(verifyStatus);
500
                 taRecommendCustomer.setVerifyStatus(verifyStatus);
501
                 if(!StringUtils.isEmpty(verifyRemark)){
501
                 if(!StringUtils.isEmpty(verifyRemark)){
502
                     taRecommendCustomer.setVerifyRemark(verifyRemark);
502
                     taRecommendCustomer.setVerifyRemark(verifyRemark);

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java View File

186
         taRecommendCustomer.setDemandType(params.getString("demandType"));
186
         taRecommendCustomer.setDemandType(params.getString("demandType"));
187
         taRecommendCustomer.setPriceRange(params.getString("priceRange"));
187
         taRecommendCustomer.setPriceRange(params.getString("priceRange"));
188
         taRecommendCustomer.setEntryType(CommConstant.ENTRY_INPUT);
188
         taRecommendCustomer.setEntryType(CommConstant.ENTRY_INPUT);
189
-        taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_READY);
189
+        // taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_READY);
190
 
190
 
191
 
191
 
192
         String status = params.getString("status");
192
         String status = params.getString("status");