Преглед на файлове

wip:公司部门id查询判断

wangkaiyue преди 1 година
родител
ревизия
8d0f886f1b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      service/balanceService.go

+ 1 - 1
service/balanceService.go

@@ -210,7 +210,7 @@ func (service *BalanceService) UseUserDetailed(duplicateRemoval int64, balanceDa
 	}
 
 	if producMap[balanceData.ResourceType] != nil {
-		sql += " and  sourceType=? "
+		sql += " and  sourceType!=? "
 		val = append(val, sourceTypeStr)
 		_, err = orm.Table(AccountResources).
 			Select("sum(number) as  number").