📄 overtime.h
字号:
// Overtime.h: interface for the COvertime class.
//
// 1 otDate char(10) 加班日期 Allow Null = False
// 2 EmpId int 员工编号 Allow Null = False
// 3 otHour smallint 加班时数 Allow Null = Faslse 默认值:1
// 4 otType varchar(50) 加班类型(法定节假日,周六日加班,日常加班) Allow Null = Fasle
// 5 Describes varchar(200) 描述 Allow Null = True
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OVERTIME_H__B4F894A6_2EC4_4637_85A1_7E54D94EC80D__INCLUDED_)
#define AFX_OVERTIME_H__B4F894A6_2EC4_4637_85A1_7E54D94EC80D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class COvertime
{
// 定义变量
public:
CString otDate; // 加班日期
long EmpId; // 员工编号
int otHour; // 是否全勤
CString otType; // 是否出差
CString Describes; // 是否病假
public:
COvertime();
virtual ~COvertime();
// 数据库操作
bool HaveEmp(CString paraDate, CString paraEmpId);
void SqlInsert();
void SqlUpdate(CString paraDate, CString paraEmpId);
void SqlDelete(CString paraDate, CString paraEmpId);
};
#endif // !defined(AFX_OVERTIME_H__B4F894A6_2EC4_4637_85A1_7E54D94EC80D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -