重构用户角色类

This commit is contained in:
liuchengqian 2023-02-06 11:28:35 +08:00
parent 9f0d962225
commit db87efb8fc
2 changed files with 0 additions and 213 deletions

View File

@ -61,18 +61,6 @@ public interface SysUserDao extends JpaRepository<SysUserEntity, Long>, JpaSpeci
@Query(value = "DELETE FROM sys_user WHERE user_name = :userName ;", nativeQuery = true)
int deleteSysUser(@Param("userName") String userName);
// /**
// * 查询用户信息
// */
// @Query(value = "select new com.xkrs.straw.model.vo.SysUserVo (id,reallyName,telephone,countyCode,activeFlag,addTime,overTime,dayNum,accountType,countyName,lastEntryIp,loginNum,loginLastTime,vipLevel,receiveSms,remark,agentOrgId) from SysUserEntity")
// List<SysUserVo> selectAll();
//
// /**
// * 根据用户名查询实体信息
// */
// @Query(value = "select new com.xkrs.straw.model.vo.SysUserVo (id,reallyName,telephone,countyCode,activeFlag,addTime,overTime,dayNum,accountType,countyName,lastEntryIp,loginNum,loginLastTime,vipLevel,receiveSms,remark,agentOrgId) from SysUserEntity where userName = :userName")
// SysUserVo selectUserByUserName(String userName);
/**
* 启用
*/

View File

@ -1,201 +0,0 @@
package com.xkrs.straw.model.vo;
import java.io.Serializable;
/**
* SysUserVo
*
* @Author tajochen
*/
public class SysUserVo implements Serializable {
private Integer id;
private String reallyName;
private String telephone;
private String countyCode;
private Integer activeFlag;
private String addTime;
private String overTime;
private Integer dayNum;
private String accountType;
private String countyName;
private String lastEntryIp;
private Integer loginNum;
private String loginLastTime;
private Integer vipLevel;
private Integer receiveSms;
private String remark;
private Long agentOrgId;
public SysUserVo(Integer id, String reallyName, String telephone, String countyCode, Integer activeFlag, String addTime, String overTime, Integer dayNum, String accountType, String countyName, String lastEntryIp, Integer loginNum, String loginLastTime, Integer vipLevel, Integer receiveSms, String remark, Long agentOrgId) {
this.id = id;
this.reallyName = reallyName;
this.telephone = telephone;
this.countyCode = countyCode;
this.activeFlag = activeFlag;
this.addTime = addTime;
this.overTime = overTime;
this.dayNum = dayNum;
this.accountType = accountType;
this.countyName = countyName;
this.lastEntryIp = lastEntryIp;
this.loginNum = loginNum;
this.loginLastTime = loginLastTime;
this.vipLevel = vipLevel;
this.receiveSms = receiveSms;
this.remark = remark;
this.agentOrgId = agentOrgId;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getReallyName() {
return reallyName;
}
public void setReallyName(String reallyName) {
this.reallyName = reallyName;
}
public String getTelephone() {
return telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
public Integer getActiveFlag() {
return activeFlag;
}
public void setActiveFlag(Integer activeFlag) {
this.activeFlag = activeFlag;
}
public String getAddTime() {
return addTime;
}
public void setAddTime(String addTime) {
this.addTime = addTime;
}
public String getOverTime() {
return overTime;
}
public void setOverTime(String overTime) {
this.overTime = overTime;
}
public Integer getDayNum() {
return dayNum;
}
public void setDayNum(Integer dayNum) {
this.dayNum = dayNum;
}
public String getAccountType() {
return accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public String getLastEntryIp() {
return lastEntryIp;
}
public void setLastEntryIp(String lastEntryIp) {
this.lastEntryIp = lastEntryIp;
}
public Integer getLoginNum() {
return loginNum;
}
public void setLoginNum(Integer loginNum) {
this.loginNum = loginNum;
}
public String getLoginLastTime() {
return loginLastTime;
}
public void setLoginLastTime(String loginLastTime) {
this.loginLastTime = loginLastTime;
}
public Integer getVipLevel() {
return vipLevel;
}
public void setVipLevel(Integer vipLevel) {
this.vipLevel = vipLevel;
}
public Integer getReceiveSms() {
return receiveSms;
}
public void setReceiveSms(Integer receiveSms) {
this.receiveSms = receiveSms;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getAgentOrgId() {
return agentOrgId;
}
public void setAgentOrgId(Long agentOrgId) {
this.agentOrgId = agentOrgId;
}
}