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.
DS7/JobAutoCreateFee/quartz_jobs_D7CreateFee.xml

228 lines
6.5 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>JobD7CreateFee</name>
<group>Job</group>
<description>订阅数据</description>
<job-type>JobCreateFee.JobD7CreateFee,JobAutoCreateFee</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=47.104.21.63,18686;Initial Catalog=TEST;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
</entry>
<!--查询SQL-->
<entry>
<key>QuerySql</key>
<value>
and CONVERT(varchar(100),B.CLOSEDOCDATE, 23)=CONVERT(varchar(100), GETDATE(), 23)
</value>
</entry>
<entry>
<key>projectquerySql</key>
<value>
and 1=1
</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>ENTEROPERATOR</key>
<value>1BEC90E1-9780-472F-90C2-0C6390C044A4</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>JobD7CreateFee</job-name>
<job-group>Job</job-group>
<cron-expression>0 0/5 * * * ? </cron-expression>
</cron>
</trigger>
<job>
<name>JobD7DjyFee</name>
<group>Job</group>
<description>订阅大简云账单</description>
<job-type>JobCreateFee.JobD7DjyFee,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=DONGSHENG;Persist Security Info=True;User ID=sa;Password=Smart*DATA_80120</value>
</entry>
<!--请求地址-->
<entry>
<key>DjyReqFeeUrl</key>
<value>http://www.myshipping.net:8656/Booking/GetSingleBillRecord</value>
</entry>
<!--返回地址-->
<entry>
<key>DjyReturnFeeUrl</key>
<value>http://www.myshipping.net:8656/Booking/SingleBillFeedback</value>
</entry>
<!--请求用户代码-->
<entry>
<key>DjyFeeCompanyCode</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>30</value>
</entry>
<!--默认费用录入ID-->
<entry>
<key>ENTEROPERATOR</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--扣费公司账户-->
<entry>
<key>KFCUSTCODE</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--扣费公司秘钥-->
<entry>
<key>KFCUSTKEY</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--扣费默认人员ID-->
<entry>
<key>KFUSERID</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--扣费接口地址-->
<entry>
<key>KFURL</key>
<value>http://www.myshipping.net:8656</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>triggerJobDjyFee</name>
<group>Job</group>
<description>订阅大简云账单</description>
<job-name>JobD7DjyFee</job-name>
<job-group>Job</job-group>
<cron-expression>0 0 7,12 * * ? </cron-expression>
</cron>
</trigger>
<job>
<name>JobD7CoscoFee</name>
<group>Job</group>
<description>中远账单下载</description>
<job-type>JobCreateFee.JobD7CoscoFee,JobAutoCreateFee</job-type>
<durable>true</durable>
<recover>false</recover>
<job-data-map>
<!--连接字符串-->
<entry>
<key>ConnectString</key>
<value>Data Source=XXXXX;Initial Catalog=DONGSHENG;Persist Security Info=True;User ID=sa;Password=XXXXXXX</value>
</entry>
<!--连接字符串-->
<entry>
<key>BsSql</key>
<value>SELECT BSNO,MBLNO from op_seae WHERE ETD=GETDATE()-3 </value>
</entry>
<!--请求地址-->
<entry>
<key>CoscoReqFeeUrl</key>
<value>http://118.190.106.151:3600/v1/cosco/bill/data</value>
</entry>
<!--请求用户代码-->
<entry>
<key>UserKey</key>
<value>DongSheng</value>
</entry>
<!--请求用户KEY-->
<entry>
<key>UserSecret</key>
<value>ce9b01ce5f5dd29224a086ed00101051</value>
</entry>
<!--请求网站用户代码-->
<entry>
<key>WebAccount</key>
<value>sdhpjhwl03</value>
</entry>
<!--请求网站用户KEY-->
<entry>
<key>WebPassword</key>
<value>gvOI3a7k</value>
</entry>
<!--请求口岸-->
<entry>
<key>CompanyCode</key>
<value>2221</value>
</entry>
<!--请求超时(单位:秒)-->
<entry>
<key>RequestTimeout</key>
<value>60</value>
</entry>
<!--默认费用录入ID-->
<entry>
<key>ENTEROPERATOR</key>
<value>6bb062a3-f1dc-40a0-912b-e51e63cb7930</value>
</entry>
<!--费用录入费用对象-->
<entry>
<key>FEECUSTNAME</key>
<value>中远</value>
</entry>
<!--费用录入默认轧辊他-->
<entry>
<key>FEESTATUS</key>
<value>1</value>
</entry>
</job-data-map>
</job>
<trigger>
<cron>
<name>triggerJobD7CoscoFee</name>
<group>Job</group>
<description>订阅中远账单</description>
<job-name>JobD7CoscoFee</job-name>
<job-group>Job</job-group>
<cron-expression>0 0 22 * * ? </cron-expression>
</cron>
</trigger>
</schedule>
</job-scheduling-data>