jsk quanxian
This commit is contained in:
parent
013b160bfa
commit
8521a6b390
|
|
@ -1842,13 +1842,13 @@ public class GreenHouseController extends GreenBaseController {
|
|||
roleSql.append("SELECT DATA_CODE AS \"id\",DATA_VALUE AS \"name\",DESCRIPTION AS \"description\" FROM GREEN_DICTIONARY_INFO WHERE DATA_TYPE = 'userType' AND IS_DELETED = 'N'");
|
||||
if (list != null && list.size() > 0) {
|
||||
String roleName = list.get(0).get("ROLE_NAME");
|
||||
if (Objects.equals("房管经办人", roleName)) {
|
||||
// if (Objects.equals("房管经办人", roleName)) {
|
||||
// 房管经办人角色
|
||||
roleSql.append(" ORDER BY DATA_CODE asc");
|
||||
} else {
|
||||
// 其他角色
|
||||
roleSql.append(" AND DATA_VALUE = '"+userTypeValue+"' ORDER BY DATA_CODE asc");
|
||||
}
|
||||
// } else {
|
||||
// // 其他角色
|
||||
// roleSql.append(" AND DATA_VALUE = '"+userTypeValue+"' ORDER BY DATA_CODE asc");
|
||||
// }
|
||||
}
|
||||
System.err.println("根据角色获取人员类型:" + roleSql.toString());
|
||||
List<Map<String, String>> userTypeList = hibernateDao.queryForListWithSql(roleSql.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue