java110 преди 4 години
родител
ревизия
af0b458eb7
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml

+ 3 - 0
java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml

@@ -265,6 +265,9 @@
         <if test="contractName !=null and contractName != ''">
         <if test="contractName !=null and contractName != ''">
             and t.contract_name= #{contractName}
             and t.contract_name= #{contractName}
         </if>
         </if>
+        <if test="contractNameLike !=null and contractNameLike != ''">
+            and t.contract_name like  concat('%',#{contractNameLike},'%')
+        </if>
         <if test="startTime !=null ">
         <if test="startTime !=null ">
             and t.start_time= #{startTime}
             and t.start_time= #{startTime}
         </if>
         </if>