Bläddra i källkod

二级市场新增车牌号查询

李书文 1 år sedan
förälder
incheckning
0dce2269f3

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

@@ -93,6 +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>
 	</select>