Commit 35b867f0 authored by litengwei's avatar litengwei

打卡人查询逻辑修改

parent 93d06420
...@@ -76,8 +76,8 @@ ...@@ -76,8 +76,8 @@
) s group by date,bizOrgCode ) s group by date,bizOrgCode
</select> </select>
<select id="queryPersonNum" resultType="java.lang.Integer"> <select id="queryPersonNum" resultType="java.lang.Integer">
select count(*) from cb_firefighters where fire_team_id in ( select count(*) from cb_firefighters where biz_org_code = #{bizOgrCode} AND people_type = '1601'
select sequence_nbr from cb_fire_team where biz_org_code = #{bizOgrCode} and type_code = '116' AND is_delete = 0 AND now() > rec_date
) and is_delete = 0 AND now() > rec_date
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment