Commit f0606e79 authored by hanfeng's avatar hanfeng

开票

parent 4a22dcb5
......@@ -43,12 +43,23 @@ public class InvoiceController extends BaseController<InvoiceBiz, Invoice> {
return ObjectRestResponse.succ(mapList);
}
/**
* 开票接口
* @param invoiceVo
* @return
* @throws Exception
*/
@PostMapping("/invoicing")
public ObjectRestResponse invoicing(@RequestBody InvoiceVo invoiceVo) throws Exception {
String invoicing = baseBiz.Invoicing(invoiceVo);
return ObjectRestResponse.succ(invoicing);
}
/**
* 查询开票结果
* @param invoiceSerialNum
* @return
*/
@GetMapping("/result")
public ObjectRestResponse invoiceResult(@RequestParam("invoiceSerialNum")String invoiceSerialNum){
List<Map<String,Object>> result= baseBiz.invoiceResult(invoiceSerialNum);
......
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