Commit 4f6eade043c07c721d6be5c34f18d938726b21c6

Authored by 王通
1 parent 78779524

青浦图例样式

src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
... ... @@ -4195,7 +4195,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf
4195 4195 @Override
4196 4196 public List<ScheduleRealInfo> queryListWaybillQp(String clZbh, String date, String line) {
4197 4197 // TODO Auto-generated method stub
4198   - DecimalFormat format = new DecimalFormat("0.00");
  4198 +// DecimalFormat format = new DecimalFormat("0.00");
4199 4199 List<ScheduleRealInfo> list = null;
4200 4200 list = scheduleRealInfoRepository.queryListWaybill2(clZbh, date, line);
4201 4201 List<ScheduleRealInfo> newList = new ArrayList<ScheduleRealInfo>();
... ... @@ -4220,7 +4220,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
4220 4220  
4221 4221 if (!c.isDestroy()) {
4222 4222 if (c.getMileageType().equals("service")) {
4223   - sjlc += c.getMileage() == null ? 0 : c.getMileage();
  4223 +// sjlc += c.getMileage() == null ? 0 : c.getMileage();
  4224 + sjlc=Arith.add(sjlc, c.getMileage() == null ? 0 : c.getMileage());
4224 4225 }
4225 4226 }
4226 4227  
... ... @@ -4232,7 +4233,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
4232 4233 }
4233 4234 }
4234 4235 }
4235   - s.setSjlc(format.format(sjlc));
  4236 + s.setSjlc(String.valueOf(sjlc));
4236 4237 s.setRemarks(remarks);
4237 4238 newList.add(s);
4238 4239 }
... ...
src/main/resources/application-prod.properties
... ... @@ -2,7 +2,7 @@ server.port=9088
2 2 management.port= 9001
3 3 management.address= 127.0.0.1
4 4  
5   -spring.jpa.hibernate.ddl-auto= update
  5 +spring.jpa.hibernate.ddl-auto= none
