瀏覽代碼

update

tags/v4.3.1
DengBiao 1 年之前
父節點
當前提交
be22297d05
共有 1 個文件被更改,包括 8 次插入5 次删除
  1. +8
    -5
      svc/small_public_platoon_relate_commission.go

+ 8
- 5
svc/small_public_platoon_relate_commission.go 查看文件

@@ -105,13 +105,16 @@ func BatchSmallGetPublicPlatoonRelateCommission(engine *xorm.Engine, masterId st
return nil, err
}
if nowBenefitUsers == nil {
return nil, errors.New("未查询到父级公排关系记录")
}
if nowBenefitUsers.Uid == -1 || nowBenefitUsers.Uid == -2 {
//则为待填充空位用户
//未查询到父级公排关系记录
nowBenefitUid = ""
//return nil, errors.New("未查询到父级公排关系记录")
} else {
nowBenefitUid = zhios_order_relate_utils.AnyToString(nowBenefitUsers.Uid)
if nowBenefitUsers.Uid == -1 || nowBenefitUsers.Uid == -2 {
//则为待填充空位用户
nowBenefitUid = ""
} else {
nowBenefitUid = zhios_order_relate_utils.AnyToString(nowBenefitUsers.Uid)
}
}

//TODO::更新 公排关系记录 中 `return_commission_num`


Loading…
取消
儲存