|
@@ -18,7 +18,7 @@ import java.util.Date;
|
|
|
@SearchBean(tables = "goods_don_qa gq left join goods_don_qa_relate gqr on gqr.question_id = gq.id" +
|
|
@SearchBean(tables = "goods_don_qa gq left join goods_don_qa_relate gqr on gqr.question_id = gq.id" +
|
|
|
" left join goods_don g on g.id = gqr.goods_id",
|
|
" left join goods_don g on g.id = gqr.goods_id",
|
|
|
where = "gq.deleted is true",
|
|
where = "gq.deleted is true",
|
|
|
- orderBy = "gq.sorted is null asc,gq.sorted asc",
|
|
|
|
|
|
|
+ orderBy = "gq.update_time desc",
|
|
|
groupBy = "gq.id,gq.type,gq.problem,gq.status,gq.created_time,gq.update_time")
|
|
groupBy = "gq.id,gq.type,gq.problem,gq.status,gq.created_time,gq.update_time")
|
|
|
public class GoodsDonQaView {
|
|
public class GoodsDonQaView {
|
|
|
@DbField("gq.id")
|
|
@DbField("gq.id")
|