正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -135,7 +135,7 @@ func (ptr *CooperationStatisticsService) cooperationContractCount(numbers []stri | @@ -135,7 +135,7 @@ func (ptr *CooperationStatisticsService) cooperationContractCount(numbers []stri | ||
| 135 | query.ColumnExpr("count(*) total") | 135 | query.ColumnExpr("count(*) total") |
| 136 | query.Where("cooperation_contract_number in (?)", pg.In(numbers)) | 136 | query.Where("cooperation_contract_number in (?)", pg.In(numbers)) |
| 137 | if status > 0 { | 137 | if status > 0 { |
| 138 | - query.Where("status =? ") | 138 | + query.Where("status =? ", status) |
| 139 | } | 139 | } |
| 140 | query.Select(&total) | 140 | query.Select(&total) |
| 141 | return total | 141 | return total |
-
请 注册 或 登录 后发表评论