完成提成界面
This commit is contained in:
		| @@ -0,0 +1,36 @@ | ||||
| package com.ruoyi.system.domain; | ||||
|  | ||||
| import java.io.Serializable; | ||||
|  | ||||
| public class CusSalesman implements Serializable { | ||||
|  | ||||
|     private static final long serialVersionUID = 1L; | ||||
|  | ||||
|     private String userId; | ||||
|  | ||||
|     private String userName; | ||||
|  | ||||
|     public String getUserName() { | ||||
|         return userName; | ||||
|     } | ||||
|  | ||||
|     public String getUserId() { | ||||
|         return userId; | ||||
|     } | ||||
|  | ||||
|     public void setUserName(String userName) { | ||||
|         this.userName = userName; | ||||
|     } | ||||
|  | ||||
|     public void setUserId(String userId) { | ||||
|         this.userId = userId; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public String toString() { | ||||
|         return "CusSalesman{" + | ||||
|                 "userId='" + userId + '\'' + | ||||
|                 ", userName='" + userName + '\'' + | ||||
|                 '}'; | ||||
|     } | ||||
| } | ||||
| @@ -1,6 +1,8 @@ | ||||
| package com.ruoyi.system.mapper; | ||||
|  | ||||
| import java.util.List; | ||||
|  | ||||
| import com.ruoyi.system.domain.CusSalesman; | ||||
| import org.apache.ibatis.annotations.Param; | ||||
| import com.ruoyi.common.core.domain.entity.SysUser; | ||||
|  | ||||
| @@ -21,6 +23,8 @@ public interface SysUserMapper | ||||
|  | ||||
|     public List<SysUser> selectAllUser(); | ||||
|  | ||||
|     public List<CusSalesman> selectSalesman(); | ||||
|  | ||||
|     /** | ||||
|      * 通过用户名查询用户 | ||||
|      *  | ||||
|   | ||||
| @@ -2,6 +2,7 @@ package com.ruoyi.system.service; | ||||
|  | ||||
| import java.util.List; | ||||
| import com.ruoyi.common.core.domain.entity.SysUser; | ||||
| import com.ruoyi.system.domain.CusSalesman; | ||||
|  | ||||
| /** | ||||
|  * 用户 业务层 | ||||
| @@ -20,6 +21,8 @@ public interface ISysUserService | ||||
|  | ||||
|     public List<SysUser> selectAllUser(); | ||||
|  | ||||
|     public List<CusSalesman> selectSalesman(); | ||||
|  | ||||
|     /** | ||||
|      * 通过用户名查询用户 | ||||
|      *  | ||||
|   | ||||
| @@ -3,6 +3,7 @@ package com.ruoyi.system.service.impl; | ||||
| import java.util.ArrayList; | ||||
| import java.util.List; | ||||
|  | ||||
| import com.ruoyi.system.domain.CusSalesman; | ||||
| import org.slf4j.Logger; | ||||
| import org.slf4j.LoggerFactory; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| @@ -70,6 +71,11 @@ public class SysUserServiceImpl implements ISysUserService { | ||||
|         return userMapper.selectAllUser(); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public List<CusSalesman> selectSalesman() { | ||||
|         return userMapper.selectSalesman(); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * 通过用户名查询用户 | ||||
|      * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user