Commit 7b3b6269 by 孙亚楠

d

parent afb554ea
...@@ -8,16 +8,7 @@ class DeliverSchemeService extends ServiceBase { ...@@ -8,16 +8,7 @@ class DeliverSchemeService extends ServiceBase {
} }
async dics(params) { async dics(params) {
let list = []; let list = await this.dao.dics({deliver_id: params.deliver_id, attrs: params.attrs});
if(params.general){
list = await this.dao.findAll({
where:{
deliver_id:null
}
});
}else{
list = await this.dao.dics({deliver_id: params.deliver_id, attrs: params.attrs});
}
return system.getResultSuccess(list); return system.getResultSuccess(list);
} }
......
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