Commit 4dbcf1b9 authored by xixinzhao's avatar xixinzhao

修改消防人员导出

parent d3a55064
......@@ -441,7 +441,7 @@ LEFT JOIN cb_fire_team cft ON cff.fire_team_id = cft.sequence_nbr
LEFT JOIN cb_firefighters_post fp ON a.sequence_nbr = fp.org_usr_id
LEFT JOIN cb_firefighters f ON a.sequence_nbr = f.org_usr_id
where a.biz_org_name is not null and a.is_delete = 0 and a.biz_org_type = 'PERSON'
where a.biz_org_name is not null and a.is_delete = 0 and f.is_delete = 0 and a.biz_org_type = 'PERSON'
<if test="name!=null and name !='-1' and name !=''">and a.`name` like concat('%',#{name},'%')</if>
<if test='postQualification!=null'>and fp.post_qualification_code = #{postQualification}</if>
<if test='fireTeamId !=null'>and f.fire_team_id = #{fireTeamId}</if>
......
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