Browse Source

文章列表未显示作者

danch 3 months ago
parent
commit
9080edd242

+ 4 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysUserController.java

@@ -146,6 +146,10 @@ public class SysUserController {
         QueryWrapper<SysUser> queryWrapper = QueryGenerator.initQueryWrapper(user, req.getParameterMap());
         return sysUserService.queryPageList(req, queryWrapper, pageSize, pageNo);
     }
+    @RequestMapping(value = "/queryAllList", method = RequestMethod.GET)
+    public Result<List<SysUser>> queryAllList() {
+        return sysUserService.queryAllList();
+    }
 
     @RequiresPermissions("system:user:add")
 	@RequestMapping(value = "/add", method = RequestMethod.POST)

+ 2 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/ISysUserService.java

@@ -389,4 +389,6 @@ public interface ISysUserService extends IService<SysUser> {
 	 * @param departs
 	 */
 	void editTenantUser(SysUser sysUser, String tenantId, String departs, String roles);
+
+	Result<List<SysUser>> queryAllList();
 }

File diff suppressed because it is too large
+ 598 - 592
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java


Some files were not shown because too many files changed in this diff