true JobSendBooking Job 订阅数据 JobSendAgentMail.JobSendBooking,JobSendAgentMail true false ConnectString Data Source=www.perways.net,18866;Initial Catalog=ShippingWeb_SZYT;Persist Security Info=True;User ID=sa;Password=Ds20040201 QuerySql select BSNO,MBLNO,ORDERNO,OPERATORFAX AS BLREMARK,AGENTID,BLFRT,PORTLOAD,PORTDISCHARGE,DESTINATION,CONVERT(varchar(100), ETD, 23) AS ETD,ATD,HBLNO,CONVERT(varchar(100), ETA, 23) ETA,CNTRTOTAL,( SELECT CODENAME FROM info_client WHERE SHORTNAME=OP_SEAE.CARRIER) CARRIERID,(CASE WHEN ISSUETYPE='电放' then 'Telex release'else case when ISSUETYPE='正本' then 'Original Bill' else case when ISSUETYPE='SWB' then 'Seaway Bill' else case when issuetype='云提单'then'INTELLIGENT BL'else '' end end end end) ISSUETYPE,(SELECT TOP 1 USERNAME FROM [user] where SHOWNAME=op_seae.OP) OPNAME,(SELECT TOP 1 email1 FROM [VW_user] where SHOWNAME=op_seae.OP) OPEMAIL, (((SELECT TOP 1 EMAIL FROM info_client where SHORTNAME=op_seae.AGENTID ))+';'+( SELECT TOP 1 email1 FROM [VW_userquan] where SHOWNAME=op_seae.SALE )) AGENTEMAIL from op_seae WHERE custno like 'CXE22050397' HblQuerySql select HBLNO,(CASE WHEN ISSUETYPE='电放' then 'Telex release'else case when ISSUETYPE='正本' then 'Original Bill' else case when ISSUETYPE='SWB' then 'Seaway Bill' else case when issuetype='云提单'then'INTELLIGENT BL'else '' end end end end ) ISSUETYPE from op_seae_billmanage DocType PA D7FilePath D:\东胜\DONGSHENGWEB\ MAILSENDACCOUNT szytcus@perways.com MAILSENDPASSWORD PER202100558YT12 MAILSENDSERVICE smtp.263.net MAILSENDPORT 25 MAILISSSL false MAILTEMPLATE MailTemplate.html TriggerBooking Job 订阅数据触发器 JobSendBooking Job 0 34 14 * * ? JobReceiveMail Job 接收邮件 JobSendAgentMail.JobReceiveMail,JobSendAgentMail true false ConnectString Data Source=www.perways.net,18866;Initial Catalog=ShippingWeb_SZYT;Persist Security Info=True;User ID=sa;Password=Ds20040201 QuerySql select BSNO,(SELECT TOP 1 EMAIL FROM info_client WHERE SHORTNAME=op_seae_billmanage.AGENTID) AGENTEMAIL from op_seae_billmanage WHERE AS_ID IN (SELECT BSNO FROM op_seae_edi where HBLNO='@HBLNO') MAILSENDACCOUNT szytcus@perways.com MAILSENDPASSWORD PER202100558YT12 MAILSENDSERVICE smtp.263.net MAILSENDPORT 25 MAILISSSL false MAILTEMPLATE MailTemplate.html TriggerReceiveMail Job 订阅数据触发器 JobReceiveMail Job 0 0/3 * * * ? SendMailJob Job 发送邮件 JobSendAgentMail.SendMailJob,JobSendAgentMail true false ConnectString Data Source=www.perways.net,18866;Initial Catalog=ShippingWeb_SZYT;Persist Security Info=True;User ID=sa;Password=Ds20040201 MAILSENDACCOUNT szytcus@perways.com MAILSENDPASSWORD PER202100558YT12 MAILSENDSERVICE smtp.263.net MAILSENDPORT 25 MAILISSSL false TriggerSendMail Job 订阅数据触发器 SendMailJob Job 0 0/3 * * * ?