|
@@ -113,8 +113,8 @@
|
|
|
</where>
|
|
|
</select>
|
|
|
<select id="findProductByProductId" resultType="com.caimei.modules.weisha.entity.CmOrganizeProduct">
|
|
|
- select productID as productId, ladderPriceFlag,price1 as price,includedTax,invoiceType,taxPoint as clubTaxPoing,supplierTaxPoint as shopTaxPoint,minBuyNumber,costCheckFlag as costType,
|
|
|
- costPrice,costProportional,freePostFlag as postageType
|
|
|
+ select productID as productId, ladderPriceFlag,price1 as price,ifnull(includedTax,2) as includedTax,invoiceType,taxPoint as clubTaxPoint,supplierTaxPoint as shopTaxPoint,minBuyNumber,costCheckFlag as costType,
|
|
|
+ costPrice,costProportional,ifnull(freePostFlag,2) as postageType
|
|
|
from product
|
|
|
where productID = #{productId}
|
|
|
</select>
|