|
@@ -233,7 +233,7 @@ namespace DAL
|
|
|
{
|
|
|
string sql = "insert into InvitationOfficialActivityData values(@Country,@City,@UnitName,@UnitWeb,@Field,@Address,@UnitInfo,"
|
|
|
+ "@Contact,@Job,@Tel,@Email,@WeChat,@FaceBook,@Ins,@Delegation,@FileName,@FilePath,@SndFileName,@SndFilePath,@OtherInformation,"
|
|
|
- + "@Fax,@Operator,@OperatorDate,@IsDel)";
|
|
|
+ + "@Fax,@Operator,@OperatorDate,@IsDel,@Backdrop)";
|
|
|
|
|
|
SqlParameter[] parameter = new SqlParameter[]{
|
|
|
new SqlParameter("@Country",ctggd.Country),
|
|
@@ -260,6 +260,7 @@ namespace DAL
|
|
|
new SqlParameter("@Operator",ctggd.Operators),
|
|
|
new SqlParameter("@OperatorDate",ctggd.OperatorsDate),
|
|
|
new SqlParameter("@IsDel",ctggd.IsDel),
|
|
|
+ new SqlParameter("@Backdrop",ctggd.Backdrop)
|
|
|
};
|
|
|
|
|
|
if (SqlHelper.ExecuteNonQuery(sql, CommandType.Text, parameter) > 0)
|
|
@@ -277,7 +278,7 @@ namespace DAL
|
|
|
string sql = "update InvitationOfficialActivityData set Country=@Country,City=@City,UnitName=@UnitName,UnitWeb=@UnitWeb,"
|
|
|
+ "Field=@Field,Address=@Address,UnitInfo=@UnitInfo,Contact=@Contact,Job=@Job,Tel=@Tel,Email=@Email,WeChat=@WeChat,"
|
|
|
+ "FaceBook=@FaceBook,Ins=@Ins,Delegation=@Delegation,FileName=@FileName,FilePath=@FilePath,SndFileName=@SndFileName,SndFilePath=@SndFilePath,OtherInformation=@OtherInformation,Fax=@Fax,Operator=@Operator,"
|
|
|
- + "OperatorDate=@OperatorDate,IsDel=@IsDel where Id = @Id";
|
|
|
+ + "OperatorDate=@OperatorDate,IsDel=@IsDel,Backdrop=@Backdrop where Id = @Id";
|
|
|
|
|
|
SqlParameter[] parameter = new SqlParameter[]{
|
|
|
new SqlParameter("@Country",ctggd.Country),
|
|
@@ -304,7 +305,8 @@ namespace DAL
|
|
|
new SqlParameter("@Operator",ctggd.Operators),
|
|
|
new SqlParameter("@OperatorDate",ctggd.OperatorsDate),
|
|
|
new SqlParameter("@IsDel",ctggd.IsDel),
|
|
|
- new SqlParameter("@Id",ctggd.Id)
|
|
|
+ new SqlParameter("@Id",ctggd.Id),
|
|
|
+ new SqlParameter("@Backdrop",ctggd.Backdrop)
|
|
|
};
|
|
|
|
|
|
if (SqlHelper.ExecuteNonQuery(sql, CommandType.Text, parameter) > 0)
|