@ -60,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<where>
<iftest="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<iftest="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<iftest="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<iftest="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<iftest="evectionCode != null and evectionCode != ''"> and evection_code = #{evectionCode}</if>
<iftest="evectionCode != null and evectionCode != ''"> and evection_code like concat('%', #{evectionCode}, '%')</if>
<iftest="evectionAddr != null and evectionAddr != ''"> and evection_addr = #{evectionAddr}</if>
<iftest="evectionAddr != null and evectionAddr != ''"> and evection_addr = #{evectionAddr}</if>
<iftest="evectionDetailAddr != null and evectionDetailAddr != ''"> and evection_detail_addr = #{evectionDetailAddr}</if>
<iftest="evectionDetailAddr != null and evectionDetailAddr != ''"> and evection_detail_addr = #{evectionDetailAddr}</if>
<iftest="evectionCauses != null and evectionCauses != ''"> and evection_causes = #{evectionCauses}</if>
<iftest="evectionCauses != null and evectionCauses != ''"> and evection_causes = #{evectionCauses}</if>
@ -75,7 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="applyTitle != null and applyTitle != ''"> and apply_title = #{applyTitle}</if>
<iftest="applyTitle != null and applyTitle != ''"> and apply_title = #{applyTitle}</if>
<iftest="applyUser != null and applyUser != ''"> and apply_user = #{applyUser}</if>
<iftest="applyUser != null and applyUser != ''"> and apply_user = #{applyUser}</if>
<iftest="applyTime != null "> and apply_time = #{applyTime}</if>
<iftest="applyTime != null "> and apply_time = #{applyTime}</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="params.beginApplyTime != null and params.beginApplyTime != '' and params.endApplyTime != null and params.endApplyTime != ''"> and Date(apply_time) between #{params.beginApplyTime} and #{params.endApplyTime}</if>
</where>
</where>
order by audit_status asc, create_time desc
order by audit_status asc, create_time desc
</select>
</select>
@ -182,12 +183,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"