You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

277 lines
8.4 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData">
<processing-directives>
<overwrite-existing-data>true</overwrite-existing-data>
</processing-directives>
<schedule>
<!--订阅数据任务-->
<job>
<name>JobCreateFee</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobCreateFee.JobCreateFee,JobAutoCreateFee</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--查询SQL-->
<entry>
<key>QuerySql</key>
<value>
and B.开船日期='2019-11-27'
</value>
</entry>
<entry>
<key>projectquerySql</key>
<value>
and (费用类别='场站' OR 费用类别='VGM' OR 费用类别='代理费')
</value>
</entry>
<!--请求url-->
<entry>
<key>ReqUrl</key>
<value>http://apis.yundangnet.com/api/v1/bookingsv2</value>
</entry>
<!--企业编码-->
<entry>
<key>CompanyCode</key>
<value>3351</value>
</entry>
<!--秘钥-->
<entry>
<key>CompanySecret</key>
<value>ac135977-766f-4bb4-a2a4-6561b438bb0f</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>TriggerBooking</name>
<group>Job</group>
<description>订阅数据触发器</description>
<job-name>JobCreateFee</job-name>
<job-group>Job</job-group>
<cron-expression>0 0/1 * * * ? *</cron-expression>
</cron>
</trigger>
<job>
<name>JobCreateFee2</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobCreateFee.JobCreateFee,JobAutoCreateFee</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--查询SQL-->
<entry>
<key>QuerySql</key>
<value>
and (B.主提单号 IN (SELECT 主提单号 FROM T_OP_SEAE_EDI WHERE CONVERT(varchar(100),录入日期, 23)='2019-11-27'))
</value>
</entry>
<entry>
<key>projectquerySql</key>
<value>
and 费用类别='舱单'
</value>
</entry>
<!--请求url-->
<entry>
<key>ReqUrl</key>
<value>http://apis.yundangnet.com/api/v1/bookingsv2</value>
</entry>
<!--企业编码-->
<entry>
<key>CompanyCode</key>
<value>3351</value>
</entry>
<!--秘钥-->
<entry>
<key>CompanySecret</key>
<value>ac135977-766f-4bb4-a2a4-6561b438bb0f</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>TriggerBooking2</name>
<group>Job</group>
<description>订阅数据触发器</description>
<job-name>JobCreateFee2</job-name>
<job-group>Job</job-group>
<cron-expression>0 0/1 * * * ? *</cron-expression>
</cron>
</trigger>
<!--下载提箱小票打印明细-->
<job>
<name>Jobdowloadtxxp</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobCreateFee.JobDjyXf,JobDjyXf</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--请求地址-->
<entry>
<key>DjyReqUrl</key>
<value>http://apis.yundangnet.com/open/finance/expendlist</value>
</entry>
<!--请求用户代码-->
<entry>
<key>DjyCompanyCode</key>
<value>d85fd590-d9f6-4410-93a1-f6fac77b606e</value>
</entry>
<!--秘钥-->
<entry>
<key>DjyCompanySecret</key>
<value>121212121</value>
</entry>
<!--企业编码-->
<entry>
<key>DjybsType</key>
<value>5</value>
</entry>
<!--船公司-->
<entry>
<key>DjyCarrier</key>
<value>ONE</value>
</entry>
<!--船公司-->
<entry>
<key>DjyCarrier</key>
<value>ONE</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>30</value>
</entry>
</job-data-map>
</job>
<job>
<name>JobBcEdiReply</name>
<group>Job</group>
<description>BC回执</description>
<job-type>JobCreateFee.JobBcEdiReply,JobBcEdiReply</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--BC回执文件夹-->
<entry>
<key>BcPath</key>
<value>d:\BcPath</value>
</entry>
</job-data-map>
</job>
<job>
<name>JobSiEdiReply</name>
<group>Job</group>
<description>截单回执</description>
<job-type>JobCreateFee.JobSiEdiReply,JobSiEdiReply</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--BC回执文件夹-->
<entry>
<key>SiPath</key>
<value>d:\SiPath</value>
</entry>
</job-data-map>
</job>
<job>
<name>JobVgmEdiReply</name>
<group>Job</group>
<description>VGM回执</description>
<job-type>JobCreateFee.JobVgmEdiReply,JobVgmEdiReply</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--BC回执文件夹-->
<entry>
<key>VgmPath</key>
<value>d:\VgmPath</value>
</entry>
</job-data-map>
</job>
<job>
<name>JobDjyFee</name>
<group>Job</group>
<description>订阅大简云账单</description>
<job-type>JobCreateFee.JobDjyFee,JobDjyFee</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=223.223.95.213;Initial Catalog=20191126;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--请求地址-->
<entry>
<key>DjyReqFeeUrl</key>
<value>http://www.myshipping.net:8656/Booking/GetSingleBillData</value>
</entry>
<!--请求用户代码-->
<entry>
<key>DjyFeeCompanyCode</key>
<value>4fb53bc0-8901-4f0d-a34f-c8a7aeb6692e</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>30</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>Triggerdownloadtxxp</name>
<group>Job</group>
<description>下载提箱下票数据触发器</description>
<job-name>Jobdowloadtxxp</job-name>
<job-group>Job</job-group>
<cron-expression>0 0/1 * * * ? *</cron-expression>
</cron>
</trigger>
</schedule>
</job-scheduling-data>