wangli 4 роки тому
батько
коміт
616c7bdb4f

+ 1 - 1
smart-city-platform/src/main/resources/mapper/pay/PayInvoiceParamMapper.xml

@@ -42,7 +42,7 @@
         inner join pay_sys_dict dict on dict.type='收费类型' and dict.site_id=#{siteId} and dict.customer_id=#{customerId} and dict.value=param.feetype
         where param.del_flag='0' and param.site_id=#{siteId} and param.customer_id=#{customerId}
         <if test="queryparam != null">
-           and  (dict.label = #{queryparam} or param.goodstaxno = #{queryparam})
+           and  (dict.label like concat('%',#{queryparam},'%') or param.goodstaxno like concat('%',#{queryparam},'%'))
         </if>
 
         order by param.feetype