add "LastUpdateName" to 7 table
This commit is contained in:
parent
70cb1d7c11
commit
013196c917
7 changed files with 7 additions and 7 deletions
|
|
@ -156,7 +156,7 @@ import {
|
|||
@Get()
|
||||
async listBloodGroup() {
|
||||
const bloodGroup = await this.bloodGroupRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export class EducationLevelController extends Controller {
|
|||
@Get()
|
||||
async listEducationLevel() {
|
||||
const educationLevel = await this.educationLevelRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export class GenderController extends Controller {
|
|||
async GetResult() {
|
||||
console.log("asds")
|
||||
const _gender = await this.genderRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
if (!_gender) {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export class PrefixController extends Controller {
|
|||
@Get()
|
||||
async Get() {
|
||||
const _prefix = await this.prefixRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"] ,
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
if (!_prefix) {
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ import {
|
|||
@Get()
|
||||
async listRank() {
|
||||
const rank = await this.rankRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export class RelationshipController extends Controller {
|
|||
@Get()
|
||||
async listRelationship() {
|
||||
const relationship = await this.relationshipRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
if (!relationship) {
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export class ReligionController extends Controller {
|
|||
@Get()
|
||||
async listReligion() {
|
||||
const religion = await this.religionRepository.find({
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
|
||||
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName" , "lastUpdateFullName"],
|
||||
order:{ createdAt:"ASC" }
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue