- 116.00 KB
- 2022-05-17 13:33:02 发布
- 1、本文档共5页,可阅读全部内容。
- 2、本文档内容版权归属内容提供方,所产生的收益全部归内容提供方所有。如果您对本文有版权争议,可选择认领,认领后既往收益都归您。
- 3、本文档由用户上传,本站不保证质量和数量令人满意,可能有诸多瑕疵,付费之前,请仔细先通过免费阅读内容等途径辨别内容交易风险。如存在严重挂羊头卖狗肉之情形,可联系本站下载客服投诉处理。
- 文档侵权举报电话:19940600175。
题目12“公司员工考勤管理系统设计”1、问题描述某公司需要存储雇员的编号、姓名、性别、所在部门,级别,并进行工资的计算。其中,雇员分为经理、技术人员、销售人员和销售经理。定义一个将小时换成天数的类。转换规则:8小时转换为一天,12小时转换为1.5天。可进行天数的加、减。定义一个记录员工生病、休假时间的类。其中包括:员工生病没工作的天数、生病可以不工作的最多天数、员工已经带薪休假的天数、员工可以带薪休假的天数。公司规定带薪休假不能超过24小时。生病可以不工作的最多不能超过16小时。设计一程序能够对公司人员的休假情况进行管理,应用到继承、抽象类、虚函数、虚基类、多态和文件的输入/输出等内容。2、功能要求(1)添加功能:程序能够任意添加上述四类人员的记录,可提供选择界面供用户选择所要添加的人员类别,要求员工的编号要唯一,如果添加了重复编号的记录时,则提示数据添加重复并取消添加。还可以添加带薪休假和生病休假的记录,每条记录中必须包含员工编号和姓名。(2)查询功能:可根据编号、姓名等信息对已添加的员工信息和休假信息进行查询,如果未找到,给出相应的提示信息,如果找到,则显示相应的记录信息;(3)显示功能:可显示当前系统中所有记录,每条记录占据一行。(4)编辑功能:可根据查询结果对相应的记录进行修改,修改时注意编号的唯一性。(5)删除功能:主要实现对已添加的人员记录和休假记录进行删除。如果当前系统中没有相应的人员记录,则提示“记录为空!”并返回操作。(6)统计功能:能根据多种参数进行人员的统计。例如,统计四类人员数量以及总数,统计任一员工的休假天数等信息。(7)保存功能:可将当前系统中各类人员记录和休假记录存入文件中,存入方式任意。(8)读取功能:可将保存在文件中的信息读入到当前系统中,供用户进行使用。3、问题的解决方案根据系统功能要求,可以将问题解决分为以下步骤:(1)应用系统分析,建立该系统的功能模块框图以及界面的组织和设计;(2)分析系统中的各个实体及它们之间的关系;(3)根据问题描述,设计系统的类层次;(4)完成类层次中各个类的描述;(5)完成类中各个成员函数的定义;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
(6)完成系统的应用模块;(7)功能调试;(8)完成系统总结报告。#import"msado15.dll"no_namespacerename("EOF,"adoEOF")classCADOConnection{private:StaticvoidInitADO();StaticvoidUnInitADO();protected:_ConnectionPtrm_Connection;public:BOOLIsOpen();_ConnectionPtrGetConnection();CstringGetSQLConstr(CStringIP,CStringDBName);BOOLOpen(CStringConStr);CADOConnection();Virtual~CADOConnection();};CADOConnection*GetConnection();IntConCount=0;CADOConnectiong_Connection;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
CADOConnection*GetConnection(){Return&g_Connection;}CADOConnection::CADOConnection(){InitADO();m_Connection.CreateInstance("ADODB.Connection");}CADOConnection::CADOConnection(){If(IsOpen());m_Connection->Close();m_Connection=NULL;UnInitADO();}VoidCADOConnection::InitADO(){If(ConCount++==0)CoInitialize(NULL);};voidCADOConnection::UnInitADO(){membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
if(~ConCount==0)CoUninitialize();};BOOLCADOConnection::Open(CStringConStr){if(IsOpen())m_Connection->Close();m_Connection->Open((_bstr_t)ConStr,","adModeUnknown);returnIsOpen();}CStringCADOConnection::GetSQLConStr(CStringIP,CStringDBName){CStringStr;Str.Format("Provider=SQLOLEDB.1;PersistSecurityInfo=False;UserID=sa;InitialCatalog=%s;DataSource=%s",DBName,IP);returnStr;}_ConnectionPtrCADOConnection::GetConnection(){returnm_Connection:}BOOLCADOConnection::IsOpen()membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{longState;m_Connection->get_State(&State);if(State==adStateOpen)returntrue;returnfalse;}classCADODataSet{protected:_RecoedsetPtrm_DataSet;CADOConnection*m_Connectionpublic:voidDelete();intGetRecordNo();voidmove(intnIndex);voidSave();voidSetFieldValue(CStringFieldName,_variant_tValue);voidAddNew();BOOLNext();FieldsPtrGetFields();intGetRecordCount();voidSetConnetion(CADOConnection*pCon);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
BOOLOpen(CStringSQLStr);CADODataSet();virtual~CADODataSet();private:BOOLIsOpen();};CADODataSet::CADODataSet(){m_DataSet.CreateInstance("ADODB.Recordset");}CADODataSet::~CADODataSet(){if(IsOpen())m_DataSet->Close();m_DataSet=NULL;m_Connection=NULL;}voidCADODataSet::SetConnection(CADOConnection*pCon){m_Connection=pCon;}intCADODataSet::GetRecordCount()membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{if(IsOpen())returnm_DataSet->GetRecordCount();elsereturn0;}BOOLCADODataSet::Open(CStringSQLStr){if(IsOpen)m_DataSet->Close();}BOOLCADODataSet::IsOpen(){longState;m_DataSet->get_State(&State);if(State==adStateOpen)returntrue;returnfalse;}FieldsPtrCADODataSet::GetFields(){returnm_DataSet->GetFields();}membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
BOOLCADODataSet::Next(){if(m_DataSet->adoEOF)retuenfalse;m_DataSet->MoveNext();returntrue;}voidCADODataSet::AddNew(){m_DataSet->AddNew();}voidCADODataSet::SetFieldValue(CStringFieldName,_variant_tValue0){m_DataSet->PutCollect((_bstr_t)FieldName,Value);}voidCADODataSet::Save(){m_DataSet->Upsate();}voidCADODataSet::Move(intnIndex){m_DataSet->MoveFirst();m_DataSet->Move(nIndex);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
}intCADODataSet::GetRecordNO(){returnm_DataSet->AbsolutePositon;}voidCADODataSet::Delete(){m_DateSet->Delete(adAffectCurent);}BOOLCPersonApp::InitInstance(){AfxEnableControlContainer();#ifdef_AFXDLLEnable3dControls();#elseEnable3dControlsStatic();#endifLoadSkin();BOOLbCon=GetConnection()->Open(GetConnection()->GetSQLConStr("127.0.0.1","tb_person"));membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
CLoginDialoglogindlg;if(logindlg.DoModal()!=IDOK)returnfalse;CPersonDlgdlg;m_pMainWnd=&dlg;intnResponse=dlg.DoModal();if(nResponse==IDOK){}elseif(nResponse==IDCANCEL){}returnFALSE;}BOOLCLoginDialog::OnInitDialog(){CDialog::OnInitDialog();m_DataSet.SetConnection(GetConnection());membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_DataSet.Open("Select*FromTab_User");intcount=m_DataSet.GetRecordCount();for(inti=0;iItem[L"UserName"]->Value);m_DataSet.Next();}m_UserList.SetCurSel(0);returnTRUE;}voidCLoginDialog::OnLogin(){CStringsql,user,pass;m_UserList.GetWindowText(user);m_passWord.GetWindowText(pass);sql.Format("Select*Fromtab_userWhereUserName="%s"andPassWord="%s"",user,pass);m_DataSet.Open(sql);if(m_DataSet.GetRecordCount()==1)membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{::SetUserName(user);this->OnOk();}elseAfxMessageBox;}voidCUserManage::UpdateGrid(){m_DataSet.Open("Select*Fromtab_User");m_grid.DeleteAllItems();for(int=0;iItem[L"UserName"]->Value);intno=m_DataSet.GetRecordNo();m_grid.SetItemData(i,no);m_DataSet.Next();}}BOOLCUserManage::OnInitDialog()membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{CDialog::OnInitDialog();m_grid.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);m_grid.InsertColumn(0,"用户名");m_grid.SetColumnWidth(0,150);m_DataSet.SetConnection(::GetConnection());UpdateGrid();returnTRUE;}voidCUserManage::OnAppend(){CUserEdituseredit;if(useredit.DoModal()==IDOK){m_DataSet.AddNew();m_DataSet.SetFieldValue("UserName",(_bstr_t)useredit.name);m_DataSet.Save();UpdateGrid();}}membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
voidCUserManage::OnEdit(){CUserEdituseredit;intno=m_grid.GetItemData(m_grid.GetSelectionMark());m_DataSet.move(no-1);useredit.name=(char*)(_bstr_t)m_DataSet.GetFields()->Item[L"UserName"]->Value;if(useredit.DoModal()==IDOK){m_DataSet.SetFieldValue("UserName",(_bstr_t)useredit.name);m_DataSet.Save();UpdateGrid();}}voidCUserManage::OnDelete(){if(MessageBox("是否删除此记录!","提示",MB_YESNO|MB_ICONWARNING)==IDYES){intno=m_grid.GetItemData(m_grid.GetSelectionMark());m_DataSet.move(no-1);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_DataSet.Delete();m_DataSet.Save();UpdateGrid();}}voidCDeptManage::GetNode(HTREEITEMpNode,intnPid){HTREEITEMnode;CADODataSetDataSet;DataSet.SetConnection(::GetConnection());CStringstr;str.Format("Select*Fromtab_Deptwherepid=%d,nPid");DataSet.Open(str);intcount=DataSet.GetRecordCount();intID;_variant_tvalue;for(inti=0;iItem["DeptName"]->Value,pNode);value=(_vaiant_t)DataSet.GetFields()->Item["ID"]->Value;ID=value.intVal;m_tree.SetItemData(node,ID);GetNode(node,ID);DataSet.Next();}}voidCDeptManage::UpdateDept(){m_tree.DeleteAllItems();GetNode(TVI_ROOT,0);}voidCDeptManage::GetNode(HTREEITEMpNode,intnPid){HTREEITEMnode;CADODataSetDataSet;DataSet.SetConnection(::GetConnection());CStringstr;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
str.Format("Select*Fromtab_Deptwherepid=%d",nPid);DataSet.Open(str);intcount=DataSet.GetRecordCount();intID;_variant_tvalue;for(inti=0;iItem["DeptName"]->Value,pNode);value=(_variant_t)DataSet.GetFields()->Item["ID"]->Value;ID=value.intVal;m_tree.SetItemData(node,ID);GetNode(node,ID);DataSet.Next();}}voidCDeptManage::OnAdd(){CDeptEditdeptedit;if(deptedit.DoModal()==IDOK){HTREEITEMpNode=m_tree.GetSelectedItem();membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
intpID;if(deptedit.isroot)pID=0;elsepID=m_tree.GetItemData(pNode);CADODataSetdataset;dataset.SetConnection(::GetConnection());dataset.Open("Selecttop1*Fromtab_Dept");dataset.AddNew();dataset.SetFieldValue("DeptName",(_variant_t)deptedit.name);dataset.SetFieldValue("memo",(_variant_t)deptedit.memo);dataset.SetFieldValue("PID",(long)pID);dataset.Save();UpdateDept();}}voidCDeptManage::OnEdit(){CDeptEditdeptedit;deptedit.visible=false;HTREEITEMpNode=m_tree.GetSelectedItem();membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
if(pNode==0)return;intpID=m_tree.GetItemData(pNode);CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr;str.Format("Select*Fromtab_Deptwhereid=%d",pID);dataset.Open(str);deptedit.name=(char*)(_bstr_t)dataset.GetFields()->Item[L"DeptName"]->Value;deptedit.memo=(char*)(_bstr_t)dataset.GetFields()->Item["memo"]->Value;if(deptedit.DoModal()==IDOK){dataset.SetFieldValue("DeptName",(_variant_t)deptedit.name);dataset.SetFieldValue("memo",(_variant_t)deptedit.memo);dataset.Save();UpdateDept();}}voidCDeptManage::OnDelete(){HTREEITEMpNode=m_tree.GetSelectedItem();if(pNode==0)return;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
if(MessageBox("是否删除此记录!","提示",MB_YESNO|MB_ICONWARNING)==IDYES){intpID=m_tree.GetItemData(pNode);CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr;str.Format("Select*Fromtab_Deptwhereid=%d",pID);dataset.Open(str);dataset.Delete();dataset.Save();UpdateDept();}}voidCPersonManage::OnSelchangedTreedept(NMHDR*pNMHDR,LRESULT*pResult){NM_TREEVIEW*pNMTreeView=(NM_TREEVIEW*)pNMHDR;m_DeptID=m_tree.GetItemData(pNMTreeView->itemNew.hItem);UpdatePerson();*pResult=0;}membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
voidCPersonManage::UpdatePerson(){m_list.DeleteAllItems();CADODataSetDataSet;DataSet.SetConnection(::GetConnection());CStringstr;if(m_DeptID==-1)str.Format("Select*Fromtab_Employees");elsestr.Format("Select*Fromtab_EmployeeswhereDept=%d",m_DeptID);DataSet.Open(str);intcount=DataSet.GetRecordCount();intn=0;_variant_tvalue;for(inti=0;iItem["Emp_Id"]->Value);value=DataSet.GetFields()->Item["AutoID"]->Value;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetItemData(n,value,lVal);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Emp_NAME"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Sex"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Nationality"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Birth"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Political_Party"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Culture_Level"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Marital_Condition"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Id_Card"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Office_phone"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Mobile"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["HireDate"]->Value);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Duty"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Memo"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Files_Keep_Org"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Hukou"]->Value);m_list.SetItemText(n,index++,(_bstr_t)DataSet.GetFields()->Item["Family_Place"]->Value);n++;DataSet.Next();}}BOOLCPersonManage::OnInitDialog(){CDialog::OnInitDialog();m_DeptID=-1;UpdateDept();inti=0;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"人员编号");m_list.SetColumnWidth(i++,80);m_list.InsertColumn(i,"人员名称");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"性别");m_list.SetColumnWidth(i++,50);m_list.InsertColumn(i,"民族");m_list.SetColumnWidth(i++,50);m_list.InsertColumn(i,"出生日期");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"政治面貌");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"文化程度");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"婚姻状况");membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"身份证号");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"办公电话");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"手机电话");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"到岗日期");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"职务");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"备注");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"家庭住址");m_list.SetColumnWidth(i++,100);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"档案所在地");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"户口所在地");m_list.SetColumnWidth(i++,100);m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);UpdatePerson();returnTRUE;}BOOLCPersonManage::OnInitDialog(){CDialog::OnInitDialog();m_DeptID=-1;UpdateDept();inti=0;m_list.InsertColumn(i,"人员编号");m_list.SetColumnWidth(i++,80);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"人员名称");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"性别");m_list.SetColumnWidth(i++,50);m_list.InsertColumn(i,"民族");m_list.SetColumnWidth(i++,50);m_list.InsertColumn(i,"出生日期");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"政治面貌");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"文化程度");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"婚姻状况");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"身份证号");m_list.SetColumnWidth(i++,100);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"办公电话");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"手机电话");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"到岗日期");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"职务");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"备注");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"家庭住址");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"档案所在地");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"户口所在地");membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetColumnWidth(i++,100);m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);UpdatePerson();returnTRUE;}voidCPersonManage::OnEdit(){if(m_list.GetSelectionMark()==-1)return;intid=m_list.GetItemData(m_list.GetSelectionMark());CPersonEditpersonedit;CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr;str.Format("select*fromtab_Employeeswhereautoid=%d",id);dataset.Open(str);personedit.m_id=(char*)(_bstr_t)dataset.GetFields()->Item["Emp_Id"]->Value;personedit.m_name=(charmembersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
*)(_bstr_t)dataset.GetFields()->Item["Emp_NAME"]->Value;personedit.m_sex=(char*)(_bstr_t)dataset.GetFields()->Item["Sex"]->Value;personedit.m_nationality=(char*)(_bstr_t)dataset.GetFields()->Item["Nationality"]->Value;CStringbirth=(char*)(_bstr_t)dataset.GetFields()->Item["Birth"]->Value;if(!birth.IsEmpty()){//设置日期数据intyy=atoi(birth.Left(4));intmm=atoi(birth.Mid(6,2));intdd=atoi(birth.Mid(9,2));CTimetbirth(yy,mm,dd,0,0,0);personedit.m_birth=tbirth;}personedit.m_farty=(char*)(_bstr_t)dataset.GetFields()->Item["Political_Party"]->Value;personedit.m_culture=(char*)(_bstr_t)dataset.GetFields()->Item["Culture_Level"]->Value;personedit.m_marital=(char*)(_bstr_t)dataset.GetFields()->Item["Marital_Condition"]->Value;personedit.m_card=(charmembersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
*)(_bstr_t)dataset.GetFields()->Item["Id_Card"]->Value;personedit.m_office=(char*)(_bstr_t)dataset.GetFields()->Item["Office_phone"]->Value;personedit.m_mobile=(char*)(_bstr_t)dataset.GetFields()->Item["Mobile"]->Value;CStringhire=(char*)(_bstr_t)dataset.GetFields()->Item["HireDate"]->Value;if(!hire.IsEmpty()){//设置日期数据intyy=atoi(hire.Left(4));intmm=atoi(hire.Mid(6,2));intdd=atoi(hire.Mid(9,2));CTimethire(yy,mm,dd,0,0,0);personedit.m_hire=thire;}personedit.m_duty=(char*)(_bstr_t)dataset.GetFields()->Item["Duty"]->Value;personedit.m_memo=(char*)(_bstr_t)dataset.GetFields()->Item["Memo"]->Value;personedit.m_files=(char*)(_bstr_t)dataset.GetFields()->Item["Files_Keep_Org"]->Value;personedit.m_hukou=membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
(char*)(_bstr_t)dataset.GetFields()->Item["Hukou"]->Value;personedit.m_family=(char*)(_bstr_t)dataset.GetFields()->Item["Family_Place"]->Value;personedit.m_DeptData=dataset.GetFields()->Item["Dept"]->Value;if(personedit.DoModal()==IDOK){dataset.SetFieldValue("Emp_Id",(_bstr_t)personedit.m_id);dataset.SetFieldValue("Emp_NAME",(_bstr_t)personedit.m_name);dataset.SetFieldValue("Sex",(_bstr_t)personedit.m_sex);dataset.SetFieldValue("Nationality",(_bstr_t)personedit.m_nationality);dataset.SetFieldValue("Birth",(_bstr_t)personedit.m_birth.Format("%Y-%m-%d"));dataset.SetFieldValue("Political_Party",(_bstr_t)personedit.m_farty);dataset.SetFieldValue("Culture_Level",(_bstr_t)personedit.m_culture);dataset.SetFieldValue("Marital_Condition",(_bstr_t)personedit.m_marital);dataset.SetFieldValue("Id_Card",(_bstr_t)personedit.m_card);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
dataset.SetFieldValue("Office_phone",(_bstr_t)personedit.m_office);dataset.SetFieldValue("Mobile",(_bstr_t)personedit.m_mobile);dataset.SetFieldValue("HireDate",(_bstr_t)personedit.m_hire.Format("%Y-%m-%d"));dataset.SetFieldValue("Duty",(_bstr_t)personedit.m_duty);dataset.SetFieldValue("Memo",(_bstr_t)personedit.m_memo);dataset.SetFieldValue("Files_Keep_Org",(_bstr_t)personedit.m_files);dataset.SetFieldValue("Hukou",(_bstr_t)personedit.m_hukou);dataset.SetFieldValue("Family_Place",(_bstr_t)personedit.m_family);dataset.SetFieldValue("dept",personedit.m_DeptData);dataset.Save();UpdatePerson();}}voidCPersonManage::OnDelete(){membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
if(MessageBox("是否删除此记录!","提示",MB_YESNO|MB_ICONWARNING)==IDYES){if(m_list.GetSelectionMark()==-1)return;intid=m_list.GetItemData(m_list.GetSelectionMark());CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr;str.Format("select*fromtab_Employeeswhereautoid=%d",id);dataset.Open(str);dataset.Delete();dataset.Save();UpdatePerson();}}CTimeCCheckManage::GetTimeForStr(CStringtimestr){inth,m,s;if(timestr.GetLength()<8)timestr="0"+timestr;h=atoi(timestr.Left(2));membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m=atoi(timestr.Mid(3,2));s=atoi(timestr.Right(2));CTimeresult(2000,1,1,h,m,s);returnresult;}CTimeCCheckManage::GetDateForStr(CStringdatestr){inty,m,d;y=atoi(datestr.Left(4));m=atoi(datestr.Mid(5,2));d=abs(atoi(datestr.Right(2)));CTimeresult(y,m,d,8,0,0);returnresult;}CTimeCCheckManage::DecTime(CTimeone,CTimetwo){intyy,mm,dd,h,s,m,onetemp,twotemp;yy=2000;//one.GetYear();//-two.GetYear();mm=1;dd=1;onetemp=one.GetSecond()+one.GetMinute()*60+one.GetHour()*60*60;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
twotemp=two.GetSecond()+two.GetMinute()*60+two.GetHour()*60*60;if((onetemp-twotemp)<0){h=m=s=0;}else{h=(onetemp-twotemp)/60/60;m=((onetemp-twotemp)-h*60*60)/60;s=((onetemp-twotemp)-h*60*60)-m*60;}CTimetime(yy,mm,dd,h,m,s);returntime;}voidCCheckManage::UpdateList(){this->UpdateData();CStringstr;if(m_check)str.Format("Select*Fromtab_check");membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
else{CStringStarttime,EndTime;Starttime=m_yy+"-"+m_mm+"-1";EndTime.Format("DATEADD(month,1,"%s")",Starttime);if(m_emp=="(全部)")str.Format("Select*Fromtab_checkwherecheckdatebetween"%s"and%s",Starttime,EndTime);elsestr.Format("Select*Fromtab_checkwherename="%s"andcheckdatebetween"%s"and%s",m_emp,Starttime,EndTime);}CADODataSetdataset;dataset.SetConnection(::GetConnection());dataset.Open(str);m_list.DeleteAllItems();for(inti=0;iItem["autoid"]->Value;m_list.InsertItem(i,"");m_list.SetItemData(i,data);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["name"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["ondutytime"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["offdutytime"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["ontime"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["offtime"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["leave"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["onleave"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["offleave"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["latetime"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["leaveearly"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["memo"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["checkdate"]->Value);dataset.Next();}}BOOLCCheckManage::OnInitDialog(){CDialog::OnInitDialog();inti=0;m_list.InsertColumn(i,"人员姓名");m_list.SetColumnWidth(i++,100);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"上班时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"下班时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"上班考勤时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"下班考勤时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"请假类别");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"请假起始时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"请假结束时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"迟到时间");membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"早退时间");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"备注");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"考勤日期");m_list.SetColumnWidth(i++,130);m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);m_check=true;this->UpdateData(false);intcuryear,curmonth;CTimetime(CTime::GetCurrentTime());curyear=time.GetYear();curmonth=time.GetMonth();charvalue[10];for(inty=2000;y<2100;y++){membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
_itoa(y,value,10);m_cyy.InsertString(y-2000,value);}m_cyy.SetCurSel(curyear-2000);for(intn=1;n<=12;n++){_itoa(n,value,10);m_cmm.InsertString(n-1,value);}m_cmm.SetCurSel(curmonth-1);CADODataSetdataset;dataset.SetConnection(::GetConnection());dataset.Open("Select*Fromtab_Employees");m_cemp.InsertString(0,"(全部)");for(intindex=1;index<=dataset.GetRecordCount();index++){m_cemp.InsertString(index,(_bstr_t)dataset.GetFields()->Item["emp_name"]->Value);dataset.Next();}m_cemp.SetCurSel(0);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
UpdateList();returnTRUE;//returnTRUEunlessyousetthefocustoacontrol//EXCEPTION:OCXPropertyPagesshouldreturnFALSE}voidCCheckManage::OnAdd(){CCheckEditcheckedit;if(checkedit.DoModal()==IDOK){CStringtime;CStringstr="Selecttop1*Fromtab_check";CADODataSetdataset;dataset.SetConnection(::GetConnection());dataset.Open(str);dataset.AddNew();dataset.SetFieldValue("name",(_bstr_t)checkedit.m_name);dataset.SetFieldValue("checkdate",(_bstr_t)checkedit.m_datecheck.Format("%Y-%m-%d"));membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
dataset.SetFieldValue("ondutytime",(_bstr_t)checkedit.m_timeonduty.Format("%H:%M:%S"));dataset.SetFieldValue("offdutytime",(_bstr_t)checkedit.m_timeoffduty.Format("%H:%M:%S"));dataset.SetFieldValue("ontime",(_bstr_t)checkedit.m_timeon.Format("%H:%M:%S"));dataset.SetFieldValue("offtime",(_bstr_t)checkedit.m_timeoff.Format("%H:%M:%S"));dataset.SetFieldValue("leave",(_bstr_t)checkedit.m_leave);dataset.SetFieldValue("onleave",(_bstr_t)checkedit.m_timeonleave.Format("%H:%M:%S"));dataset.SetFieldValue("offleave",(_bstr_t)checkedit.m_timeoffleave.Format("%H:%M:%S"));dataset.SetFieldValue("memo",(_bstr_t)checkedit.m_memo);CTimelatetime=DecTime(checkedit.m_timeon,checkedit.m_timeonduty);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
time.Format("%d:%d:%d",latetime.GetHour(),latetime.GetMinute(),latetime.GetSecond());dataset.SetFieldValue("latetime",(_bstr_t)time);CTimeleaveearly=DecTime(checkedit.m_timeoff,checkedit.m_timeoffduty);time.Format("%d:%d:%d",leaveearly.GetHour(),leaveearly.GetMinute(),leaveearly.GetSecond());dataset.SetFieldValue("leaveearly",(_bstr_t)time);dataset.Save();UpdateList();}}voidCCheckManage::OnEdit(){if(m_list.GetSelectionMark()==-1)return;intid=m_list.GetItemData(m_list.GetSelectionMark());CCheckEditcheckedit;CStringstr;str.Format("Select*Fromtab_checkwhereautoid=%d",id);CADODataSetdataset;membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
dataset.SetConnection(::GetConnection());dataset.Open(str);checkedit.m_name=(char*)(_bstr_t)dataset.GetFields()->Item["name"]->Value;checkedit.m_timeonduty=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["ondutytime"]->Value);checkedit.m_timeoffduty=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["offdutytime"]->Value);checkedit.m_timeon=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["ontime"]->Value);checkedit.m_timeoff=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["offtime"]->Value);checkedit.m_leave=(char*)(_bstr_t)dataset.GetFields()->Item["leave"]->Value;checkedit.m_timeonleave=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["onleave"]->Value);checkedit.m_timeoffleave=GetTimeForStr((char*)(_bstr_t)dataset.GetFields()->Item["offleave"]->Value);checkedit.m_memo=(char*)(_bstr_t)dataset.GetFields()->Item["memo"]->Value;checkedit.m_datecheck=GetDateForStr((char*)(_bstr_t)dataset.GetFields()->Item["checkdate"]->Value);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
if(checkedit.DoModal()==IDOK){CStringtime;dataset.SetFieldValue("name",(_bstr_t)checkedit.m_name);dataset.SetFieldValue("checkdate",(_bstr_t)checkedit.m_datecheck.Format("%Y-%m-%d"));dataset.SetFieldValue("ondutytime",(_bstr_t)checkedit.m_timeonduty.Format("%H:%M:%S"));dataset.SetFieldValue("offdutytime",(_bstr_t)checkedit.m_timeoffduty.Format("%H:%M:%S"));dataset.SetFieldValue("ontime",(_bstr_t)checkedit.m_timeon.Format("%H:%M:%S"));dataset.SetFieldValue("offtime",(_bstr_t)checkedit.m_timeoff.Format("%H:%M:%S"));dataset.SetFieldValue("leave",(_bstr_t)checkedit.m_leave);dataset.SetFieldValue("onleave",(_bstr_t)checkedit.m_timeonleave.Format("%H:%M:%S"));membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
dataset.SetFieldValue("offleave",(_bstr_t)checkedit.m_timeoffleave.Format("%H:%M:%S"));dataset.SetFieldValue("memo",(_bstr_t)checkedit.m_memo);CTimelatetime=DecTime(checkedit.m_timeon,checkedit.m_timeonduty);time.Format("%d:%d:%d",latetime.GetHour(),latetime.GetMinute(),latetime.GetSecond());dataset.SetFieldValue("latetime",(_bstr_t)time);CTimeleaveearly=DecTime(checkedit.m_timeoffduty,checkedit.m_timeoff);time.Format("%d:%d:%d",leaveearly.GetHour(),leaveearly.GetMinute(),leaveearly.GetSecond());dataset.SetFieldValue("leaveearly",(_bstr_t)time);dataset.Save();UpdateList();}}voidCCheckManage::OnDelete()membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{if(MessageBox("是否删除此记录!","提示",MB_YESNO|MB_ICONWARNING)==IDYES){if(m_list.GetSelectionMark()==-1)return;intid=m_list.GetItemData(m_list.GetSelectionMark());CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr;str.Format("select*fromtab_checkwhereautoid=%d",id);dataset.Open(str);dataset.Delete();dataset.Save();UpdateList();}}CStringstr,temp,where,datestr,StartDate,EndDate;StartDate=m_yy+"-"+m_mm+"-1";EndDate.Format("DATEADD(month,1,"%s")",StartDate);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
datestr.Format("between"%s"and%s",StartDate,EndDate);//*/temp+="selectemp.emp_name,ROUND(isnull(works.workday,0),2)";temp+="workday,ROUND(isnull(lates.lateday,0),2)lateday,";temp+="ROUND(isnull(leaveearlys.leaveearlyday,0),2)leaveearlyday,";temp+="ROUND(isnull(bjdays.bjday,0),2)bjday,ROUND(isnull(sjdays.sjday,0),2)sjday";temp+="fromtab_Employeesemp";temp+="leftjoin";temp+="(selectsum(DATEDIFF(second,ontime,offtime))/60.0/60.0/8.0";temp+="asworkday,nameFromtab_checkwherecheckdate%sgroupbyname)";temp+="worksonemp.emp_name=works.name";temp+="leftjoin";temp+="(select(sum(DATEPART(Hour,latetime))*60*60+";temp+="sum(DATEPART(minute,latetime))*60+sum(DATEPART(second,latetime)))";temp+="/60.0/60.0/8.0aslateday,nameFromtab_checkwherecheckdate";temp+="%sgroupbyname)latesonemp.emp_name=lates.name";membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
temp+="leftjoin";temp+="(select(sum(DATEPART(Hour,leaveearly))*60*60+";temp+="sum(DATEPART(minute,leaveearly))*60+sum(DATEPART(second,leaveearly)))";temp+="/60.0/60.0/8.0asleaveearlyday,nameFromtab_checkwhere";temp+="checkdate%sgroupbyname)leaveearlysonemp.emp_name";temp+="=leaveearlys.name";temp+="leftjoin";temp+="(selectisnull(sum(DATEDIFF(second,onleave,offleave))";temp+="/60.0/60.0/8.0,0)asbjday,nameFromtab_checkwhere";temp+="leave="病假"andcheckdate%sgroupbyname)";temp+="bjdaysonemp.emp_name=bjdays.name";temp+="leftjoin";temp+="(selectisnull(sum(DATEDIFF(second,onleave,offleave))";temp+="/60.0/60.0/8.0,0)assjday,nameFromtab_checkwhere";temp+="leave="事假"andcheckdate%sgroupbyname)";temp+="sjdaysonemp.emp_name=sjdays.name";temp+="%s";//*/voidCCheckSum::UpdateList()membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
{m_list.DeleteAllItems();this->UpdateData();CADODataSetdataset;dataset.SetConnection(::GetConnection());CStringstr,temp,where,datestr,StartDate,EndDate;StartDate=m_yy+"-"+m_mm+"-1";EndDate.Format("DATEADD(month,1,"%s")",StartDate);datestr.Format("between"%s"and%s",StartDate,EndDate);//*/temp+="selectemp.emp_name,ROUND(isnull(works.workday,0),2)";temp+="workday,ROUND(isnull(lates.lateday,0),2)lateday,";temp+="ROUND(isnull(leaveearlys.leaveearlyday,0),2)leaveearlyday,";temp+="ROUND(isnull(bjdays.bjday,0),2)bjday,ROUND(isnull(sjdays.sjday,0),2)sjday";temp+="fromtab_Employeesemp";temp+="leftjoin";temp+="(selectsum(DATEDIFF(second,ontime,offtime))/60.0/60.0/8.0";temp+="asworkday,nameFromtab_checkwherecheckdate%sgroupbyname)";membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
temp+="worksonemp.emp_name=works.name";temp+="leftjoin";temp+="(select(sum(DATEPART(Hour,latetime))*60*60+";temp+="sum(DATEPART(minute,latetime))*60+sum(DATEPART(second,latetime)))";temp+="/60.0/60.0/8.0aslateday,nameFromtab_checkwherecheckdate";temp+="%sgroupbyname)latesonemp.emp_name=lates.name";temp+="leftjoin";temp+="(select(sum(DATEPART(Hour,leaveearly))*60*60+";temp+="sum(DATEPART(minute,leaveearly))*60+sum(DATEPART(second,leaveearly)))";temp+="/60.0/60.0/8.0asleaveearlyday,nameFromtab_checkwhere";temp+="checkdate%sgroupbyname)leaveearlysonemp.emp_name";temp+="=leaveearlys.name";temp+="leftjoin";temp+="(selectisnull(sum(DATEDIFF(second,onleave,offleave))";temp+="/60.0/60.0/8.0,0)asbjday,nameFromtab_checkwhere";temp+="leave="病假"andcheckdate%sgroupbyname)";temp+="bjdaysonemp.emp_name=bjdays.name";temp+="leftjoin";temp+="(selectisnull(sum(DATEDIFF(second,onleave,offleave))";membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
temp+="/60.0/60.0/8.0,0)assjday,nameFromtab_checkwhere";temp+="leave="事假"andcheckdate%sgroupbyname)";temp+="sjdaysonemp.emp_name=sjdays.name";temp+="%s";//*///where.Format("whereemp.emp_name="%s"",m_emp);if(m_emp=="(全部)")str.Format(temp,datestr,datestr,datestr,datestr,datestr,"");elsestr.Format(temp,datestr,datestr,datestr,datestr,datestr,where);//*/dataset.Open(str,adLockUnspecified);for(inti=0;iItem["emp_name"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["workday"]->Value);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["lateday"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["leaveearlyday"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["bjday"]->Value);m_list.SetItemText(i,n++,(_bstr_t)dataset.GetFields()->Item["sjday"]->Value);dataset.Next();}//*/}BOOLCCheckSum::OnInitDialog(){CDialog::OnInitDialog();inti=0;m_list.InsertColumn(i,"人员姓名");m_list.SetColumnWidth(i++,100);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
m_list.InsertColumn(i,"工作总天数");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"迟到总天数");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"早退总天数");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"病假总天数");m_list.SetColumnWidth(i++,100);m_list.InsertColumn(i,"事假总天数");m_list.SetColumnWidth(i++,100);m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);intcuryear,curmonth;CTimetime(CTime::GetCurrentTime());curyear=time.GetYear();curmonth=time.GetMonth();membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
charvalue[10];for(inty=2000;y<2100;y++){_itoa(y,value,10);m_cyy.InsertString(y-2000,value);}m_cyy.SetCurSel(curyear-2000);for(intn=1;n<=12;n++){_itoa(n,value,10);m_cmm.InsertString(n-1,value);}m_cmm.SetCurSel(curmonth-1);CADODataSetdataset;dataset.SetConnection(::GetConnection());dataset.Open("Select*Fromtab_Employees");m_cemp.InsertString(0,"(全部)");for(intindex=1;index<=dataset.GetRecordCount();index++){m_cemp.InsertString(index,(_bstr_t)dataset.GetFields()->Item["emp_name"]->Value);membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
dataset.Next();}m_cemp.SetCurSel(0);UpdateList();returnTRUE;//returnTRUEunlessyousetthefocustoacontrol//EXCEPTION:OCXPropertyPagesshouldreturnFALSE}membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57
membersfromkeyminorityoutreach,promoteacomprehensivestrictlyadministeringthepartyintothebranches,putitintoeverypartymember,givefullplaytoeachpartyorganizationfightfortressfunction,eachtheexemplaryvanguardroleofpartymembers.Istopromotetheinner-partyeducationextendfromtheconcentratededucationtoregulareducation,intheregulareducationefforts,realpartyideologyintheallpartymembersandtheparty"sconstructionthroughsystem.Istoboostthespiritofallpartymembers,educationguideallmembersofthepartyintheirrespectiveworkpositions,responsibleanddependableofficer,makecontributions.Therefore,wemustfromtheheightofpoliticalandglobal,fullyawareof"two"learningtheimportanceofeducation,put"two"educationasamajorpoliticaltaskandpracticewell.Allmemberstoactiveparticipation,reallyinto,in"learn,anddo,andmodified,andpromoting"upperandlowerreallyKungFu,effectiveputthoughtandactionunifiedtoXIGeneralSecretaryofimportantindicatesspiritup,unifiedtoCentralandprovincialofdecisiondeploymentup,soliddolearningeducationthework,effectivedogoodaccountability,caughtinplace,seeeffectiveness,condensedupofficerventure,andpromotedwatertheworkofpowerfulpower.Second,accuratelygraspthe"two"educationalfocus...Marxistpositions,knowingthatgoodtalkshowastrongbeliefinpursuit,historyasspirit,sincerefeelingsforthepeople,pragmaticstyleofthinking,enhancethescientificlevelofthework,andtobetterpromoteourwork.Intermsoflearningmethods,unitsofthepartyorganization,thepartybranchinaccordancewiththeimplementationplan,organizationmembersplannedandsubtopicstolearntocombine57