李宇
2021-01-13 5ce314bb05eef373bd25b0b2e289a01bf6e5b6c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.nanometer.smartlab.dao;
 
import com.nanometer.smartlab.entity.SysUser;
import com.nanometer.smartlab.entity.dto.HazardousWasteUser;
import com.nanometer.smartlab.entity.dto.LaboratoryVo;
import com.nanometer.smartlab.entity.dto.SysUserDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by johnny on 17/11/18.
 */
public interface SysUserDao {
 
    public SysUser getSysUser(String id) throws DataAccessException;
    public SysUser getSysUserForSuppllier(String id) throws DataAccessException;
    public SysUser getSysUserByIdCard(String idCard) throws DataAccessException;
    public List<SysUser> getSysUserList(Map params) throws DataAccessException;
    public List<SysUser> getHasProjectSysUserList(Map params) throws DataAccessException;
    public int getSysUserTotalCount(Map params) throws DataAccessException;
 
    public void insertSysUser(SysUser sysUser) throws DataAccessException;
    public int updateSysUser(SysUser sysUser) throws DataAccessException;
    public int deleteSysUsers(List<String> ids) throws DataAccessException;
 
    public List<SysUser> getSysUserInfoList(Map params) throws DataAccessException;
 
    public SysUser getSysUserInfoByContainerCode(String userId, String containerCode, String controllerCode) throws DataAccessException;
    public List<SysUser> getUserListByContainerCode(String containerCode, String startTime,String endTime) throws DataAccessException;
 
    void updateUserPointBySelective(@Param("point")Integer point,@Param("id") String id);
 
    public SysUser selectByAccount(SysUser user);
 
    Map getUser(String id);
 
    void insertUserFavor(Map params);
 
    void deleteUserFavor(Map params);
 
    int selectUserFavor(Map params);
 
 
    List<SysUser> getUserListByProject(String project, String startTime, String endTime);
 
    List<SysUserDto> selectUserInfo();
 
    HazardousWasteUser getUserByAccount(Map params);
 
    List<LaboratoryVo.LaboratoryUser> getUserByProject(@Param("project") String project);
}