浏览代码

更新

three
huangjiajun 11 个月前
父节点
当前提交
41b2bb9030
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. +10
    -10
      consume/zhios_order_hjy.go

+ 10
- 10
consume/zhios_order_hjy.go 查看文件

@@ -163,16 +163,16 @@ func handleZhiosOrderHjy(msg []byte) error {
sess.Commit()
return nil
}
if ordData.State == 1 || ordData.State == 3 {
if int64(ordData.ConfirmAt) >= utils.TimeStdParseUnix("2023-11-01 00:00:00") {
isSettle, settleTime := GetHjyOrderCommission(eg, canalMsg.Mid, utils.IntToStr(ordData.HjyOid))
if isSettle == "1" {
ordData.State = 5
ordData.SettleAt = int(utils.TimeStdParseUnix(settleTime))
}
}
}
//if ordData.State == 1 || ordData.State == 3 {
// if int64(ordData.ConfirmAt) >= utils.TimeStdParseUnix("2023-11-01 00:00:00") {
// isSettle, settleTime := GetHjyOrderCommission(eg, canalMsg.Mid, utils.IntToStr(ordData.HjyOid))
// if isSettle == "1" {
// ordData.State = 5
// ordData.SettleAt = int(utils.TimeStdParseUnix(settleTime))
// }
// }
//
//}
if int64(ordData.ConfirmAt) < utils.TimeStdParseUnix("2023-11-01 00:00:00") {
ordData.State = 5
ordData.SettleAt = ordData.ConfirmAt


正在加载...
取消
保存