|
|
@@ -159,7 +159,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
} |
|
|
|
// 设置密码并加密 |
|
|
|
if (!StringUtils.isEmpty(entity.getPassword())) { |
|
|
|
entity.setPassword(FunctionUtils.password(entity.getPassword())); |
|
|
|
entity.setPassword(null); |
|
|
|
} |
|
|
|
boolean result = this.editData(entity); |
|
|
|
if (!result) { |
|
|
@@ -345,6 +345,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取用户权限内区、镇数据 |
|
|
|
* |
|
|
|
* @param adminInfo |
|
|
|
* @param map |
|
|
|
* @return |
|
|
@@ -438,6 +439,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取限定层级内的子区划数组 |
|
|
|
* |
|
|
|
* @param cityId |
|
|
|
* @param limitLevel |
|
|
|
* @return |
|
|
@@ -456,6 +458,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据城市id获取村级以上城市数据 |
|
|
|
* |
|
|
|
* @param cityId |
|
|
|
* @param cityList |
|
|
|
* @return |
|
|
@@ -490,6 +493,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 计算区划问题数量 |
|
|
|
* |
|
|
|
* @param city |
|
|
|
* @param map |
|
|
|
* @return |
|
|
@@ -506,6 +510,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据镇/街道id获取权限内下属村数据 |
|
|
|
* |
|
|
|
* @param userId |
|
|
|
* @param townId |
|
|
|
* @param map |
|
|
@@ -617,6 +622,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取区划内所有河道问题坐标点 |
|
|
|
* |
|
|
|
* @param inspectFileDTO |
|
|
|
* @return |
|
|
|
*/ |
|
|
@@ -637,6 +643,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 计算问题数量 |
|
|
|
* |
|
|
|
* @param city |
|
|
|
* @param map |
|
|
|
* @return |
|
|
@@ -683,6 +690,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取河道数据 |
|
|
|
* |
|
|
|
* @param cityId |
|
|
|
* @return |
|
|
|
*/ |
|
|
@@ -696,6 +704,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin> |
|
|
|
|
|
|
|
/** |
|
|
|
* 处理河道数据 |
|
|
|
* |
|
|
|
* @param cityId |
|
|
|
* @param driverDTOList |
|
|
|
* @return |