@@ -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 ">