소스 검색

资金申请单添加搜索

y 2 년 전
부모
커밋
9bed899556
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/mapper/modules/inv/InvAccountExcelMapper.xml

+ 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}