no message

This commit is contained in:
Kittapath 2024-07-18 20:39:23 +07:00
parent 2c211875e5
commit bb61091c7c

View file

@ -2700,10 +2700,10 @@ export class PositionController extends Controller {
.andWhere(
new Brackets((qb) => {
qb.andWhere(typeCondition).andWhere(conditionA == null ? "1=1" : conditionA, {
posType: posType == null ? `%%` : `%${posType.id}%`,
posLevel: posLevel == null ? `%%` : `%${posLevel.id}%`,
posTypeRank: posType == null ? "" : posType.posTypeRank,
posLevelRank: posLevel == null ? "" : posLevel.posLevelRank,
posType: posType == null ? `%%` : `${posType.id}`,
posLevel: posLevel == null ? `%%` : `${posLevel.id}`,
posTypeRank: posType == null ? 0 : posType.posTypeRank,
posLevelRank: posLevel == null ? 0 : posLevel.posLevelRank,
});
}),
)