diff --git a/src/main/resources/mapper/LeaderCockpitMapper.xml b/src/main/resources/mapper/LeaderCockpitMapper.xml index 249ef2f..3cf3391 100644 --- a/src/main/resources/mapper/LeaderCockpitMapper.xml +++ b/src/main/resources/mapper/LeaderCockpitMapper.xml @@ -39,7 +39,7 @@ select count(id) as value from e10_common.uf_jcl_lzxxjl t where t.delete_type = 0 and t.tenant_key = #{tenantKey} - AND t.department IN + AND t.lzqbm IN #{departmentId} @@ -52,7 +52,7 @@ select count(id) as value from e10_common.uf_jcl_lzxxjl t where t.delete_type = 0 and t.tenant_key = #{tenantKey} - AND t.department IN + AND t.lzqbm IN #{departmentId} @@ -99,7 +99,7 @@ and t.hiredate >= #{startDate} and t.hiredate <= #{endDate} and position !='' and position is not null - group by position order by value limit 3 + group by position order by value