upd: add status column in service
This commit is contained in:
@ -9,8 +9,9 @@ export class ServiceModel {
|
||||
let whereAttr: string[] = [];
|
||||
let whereVal: any = {};
|
||||
if (filter && Object.keys(filter).length > 0) {
|
||||
whereAttr = [...whereAttr, ...CommonHelper.handleQueryFilter(filter).whereAttr];
|
||||
whereVal = { ...whereVal, ...CommonHelper.handleQueryFilter(filter).whereVal };
|
||||
const filterResult = CommonHelper.handleQueryFilter(filter, "Service");
|
||||
whereAttr = [...whereAttr, ...filterResult.whereAttr];
|
||||
whereVal = { ...whereVal, ...filterResult.whereVal };
|
||||
}
|
||||
|
||||
var query = repo.createQueryBuilder("Service");
|
||||
|
||||
Reference in New Issue
Block a user