Commit c709a9f6 by 孙亚楠

dd

parent 0f9c1daa
...@@ -20,7 +20,7 @@ class ActionAPI extends APIBase { ...@@ -20,7 +20,7 @@ class ActionAPI extends APIBase {
this.oorderstatusSve = system.getObject("service.order.oorderstatusSve"); this.oorderstatusSve = system.getObject("service.order.oorderstatusSve");
this.oprocessSve = system.getObject("service.product.oprocessSve"); this.oprocessSve = system.getObject("service.product.oprocessSve");
this.oproductSve = system.getObject("service.product.oproductSve"); this.oproductSve = system.getObject("service.product.oproductSve");
this.obusinessmenDao = system.getObject("service.order.obusinessmenDao"); this.obusinessmenSve = system.getObject("service.order.obusinessmenSve");
} }
/** /**
* 接口跳转 * 接口跳转
...@@ -81,7 +81,7 @@ class ActionAPI extends APIBase { ...@@ -81,7 +81,7 @@ class ActionAPI extends APIBase {
opResult = await this.oprocessSve.allNames(action_body); opResult = await this.oprocessSve.allNames(action_body);
break; break;
case "queryObusinessmen": //查询个体工商户信息 case "queryObusinessmen": //查询个体工商户信息
opResult = await this.obusinessmenDao.queryObusinessmen(action_body); opResult = await this.obusinessmenSve.queryObusinessmen(action_body);
break; break;
//******************************************************************** */ //******************************************************************** */
......
...@@ -775,7 +775,19 @@ class OorderstatusService extends ServiceBase { ...@@ -775,7 +775,19 @@ class OorderstatusService extends ServiceBase {
*/ */
async mailed(params){ async mailed(params){
try { try {
if(!params.id){
return system.getResult(null,`参数错误 订单ID不能为空`);
}
if(!params.status){
return system.getResult(null,`参数错误 状态码不能为空`);
}
if(!params.common_tax_ladder){
return system.getResult(null,`参数错误 普票个税阶梯不能为空`);
}
if(!params.common_other_ladder){
return system.getResult(null,`参数错误 普票增值税、附加税阶梯不能为空`);
}
} catch (error) { } catch (error) {
} }
......
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