发展基金相关实现修改

This commit is contained in:
2025-02-18 14:00:39 +08:00
parent b594007638
commit 5b8eef7bd2
3 changed files with 3 additions and 3 deletions

View File

@@ -33,4 +33,4 @@ public interface OmsOrderMapper {
int updateByPrimaryKey(OmsOrder record);
PmsProduct selectPointsAreaStatus(@Param("orderSn") String orderSn);}
PmsProduct selectAll(@Param("orderSn") String orderSn);}

View File

@@ -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,

View File

@@ -1798,7 +1798,7 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
//获取订单实付金额
BigDecimal payAmount = order.getPayAmount();
//获取商品信息
PmsProduct pmsProduct = orderMapper.selectPointsAreaStatus(outTradeNo);
PmsProduct pmsProduct = orderMapper.selectAll(outTradeNo);
//如果是会员专区的商品则进行会员专区相对应的逻辑
if (pmsProduct.getVipStatus() == 1) {
//增加基金现金