@@ -851,6 +851,8 @@ public class WxPayServiceImpl implements WxPayService {
var requestBody = new JsonRequestBody.Builder().body(JSONObject.toJSONString(fapiao)).build();
wxHttpClient.post(headers, fapiaoConfig.getFapiaoApplications(), requestBody, null);
+ // 修改发票状态为开票中
+ invoiceService.lambdaUpdate().set(Invoice::getStatus, Invoice.STATUS_开票中).eq(Invoice::getId, invoiceId).update();
}
/**