Commit 8a8223ea by weijiguang

下单时校验订单中sku数量

parent d7e4ffcc
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
<where> <where>
<if test="type != null ">type = #{type}</if> <if test="type != null ">type = #{type}</if>
<if test="target != null ">and target = #{target}</if> <if test="target != null ">and target = #{target}</if>
<if test="province != null and province != ''">and province like concat('%', #{province}, '%')</if> <if test="province != null and province != ''">and province like concat('%,', #{province}, ',%')</if>
<if test="city != null and city != ''">and city like concat('%', #{city}, '%')</if> <if test="city != null and city != ''">and city like concat('%,', #{city}, ',%')</if>
<if test="area != null and area != ''">and area like concat('%', #{area}, '%')</if> <if test="area != null and area != ''">and area like concat('%,', #{area}, ',%')</if>
<if test="shopId != null and shopId != ''">and shopId like concat('%', #{shopId}, '%')</if> <if test="shopId != null and shopId != ''">and shop_ids like concat('%,', #{shopId}, ',%')</if>
<if test="state != null ">and state = #{state}</if> <if test="state != null ">and state = #{state}</if>
</where> </where>
order by created_at desc order by created_at desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment