自动化立体仓库 - WMS系统
#1
dubin
2 天以前 864c18c46c2db1ae92220181e40b291b3b0d9446
src/main/java/com/zy/system/mapper/UserLoginMapper.java
@@ -6,6 +6,8 @@
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
public interface UserLoginMapper extends BaseMapper<UserLogin> {
@@ -13,4 +15,7 @@
    @Select("select count(1) from sys_user_login where yearweek(date_format(create_time,'%Y-%m-%d')) = yearweek(now())")
    int selectCountByCurrentWeek();
    @Select("select * from sys_user_login where user_id = #{userId}")
    UserLogin selectByUserId(Long id);
}