|
|
@ -12,6 +12,7 @@ import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
|
import com.yxt.yythmall.api.appletgiftbag.GiftBagGoodss; |
|
|
|
import com.yxt.yythmall.api.lpkcustomer.LpkCustomer; |
|
|
|
import com.yxt.yythmall.api.lpkcustomer.LpkCustomerVo; |
|
|
|
import com.yxt.yythmall.api.lpkgoods.LpkGoods; |
|
|
|
import com.yxt.yythmall.api.lpkstore.LpkStore; |
|
|
@ -250,6 +251,10 @@ public class OrdOrderService extends MybatisBaseService<OrdOrderMapper, OrdOrder |
|
|
|
result.setTrade_no_url(tradeNoUrl); |
|
|
|
String [] a =new String []{"pay"}; |
|
|
|
result.setBus(a); |
|
|
|
//新人限购礼包 该状态
|
|
|
|
LpkCustomer customer=lpkCustomerService.getOne(new QueryWrapper<LpkCustomer>().eq("sid",dto.getCustomerSid())); |
|
|
|
customer.setIsPurchase("0"); |
|
|
|
lpkCustomerService.updateById(customer); |
|
|
|
return rb.success().setData(result); |
|
|
|
} |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@ -351,6 +356,10 @@ public class OrdOrderService extends MybatisBaseService<OrdOrderMapper, OrdOrder |
|
|
|
result.setTrade_no_url(tradeNoUrl); |
|
|
|
String [] a =new String []{"pay"}; |
|
|
|
result.setBus(a); |
|
|
|
//新人限购礼包 该状态
|
|
|
|
LpkCustomer customer=lpkCustomerService.getOne(new QueryWrapper<LpkCustomer>().eq("sid",dto.getCustomerSid())); |
|
|
|
customer.setIsPurchase("0"); |
|
|
|
lpkCustomerService.updateById(customer); |
|
|
|
return rb.success().setData(result); |
|
|
|
} |
|
|
|
private static Map<String, Object> buildMessageBody(String userSid, String openId, String totalTee, List<OrdOrderDetailVo> detailVos,String returnUrl){ |
|
|
|