自动化立体仓库 - WMS系统
czkh
19 小时以前 975823f4d07c91a67162f553be9ff4ac25f3d47d
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);
}