update user
This commit is contained in:
@ -192,12 +192,14 @@ export default class CommonHelper {
|
||||
}
|
||||
}
|
||||
|
||||
let whereAttr = '';
|
||||
if (whereAttrPre.length > 0) {
|
||||
whereAttr = whereAttrPre.join(' and ') + (whereAttrPre.length > 0 && param.additional_where != '' ? ' and ' : '') + (param.additional_where ?? '');
|
||||
} else {
|
||||
whereAttr += param.additional_where;
|
||||
}
|
||||
const whereAttr = whereAttrPre.join(' and ') + (whereAttrPre.length > 0 && param.additional_where != '' ? ' and ' : '') + (param.additional_where ?? '');
|
||||
|
||||
// let whereAttr = '';
|
||||
// if (whereAttrPre.length > 0) {
|
||||
// whereAttr = whereAttrPre.join(' and ') + (whereAttrPre.length > 0 && param.additional_where != '' ? ' and ' : '') + (param.additional_where ?? '');
|
||||
// } else {
|
||||
// whereAttr += param.additional_where;
|
||||
// }
|
||||
|
||||
|
||||
return { whereAttr, whereVal };
|
||||
|
||||
Reference in New Issue
Block a user