From db87efb8fc696f17cab5a575c69926dc71662c7c Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Mon, 6 Feb 2023 11:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E7=94=A8=E6=88=B7=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xkrs/straw/dao/SysUserDao.java | 12 -- .../com/xkrs/straw/model/vo/SysUserVo.java | 201 ------------------ 2 files changed, 213 deletions(-) delete mode 100644 src/main/java/com/xkrs/straw/model/vo/SysUserVo.java diff --git a/src/main/java/com/xkrs/straw/dao/SysUserDao.java b/src/main/java/com/xkrs/straw/dao/SysUserDao.java index f2db7cc..266992d 100644 --- a/src/main/java/com/xkrs/straw/dao/SysUserDao.java +++ b/src/main/java/com/xkrs/straw/dao/SysUserDao.java @@ -61,18 +61,6 @@ public interface SysUserDao extends JpaRepository, 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 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); - /** * 启用 */ diff --git a/src/main/java/com/xkrs/straw/model/vo/SysUserVo.java b/src/main/java/com/xkrs/straw/model/vo/SysUserVo.java deleted file mode 100644 index a3e3e1a..0000000 --- a/src/main/java/com/xkrs/straw/model/vo/SysUserVo.java +++ /dev/null @@ -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; - } -} \ No newline at end of file