Hr_DepartPlanWeek 部门周计划表:DepartMent部门名称,DepartMentID部门ID。
g_group部门表:gname部门名称,gid部门id
根据DepartMentID管理g_group表修改DepartMent
update Hr_DepartPlanWeek set DepartMent=t.gname
from (select gname,gid...
分类:
数据库 时间:
2014-10-30 09:34:31
阅读次数:
195
例子1: 1 1 std::list::iterator i = items.begin(); 2 2 while (i != items.end()) 3 3 { 4 4 bool isActive = (*i)->update(); 5 5 if (!isActive)...
分类:
其他好文 时间:
2014-10-30 07:06:34
阅读次数:
243
Sometimes you may get an error when doing apt-get update, just like this one:To resolve this problem, you just delete all files in /var/lib/apt/lists,...
分类:
其他好文 时间:
2014-10-30 01:42:19
阅读次数:
134
第一种方法:std::list children;for(auto&& child : children) { delete child;}children.clear(); 第二种方法:std::list children;for(auto itr = children.begin(); itr....
分类:
其他好文 时间:
2014-10-30 01:42:05
阅读次数:
207
jquery中的ajax方法参数总是记不住,这里记录一下。1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览...
分类:
Web程序 时间:
2014-10-30 01:33:13
阅读次数:
280
数据库: 结构化查询语言(Structured Query Language)简称SQL; 数据库管理系统(Database Management System)简称DBMS; 数据库管理员(Database Administration)简称DBA,功能是确保DBMS的正常高效运行; 数据库分体验...
分类:
数据库 时间:
2014-10-29 23:55:37
阅读次数:
331
1. Calendar Provider The Calendar Provider is a repository for a user's calendar events. The Calendar Provider API allows you to perform query, inser....
分类:
移动开发 时间:
2014-10-29 23:43:21
阅读次数:
349
if ((Keyboard.Modifiers & ModifierKeys.Control) > 0 && (e.Key == Key.Delete)) { CabinetElement.RemoveActiveCabinets(...
分类:
其他好文 时间:
2014-10-29 23:29:08
阅读次数:
154
$query = "INSERT INTO `{$diy->table}` (`id`, `ifcheck` $addvar) VALUES (NULL, 0 $addvalue); ";
引入phpmailer
添加以下代码:
/*发送邮件*/
$addvalue_ary = explode(',', $addvalue);
//因为DEDE是将所有表单数据提交过来,所...
分类:
Web程序 时间:
2014-10-29 21:38:13
阅读次数:
321
首先我们必须说一下c++中变量的内存空间的分配问题,我们在c++中写一个类,可以在栈上分配内存空间也可以使用new在堆上分配内存空间,如果类对象是在栈上分配的内存空间,这个内存空间的管理就不是我们的事了,但如果是在堆上分配的内存空间,当然需要我们来手动的delete了!cocos2dx采用的是在堆上...
分类:
其他好文 时间:
2014-10-29 21:22:00
阅读次数:
223