if(edimai.F_03_YJZT.IndexOf("Verify Copy of Bill of Lading")>0&&edimai.F_14_hasAttachment==1)
if((edimai.F_03_YJZT.IndexOf("Verify Copy of Bill of Lading")>0||(edimai.F_03_YJZT.IndexOf("ofBill of Lading")>0&&edimai.F_03_YJZT.IndexOf("Verify Copy")>0&&edimai.F_03_YJZT.IndexOf("Maersk :")>=0))&&edimai.F_14_hasAttachment==1)
{
isok=AnalyzeVCMailBusiness(edimai);
}
@ -555,7 +555,7 @@ namespace MailAnalyzeTools
//{
// isok = AnalyzeSeawayMailBusiness(edimai);
//}
elseif((edimai.F_03_YJZT.IndexOf("Waybill of Bill of Lading")>=0))//seaway bill
elseif(((edimai.F_03_YJZT.IndexOf("Waybill of Bill of Lading")>=0))||(edimai.F_03_YJZT.Replace("\n","").Replace("\r","").IndexOf("Maersk : Waybill of Bill of Lading")>=0)||(edimai.F_03_YJZT.Replace("\n","").Replace("\r","").IndexOf("Maersk : of Bill of Lading")>=0))//seaway bill
@ -1528,7 +1576,12 @@ SELECT '{9}' as [任务编号],null as [上级任务号], '{7}' as [任务类型
//业务编号
optsk.F_19SEABH=tbltmp.Rows[0]["编号"].ToString();
varupdatesql_Set2="delete from t_op_seae_msc where 编号='"+optsk.F_19SEABH+"' insert into t_op_seae_msc (编号,状态) VALUES('"+optsk.F_19SEABH+"','"+STATUS+"')";
//var updatesql_Set2 = "delete from t_op_seae_msc where 编号='"+ optsk.F_19SEABH + "' insert into t_op_seae_msc (编号,状态,更新时间) VALUES('" + optsk.F_19SEABH + "','" + STATUS + "',GETDATE())";
varupdatesql_Set2="if (select bsno from t_op_seae_msc where 编号='"+optsk.F_19SEABH+"') is null insert into t_op_seae_msc (编号,状态,更新时间) VALUES('"+optsk.F_19SEABH+"','"+STATUS+"',GETDATE()) "
+" else update t_op_seae_msc set 状态='"+STATUS+"',更新时间=GETDATE() WHERE 编号='"+optsk.F_19SEABH+"'";