Bläddra i källkod

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

魏超 5 år sedan
förälder
incheckning
9984aeb8c3

+ 3
- 1
src/main/java/com/huiju/estateagents/sample/controller/TaH5SampleController.java Visa fil

@@ -311,7 +311,9 @@ public class TaH5SampleController extends BaseController {
311 311
             queryWrapper.eq("sample_id", taH5Sample.getSampleId());
312 312
             List<TaSampleContact> sampleContactList = iTaSampleContactService.list(queryWrapper);
313 313
             if (sampleContactList.size() > 0) {
314
-                List<TaContact> taContactList = taContactService.list(new QueryWrapper<TaContact>().in("contact_id", sampleContactList.stream().map(TaSampleContact::getContactId).collect(Collectors.toList())));
314
+                List<TaContact> taContactList = taContactService.list(new QueryWrapper<TaContact>()
315
+                        .in("contact_ id", sampleContactList.stream().map(TaSampleContact::getContactId).collect(Collectors.toList()))
316
+                        .eq("status",CommConstant.STATUS_NORMAL));
315 317
                 taH5Sample.setTaContactList(taContactList);
316 318
             }
317 319
             if (!StringUtils.isEmpty(taH5Sample.getTag())) {

+ 1
- 1
src/main/java/com/huiju/estateagents/sample/service/impl/TaContactServiceImpl.java Visa fil

@@ -53,7 +53,7 @@ public class TaContactServiceImpl extends ServiceImpl<TaContactMapper, TaContact
53 53
         }
54 54
 
55 55
         // 更新样例表状态
56
-        taH5SampleMapper.batchUpdateStatus(updateList, userId);
56
+//        taH5SampleMapper.batchUpdateStatus(updateList, userId);
57 57
 
58 58
         responseBean.addSuccess(updateBatchById(updateList));
59 59
         return responseBean;