完成提成界面

This commit is contained in:
huangdeliang
2020-10-06 14:29:11 +08:00
parent d95c1698f5
commit 4aee429a2e
24 changed files with 1117 additions and 510 deletions

View File

@ -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 + '\'' +
'}';
}
}

View File

@ -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();
/**
* 通过用户名查询用户
*

View File

@ -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();
/**
* 通过用户名查询用户
*

View File

@ -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();
}
/**
* 通过用户名查询用户
*