作者 yangfu

合约数修改

... ... @@ -135,7 +135,7 @@ func (ptr *CooperationStatisticsService) cooperationContractCount(numbers []stri
query.ColumnExpr("count(*) total")
query.Where("cooperation_contract_number in (?)", pg.In(numbers))
if status > 0 {
query.Where("status =? ")
query.Where("status =? ", status)
}
query.Select(&total)
return total
... ...