Sfoglia il codice sorgente

fix bug

release_toaliyun_real
winter 4 anni fa
parent
commit
083af4f254
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Vedi File

@@ -326,11 +326,11 @@
</select> </select>
<select id="getPriceAndStock" parameterType="java.util.HashMap" resultMap="BaseResultMap"> <select id="getPriceAndStock" parameterType="java.util.HashMap" resultMap="BaseResultMap">
select c.sale_price,c.price,c.remain_inventory,c.inventory,c.credit_price from wx_coupon c where id = #{id} and tenant_id = #{tenantId}
select c.id,c.sale_price,c.price,c.remain_inventory,c.inventory,c.credit_price from wx_coupon c where id = #{id} and tenant_id = #{tenantId}
</select> </select>
<select id="batchGetPriceAndStock" parameterType="java.util.HashMap" resultMap="BaseResultMap"> <select id="batchGetPriceAndStock" parameterType="java.util.HashMap" resultMap="BaseResultMap">
select c.sale_price,c.price,c.remain_inventory,c.inventory,c.credit_price from wx_coupon c where tenant_id = #{tenantId}
select c.id,c.sale_price,c.price,c.remain_inventory,c.inventory,c.credit_price from wx_coupon c where tenant_id = #{tenantId}
and id in and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">
#{idItem} #{idItem}


Caricamento…
Annulla
Salva