|
@@ -82,8 +82,8 @@ public class WorkClientService {
|
|
|
String jobTypeId = info.getJobTypeId();
|
|
|
s = s + "," + jobTypeId;
|
|
|
}
|
|
|
- s.substring(1, s.length()-1);
|
|
|
- i.setDeputy(s);
|
|
|
+ String substring = s.substring(1, s.length());
|
|
|
+ i.setDeputy(substring);
|
|
|
}
|
|
|
});
|
|
|
infoPage.setRecords(records);
|
|
@@ -213,8 +213,8 @@ public class WorkClientService {
|
|
|
String jobTypeId = info.getJobTypeId();
|
|
|
s = s + "," + jobTypeId;
|
|
|
}
|
|
|
- s.substring(1, s.length()-1);
|
|
|
- workClientInfo.setDeputy(s);
|
|
|
+ String substring = s.substring(1, s.length());
|
|
|
+ workClientInfo.setDeputy(substring);
|
|
|
}
|
|
|
//客户信息查询
|
|
|
dto.setWorkClientInfo(workClientInfo);
|
|
@@ -305,6 +305,11 @@ public class WorkClientService {
|
|
|
return "更新完成!";
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据名称模糊搜索客户信息
|
|
|
+ * @param name
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public List<WorkClientInfo> findListByName(String name) {
|
|
|
LambdaQueryWrapper<WorkClientInfo> wrapper = new LambdaQueryWrapper<>();
|
|
|
wrapper.like(WorkClientInfo::getName, name);
|