Commit 622c3e23 authored by neo's avatar neo

[bugfix] change import data response with entity

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