更新视图
This commit is contained in:
parent
3009a0cbd6
commit
62052d1fd9
@ -231,6 +231,7 @@ func (a ArtistInfoArtworkLogic) ArtworkStatic(request *artistInfoArtwork.ArtistA
|
||||
for _, v := range artistList.Data {
|
||||
artistUids = append(artistUids, v.Uid)
|
||||
}
|
||||
fmt.Println("\n artistUids:", artistUids, "\n")
|
||||
|
||||
//查询这些画家审核通过的画作数据统计
|
||||
res = &artistInfoArtwork.ArtistArtworkStaticResponse{
|
||||
|
@ -43,7 +43,7 @@ su.mgmt_artist_uid artist_uid
|
||||
FROM sys_user su
|
||||
LEFT JOIN artwork_lock_record alr ON alr.artist_uid = su.mgmt_artist_uid AND alr.audit_flow_index=3 AND alr.supplement_audit_status=4 AND alr.deleted_at = 0
|
||||
LEFT JOIN real_name rn ON rn.id = su.real_name_id
|
||||
GROUP BY su.mgmt_artist_uid,alr.artwork_uid HAVING su.mgmt_artist_uid !=''
|
||||
GROUP BY su.mgmt_artist_uid HAVING su.mgmt_artist_uid !=''
|
||||
`
|
||||
db.Exec(sql)
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user