Commit c25d5846c63a3f15abd4b0ceacccfaabc53c9016

Authored by 王通
2 parents a21ff443 4dfa811a

Merge remote-tracking branch 'origin/pudong' into pudong

... ... @@ -194,6 +194,12 @@
194 194 <groupId>net.sourceforge.jexcelapi</groupId>
195 195 <artifactId>jxl</artifactId>
196 196 <version>2.6.12</version>
  197 + <exclusions>
  198 + <exclusion>
  199 + <groupId>log4j</groupId>
  200 + <artifactId>log4j</artifactId>
  201 + </exclusion>
  202 + </exclusions>
197 203 </dependency>
198 204 <dependency>
199 205 <groupId>rhino</groupId>
... ... @@ -320,6 +326,10 @@
320 326 <version>3.4.5</version>
321 327 <exclusions>
322 328 <exclusion>
  329 + <groupId>log4j</groupId>
  330 + <artifactId>log4j</artifactId>
  331 + </exclusion>
  332 + <exclusion>
323 333 <groupId>org.slf4j</groupId>
324 334 <artifactId>slf4j-log4j12</artifactId>
325 335 </exclusion>
... ... @@ -330,6 +340,12 @@
330 340 <groupId>com.101tec</groupId>
331 341 <artifactId>zkclient</artifactId>
332 342 <version>0.3</version>
  343 + <exclusions>
  344 + <exclusion>
  345 + <groupId>log4j</groupId>
  346 + <artifactId>log4j</artifactId>
  347 + </exclusion>
  348 + </exclusions>
333 349 </dependency>
334 350  
335 351 <!-- plan common工程依赖 -->
... ...
src/main/resources/dubbo/config-dev.properties
... ... @@ -2,6 +2,9 @@
2 2 spring.dubbo.application.name=bsth_control_v_multi_service
3 3 # zookeeper注册中心地址
4 4 spring.dubbo.registry=zookeeper://127.0.0.1:2181
  5 +# protocol配置
  6 +spring.dubbo.protocol.name=dubbo
  7 +spring.dubbo.protocol.port=30881
5 8  
6 9 #----------- dubbo:consumer 性能调优选项 -------------#
7 10 # 远程服务调用超时时间,单位毫秒,这里设置30分钟
... ...
src/main/resources/dubbo/config-prod.properties
... ... @@ -2,6 +2,9 @@
2 2 spring.dubbo.application.name=bsth_control_v_multi_service
3 3 # zookeeper注册中心地址
4 4 spring.dubbo.registry=zookeeper://127.0.0.1:2181
  5 +# protocol配置
  6 +spring.dubbo.protocol.name=dubbo
  7 +spring.dubbo.protocol.port=30881
5 8  
6 9 #----------- dubbo:consumer 性能调优选项 -------------#
7 10 # 远程服务调用超时时间,单位毫秒,这里设置30分钟
... ...
src/main/resources/dubbo/config-prodtest.properties
... ... @@ -2,6 +2,9 @@
2 2 spring.dubbo.application.name=bsth_control_v2
3 3 # zookeeper注册中心地址
4 4 spring.dubbo.registry=zookeeper://127.0.0.1:2181
  5 +# protocol配置
  6 +spring.dubbo.protocol.name=dubbo
  7 +spring.dubbo.protocol.port=30881
5 8  
6 9 #----------- dubbo:consumer 性能调优选项 -------------#
7 10 # 远程服务调用超时时间,单位毫秒,这里设置30分钟
... ...
src/main/resources/static/pages/forms/calc/calcsingledata.html
1   -<style type="text/css">
  1 +<style type="text/css">
