|
@@ -7,39 +7,41 @@
|
|
|
<select id="getDetailPrice" resultType="com.caimei365.commodity.model.vo.PriceVo">
|
|
|
select
|
|
|
p.productID as productId,
|
|
|
+ p.actStatus,
|
|
|
p.price1 as price,
|
|
|
- p.minBuyNumber as minBuyNumber,
|
|
|
- p.maxBuyNumber as maxBuyNumber,
|
|
|
+ p.minBuyNumber,
|
|
|
+ p.maxBuyNumber,
|
|
|
p.price1TextFlag as priceFlag,
|
|
|
- p.ladderPriceFlag as ladderPriceFlag,
|
|
|
- p.normalPrice as normalPrice,
|
|
|
- p.costPrice as costPrice,
|
|
|
- p.costProportional as costProportional,
|
|
|
- p.costCheckFlag as costCheckFlag,
|
|
|
- p.step as step,
|
|
|
+ p.ladderPriceFlag,
|
|
|
+ p.normalPrice,
|
|
|
+ p.costPrice,
|
|
|
+ p.costProportional,
|
|
|
+ p.costCheckFlag,
|
|
|
+ p.step,
|
|
|
p.shopID as shopId,
|
|
|
p.taxPoint as taxRate,
|
|
|
- p.includedTax as includedTax,
|
|
|
- p.invoiceType as invoiceType
|
|
|
+ p.includedTax,
|
|
|
+ p.invoiceType
|
|
|
from product p
|
|
|
where productID = #{productId}
|
|
|
</select>
|
|
|
<select id="getListPriceByProductIds" resultType="com.caimei365.commodity.model.vo.PriceVo">
|
|
|
select
|
|
|
p.productID as productId,
|
|
|
+ p.actStatus,
|
|
|
p.price1 as price,
|
|
|
- p.minBuyNumber as minBuyNumber,
|
|
|
- p.maxBuyNumber as maxBuyNumber,
|
|
|
+ p.minBuyNumber,
|
|
|
+ p.maxBuyNumber,
|
|
|
p.price1TextFlag as priceFlag,
|
|
|
- p.ladderPriceFlag as ladderPriceFlag,
|
|
|
- p.normalPrice as normalPrice,
|
|
|
- p.costPrice as costPrice,
|
|
|
- p.costProportional as costProportional,
|
|
|
- p.costCheckFlag as costCheckFlag,
|
|
|
- p.step as step,
|
|
|
+ p.ladderPriceFlag,
|
|
|
+ p.normalPrice,
|
|
|
+ p.costPrice,
|
|
|
+ p.costProportional,
|
|
|
+ p.costCheckFlag,
|
|
|
+ p.step,
|
|
|
p.shopID as shopId,
|
|
|
- p.includedTax as includedTax,
|
|
|
- p.invoiceType as invoiceType,
|
|
|
+ p.includedTax,
|
|
|
+ p.invoiceType,
|
|
|
p.taxPoint as taxRate
|
|
|
from product p
|
|
|
where productID in
|