Commit bc625ef9 authored by neo's avatar neo

[dev] get input invoice item list impl

parent 87827746
......@@ -128,16 +128,19 @@ public class InputInvoiceImportController {
}
@RequestMapping(value = "importInputInvoice", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public ResponseEntity ImportInputInvoiceData(@RequestBody ImportInputInvoiceDto importParam)
{
public ResponseEntity ImportInputInvoiceData(@RequestBody ImportInputInvoiceDto importParam) {
return ResponseEntity.ok(inputInvoiceDataImportService.ImportInputInvoiceData(importParam.InputInvoiceList,
importParam.ImportType, identityService.getIdentityUser().getID()));
}
@RequestMapping(value = "importInputInvoiceItem", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public ResponseEntity ImportInputInvoiceItemData(@RequestBody ImportInputInvoiceItemDto importParam)
{
public ResponseEntity ImportInputInvoiceItemData(@RequestBody ImportInputInvoiceItemDto importParam) {
return ResponseEntity.ok(inputInvoiceDataImportService.ImportInputInvoiceItemData(importParam.InputInvoiceItemList,
importParam.ImportType, identityService.getIdentityUser().getID()));
}
@RequestMapping(value = "inputInvoiceItemPreviewList/{InputInvoiceID}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public ResponseEntity GetInputInvoiceItemTreeViewData(@PathVariable String InputInvoiceID) {
return ResponseEntity.ok(inputInvoiceDataImportService.getInputInvoiceItemTreeViewData(InputInvoiceID));
}
}
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