Commit 9222e323 by 王昆

gsb

parent da0580f7
......@@ -35,7 +35,7 @@ class SaasorderbusinessmenService extends ServiceBase {
try {
let countRes = await this.dao.saasorderbusinessmenCount(params);
if(countRes.count==0){
return system.getResult({count:0,data:[]});
return system.getResult({count:0, rows: []});
}
let res = await this.dao.saasorderbusinessmenPage(params);
......@@ -47,7 +47,7 @@ class SaasorderbusinessmenService extends ServiceBase {
item.special_tax_ladder = JSON.parse(item.special_tax_ladder);
item.special_other_ladder = JSON.parse(item.special_other_ladder);
}
return system.getResult({count:countRes.count,data:res});
return system.getResult({count:countRes.count, rows: res});
}catch (e) {
console.log(e);
return system.getResult(nul, `系统错误`);
......
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