فهرست منبع

feat:添加查询选项

ly 11 ماه پیش
والد
کامیت
598a3f95f1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mybatis/business/BizArchiveInputMapper.xml

+ 1 - 1
src/main/resources/mybatis/business/BizArchiveInputMapper.xml

@@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="startMonth != null "> AND t1.start_month = #{startMonth}</if>
             <if test="endMonth != null "> AND t1.end_month = #{endMonth}</if>
             <if test="proofUrl != null  and proofUrl != ''"> AND t1.proof_url = #{proofUrl}</if>
-            <if test="contractNo != null  and contractNo != ''"> AND t1.contract_no = #{contractNo}</if>
+            <if test="contractNo != null  and contractNo != ''"> AND t1.contract_no like concat("%",  #{contractNo}, "%")</if>
             <if test="formDate != null "> AND t1.form_date = #{formDate}</if>
             <if test="amount != null "> AND t1.amount = #{amount}</if>
             <if test="verifyStatus != null "> AND t1.verify_status = #{verifyStatus}</if>