fix total omg_053 and add "createAt","lastUpdateAt","createFullname" 7controller
This commit is contained in:
parent
84cc108c7b
commit
70cb1d7c11
7 changed files with 14 additions and 7 deletions
|
|
@ -40,7 +40,8 @@ export class PrefixController extends Controller {
|
|||
@Get()
|
||||
async Get() {
|
||||
const _prefix = await this.prefixRepository.find({
|
||||
select: ["id", "name"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
if (!_prefix) {
|
||||
return new HttpSuccess([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue