Commit 8c8c2a28 by 王昆

gsb

parent 1ffea5d7
......@@ -135,6 +135,11 @@ class BusinessscopeService extends ServiceBase {
if (params.domicileId) {
where.domicile_id = params.domicileId;
}
if (params.businessType) {
where.businessType = {
[this.db.Op.like]: params.businessType + "%"
};
}
if (params.isEnabled) {
where.isEnabled = params.isEnabled || 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment