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