|
@@ -151,7 +151,12 @@ public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
|
if(hisInquirysVO.getEndDate()!=null){
|
|
|
queryWrapper.le("gmt_create", hisInquirysVO.getEndDate());
|
|
|
}
|
|
|
- queryWrapper.orderByDesc("gmt_create");
|
|
|
+ if(hisInquirysVO.getOrderType()==1){
|
|
|
+ queryWrapper.orderByDesc("gmt_create");
|
|
|
+ }else if(hisInquirysVO.getOrderType()==2){
|
|
|
+ queryWrapper.orderByAsc("gmt_create");
|
|
|
+ }
|
|
|
+
|
|
|
List<InquiryInfo> inquiryInfoList = this.list(queryWrapper);
|
|
|
|
|
|
List<HisInquiryDTO> hisInquiryDTOList = BeanUtil.listCopyTo(inquiryInfoList, HisInquiryDTO.class);
|