Ver Fonte

修改客户详情 提交方法

阿伏兔 há 4 anos atrás
pai
commit
7e15c0d24d

+ 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);
         }