自动化立体仓库 - WMS系统
#1
dubin
2 天以前 864c18c46c2db1ae92220181e40b291b3b0d9446
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
package com.zy.system.service.impl;
 
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zy.system.entity.UserLogin;
import com.zy.system.mapper.UserLoginMapper;
import com.zy.system.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.Collections;
import java.util.List;
 
@Service("userLoginService")
public class UserLoginServiceImpl extends ServiceImpl<UserLoginMapper, UserLogin> implements UserLoginService {
 
    @Autowired
    private UserLoginMapper userLoginMapper;
 
    @Override
    public int selectCountByCurrentWeek() {
        return userLoginMapper.selectCountByCurrentWeek();
    }
 
    @Override
    public UserLogin selectByUserId(Long id) {
        return userLoginMapper.selectByUserId(id);
    }
}