Merge remote-tracking branch 'origin/main-zhb'
This commit is contained in:
@@ -33,4 +33,4 @@ public interface OmsOrderMapper {
|
||||
int updateByPrimaryKey(OmsOrder record);
|
||||
|
||||
|
||||
PmsProduct selectPointsAreaStatus(@Param("orderSn") String orderSn);}
|
||||
PmsProduct selectAll(@Param("orderSn") String orderSn);}
|
||||
@@ -874,7 +874,7 @@
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
|
||||
<select id="selectPointsAreaStatus" resultType="com.buy507.mall.model.PmsProduct">
|
||||
<select id="selectAll" resultType="com.buy507.mall.model.PmsProduct">
|
||||
SELECT p.id,
|
||||
p.brand_id,
|
||||
p.product_category_id,
|
||||
|
||||
@@ -1833,7 +1833,7 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
|
||||
//获取订单实付金额
|
||||
BigDecimal payAmount = order.getPayAmount();
|
||||
//获取商品信息
|
||||
PmsProduct pmsProduct = orderMapper.selectPointsAreaStatus(outTradeNo);
|
||||
PmsProduct pmsProduct = orderMapper.selectAll(outTradeNo);
|
||||
//如果是会员专区的商品则进行会员专区相对应的逻辑
|
||||
if (pmsProduct.getVipStatus() == 1) {
|
||||
//增加基金现金
|
||||
|
||||
Reference in New Issue
Block a user