|
|
|
|
<?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>JobSendRequest</name>
|
|
|
|
|
<group>SendRequest</group>
|
|
|
|
|
<description>发送数据请求</description>
|
|
|
|
|
<job-type>JobReqWebData.JobSendRequest,JobReqWebData</job-type>
|
|
|
|
|
<durable>true</durable>
|
|
|
|
|
<recover>false</recover>
|
|
|
|
|
<job-data-map>
|
|
|
|
|
<!--连接字符串-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ConnectString</key>
|
|
|
|
|
<value>Data Source=47.105.157.231;Initial Catalog=Shippingweb;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--查询SQL-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>QuerySql</key>
|
|
|
|
|
<value>
|
|
|
|
|
select MBLNO,C.YARDCODE as YARDNAME,'' as WEBUSERNAME,'' as WEBUSERPASS FROM OP_SEAE b
|
|
|
|
|
left join code_yarddata_set c on (c.YARD=b.YARD) WHERE MBLNO!='' AND ETD>=GETDATE()-30 AND ETD<=GETDATE()+10 AND ISNULL(C.YARDCODE,'')!=''
|
|
|
|
|
and not exists (SELECT 1 FROM op_status s where s.bsno=b.bsno and s.STATUS='重箱返场')
|
|
|
|
|
UNION
|
|
|
|
|
select MBLNO,'YGT' as YARDNAME,'15163472790' as WEBUSERNAME,'19861115qq' as WEBUSERPASS FROM OP_SEAE b
|
|
|
|
|
WHERE MBLNO!='' AND ETD>=GETDATE()-10 AND ETD<=GETDATE()+10 AND
|
|
|
|
|
exists (SELECT 1 FROM op_status s where s.bsno=b.bsno and s.STATUS='空箱出场' )
|
|
|
|
|
and not EXISTS (SELECT 1 FROM op_status s where s.bsno=b.bsno and s.STATUS='装船出运')
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--请求url-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ReqUrl</key>
|
|
|
|
|
<value>http://47.104.90.170:5000/save</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--客户名-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Customer</key>
|
|
|
|
|
<value>SDBT</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--密码-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Password</key>
|
|
|
|
|
<value>abc123</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--请求超时(单位:秒)-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>RequestTimeout</key>
|
|
|
|
|
<value>30</value>
|
|
|
|
|
</entry>
|
|
|
|
|
</job-data-map>
|
|
|
|
|
</job>
|
|
|
|
|
|
|
|
|
|
<!-- 发送请求数据任务触发器-->
|
|
|
|
|
<trigger>
|
|
|
|
|
<cron>
|
|
|
|
|
<name>TriggerSendRequest</name>
|
|
|
|
|
<group>SendRequest</group>
|
|
|
|
|
<description>发送数据请求触发器</description>
|
|
|
|
|
<job-name>JobSendRequest</job-name>
|
|
|
|
|
<job-group>SendRequest</job-group>
|
|
|
|
|
<cron-expression>0 0/10 * * * ? *</cron-expression>
|
|
|
|
|
</cron>
|
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
<!--获取数据任务-->
|
|
|
|
|
<job>
|
|
|
|
|
<name>JobGetData</name>
|
|
|
|
|
<group>GetData</group>
|
|
|
|
|
<description>获取数据</description>
|
|
|
|
|
<job-type>JobReqWebData.JobGetData,JobReqWebData</job-type>
|
|
|
|
|
<durable>true</durable>
|
|
|
|
|
<recover>false</recover>
|
|
|
|
|
<job-data-map>
|
|
|
|
|
<!--请求url-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ReqUrl</key>
|
|
|
|
|
<value>http://47.104.90.170:5000/extract</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--连接字符串-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ConnectString</key>
|
|
|
|
|
<value>Data Source=47.105.157.231;Initial Catalog=Shippingweb;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--客户名-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Customer</key>
|
|
|
|
|
<value>SDBT</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--密码-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Password</key>
|
|
|
|
|
<value>abc123</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--请求超时(单位:秒)-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>RequestTimeout</key>
|
|
|
|
|
<value>60</value>
|
|
|
|
|
</entry>
|
|
|
|
|
</job-data-map>
|
|
|
|
|
</job>
|
|
|
|
|
|
|
|
|
|
<!-- 获取数据任务触发器-->
|
|
|
|
|
<trigger>
|
|
|
|
|
<cron>
|
|
|
|
|
<name>TriggerGetData</name>
|
|
|
|
|
<group>GetData</group>
|
|
|
|
|
<description>获取数据触发器</description>
|
|
|
|
|
<job-name>JobGetData</job-name>
|
|
|
|
|
<job-group>GetData</job-group>
|
|
|
|
|
<cron-expression>0 0/3 * * * ? *</cron-expression>
|
|
|
|
|
</cron>
|
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
<!--发送账号任务-->
|
|
|
|
|
<job>
|
|
|
|
|
<name>JobSendAccount</name>
|
|
|
|
|
<group>SendAccount</group>
|
|
|
|
|
<description>获取数据</description>
|
|
|
|
|
<job-type>JobReqWebData.JobSendAccount,JobReqWebData</job-type>
|
|
|
|
|
<durable>true</durable>
|
|
|
|
|
<recover>false</recover>
|
|
|
|
|
<job-data-map>
|
|
|
|
|
<!--请求url-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ReqUrl</key>
|
|
|
|
|
<value>http://47.104.90.170:5000/account/password</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--客户名-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Customer</key>
|
|
|
|
|
<value>SDBT</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--密码-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>Password</key>
|
|
|
|
|
<value>abc123</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--请求超时(单位:秒)-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>RequestTimeout</key>
|
|
|
|
|
<value>30</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--账号密码json-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>AccountJson</key>
|
|
|
|
|
<value>
|
|
|
|
|
[{
|
|
|
|
|
"WEBUSERNAME": "18560748070",
|
|
|
|
|
"WEBPASSWORD": "SDbt8888",
|
|
|
|
|
"YARDNAME": "YGT"
|
|
|
|
|
},{
|
|
|
|
|
"WEBUSERNAME": "18678203935",
|
|
|
|
|
"WEBPASSWORD": "Qd123456",
|
|
|
|
|
"YARDNAME": "YGT"
|
|
|
|
|
},{
|
|
|
|
|
"WEBUSERNAME": "13805337465",
|
|
|
|
|
"WEBPASSWORD": "QingDao123",
|
|
|
|
|
"YARDNAME": "YGT"
|
|
|
|
|
}]
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
</job-data-map>
|
|
|
|
|
</job>
|
|
|
|
|
|
|
|
|
|
<!-- 发送账号任务触发器-->
|
|
|
|
|
<trigger>
|
|
|
|
|
<simple>
|
|
|
|
|
<name>TriggerSendAccount</name>
|
|
|
|
|
<group>SendAccount</group>
|
|
|
|
|
<description>发送账号任务触发器</description>
|
|
|
|
|
<job-name>JobSendAccount</job-name>
|
|
|
|
|
<job-group>SendAccount</job-group>
|
|
|
|
|
<repeat-count>0</repeat-count>
|
|
|
|
|
<repeat-interval>0</repeat-interval>
|
|
|
|
|
</simple>
|
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<4.1>浩宏需求 箱满仓的外运费用 发送请求数据任务-->
|
|
|
|
|
<job>
|
|
|
|
|
<name>JobXmcSend</name>
|
|
|
|
|
<group>JobXmcSend</group>
|
|
|
|
|
<description>发送数据请求</description>
|
|
|
|
|
<job-type>JobReqWebData.JobXmcSend,JobReqWebData</job-type>
|
|
|
|
|
<durable>true</durable>
|
|
|
|
|
<recover>false</recover>
|
|
|
|
|
<job-data-map>
|
|
|
|
|
<!--连接字符串-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ConnectString</key>
|
|
|
|
|
<value>Data Source=qdhaohong.dongshengsoft.net;Initial Catalog=ShippingWeb_QDHH;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--查询SQL-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>QuerySql</key>
|
|
|
|
|
<value>
|
|
|
|
|
select MBLNO,'XMC' as YARDNAME FROM OP_SEAE b left join code_yarddata_set c on (c.YARD=b.YARD) WHERE MBLNO<>'' AND ETD>=CONVERT(DATETIME,CONVERT(VARCHAR(10),dateadd(day,-90,GETDATE()),21)) AND ETD<CONVERT(DATETIME,CONVERT(VARCHAR(10),dateadd(day,-60,GETDATE()),21)) AND FORWARDER = '山东外运'
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<!--请求url-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ReqUrl</key>
|
|
|
|
|
<value>
|
|
|
|
|
http://47.104.90.170:6000/xmc/savedata
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
<entry>
|
|
|
|
|
<key>custname</key>
|
|
|
|
|
<value>
|
|
|
|
|
QDHH
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<entry>
|
|
|
|
|
<key>custpsw</key>
|
|
|
|
|
<value>
|
|
|
|
|
QDHH123
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
<!--请求超时(单位:秒)-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>RequestTimeout</key>
|
|
|
|
|
<value>60</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
</job-data-map>
|
|
|
|
|
</job>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
<cron>
|
|
|
|
|
<name>TriggerJobXmcSend</name>
|
|
|
|
|
<group>JobXmcSend</group>
|
|
|
|
|
<description>发送数据请求触发器</description>
|
|
|
|
|
<job-name>JobXmcSend</job-name>
|
|
|
|
|
<job-group>JobXmcSend</job-group>
|
|
|
|
|
<cron-expression>0 0/1 0 * * ? *</cron-expression>
|
|
|
|
|
</cron>
|
|
|
|
|
</trigger>
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
|
<trigger>
|
|
|
|
|
<simple>
|
|
|
|
|
<name>TriggerJobXmcSend</name>
|
|
|
|
|
<group>JobXmcSend</group>
|
|
|
|
|
<description>发送数据请求触发器</description>
|
|
|
|
|
<job-name>JobXmcSend</job-name>
|
|
|
|
|
<job-group>JobXmcSend</job-group>
|
|
|
|
|
<repeat-count>0</repeat-count>
|
|
|
|
|
<repeat-interval>0</repeat-interval>
|
|
|
|
|
</simple>
|
|
|
|
|
</trigger>
|
|
|
|
|
-->
|
|
|
|
|
<trigger>
|
|
|
|
|
<cron>
|
|
|
|
|
<name>TriggerJobXmcSend</name>
|
|
|
|
|
<group>JobXmcSend</group>
|
|
|
|
|
<description>发送数据请求触发器</description>
|
|
|
|
|
<job-name>JobXmcSend</job-name>
|
|
|
|
|
<job-group>JobXmcSend</job-group>
|
|
|
|
|
<cron-expression>0 45 17 1/1 * ? *</cron-expression>
|
|
|
|
|
</cron>
|
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <4.2>浩宏需求 从 箱满仓 获取应付费用 并与本地相同提单号业务对比
|
|
|
|
|
读取信息
|
|
|
|
|
-->
|
|
|
|
|
<job>
|
|
|
|
|
<name>JobXmcGet</name>
|
|
|
|
|
<group>JobXmcGet</group>
|
|
|
|
|
<description>箱满仓按提单号取费用_获取</description>
|
|
|
|
|
<job-type>JobReqWebData.JobXmcGet,JobReqWebData</job-type>
|
|
|
|
|
<durable>true</durable>
|
|
|
|
|
<recover>false</recover>
|
|
|
|
|
<job-data-map>
|
|
|
|
|
|
|
|
|
|
<!--连接字符串-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ConnectString</key>
|
|
|
|
|
<value>Data Source=qdhaohong.dongshengsoft.net;Initial Catalog=ShippingWeb_QDHH;Persist Security Info=True;User ID=sa;Password=Ds20040201</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
<!--请求url-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>ReqUrl</key>
|
|
|
|
|
<value>
|
|
|
|
|
http://47.104.90.170:6000/xmc/extract
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
<entry>
|
|
|
|
|
<key>custname</key>
|
|
|
|
|
<value>
|
|
|
|
|
QDHH
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
<entry>
|
|
|
|
|
<key>custpsw</key>
|
|
|
|
|
<value>
|
|
|
|
|
QDHH123
|
|
|
|
|
</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
<!--请求超时(单位:秒)-->
|
|
|
|
|
<entry>
|
|
|
|
|
<key>RequestTimeout</key>
|
|
|
|
|
<value>60</value>
|
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
|
|
</job-data-map>
|
|
|
|
|
</job>
|
|
|
|
|
|
|
|
|
|
<!-- <4.2>浩宏需求 读取信息 触发器-->
|
|
|
|
|
<trigger>
|
|
|
|
|
<cron>
|
|
|
|
|
<name>TriggerXmcGet</name>
|
|
|
|
|
<group>JobXmcGet</group>
|
|
|
|
|
<description>箱满仓按提单号取费用_读取信息触发器</description>
|
|
|
|
|
<job-name>JobXmcGet</job-name>
|
|
|
|
|
<job-group>JobXmcGet</job-group>
|
|
|
|
|
<cron-expression>0 0/2 * * * ? *</cron-expression>
|
|
|
|
|
</cron>
|
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
</schedule>
|
|
|
|
|
</job-scheduling-data>
|