Commit 0e508e09 by 任晓松

订单修改

parent 7150b1ae
......@@ -1900,12 +1900,14 @@ class OrderInfoService extends ServiceBase {
if(!actionBody.orderNo){
return system.getResultFail(-1,'订单号不能为空');
}
let sql = `update c_order_info set orderServiceNo = :orderServiceNo,channelOrderNo = :channelOrderNo,channelServiceNo=:channelServiceNo where orderNo = :orderNo`
let updateParams = {
orderNo:actionBody.orderNo,
orderServiceNo:actionBody.orderServiceNo,
channelOrderNo:actionBody.channelOrderNo,
channelServiceNo :actionBody.channelServiceNo
}
let result = await this.updateByWhere(updateParams,{where:{orderNo:actionBody.orderNo}})
let result = await this.customQuery(sql,updateParams)
return system.getResult(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