自动化立体仓库 - WMS系统
dubin
2025-12-17 ed62b1bb0e4bbb8b7d4b6f4d980c941cfd11233e
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);
}