update ficing

This commit is contained in:
2024-12-02 14:00:55 +07:00
parent 3131c3f270
commit 79eb48631b

View File

@ -191,9 +191,10 @@ export default class CommonHelper {
}
}
let whereAttr = '';
if (whereAttrPre.length > 0) {
whereAttr = whereAttrPre.join(' and ') + (whereAttrPre.length > 0 && param.additional_where != '' ? ' and ' : '') + param.additional_where;
whereAttr = whereAttrPre.join(' and ') + (whereAttrPre.length > 0 && param.additional_where != '' ? ' and ' : '') + (param.additional_where ?? '');
} else {
whereAttr += param.additional_where;
}