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
37
38
39
40
41
42
//
// 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.Chongzhi;
import org.apache.ibatis.annotations.Select;
 
public interface ChongZhMapper extends BaseMapper<Chongzhi> {
    @Select({"select sum(CzMoney) from chongzhi where to_days(CzDate) = to_days(now()) and none = 0 and Company = #{Zong}"})
    String jrfwl(String var1);
 
    @Select({"SELECT sum(CzMoney) FROM chongzhi where DATE_SUB(CURDATE(), INTERVAL 7 DAY) <= date(CzDate) and none = 0 and Company = #{Zong}"})
    String bzfwl(String var1);
 
    @Select({"SELECT sum(CzMoney)  FROM chongzhi WHERE DATE_FORMAT( CzDate, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' ) and none = 0 and Company = #{Zong}"})
    String byflw(String var1);
 
    @Select({"SELECT sum(CzMoney) from chongzhi where none = 0 and Company = #{Zong}"})
    String zgfwl(String var1);
 
    @Select({"select sum(CzMoney) from chongzhi where to_days(CzDate) = to_days(now()) and none = 0 "})
    String jrfwl1();
 
    @Select({"SELECT sum(CzMoney) FROM chongzhi where DATE_SUB(CURDATE(), INTERVAL 7 DAY) <= date(CzDate) and none = 0 "})
    String bzfwl1();
 
    @Select({"SELECT sum(CzMoney)  FROM chongzhi WHERE DATE_FORMAT( CzDate, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' ) and none = 0 "})
    String byflw1();
 
    @Select({"SELECT sum(CzMoney) from chongzhi where none = 0 "})
    String zgfwl1();
 
    @Select({"SELECT SUM(CzMoney) FROM chongzhi where none = 0"})
    String findChongZhiJine();
 
    @Select({"SELECT SUM(CzMoney) FROM chongzhi where none = 0 and company = #{company}"})
    String findChongZhiJine1(Chongzhi var1);
}