多任务账号导出接口

main 68
hshansha 2 months ago
parent 8567fe8a27
commit 579fee8f8b

@ -86,6 +86,16 @@ public class SysUserController extends BaseController
util.exportExcel(response, list, "用户数据");
}
@Log(title = "多任务账号", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:user:export')")
@PostMapping("/taskExport")
public void taskExport(HttpServletResponse response, SysUser user)
{
List<SysUser> list = userService.selectldUserlist(user);
ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class);
util.exportExcel(response, list, "用户数据");
}
@Log(title = "用户管理", businessType = BusinessType.IMPORT)
@PreAuthorize("@ss.hasPermi('system:user:import')")
@PostMapping("/importData")

@ -105,6 +105,7 @@ public class SysUser extends BaseEntity {
/**
* s
*/
@Excel(name = "考核项")
private String itemNames;
/**
@ -127,13 +128,13 @@ public class SysUser extends BaseEntity {
/**
* IP
*/
@Excel(name = "最后登录IP", type = Type.EXPORT)
// @Excel(name = "最后登录IP", type = Type.EXPORT)
private String loginIp;
/**
*
*/
@Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
// @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
private Date loginDate;
/**

Loading…
Cancel
Save