📄 attendrecorddao.java
字号:
/**
* FileName:AttendRecord.java,v 1.0 created in 2008-11-7 上午11:56:52
* Created by Noel Han
* Copyright (c) 2008 Ecjtu
* All Rights Reserved.
*/
package cn.jx.ecjtu.oa.ps.dao;
import java.util.List;
import cn.jx.ecjtu.oa.ps.pojo.AttendRecord;
/**
* @todo:Description
* @author Noel Han
* @version $Revision: 1.10 $
* @since 1.0
*/
public interface AttendRecordDao {
/**
* 保存考勤记录
* @param record
* @return
*/
public int save(AttendRecord record);
/**
* 删除考勤记录
* @param recordId
* @return
*/
public int remove(int recordId);
/**
* 更新考勤记录
* @param record
* @return
*/
public int update(AttendRecord record);
/**
* 查询考勤记录
* @param userId
* @param from
* @param to
* @param typeId
* @return
*/
public List find(int userId, String from, String to,
int appTypeId);
/**
* 统计考勤记录
* @param userId
* @param from
* @param to
* @param typeId
* @return
*/
public int count(int userId, String from, String to, int appTypeId);
/**
* 通过记录ID查找记录
* @param recordId
* @return
*/
public AttendRecord findByRecordId(int recordId);
/**
* 通过考勤类型获得短消息模板
* @param typeId
* @return
*/
public String getMsgModel(int appTypeId);
/**
* 找到可以进行返回登记的记录
* @return
*/
public AttendRecord findToSign(int userId);
/**
* 通过申请的状态和类型查找
* @return
*/
public List findByStatusAndType(int statusId, int appTypeId);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -