Fixed bug
This commit is contained in:
parent
0ccbd7e17a
commit
3d51af6027
|
@ -74,7 +74,8 @@ public class RecordManagement {
|
||||||
AccountingPersistenceQuery accountingPersistenceQuery = AccountingPersistenceQueryFactory.getInstance();
|
AccountingPersistenceQuery accountingPersistenceQuery = AccountingPersistenceQueryFactory.getInstance();
|
||||||
|
|
||||||
Record record = accountingPersistenceQuery.getRecord(recordId, type);
|
Record record = accountingPersistenceQuery.getRecord(recordId, type);
|
||||||
return Response.status(Status.OK).entity(record).type(AccountingResource.APPLICATION_JSON_CHARSET_UTF_8).build();
|
String ret = DSMapper.marshal(record);
|
||||||
|
return Response.status(Status.OK).entity(ret).type(AccountingResource.APPLICATION_JSON_CHARSET_UTF_8).build();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue