全所统计

This commit is contained in:
zhangqinlin
2021-09-27 18:30:51 +08:00
parent 9369c32a28
commit c53ac477d8
9 changed files with 42 additions and 15 deletions
@@ -151,7 +151,13 @@ public class PayCaseCommitteeSubitemController extends JeroController<PayCaseCom
// ids为空表示搜索导出
if (StringUtils.isBlank(ids)) {
List<ChooseExcelWorkingGroup> list = payCaseCommitteeSubitemService.listForExcel(contactsName, companyName, fenBiaoWeiName);
return getModelAndView(list);
ArrayList<ChooseExcelWorkingGroup> objects = new ArrayList<>();
for(ChooseExcelWorkingGroup c:list){
if(StringUtils.isNotBlank(c.getCompanyName())){
objects.add(c);
}
}
return getModelAndView(objects);
} else {
ArrayList<String> idList = new ArrayList<>(Arrays.asList(ids.split(",")));
List<ChooseExcelWorkingGroup> list= payCaseCommitteeSubitemService.chooseExcel(idList);
@@ -29,6 +29,7 @@
AND pe.name LIKE CONCAT('%',#{fenBiaoWeiName},'%')
</if>
</where>
group by pe.id
order by pe.create_time desc
</select>
<select id="listForChildren" resultType="com.jero.data.entity.ChildrenFindByName">
@@ -66,7 +67,7 @@
AND pe.name LIKE CONCAT('%',#{fenBiaoWeiName},'%')
</if>
</where>
order by pe.create_time desc
</select>