Commit 35b867f0 authored by litengwei's avatar litengwei

打卡人查询逻辑修改

parent 93d06420
......@@ -76,8 +76,8 @@
) s group by date,bizOrgCode
</select>
<select id="queryPersonNum" resultType="java.lang.Integer">
select count(*) from cb_firefighters where fire_team_id in (
select sequence_nbr from cb_fire_team where biz_org_code = #{bizOgrCode} and type_code = '116'
) and is_delete = 0 AND now() > rec_date
select count(*) from cb_firefighters where biz_org_code = #{bizOgrCode} AND people_type = '1601'
AND is_delete = 0 AND now() > rec_date
</select>
</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