insert into UserInfo (ID, Name, Password, ShortName, Sex, BirthDate, Duty, OfficialPhone, Fax, MobilePhone, Email, Sequence, IsDirector, Remark, Flag, DepartmentCode, InfoCheckedNumber)
values
(#ID#, #Name#, #Password#, #ShortName#, #Sex#, #BirthDate#, #Duty#,#OfficialPhone#,#Fax#, #MobilePhone#, #Email#, #Sequence#, #IsDirector#, #Remark#, #Flag#, #DepartmentCode#,#InfoCheckedNumber#)
update UserInfo set
Name = #Name#,
Password = #Password#,
ShortName = #ShortName#,
Sex = #Sex#,
BirthDate = #BirthDate#,
Duty = #Duty#,
OfficialPhone = #OfficialPhone#,
Fax = #Fax#,
MobilePhone = #MobilePhone#,
Email = #Email#,
Sequence = #Sequence#,
IsDirector = #IsDirector#,
Remark = #Remark#,
Flag = #Flag#,
DepartmentCode = #DepartmentCode#,
InfoCheckedNumber = #InfoCheckedNumber#
where ID = #ID#
update UserInfo set
Name = #Name#,
Password = #Password#,
ShortName = #ShortName#,
Sex = #Sex#,
BirthDate = #BirthDate#,
Duty = #Duty#,
OfficialPhone = #OfficialPhone#,
Fax = #Fax#,
MobilePhone = #MobilePhone#,
Email = #Email#,
Remark = #Remark#
where ID = #ID#
delete from UserInfo
where ID = #value#