Commit 4576d1d7 authored by 刘林's avatar 刘林

fix(Statistics):登记证管理添加气瓶查询

parent cbec04e9
......@@ -158,9 +158,16 @@
INNER JOIN privilege_company pc on tjurm.receive_company_code = pc.company_code
<where>
tjurm.is_delete = 0 and pc.org_code like concat (#{orgCode}, '%')
<if test="dto.equList != null and dto.equList != ''">
and tjurm.equ_list = #{dto.equList}
</if>
<choose>
<when test="dto.equList != null and dto.equList != '' and dto.equList == '气瓶'">
and tjurm.equ_category = #{dto.equList}
</when>
<otherwise>
<if test="dto.equList != null and dto.equList != ''">
and tjurm.equ_list = #{dto.equList}
</if>
</otherwise>
</choose>
<if test="dto.equListCode != null and dto.equListCode != ''">
and tjurm.equ_list_code = #{dto.equListCode}
</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