You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.9 KiB
86 lines
1.9 KiB
1 year ago
|
package com.zc.business.mapper;
|
||
|
|
||
|
import java.util.Date;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.List;
|
||
|
import com.zc.business.domain.DcShifts;
|
||
|
import com.zc.business.domain.DcShiftsRecord;
|
||
|
import org.apache.ibatis.annotations.Param;
|
||
|
import org.apache.poi.hssf.record.DConRefRecord;
|
||
|
|
||
|
/**
|
||
|
* 值班Mapper接口
|
||
|
*
|
||
|
* @author ruoyi
|
||
|
* @date 2024-01-04
|
||
|
*/
|
||
|
public interface DcShiftsMapper
|
||
|
{
|
||
|
/**
|
||
|
* 查询值班
|
||
|
*
|
||
|
* @param id 值班主键
|
||
|
* @return 值班
|
||
|
*/
|
||
|
public DcShifts selectDcShiftsById(Long id);
|
||
|
|
||
|
/**
|
||
|
* 查询值班列表
|
||
|
*
|
||
|
* @param dcShifts 值班
|
||
|
* @return 值班集合
|
||
|
*/
|
||
|
List<DcShifts> selectDcShiftsList(DcShifts dcShifts);
|
||
|
|
||
|
/**
|
||
|
* 新增值班
|
||
|
*
|
||
|
* @param dcShifts 值班
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int insertDcShifts(DcShifts dcShifts);
|
||
|
//新增值班时的操作日志
|
||
|
int insertDcShiftsRecord(DcShiftsRecord dcShiftsRecord);
|
||
|
|
||
|
/**
|
||
|
* 修改值班
|
||
|
*
|
||
|
* @param dcShifts 值班
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int updateDcShifts(DcShifts dcShifts);
|
||
|
|
||
|
/**
|
||
|
* 删除值班
|
||
|
*
|
||
|
* @param id 值班主键
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int deleteDcShiftsById(Long id);
|
||
|
|
||
|
/**
|
||
|
* 批量删除值班
|
||
|
*
|
||
|
* @param ids 需要删除的数据主键集合
|
||
|
* @return 结果
|
||
|
*/
|
||
|
int deleteDcShiftsByIds(Long[] ids);
|
||
|
//手机号查询人员信息
|
||
|
HashMap<String,Object> contactNumber(String contactNumber);
|
||
|
//路管驻点名称查询路管驻点id
|
||
|
HashMap<String,Object> selectStationId(@Param("stationName") String stationName);
|
||
|
//根据创建时间获取信息
|
||
|
public DcShifts selectDcShiftsByCreateTime(Long id);
|
||
|
|
||
|
/**
|
||
|
* 查询值班
|
||
|
*
|
||
|
* @param id 值班主键
|
||
|
* @return 值班
|
||
|
*/
|
||
|
public DcShifts selectDcShiftsByEmployeesId(Long id);
|
||
|
//查询操作记录表
|
||
|
public List<DcShiftsRecord> selectDcShiftsRecord();
|
||
|
|
||
|
}
|