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