Commit 5a6751c9 by 宋毅

Merge branch 'igirl-channel' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-channel

parents ea6ca7cd f4ab7ec6
......@@ -1092,6 +1092,17 @@ class OrderService extends ServiceBase {
// 订单付款状态dfk: 待付款, zfpz: 已上传支付凭证, yfk: 已付款, ddqx: 订单取消, tkclz: 退款处理中, bfytk: 部分已退款, ytk: 已退款,zfshbtg:支付审核不通过
var putParams = { orderPayStatus: "yfk",payDate:new Date()};
await self.dao.updateByWhere(putParams, { where: sqlWheres }, t);
var otmp=await self.ordertmproductDao.model.findOne({
where:{sourceOrderNo:obj.out_trade_no,app_id:app.id},
raw:true
});
if(otmp && otmp.id){
var otmpObj={
payStatus:"yfk"
};
// await self.ordertmproductDao.model.update(otmpObj, t);
await self.ordertmproductDao.model.update(otmpObj, { where: { sourceOrderNo:obj.out_trade_no,app_id:app.id }, transaction: t });
}
//订单流程log
self.orderflowDao.create({
app_id: app.id,isShow: 1,
......
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