master
肖凡 2023-11-17 08:56:07 +08:00
parent 2bdb69ccbc
commit fc7c87d8f4
3 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
select * from t_merch
<where>
<if test="barCode!=null and barCode!=''">
and bat_code like concat('%',#{barCode},'%')
and bar_code like concat('%',#{barCode},'%')
</if>
<if test="merchNum!=null">
and merch_num = #{merchNum}

View File

@ -9,7 +9,7 @@
select * from t_merch
<where>
<if test="barCode!=null and barCode!=''">
and bat_code like concat('%',#{barCode},'%')
and bar_code like concat('%',#{barCode},'%')
</if>
<if test="merchNum!=null">
and merch_num = #{merchNum}