소스 검색

修改客户详情 提交方法

阿伏兔 4 년 전
부모
커밋
7e15c0d24d
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      ruoyi-warehouse/src/main/java/com/ruoyi/basicData/service/impl/TCorpsServiceImpl.java

+ 4 - 1
ruoyi-warehouse/src/main/java/com/ruoyi/basicData/service/impl/TCorpsServiceImpl.java

@@ -46,7 +46,10 @@ public class TCorpsServiceImpl implements ITCorpsService {
         if (StringUtils.isNull(tCorps)) {
             map.put("corp", tCorps);
         }
-        List<TCustomerContact> customerContactList = tCustomerContactMapper.selectList(new EntityWrapper<TCustomerContact>().eq("f_pid", fId));
+       // List<TCustomerContact> customerContactList = tCustomerContactMapper.selectList(new EntityWrapper<TCustomerContact>().eq("f_pid", fId));
+        TCustomerContact tCustomerContact=  new TCustomerContact();
+        tCustomerContact.setfPid(fId);
+        List<TCustomerContact> customerContactList =tCustomerContactMapper.selectTCustomerContactList(tCustomerContact);
         if (StringUtils.isEmpty(customerContactList)) {
             map.put("customerContact", customerContactList);
         }