Commit ce9fe6a2 by 孙亚楠

dd

parent 77789350
...@@ -93,6 +93,16 @@ class ActionAPI extends APIBase { ...@@ -93,6 +93,16 @@ class ActionAPI extends APIBase {
case "signing": case "signing":
opResult = await this.obusinessmenSve.signing(action_body); opResult = await this.obusinessmenSve.signing(action_body);
break; break;
// 统计数据
// case "statTransData":
// opResult = await this.oorderSve.apiStatTransData(action_body);
// break;
// case "statBusinessData":
// opResult = await this.iborderSve.apiStatBusinessData(action_body);
// break;
// case "statDeliverData":
// opResult = await this.oorderSve.apiStatDeliverData(action_body);
// break;
//******************************************************************** */ //******************************************************************** */
...@@ -218,16 +228,7 @@ class ActionAPI extends APIBase { ...@@ -218,16 +228,7 @@ class ActionAPI extends APIBase {
// opResult = await this.businessmenSve.apiCompleteMapByCreditCodes(action_body); // opResult = await this.businessmenSve.apiCompleteMapByCreditCodes(action_body);
// break; // break;
// //
// // 统计数据
// case "statTransData":
// opResult = await this.iborderSve.apiStatTransData(action_body);
// break;
// case "statBusinessData":
// opResult = await this.iborderSve.apiStatBusinessData(action_body);
// break;
// case "statDeliverData":
// opResult = await this.iborderdeliverSve.apiStatDeliverData(action_body);
// break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
......
...@@ -48,7 +48,7 @@ class OorderdeliverDao extends Dao { ...@@ -48,7 +48,7 @@ class OorderdeliverDao extends Dao {
if(!ids || ids.length == 0) { if(!ids || ids.length == 0) {
return []; return [];
} }
let sql = `SELECT * FROM o_order_deliver WHERE deliver_id in (:deliverIdList)`; let sql = `SELECT * FROM o_order_deliver WHERE id in (:deliverIdList)`;
return await this.customQuery(sql, {deliverIdList: ids}); return await this.customQuery(sql, {deliverIdList: ids});
} }
...@@ -56,7 +56,7 @@ class OorderdeliverDao extends Dao { ...@@ -56,7 +56,7 @@ class OorderdeliverDao extends Dao {
let list = await this.listByIds(params); let list = await this.listByIds(params);
var result = {}; var result = {};
for(let item of list) { for(let item of list) {
result[item.deliver_id] = item; result[item.id] = item;
} }
return result; return result;
} }
......
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