Преглед изворни кода

二级市场订单查询修改

linbl пре 1 година
родитељ
комит
19e3de83be

+ 1 - 1
sp-service/level-two-server/src/main/java/com/pj/tb_orders/TbOrdersMapper.xml

@@ -93,7 +93,7 @@
 
 	<select id="getLevelTwoList" resultMap="model">
 		select * from tb_orders where purchaser_id is null and (purchaser_name is null or purchaser_name='')
-		<if test=' this.has("goodsName") '>and goods_name like concat('%', #{goodsName}, '%') or ve_no like concat('%', #{goodsName}, '%')</if>
+		<if test=' this.has("goodsName") '>and goods_name like concat('%', #{goodsName}, '%') or ve_no like upper(concat('%', #{goodsName}, '%'))</if>
 	</select>