ソースを参照

资金申请单添加搜索

y 2 年 前
コミット
9bed899556

+ 2 - 2
src/main/resources/mapper/modules/inv/InvAccountExcelMapper.xml

@@ -54,7 +54,7 @@
             and excel_account_operate_id = #{insAccountExcel.excelAccountOperateId}
         </if>
         <if test="insAccountExcel.company!= null and insAccountExcel.company!= ''">
-            and company = #{insAccountExcel.company}
+            and company like concat('%',#{insAccountExcel.company},'%')
         </if>
         <if test="insAccountExcel.applicant!= null and insAccountExcel.applicant!= ''">
             and applicant = #{insAccountExcel.applicant}
@@ -69,7 +69,7 @@
             and apply_sector = #{insAccountExcel.applySector}
         </if>
         <if test="insAccountExcel.collectionMessage!= null and insAccountExcel.collectionMessage!= ''">
-            and collection_message = #{insAccountExcel.collectionMessage}
+            and collection_message like concat('%',#{insAccountExcel.collectionMessage},'%')
         </if>
         <if test="insAccountExcel.fundFlow!= null and insAccountExcel.fundFlow!= ''">
             and fund_flow = #{insAccountExcel.fundFlow}