Commit 53b14dc0 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent db604d00
......@@ -60,7 +60,7 @@ public class HelpEvaluateController extends BaseCRUDJsonBodyMappingController<He
@Override
protected void doListBefore(HelpEvaluateEntity query, Map<String, Object> model, Context context) throws AppException {
Map<String,String> orderCols = new HashMap<>();
orderCols.put("createTime","DESC");
orderCols.put("evaluateTime","DESC");
query.setOrderCols(orderCols);
}
......
......@@ -40,7 +40,7 @@ public class NewsController extends BaseCRUDJsonBodyMappingController<NewsServic
protected void doListBefore(NewsEntity query, Map<String, Object> model, Context context) throws AppException {
query.setCustomerId(this.getCurUser().getId());
Map<String,String> orderCols = new HashMap<>();
orderCols.put("createTime","DESC");
orderCols.put("receiveTime","DESC");
query.setOrderCols(orderCols);
}
......
......@@ -46,7 +46,7 @@ public class QuestionController extends BaseCRUDJsonBodyMappingController<Questi
@Override
protected void doListBefore(QuestionEntity query, Map<String, Object> model, Context context) throws AppException {
Map<String,String> orderCols = new HashMap<>();
orderCols.put("createTime","DESC");
orderCols.put("beginTime","DESC");
query.setOrderCols(orderCols);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment