添加遗漏的筛选条件
This commit is contained in:
parent
62b33d09bb
commit
3bf38f5f71
@ -81,6 +81,9 @@ func (a artistSupplement) GetDataList(req *artistinfoArtshow.GetArtistSupplement
|
|||||||
if req.AuditStatus != 0 {
|
if req.AuditStatus != 0 {
|
||||||
tx = tx.Where("audit_status = ?", req.AuditStatus)
|
tx = tx.Where("audit_status = ?", req.AuditStatus)
|
||||||
}
|
}
|
||||||
|
if req.ArtistName != "" {
|
||||||
|
tx = tx.Where(fmt.Sprintf("artist_name = '%%%v%%'", req.ArtistName))
|
||||||
|
}
|
||||||
//if req.AuditMark1 != "" {
|
//if req.AuditMark1 != "" {
|
||||||
// tx = tx.Where("audit_mark1 = ?", req.AuditMark1)
|
// tx = tx.Where("audit_mark1 = ?", req.AuditMark1)
|
||||||
//}
|
//}
|
||||||
|
Loading…
Reference in New Issue
Block a user