ソースを参照

1.合同信息 查询

wuhp 1 年間 前
コミット
899515f455

+ 1 - 1
src/main/resources/mapper/modules/fnc/contract/ContractMapper.xml

@@ -9,7 +9,7 @@
             ins_contract  ic
         <where>
             <if test="vo.contractCode !=null  and  vo.contractCode !=''">
-                and ic.contract_code like concat('%',#{vo.contractCode},'%')
+                and (ic.contract_code like concat('%',#{vo.contractCode},'%') or ic.contract_name like concat('%',#{vo.contractCode},'%'))
             </if>
 
             <if test="vo.contractIdList != null  and vo.contractIdList !='' and  vo.contractIdList.size()>0 ">