...
|
...
|
@@ -969,7 +969,7 @@ where company_id=%v and rank_type_id=%v and rank_range_id<>%v and enable_status= |
|
|
//移除参与范围外 其他参与范围的已统计版本记录
|
|
|
//@rankRangeId 当前参与范围编号
|
|
|
func removeRanksNotIn(o orm.Ormer, companyId, rankTypeId, rankRangeId int64, relationIds []int64) (err error) {
|
|
|
if len(relationIds) > 0 {
|
|
|
if len(relationIds) < 0 {
|
|
|
return
|
|
|
}
|
|
|
var sqlRemoveRanks = fmt.Sprintf(`
|
...
|
...
|
|