12 小时以前 3d556b8defe1ff5b9aeb481bd1d0a67b2ded0192
src/main/resources/mapper/approve/FinReimbursementMapper.xml
@@ -48,10 +48,15 @@
            <if test="ew.applicantName != null and ew.applicantName != ''">
                and applicant_name like concat('%',#{ew.applicantName},'%')
            </if>
            <if test="ew.createTimeStart != null and ew.createTimeStart !=''">
                and create_time between to_date(#{ew.createTimeStart}) and to_date(#{ew.createTimeEnd})
            <if test="ew.applicantCode != null and ew.applicantCode != ''">
                and applicant_code like concat('%',#{ew.applicantCode},'%')
            </if>
            <if test="ew.createTimeStart != null and ew.createTimeStart !='' and ew.createTimeEnd != null and ew.createTimeEnd != ''">
                and create_time &gt;= #{ew.createTimeStart}
                and create_time &lt;= #{ew.createTimeEnd}
            </if>
        </where>
        order by create_time desc
    </select>
</mapper>