作者 tangxvhui

Revert "修复bug:批量移动榜单参与人时参与人类型错误变更。"

This reverts commit ebf3aa42.
... ... @@ -825,10 +825,10 @@ func RankRangeMove(fromId int64, toId int64, relationId []int64, companyid int64
}
typeIn := map[int8]int{
models.RANK_RANGE_TYPE_DEPARTMENT: 1,
//models.RANK_RANGE_TYPE_DEPARTMENTALL: 1,
models.RANK_RANGE_TYPE_EMPLAYEE: 2,
// models.RANK_RANGE_TYPE_EMPLAYEEALL: 2,
models.RANK_RANGE_TYPE_DEPARTMENT: 1,
models.RANK_RANGE_TYPE_DEPARTMENTALL: 1,
models.RANK_RANGE_TYPE_EMPLAYEE: 2,
models.RANK_RANGE_TYPE_EMPLAYEEALL: 2,
}
var (
fromTypeFlag int
... ... @@ -875,7 +875,6 @@ func RankRangeMove(fromId int64, toId int64, relationId []int64, companyid int64
o.Rollback()
return protocol.NewErrWithMessage("1")
}
// cnt, err := o.QueryTable(&models.RankRangeData{}).Filter("rank_range_id", fromId).Count()
// if err != nil {
// log.Error("统计rank_range_data 数据失败:%s", err)
... ...