| | |
| | | mapzc1.put("zc", mapzc); |
| | | lists.add(mapzc1); |
| | | //保安持证数量 |
| | | Map<String, String> mapcz = informationService.queryYearZc(year, jurisdiction, deptid); |
| | | Map<String, String> mapcz = informationService.queryYearCz(year, jurisdiction, deptid); |
| | | mapcz = (HashMap<String, String>) sortMapBykeyAsc(mapcz);//key升序 |
| | | mapcz1.put("chiz", mapcz); |
| | | lists.add(mapcz1); |
| | |
| | | GROUP BY |
| | | i.departmentid |
| | | ) |
| | | AND role_id='1412226235153731586' |
| | | AND role_id='1412226235153731586' and status=1 and is_deleted=0 |
| | | <if test="deptid!=null and deptid!=''"> |
| | | and dept_id =#{deptid} |
| | | </if> |
| | |
| | | GROUP BY |
| | | i.departmentid |
| | | ) |
| | | AND role_id='1412226235153731586' AND examination_type=0 |
| | | AND role_id='1412226235153731586' AND examination_type=0 and status=1 and is_deleted=0 |
| | | <if test="deptid!=null and deptid!=''"> |
| | | and dept_id =#{deptid} |
| | | </if> |
| | |
| | | GROUP BY |
| | | i.departmentid |
| | | ) |
| | | AND role_id='1412226235153731586' AND hold=1 |
| | | AND role_id='1412226235153731586' AND hold=1 and status=1 and is_deleted=0 |
| | | <if test="deptid!=null and deptid!=''"> |
| | | and dept_id =#{deptid} |
| | | </if> |
| | |
| | | FROM ( |
| | | SELECT u.enterpriseName, |
| | | u.departmentid, |
| | | u.jurisdiction, |
| | | d.dept_name AS deptname, |
| | | j.dept_name AS jurname |
| | | FROM sys_information u |