2 2 .table-bordered {
3 3 border: 1px solid; }
4 4 .table-bordered > thead > tr > th,
... ... @@ -40,14 +40,6 @@
40 40 <span class="item-label" style="width: 80px;">线路: </span>
41 41 <select class="form-control" name="line" id="line" style="width: 140px;"></select>
42 42 </div>
43   - <div style="display: inline-block; margin-left: 18px;" id="sfdcDiv">
44   - <span class="item-label" style="width: 80px;">是否电车: </span>
45   - <select class="form-control form-filter " name="sfdc" id="sfdc">
46   - <option value="">请选择...</option>
47   - <option value="0">否</option>
48   - <option value="1">是</option>
49   - </select>
50   - </div>
51 43 <div style="margin-top: 10px"></div>
52 44 <div style="display: inline-block;margin-left: 3px;">
53 45 <span class="item-label" style="width: 140px;">开始时间: </span>
... ... @@ -108,7 +100,6 @@
108 100 if (!$('body').hasClass('page-sidebar-closed'))
109 101 $('.menu-toggler.sidebar-toggler').click();
110 102  
111   -
112 103 var d = new Date();
113 104 d.setTime(d.getTime() - 4*1000*60*60*24);
114 105 var year = d.getFullYear();
... ... @@ -118,20 +109,13 @@
118 109 month = "0" + month;
119 110 if(day < 10)
120 111 day = "0" + day;
121   - var dateTime = year + "-" + month + "-" + day;
122   - $("#startDate").datetimepicker({
123   - format : 'YYYY-MM-DD',
124   - locale : 'zh-cn',
125   - maxDate : dateTime
126   - });
127   - $("#endDate").datetimepicker({
  112 +
  113 + $("#startDate,#endDate").datetimepicker({
128 114 format : 'YYYY-MM-DD',
129 115 locale : 'zh-cn',
130   - maxDate : dateTime
  116 + maxDate : year + "-" + month + "-" + day
131 117 });
132   - $("#startDate").val(dateTime);
133   - $("#endDate").val(dateTime);
134   -
  118 + $("#startDate,#endDate").val(year + "-" + month + "-" + day);
135 119  
136 120 var fage=false;
137 121 var xlList;
... ... @@ -211,8 +195,6 @@
211 195 }
212 196 });
213 197  
214   - $("#sfdcDiv").hide();
215   -
216 198 var cont = "驾驶员", cont1 = "", cont2 = "", cont3 = "";
217 199 $("#tjtype").on("change",function(){
218 200 if(cont == "驾驶员"){
... ... @@ -225,13 +207,10 @@
225 207 cont = $("#tjtype").val();
226 208 if($("#tjtype").val() == "驾驶员"){
227 209 $("#cont").val(cont1);
228   - $("#sfdcDiv").hide();
229 210 } else if($("#tjtype").val() == "售票员"){
230 211 $("#cont").val(cont2);
231   - $("#sfdcDiv").hide();
232 212 } else if($("#tjtype").val() == "车辆自编号"){
233 213 $("#cont").val(cont3);
234   - $("#sfdcDiv").show();
235 214 }
236 215 });
237 216  
... ... @@ -252,10 +231,9 @@
252 231 var fgsdmSing = $("#fgsdmSing").val();
253 232 var tjtype=$("#tjtype").val();
254 233 var cont=$("#cont").val();
255   - var sfdc=$("#sfdc").val();
256 234 var params = {};
257 235 var i = layer.load(2);
258   - $get("/calc_mix/singledatatj",{gsdmSing:gsdmSing,fgsdmSing:fgsdmSing,line:line,startDate:startDate,endDate:endDate,tjtype:tjtype,cont:cont,sfdc:sfdc},function(result){
  236 + $get("/calc_mix/singledatatj",{gsdmSing:gsdmSing,fgsdmSing:fgsdmSing,line:line,startDate:startDate,endDate:endDate,tjtype:tjtype,cont:cont},function(result){
259 237 layer.close(i);
260 238 var singledata = template('singledata',{list:result});
261 239 // 把渲染好的模版html文本追加到表格中
... ... @@ -271,12 +249,11 @@
271 249 var fgsdmSing = $("#fgsdmSing").val();
272 250 var tjtype=$("#tjtype").val();
273 251 var cont=$("#cont").val();
274   - var sfdc=$("#sfdc").val();
275 252 var lineName = $('#line option:selected').text();
276 253 if(lineName == "全部线路")
277 254 lineName = $('#fgsdmSing option:selected').text();
278 255 var i = layer.load(2);
279   - $get('/calc_export/singledataExportTj',{gsdmSing:gsdmSing,fgsdmSing:fgsdmSing,line:line,startDate:startDate,endDate:endDate,tjtype:tjtype,cont:cont,sfdc:sfdc,type:'export',lineName:lineName},function(result){
  256 + $get('/calc_export/singledataExportTj',{gsdmSing:gsdmSing,fgsdmSing:fgsdmSing,line:line,startDate:startDate,endDate:endDate,tjtype:tjtype,cont:cont,type:'export',lineName:lineName},function(result){
280 257 var dateTime = "";
281 258 if(startDate == endDate){
282 259 dateTime = moment(startDate).format("YYYYMMDD");
... ...
src/main/resources/static/pages/forms/calc/statisticsDaily.html
1   -<style type="text/css">
  1 +<style type="text/css">
2 2 .table-bordered {
3 3 border: 1px solid; }
4 4 .table-bordered > thead > tr > th,
... ... @@ -150,7 +150,7 @@
150 150 $('.menu-toggler.sidebar-toggler').click();
151 151  
152 152 var d = new Date();
153   - d.setTime(d.getTime() - 1*1000*60*60*24);
  153 + d.setTime(d.getTime() - 4*1000*60*60*24);
154 154 var year = d.getFullYear();
155 155 var month = d.getMonth() + 1;
156 156 var day = d.getDate();
... ...
src/main/resources/static/pages/mforms/turnoutrates/calcTurnoutrate.html
1   -<style type="text/css">
  1 +<style type="text/css">
2 2 .table-bordered {
3 3 border: 1px solid; }
4 4 .table-bordered > thead > tr > th,
... ... @@ -123,7 +123,7 @@
123 123  
124 124  
125 125 var d = new Date();
126   - d.setTime(d.getTime() - 1*1000*60*60*24);
  126 + //d.setTime(d.getTime() - 1*1000*60*60*24);
127 127 var year = d.getFullYear();
128 128 var month = d.getMonth() + 1;
129 129 var day = d.getDate();
... ...
src/main/resources/static/pages/mforms/turnoutrates/calcTurnoutrateZgf.html
1   -<style type="text/css">
  1 +<style type="text/css">
2 2 .table-bordered {
3 3 border: 1px solid; }
4 4 .table-bordered > thead > tr > th,
... ... @@ -113,7 +113,7 @@
113 113  
114 114  
115 115 var d = new Date();
116   - d.setTime(d.getTime() - 1*1000*60*60*24);
  116 + //d.setTime(d.getTime() - 1*1000*60*60*24);
117 117 var year = d.getFullYear();
118 118 var month = d.getMonth() + 1;
119 119 var day = d.getDate();
... ...