Compare commits

..

No commits in common. "93dac4ec2e1a193d9110abdc98fbf94cd5dc2c0b" and "5a3367e47d8d6535cfc304635c73b784ad9417e4" have entirely different histories.

View File

@ -285,7 +285,7 @@ func ToBeComfirmedWorks(req *bundle.ToBeComfirmedWorksReq) (data []model.CastWor
err = app.ModuleClients.BundleDB.
Table("cast_work_log AS cwl").
Joins("INNER JOIN (?) AS t ON cwl.work_uuid = t.work_uuid AND cwl.update_time = t.max_update_time", subQuery).
Where("artist_uuid = ?", req.ArtistUuid).Where("confirmed_at = ?", 0).Where("work_status in ?", []int{4, 5, 6, 7}).Count(&unconfirmed).Error
Where("artist_uuid = ?", req.ArtistUuid).Where("confirmed_at = ?", 0).Count(&unconfirmed).Error
if err != nil {
return
}