Commit 622c3e23 authored by neo's avatar neo

[bugfix] change import data response with entity

parent b2255037
...@@ -406,12 +406,12 @@ public class TBDataImportController { ...@@ -406,12 +406,12 @@ public class TBDataImportController {
} }
@ApiOperation(value = "ImportBalance", notes = "") @ApiOperation(value = "ImportBalance", notes = "")
@RequestMapping(value = "ImportBalance", method = RequestMethod.POST) @RequestMapping(value = "ImportBalance", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public OperationResultDto importBalanceList(@RequestBody ImportBalanceDto importDto) { public ResponseEntity importBalanceList(@RequestBody ImportBalanceDto importDto) {
return dataImportService.importTrialBalance(importDto.getBalanceList(), importDto.getImportType(), return ResponseEntity.ok(dataImportService.importTrialBalance(importDto.getBalanceList(), importDto.getImportType(),
importDto.getServiceTypeId(), importDto.getServiceTypeId(),
identityService.getIdentityUser().getID() identityService.getIdentityUser().getID()
); ));
} }
@RequestMapping(value = "GetParentCodesForDisplay", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) @RequestMapping(value = "GetParentCodesForDisplay", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
......
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