耗材记录 排序报错
This commit is contained in:
parent
5a2a18992a
commit
080c426caa
|
|
@ -34,7 +34,7 @@ public class ViewConInfoFlowServiceImpl implements ViewConInfoFlowService {
|
|||
|
||||
@Override
|
||||
public Map<String,Object> queryAllPage(ViewConInfoFlowQueryCriteria criteria){
|
||||
Sort sort = Sort.by(Sort.Direction.DESC, "id");
|
||||
Sort sort = Sort.by(Sort.Direction.DESC, "consId");
|
||||
if(StringUtils.isNotBlank(criteria.getSort())){
|
||||
String[] sortParams = criteria.getSort().split(",");
|
||||
String sortField = sortParams[0];
|
||||
|
|
|
|||
Loading…
Reference in New Issue