修改orderBy无参数提交接口问题

This commit is contained in:
zhanghongqing
2018-11-06 18:15:34 +08:00
parent 80790fea17
commit c1b0a62802

View File

@@ -831,7 +831,7 @@ public class BaseController {
if (entry.getCfgId() != null) {
params.put("searchCfgId", entry.getCfgId());
}
if (entry.getOrderBy() != null&&entry.getOrderBy()!="") {
if (StringUtils.isNotBlank(entry.getOrderBy())) {
params.put("orderBy", entry.getOrderBy());
}
}