update fixing

This commit is contained in:
2024-12-02 14:01:09 +07:00
parent 6a7a969518
commit 6fd4d1f9c1

View File

@ -165,7 +165,7 @@ export default class CommonHelper {
} }
let whereAttr = ''; let whereAttr = '';
if (whereAttrPre.length > 0) { 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 { } else {
whereAttr += param.additional_where; whereAttr += param.additional_where;
} }