|
@@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import io.swagger.models.auth.In;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.catalina.User;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
@@ -2018,5 +2019,40 @@ public class SysUserController {
|
|
|
sysUserService.userComplexCondition(null,null,null, null, filteruserids, 1);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 用户符合查询2
|
|
|
+ */
|
|
|
+// @PostMapping("/userComplexConditionTwo")
|
|
|
+// public Result<IPage<SysUser>> userComplexConditionTwo(
|
|
|
+// @RequestParam(name = "roleId", required = false) String roleId,
|
|
|
+// @RequestParam(name = "deptId", required = false) String deptId,
|
|
|
+// @RequestParam(name = "appId", required = false) String appId,
|
|
|
+// @RequestParam(name = "relName", required = false) String relName,
|
|
|
+// @RequestParam(name = "username", required = false) String username,
|
|
|
+// @RequestParam(name = "pageNo", required = false) Integer pageNo,
|
|
|
+// @RequestParam(name = "pageSize", required = false) Integer pageSize) {
|
|
|
+//
|
|
|
+// Result<IPage<SysUser>> iPageResult = sysUserService.userComplexConditionTwoService(roleId, deptId, appId, relName, username, pageNo, pageSize);
|
|
|
+//
|
|
|
+// return iPageResult;
|
|
|
+//
|
|
|
+//
|
|
|
+// }
|
|
|
+
|
|
|
+ @PostMapping("/userComplexConditionTwo")
|
|
|
+ public Result<IPage<SysUser>> userComplexConditionTwo(@RequestBody Map<String, String> requestParam) {
|
|
|
+ String roleId = requestParam.get("roleId");
|
|
|
+ String deptId = requestParam.get("deptId");
|
|
|
+ String appId = requestParam.get("appId");
|
|
|
+ String relName = requestParam.get("realname");
|
|
|
+ String username = requestParam.get("username");
|
|
|
+ String pageNo = requestParam.get("pageNo");
|
|
|
+ String pageSize = requestParam.get("pageSize");
|
|
|
+ Result<IPage<SysUser>> iPageResult = sysUserService.userComplexConditionTwoService(roleId, deptId, appId, relName, username, pageNo, pageSize);
|
|
|
+ return iPageResult;
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|