瀏覽代碼

二级市场订单查询修改

linbl 1 年之前
父節點
當前提交
19e3de83be
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sp-service/level-two-server/src/main/java/com/pj/tb_orders/TbOrdersMapper.xml

+ 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>