40 lines
906 B
Java
40 lines
906 B
Java
package com.gunshi.project.hsz.service;
|
|
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
import com.ruoyi.system.mapper.SysDeptMapper;
|
|
import com.ruoyi.system.mapper.SysUserMapper;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 描述: APP版本记录
|
|
* author: xusan
|
|
* date: 2024-11-12 10:14:50
|
|
*/
|
|
@Service
|
|
@Slf4j
|
|
public class DeptempService{
|
|
@Autowired
|
|
private SysDeptMapper deptMapper;
|
|
|
|
@Autowired
|
|
private SysUserMapper userMapper;
|
|
|
|
public List<SysUser> selectUserList(SysUser user)
|
|
{
|
|
return userMapper.selectUserList(user);
|
|
}
|
|
|
|
public List<SysDept> selectDeptList(SysDept dept)
|
|
{
|
|
return deptMapper.selectDeptList(dept);
|
|
}
|
|
|
|
}
|
|
|
|
|