6 6 spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy
7 7 #DATABASE
8 8 spring.jpa.database= MYSQL
... ...
src/main/resources/static/real_control_v2/css/line_schedule.css
... ... @@ -13,16 +13,15 @@
13 13  
14 14 .line_schedule div.uk-width-1-6, .line_schedule div.uk-width-1-2 {
15 15 padding: 0 2px 2px 2px;
16   - height: 100%;
17 16 }
18 17  
19 18 .line_schedule .footer-chart {
20   - height: 233px;
  19 + height: 243px;
21 20 margin-top: 5px;
22 21 }
23 22  
24 23 .line_schedule .uk-grid.top-container {
25   - height: calc(100% - 250px);
  24 + height: calc(100% - 260px);
26 25 margin-top: 5px;
27 26 overflow: hidden;
28 27 }
... ... @@ -44,7 +43,7 @@
44 43  
45 44 .line_schedule .ct_table {
46 45 padding-top: 36px;
47   - color: #000;
  46 + color: #000;
48 47 }
49 48  
50 49 .line_schedule .ct_table>.ct_table_head {
... ... @@ -80,7 +79,7 @@
80 79 }
81 80  
82 81 .line-schedule-table dl dt:nth-of-type(1), .line-schedule-table dl dd:nth-of-type(1) {
83   - width: 30px;
  82 + width: 50px;
84 83 }
85 84  
86 85 .line-schedule-table dl dd:nth-of-type(1) {
... ... @@ -92,20 +91,12 @@
92 91 }
93 92  
94 93 .line-schedule-table dl dt:nth-of-type(2), .line-schedule-table dl dd:nth-of-type(2) {
95   - width: 35px;
  94 + width: 55px;
96 95 text-align: center;
97 96 }
98 97  
99 98 .line-schedule-table dl dt:nth-of-type(3), .line-schedule-table dl dd:nth-of-type(3) {
100   - width: calc(2% + 106px);
101   - position: relative;
102   -}
103   -.line-schedule-table dl dd:nth-of-type(3)>i{
104   - position: absolute;
105   - color: #313030;
106   - top: 1px;
107   - right: 3px;
108   - text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  99 + width: calc(2% + 86px);
109 100 }
110 101  
111 102 .line-schedule-table dl dt:nth-of-type(4), .line-schedule-table dl dd:nth-of-type(4) {
... ... @@ -123,20 +114,20 @@
123 114 }
124 115  
125 116 .line-schedule-table dl dt:nth-of-type(7), .line-schedule-table dl dd:nth-of-type(7) {
126   - width: calc(10% + 10px);
  117 + width: 10%;
127 118 }
128 119  
129 120 .line-schedule-table dl dt:nth-of-type(8), .line-schedule-table dl dd:nth-of-type(8) {
130   - width: calc(51% - 233px);
  121 + width: calc(51% - 238px);
131 122 }
132 123  
133 124 .line-schedule-table dl dt:nth-of-type(9), .line-schedule-table dl dd:nth-of-type(9) {
134   - width: 65px;
  125 + width: 50px;
135 126 border-right: 0;
136 127 }
137 128  
138 129 .schedule-body {
139   - height: calc(100% - 31px);
  130 + height: calc(100% - 37px);
140 131 background: #fff;
141 132 }
142 133  
... ... @@ -247,12 +238,8 @@
247 238 height: 36px;
248 239 }
249 240  
250   -.schedule-body .ct_table dl:nth-child(even){
251   - background: rgba(101, 204, 220, 0.13);
252   -}
253   -
254 241 span.fcsj-diff {
255   - /*color: gray;*/
  242 + color: gray;
256 243 margin-left: 3px;
257 244 }
258 245  
... ... @@ -260,14 +247,14 @@ span.fcsj-diff {
260 247 /** 图例 */
261 248  
262 249 .tl-yzx {
263   - background: rgb( 192,192,255);
264   - border-top: 1px solid #d9d9d9 !important;
  250 + background: #c1ddf0;
  251 + border-top: 1px solid #ebebeb !important;
265 252 color: #444;
266 253 }
267 254  
268 255 .tl-xxfc{
269   - background: rgb(0,255,255);
270   - color: #484747;
  256 + background: #ff7878;
  257 + color: #f1f1f1;
271 258 }
272 259  
273 260 .tl-wd{
... ... @@ -276,18 +263,18 @@ span.fcsj-diff {
276 263 }
277 264  
278 265 .tl-xxsd{
279   - background: rgb(205,133,63);
280   - /*color: #f5f4f4;*/
  266 + background: #e2de94;
  267 + color: #444;
281 268 }
282 269  
283 270 .tl-xxrd{
284   - background: rgb(255,99,71);
  271 + background: #c1ddf0;
285 272 border-top: 1px solid #ebebeb !important;
286   - /*color: #fff;*/
  273 + color: #444;
287 274 }
288 275  
289 276 .tl-qrlb {
290   - background: rgb( 128,128,0);
  277 + background: #7B6B24;
291 278 color: #EAEBEC;
292 279 font-size: 13px;
293 280 }
... ... @@ -297,9 +284,8 @@ span.fcsj-diff {
297 284 }
298 285  
299 286 .tl-zzzx {
300   - background: rgb(173,255,47);
  287 + background: #96F396;
301 288 color: #444;
302   - border-top: 1px solid #d9d9d9 !important;
303 289 }
304 290  
305 291 .ct_table>.ct_table_body dl:hover dd.tl-yzx, .ct_table>.ct_table_body dl.context-menu-active dd.tl-yzx, .ct_table>.ct_table_body dl:hover dd.tl-zzzx, .ct_table>.ct_table_body dl.context-menu-active dd.tl-zzzx {
... ... @@ -542,11 +528,12 @@ div.drop-rail[data-type=&quot;car&quot;]:before {
542 528 }
543 529  
544 530 dl.relevance-active dd:nth-child(n+2) {
545   - background: #d2d2d2 !important;
  531 + background: #f1efef !important;
  532 + color: #333;
546 533 }
547 534  
548 535 dl.relevance-active.intimity dd:nth-child(n+2) {
549   - background: #8baabf !important;
  536 + background: #76a6c7 !important;
550 537 color: white;
551 538 }
552 539  
... ... @@ -556,24 +543,13 @@ dl.relevance-active.intimity dd:nth-child(n+2) a {
556 543  
557 544 dl.relevance-active dd.tl-qrlb,
558 545 dl.relevance-active.intimity dd.tl-qrlb{
559   - background: linear-gradient(to right, #a9a911, #808000, #8baabf) !important;
  546 + background: linear-gradient(to right, #7B6B24, #4992c3) !important;
560 547 color: #f8e9cd;
561 548 }
562 549  
563   -dl.relevance-active dd.tl-wd,
564   -dl.relevance-active.intimity dd.tl-wd{
565   - background: linear-gradient(to right, #ffff00, rgb(226, 226, 168), rgb(139, 170, 191)) !important;
566   -}
567   -
568   -dl.relevance-active dd.tl-qrlb,
569   -dl.relevance-active.intimity dd.tl-yzx{
570   - background: linear-gradient(to right, #dcdcfd, #c0c0ff, #8baabf) !important;
571   - color: #272727;
572   -}
573   -
574 550 dl.relevance-active dd.tl-zzzx,
575 551 dl.relevance-active.intimity dd.tl-zzzx {
576   - background: linear-gradient(to right, #def5bb, #adff2f, #8baabf) !important;
  552 + background: linear-gradient(to right, #96F396, #4992c3) !important;
577 553 color: #565252;
578 554 }
579 555  
... ... @@ -582,23 +558,8 @@ dl.relevance-active.intimity dd.tl-zzzx span.fcsj-diff {
582 558 color: #5e5a5a
583 559 }
584 560  
585   -dl.relevance-active dd.tl-xxsd,
586   -dl.relevance-active.intimity dd.tl-xxsd {
587   - background: linear-gradient(to right, #8baabf, #cd853f, #dc9958) !important;
588   -}
589   -
590   -dl.relevance-active dd.tl-xxrd,
591   -dl.relevance-active.intimity dd.tl-xxrd {
592   - background: linear-gradient(to right, #8baabf, #ff6347, #ff8f7b) !important;
593   -}
594   -
595   -dl.relevance-active dd.tl-xxfc,
596   -dl.relevance-active.intimity dd.tl-xxfc {
597   - background: linear-gradient(to right, #8baabf, rgb(43, 185, 185), rgb(0,255,255)) !important;
598   -}
599   -
600 561 dl.relevance-active.intimity dd span.fcsj-diff {
601   - color: #616060;
  562 + color: #d7d6d6;
602 563 }
603 564  
604 565 dl.relevance-active dd span.fcsj-diff{
... ... @@ -778,7 +739,6 @@ input.i-cbox[type=checkbox]{
778 739 }
779 740  
780 741  
781   -
782 742 .sch-tzrc-table dl dt:nth-of-type(1), .sch-tzrc-table dl dd:nth-of-type(1) {
783 743 width: 25%;
784 744 }
... ...