Commit c8a3390e authored by nanahira's avatar nanahira

fix

parent c992537c
Pipeline #14529 failed with stages
in 37 seconds
...@@ -5,7 +5,7 @@ export function applyQueryProperty<T extends TimeBase>( ...@@ -5,7 +5,7 @@ export function applyQueryProperty<T extends TimeBase>(
obj: T, obj: T,
qb: SelectQueryBuilder<T>, qb: SelectQueryBuilder<T>,
entityName: string, entityName: string,
...fields: (keyof T)[] ...fields: (keyof T & string)[]
) { ) {
for (const field of fields) { for (const field of fields) {
if (obj[field] == null) { if (obj[field] == null) {
...@@ -18,7 +18,7 @@ export function applyQueryPropertyLike<T extends TimeBase>( ...@@ -18,7 +18,7 @@ export function applyQueryPropertyLike<T extends TimeBase>(
obj: T, obj: T,
qb: SelectQueryBuilder<T>, qb: SelectQueryBuilder<T>,
entityName: string, entityName: string,
...fields: (keyof T)[] ...fields: (keyof T & string)[]
) { ) {
for (const field of fields) { for (const field of fields) {
if (obj[field] == null) { if (obj[field] == null) {
...@@ -34,7 +34,7 @@ export function applyQueryPropertySearch<T extends TimeBase>( ...@@ -34,7 +34,7 @@ export function applyQueryPropertySearch<T extends TimeBase>(
obj: T, obj: T,
qb: SelectQueryBuilder<T>, qb: SelectQueryBuilder<T>,
entityName: string, entityName: string,
...fields: (keyof T)[] ...fields: (keyof T & string)[]
) { ) {
for (const field of fields) { for (const field of fields) {
if (obj[field] == null) { if (obj[field] == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment