rez_core 3.1.130 → 3.1.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "3.1.130",
3
+ "version": "3.1.131",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -15,7 +15,12 @@ export class EntityMasterRepository {
15
15
  ) {}
16
16
 
17
17
  async getEntityById(id: number): Promise<EntityMaster | null> {
18
- return await this.entityMasterRepository.findOne({ where: { id } });
18
+ let data = await this.entityMasterRepository.findOne({ where: { id } });
19
+ if(data){
20
+ let listMasterData = await this.entityMasterRepository.query(`SELECT * FROM cr_list_master_items where id = ?`, [data?.status]);
21
+ data.status=listMasterData?.[0];
22
+ }
23
+ return data;
19
24
  }
20
25
 
21
26
  async getEntityByMappedEntityType(