Browse Source

add reverse:for v1.1.6 公排painc处理

tags/v1.1.9
huangjiajun 2 years ago
parent
commit
d7add8c3b7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rule/public_platoon_relate_commission.go

+ 2
- 2
rule/public_platoon_relate_commission.go View File

@@ -18,7 +18,7 @@ import (

// BatchGetPublicPlatoonRelateCommission 批量分佣 订单显示
func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId string, PublicPlatoonRelateCommissionReqList []*md.PublicPlatoonRelateCommissionReq) (map[string]*md.PublicPlatoonRelateCommissionResp, error) {
var resp map[string]*md.PublicPlatoonRelateCommissionResp
var resp = make(map[string]*md.PublicPlatoonRelateCommissionResp)
userPublicPlatoonSetting, err := db.UserPublicPlatoonSettingGetOneByParams(engine, map[string]interface{}{
"key": "is_open",
"value": 1,
@@ -106,7 +106,7 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId

// AddPublicPlatoonRelateCommission 新增公排用户关系记录
func AddPublicPlatoonRelateCommission(engine *xorm.Engine, masterId string, AddPublicPlatoonRelateCommissionReqList []*md.AddPublicPlatoonRelateCommissionReq) (map[string]*model.UserPublicPlatoonRelation, error) {
var resp map[string]*model.UserPublicPlatoonRelation
var resp = make(map[string]*model.UserPublicPlatoonRelation)
//查找 `user_public_platoon_setting` 基础设置
userPublicPlatoonSetting, err := db.UserPublicPlatoonSettingGetOneByParams(engine, map[string]interface{}{
"key": "is_open",


Loading…
Cancel
Save