Bläddra i källkod

修改:接口参数修改

GDW 2 månader sedan
förälder
incheckning
37f71abce8

+ 1 - 1
jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysUserController.java

@@ -2044,7 +2044,7 @@ public class SysUserController {
         String roleId = requestParam.get("roleId");
         String deptId = requestParam.get("deptId");
         String appId = requestParam.get("appId");
-        String relName = requestParam.get("relName");
+        String relName = requestParam.get("realname");
         String username = requestParam.get("username");
         String pageNo = requestParam.get("pageNo");
         String pageSize = requestParam.get("pageSize");

+ 2 - 2
jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java

@@ -2273,10 +2273,10 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
 	public Result<IPage<SysUser>> userComplexConditionTwoService(String roleId, String deptId, String appId, String relName, String username, String pageNo, String pageSize) {
 		Page<SysUser> sysUserPage = new Page<>();
 		if (pageNo != null) {
-			sysUserPage.setCurrent(Long.getLong(pageNo));
+			sysUserPage.setCurrent(Long.parseLong(pageNo));
 		}
 		if (pageSize != null) {
-			sysUserPage.setSize(Long.getLong(pageSize));
+			sysUserPage.setSize(Long.parseLong(pageSize));
 		}
 		Page<SysUser> sysUserPageList = userMapper.userComplexConditionTwoMapper(sysUserPage, roleId, deptId, appId, relName, username);
 		Result<IPage<SysUser>> result = new Result<>();