|
@@ -48,6 +48,12 @@ public class InvoiceController {
|
|
|
return Response.ok(invoiceService.getListModel(invoiceModel));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("详情")
|
|
|
+ @RequestMapping(value = "/model/details/{id}", method = RequestMethod.GET)
|
|
|
+ public Response getModel(@PathVariable long id) {
|
|
|
+ return Response.ok(invoiceService.getModel(id));
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("保存")
|
|
|
@RequestMapping(value = "", method = RequestMethod.POST)
|
|
|
public Response insert(@RequestBody Invoice invoice) {
|