法规预警--按实施日期正序排序
This commit is contained in:
+10
-1
@@ -3806,7 +3806,15 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//法规预警的排序与其他不同单独处理
|
||||||
|
if(StringUtils.isNotBlank(warnTime)){
|
||||||
|
//flag = 0(新车实施日期), flag = 1(在产车实施日期)
|
||||||
|
if("0".equals(flag)){
|
||||||
|
conditionSb.append(" order by xin1_che1_xing2_shi2_shi1_ri4_qi1 asc");
|
||||||
|
}else{
|
||||||
|
conditionSb.append(" order by implement_time asc");
|
||||||
|
}
|
||||||
|
}else{
|
||||||
//处理列表表头排序
|
//处理列表表头排序
|
||||||
if (StringUtils.isNotBlank((String) parameter.get("orderByField"))) {
|
if (StringUtils.isNotBlank((String) parameter.get("orderByField"))) {
|
||||||
conditionSb.append(" order by " + (String) parameter.get("orderByField"));
|
conditionSb.append(" order by " + (String) parameter.get("orderByField"));
|
||||||
@@ -3818,6 +3826,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
} else {
|
} else {
|
||||||
conditionSb.append(" order by create_time desc");
|
conditionSb.append(" order by create_time desc");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
String condition = conditionSb.toString();
|
String condition = conditionSb.toString();
|
||||||
return condition;
|
return condition;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user