Browse Source

修改发展党员统计筛选条件

wch 3 years ago
parent
commit
7f92e0e063

+ 1 - 1
ruoyi-hndj/src/main/java/com/ruoyi/statistics/controller/OrgStatisticsController.java

@@ -165,7 +165,7 @@ public class OrgStatisticsController extends BaseController {
         List<DeptStaffDto> list = orgStatisticsService.fzdyStaffDetails();
         if (deptStaffDto != null && StringUtils.isNotBlank(deptStaffDto.getDeptName())) {
             String deptName = deptStaffDto.getDeptName();
-            List<DeptStaffDto> result = list.stream().filter(s -> s.getDeptName().equals(deptName)).collect(Collectors.toList());
+            List<DeptStaffDto> result = list.stream().filter(s -> s.getDeptName().contains(deptName)).collect(Collectors.toList());
             return getDataTable(result);
         }
         return getDataTable(list);

+ 1 - 1
ruoyi-hndj/src/main/resources/templates/statistics/fzdy.html

@@ -12,7 +12,7 @@
                     <ul>
                         <li>
                             <label>组织名称:</label>
-                            <input type="text" id="organizeName" name="deptName" onclick="selectDeptTree()"/>
+                            <input type="text" id="organizeName" name="deptName" />
                             <input type="hidden" id="organizeId" name="organizeId"/>
                         </li>