fei.wang
2024-05-13 b9b58b9ef261cb290d93465f88a2cbd814b576f0
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
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
 
package com.flow.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flow.pojo.Loginjilu;
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
public interface LoginJiLuMapper extends BaseMapper<Loginjilu> {
    @Select({"select * from loginjilu where none = 0 ORDER BY LoginDate DESC "})
    List<Loginjilu> findAllLoginJiLu();
 
    @Select({"select * from loginjilu where none = 0 and LoginCompany = #{Zong} ORDER BY LoginDate DESC"})
    List<Loginjilu> findAllLoginJiLuZi(@Param("Zong")String var1);
 
    @Select({"select COUNT(*) from loginjilu where to_days(logindate) = to_days(now()) and none = 0"})
    String jrfwl();
 
    @Select({"SELECT count(*) FROM loginjilu where DATE_SUB(CURDATE(), INTERVAL 7 DAY) <= date(logindate) and none = 0"})
    String bzfwl();
 
    @Select({"SELECT COUNT(*)  FROM loginjilu WHERE DATE_FORMAT( logindate, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' ) and none = 0"})
    String byflw();
 
    @Select({"SELECT count(*) from loginjilu where none = 0"})
    String zgfwl();
 
    @Select({"SELECT LoginDate FROM `loginjilu` where LoginCompany = #{Zong} ORDER BY LoginDate DESC LIMIT 0 , 1"})
    String userdate(String var1);
}