Commit 0d95ca69 authored by tianyiming's avatar tianyiming

是否车用启用证过滤

parent acc9ff7a
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<if test="dto.equListCode != null and dto.equListCode != ''"> <if test="dto.equListCode != null and dto.equListCode != ''">
and tjurm.equ_list_code = #{dto.equListCode} and tjurm.equ_list_code = #{dto.equListCode}
</if> </if>
<if test="dto.equCategoryCode != null and dto.equCategoryCode != ''"> <if test="dto.equCategoryCode != null and dto.equCategoryCode != '' and dto.isCyl != 1 ">
and tjurm.equ_category_code = #{dto.equCategoryCode} and tjurm.equ_category_code = #{dto.equCategoryCode}
</if> </if>
<if test="dto.equDefineCode != null and dto.equDefineCode != ''"> <if test="dto.equDefineCode != null and dto.equDefineCode != ''">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
and tjurm.certificate_status = #{dto.certificateStatus} and tjurm.certificate_status = #{dto.certificateStatus}
</if> </if>
<if test="dto.isCyl != null and dto.isCyl == 1 "> <if test="dto.isCyl != null and dto.isCyl == 1 ">
AND tjurm.reg_type == '车用气瓶登记' AND tjurm.reg_type = '车用气瓶登记'
</if> </if>
ORDER BY tjurm.rec_date DESC ORDER BY tjurm.rec_date DESC
</where> </where>
......
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