| 
															
																@@ -57,7 +57,6 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 新增用户操作。 
															 | 
															
															 | 
															
																      * 新增用户操作。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 
															 | 
															
															 | 
															
																      * 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * @param sysUserDto           新增用户对象。 
															 | 
															
															 | 
															
																      * @param sysUserDto           新增用户对象。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-     * @param deptPostIdListString 逗号分隔的部门岗位Id列表。 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * @return 应答结果对象,包含新增用户的主键Id。 
															 | 
															
															 | 
															
																      * @return 应答结果对象,包含新增用户的主键Id。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @ApiOperationSupport(ignoreParameters = { 
															 | 
															
															 | 
															
																     @ApiOperationSupport(ignoreParameters = { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -66,7 +65,7 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             "sysUserDto.createTimeEnd"}) 
															 | 
															
															 | 
															
																             "sysUserDto.createTimeEnd"}) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @OperationLog(type = SysOperationLogType.ADD) 
															 | 
															
															 | 
															
																     @OperationLog(type = SysOperationLogType.ADD) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/add") 
															 | 
															
															 | 
															
																     @PostMapping("/add") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    public ResponseResult<Long> add(@RequestBody SysUserDto sysUserDto, @RequestBody String deptPostIdListString) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    public ResponseResult<Long> add(@RequestBody SysUserDto sysUserDto) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         //角色是查看全部,前台已取消对角色的控制   这里直接写死 
															 | 
															
															 | 
															
																         //角色是查看全部,前台已取消对角色的控制   这里直接写死 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         String roleIdListString = "1575681957692444672"; 
															 | 
															
															 | 
															
																         String roleIdListString = "1575681957692444672"; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -84,7 +83,7 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         SysUser sysUser = MyModelUtil.copyTo(sysUserDto, SysUser.class); 
															 | 
															
															 | 
															
																         SysUser sysUser = MyModelUtil.copyTo(sysUserDto, SysUser.class); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         CallResult result = sysUserService.verifyRelatedData( 
															 | 
															
															 | 
															
																         CallResult result = sysUserService.verifyRelatedData( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                sysUser, null, roleIdListString, deptPostIdListString, dataPermIdListString); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                sysUser, null, roleIdListString, sysUserDto.getDeptPostIdListString(), dataPermIdListString); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (!result.isSuccess()) { 
															 | 
															
															 | 
															
																         if (!result.isSuccess()) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, result.getErrorMessage()); 
															 | 
															
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, result.getErrorMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -100,7 +99,6 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 更新用户操作。 
															 | 
															
															 | 
															
																      * 更新用户操作。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 
															 | 
															
															 | 
															
																      * 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * @param sysUserDto           更新用户对象。 
															 | 
															
															 | 
															
																      * @param sysUserDto           更新用户对象。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-     * @param deptPostIdListString 逗号分隔的部门岗位Id列表。 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * @return 应答结果对象。 
															 | 
															
															 | 
															
																      * @return 应答结果对象。 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @ApiOperationSupport(ignoreParameters = { 
															 | 
															
															 | 
															
																     @ApiOperationSupport(ignoreParameters = { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -109,8 +107,7 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @OperationLog(type = SysOperationLogType.UPDATE) 
															 | 
															
															 | 
															
																     @OperationLog(type = SysOperationLogType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/update") 
															 | 
															
															 | 
															
																     @PostMapping("/update") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public ResponseResult<Void> update( 
															 | 
															
															 | 
															
																     public ResponseResult<Void> update( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            @MyRequestBody SysUserDto sysUserDto, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            @MyRequestBody String deptPostIdListString) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            @RequestBody SysUserDto sysUserDto) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         String errorMessage = MyCommonUtil.getModelValidationError(sysUserDto, true); 
															 | 
															
															 | 
															
																         String errorMessage = MyCommonUtil.getModelValidationError(sysUserDto, true); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (errorMessage != null) { 
															 | 
															
															 | 
															
																         if (errorMessage != null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, errorMessage); 
															 | 
															
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, errorMessage); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -130,7 +127,7 @@ public class SysUserController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         //逗号分隔的数据权限Id列表,角色和权限都是只留了一个查看全部,直接写死 
															 | 
															
															 | 
															
																         //逗号分隔的数据权限Id列表,角色和权限都是只留了一个查看全部,直接写死 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         String dataPermIdListString = "1578390989012209664"; 
															 | 
															
															 | 
															
																         String dataPermIdListString = "1578390989012209664"; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         CallResult result = sysUserService.verifyRelatedData( 
															 | 
															
															 | 
															
																         CallResult result = sysUserService.verifyRelatedData( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                sysUser, originalUser, roleIdListString, deptPostIdListString, dataPermIdListString); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                sysUser, originalUser, roleIdListString, sysUserDto.getDeptPostIdListString(), dataPermIdListString); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (!result.isSuccess()) { 
															 | 
															
															 | 
															
																         if (!result.isSuccess()) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, result.getErrorMessage()); 
															 | 
															
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_VALIDATED_FAILED, result.getErrorMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 |