|
@@ -436,7 +436,7 @@ func FilterReportIds(ids []int) (total int64, reportIds []int, err error) {
|
|
|
err = db.Model(&Report{}).Select("id").
|
|
|
Where("id in ?", ids).
|
|
|
Where("classify_id not in (?) and source=?", gorm.Expr(etaSubQuery), SourceETA).
|
|
|
- Where("plant_name not in (?) and source=?", gorm.Expr(htSubQuery), SourceHT).
|
|
|
+ Where("plate_name not in (?) and source=?", gorm.Expr(htSubQuery), SourceHT).
|
|
|
Where("Status = ?", StatusPublish).
|
|
|
Scan(&reportIds).Error
|
|
|
if err != nil {
|