net公司人事管理系统论文内容摘要:

Box 请选择查询条件。 return。 if m_strContent MessageBox 请输入查询内容。 return。 CString strSQL。 if 0 m_nCondition //按部门查询 select * from person where dept 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 1 m_nCondition //按职工职务查询 select * from person where duty 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 2 m_nCondition //按职工职称查询 select * from person where technical 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 3 m_nCondition //按职工类型查询 select * from person where isworker 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 4 m_nCondition //按工资类别查询 select * from person where aboutpay 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 5 m_nCondition //按职工性别查询 select * from person where sex 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 6 m_nCondition //按婚姻状况查询 select * from person where ismarry 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 7 m_nCondition //按职工民族查询 select * from person where folk 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 8 m_nCondition //按政治面貌查询 select * from person where political 39。 %s39。 ,m_strContent。 RefreshData strSQL。 else if 9 m_nCondition //按文化程度查询 select * from person where education 39。 %s39。 ,m_strContent。 RefreshData strSQL。 //设置按钮状态 TRUE。 TRUE。 FALSE。 FALSE。 m_bNew FALSE。 TRUE。 FALSE。 6. 3 人事档案查询 void CSearchDlg::OnButtonSearch // TODO: Add your control notification handler code here UpdateData。 CString strSQL。 CString strTemp。 CString strType。 BOOL bNoCondition TRUE。 //选择是否进行模糊查询 if m_bType strType。 else strType like。 // 根据查询条件构造 SQL 语句/////////////////////////////////////////////// strSQL select * from person where。 if m_strAboutPay! aboutpay %s 39。 %s39。 ,strType,m_strAboutPay。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strDept! dept %s 39。 %s39。 ,strType,m_strDept。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strDuty! duty %s 39。 %s39。 ,strType,m_strDuty。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strEducation! education %s 39。 %s39。 ,strType,m_strEducation。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strFolk! folk %s 39。 %s39。 ,strType,m_strFolk。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strIsWorker! isworker %s 39。 %s39。 ,strType,m_strIsWorker。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strMarry! ismarry %s 39。 %s39。 ,strType,m_strMarry。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strPolitical! political %s 39。 %s39。 ,strType,m_strPolitical。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strSex! sex %s 39。 %s39。 ,strType,m_strSex。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_strTechnical! technical %s 39。 %s39。 ,strType,m_strTechnical。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 if m_nAge 0 age %d ,strType,m_nAge。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNoCondition FALSE。 // MessageBox strSQL。 if m_strDept2! dept2 %s 39。 %s39。 ,strType,m_strDept2。 if !bNoCondition strSQL + and。 strSQL + strTemp。 bNo。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。