DriverSchedulingMapper.java
1.46 KB
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
43
44
45
package com.ruoyi.driver.mapper;
import com.ruoyi.domain.DriverScheduling;
import com.ruoyi.driver.domain.Driver;
import com.ruoyi.pojo.response.ExportReportViewResponseVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* @author 20412
*/
public interface DriverSchedulingMapper {
void insertRoster(List<DriverScheduling> list);
List<DriverScheduling> queryToDay(@Param("date") String date, @Param("name") String name,@Param("jobCode") String jobCode,@Param("lineName")String lineName );
void updateRoster(@Param("scheduling") DriverScheduling scheduling, @Param("signInId") Long id, @Param("exType") Integer exType, @Param("signTime")Date signTime, @Param("remark") String remark, @Param("signType") Integer signType, @Param("alcoholFlag") Integer alcoholFlag, @Param("alcoholIntake")BigDecimal alcoholIntake);
void updateRosterById(DriverScheduling scheduling);
/**
* 查询设备数量
* @return
*/
@Select("select count(*) from equipment")
Integer queryNumberByDevice();
List<DriverScheduling> queryByMonth(@Param("startDate") String startDate,@Param("endDate") String endDate);
/***
* 根据ID查询对象的业务字段
* @author liujun
* @date 2024/6/12 9:38
* @param id
* @return com.ruoyi.domain.DriverScheduling
*/
DriverScheduling querySelectColumnById(Integer id);
}