|
|
@@ -767,6 +767,8 @@ public class WxPayServiceImpl implements WxPayService {
|
|
|
if(!invoice.getStatus().equals(Invoice.STATUS_待开票)){
|
|
|
throw new BusinessException("发票状态为开票中或已开票");
|
|
|
}
|
|
|
+ // 记录开票人
|
|
|
+ invoiceService.lambdaUpdate().set(Invoice::getBiller,StpUtil.getSession().getString("username")).eq(Invoice::getId,invoice.getId()).update();
|
|
|
|
|
|
// 订单金额+ ,服务费优惠金额- 服务费优惠金额单独一个item,金额为负数
|
|
|
var itemList = new ArrayList<FaPiao.FaPiaoInfomation.IssueItem>();
|