只能根据组进行开票
This commit is contained in:
@ -240,10 +240,10 @@ public class BillingServiceImpl implements BillingService {
|
||||
// 插入 BillingDO 对象并生成唯一主键
|
||||
BillingDO billing = BeanUtils.toBean(createReqVO, BillingDO.class);
|
||||
Set<Long> orderId = createReqVO.getOrderId();
|
||||
/*if(orderId==null){
|
||||
if(orderId==null){
|
||||
createReqVO.setOrderId(new HashSet<>(getMemberListByUserId(billing.getUserId()))) ;
|
||||
}*/
|
||||
if(CollUtil.isEmpty(orderId))throw exception(BILLING_NOT_ORDER_USER);
|
||||
}
|
||||
if(CollUtil.isEmpty(createReqVO.getOrderId()))throw exception(BILLING_NOT_ORDER_USER);
|
||||
// MemberGroupDO memberGroupDO = memberGroupDO(billing.getUserId());
|
||||
billing.setId(IdUtil.getSnowflakeNextId() + "");
|
||||
// billing.setUserName(memberGroupDO.getName());
|
||||
|
Reference in New Issue
Block a user