Commit 58b31c3f by guojuxing

发票管理接口

parent 33519340
package com.gic.enterprise.web.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -76,7 +77,7 @@ public class BillingPayInfoController {
* @return com.gic.commons.webapi.reponse.RestResponse


 */
@RequestMapping("/apply-invoice")
public RestResponse applyInvoice(InvoiceDTO invoiceDTO, Double billingAmount, Integer invoiceType) {
public RestResponse applyInvoice(InvoiceDTO invoiceDTO, Double billingAmount, Integer invoiceType, String serialNumber) {
//todo 调用发起开票申请
//todo 更改支付信息中的发票状态未已开具
return RestResponse.success();
......@@ -94,7 +95,9 @@ public class BillingPayInfoController {
public RestResponse listInvoice(InvoiceListQueryQO params) {
//todo 发票列表
Page page = new Page();
page.setResult((List) new InvoiceListVO());
List<InvoiceListVO> voList = new ArrayList<>(2);
voList.add(new InvoiceListVO());
page.setResult(voList);
return RestResponse.success(page);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment