|
@@ -1233,7 +1233,7 @@ func GetNewTitles(req QueryNewTitlesReq) (rsp []QueryNewTitlesRsp, total int64,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
rsp = make([]QueryNewTitlesRsp, 0)
|
|
rsp = make([]QueryNewTitlesRsp, 0)
|
|
|
- session = engine.Table("SITE_COLUMNDETAIL").Where("ISSHOW = 1")
|
|
|
|
|
|
|
+ session = engine.Table("SITE_COLUMNDETAIL").Where("ISSHOW = 1 AND STATUS = 20")
|
|
|
if req.COLUMNID != 0 {
|
|
if req.COLUMNID != 0 {
|
|
|
session = session.And("COLUMNID = ?", req.COLUMNID)
|
|
session = session.And("COLUMNID = ?", req.COLUMNID)
|
|
|
}
|
|
}
|