Commit 6478c5c3 authored by 麻笑宇's avatar 麻笑宇

下钻接口修改类型筛选

parent e84fd2df
...@@ -351,7 +351,7 @@ ...@@ -351,7 +351,7 @@
<if test="dto.endDate != null and dto.endDate != ''"> <if test="dto.endDate != null and dto.endDate != ''">
and date_le(CAST(a.accept_date as date),#{dto.endDate}) and date_le(CAST(a.accept_date as date),#{dto.endDate})
</if> </if>
<if test="businessType !=null and businessType !='' and businessType !=0"> <if test='businessType !=null and businessType !="" and businessType !="0"'>
and a.inspection_type = #{businessType} and a.inspection_type = #{businessType}
</if> </if>
</select> </select>
...@@ -371,7 +371,7 @@ ...@@ -371,7 +371,7 @@
<if test="dto.endDate != null and dto.endDate != ''"> <if test="dto.endDate != null and dto.endDate != ''">
and date_le(CAST(a.application_date as date),#{dto.endDate}) and date_le(CAST(a.application_date as date),#{dto.endDate})
</if> </if>
<if test="businessType !=null and businessType !='' and businessType !=0"> <if test='businessType !=null and businessType !="" and businessType !="0"'>
and a.inspection_type = #{businessType} and a.inspection_type = #{businessType}
</if> </if>
</select> </select>
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
<if test="dto.superviseUnitName != null and dto.superviseUnitName != ''"> <if test="dto.superviseUnitName != null and dto.superviseUnitName != ''">
and inspection_unit_name like CONCAT('%', #{dto.superviseUnitName}, '%') and inspection_unit_name like CONCAT('%', #{dto.superviseUnitName}, '%')
</if> </if>
<if test="businessType !=null and businessType !='' and businessType != 0"> <if test='businessType !=null and businessType !="" and businessType != "0"'>
and a.inspection_type = #{businessType} and a.inspection_type = #{businessType}
</if> </if>
</select> </select>
......
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