Commit dcc48b869bcb2ede29b181896c7aa420f33fa43a
1 parent
1ae1723d
bf
Showing
13 changed files
with
52 additions
and
27 deletions
bsthLineProfiles/pom.xml
| @@ -4,9 +4,9 @@ | @@ -4,9 +4,9 @@ | ||
| 4 | <modelVersion>4.0.0</modelVersion> | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | 5 | ||
| 6 | <groupId>com.ruoyi</groupId> | 6 | <groupId>com.ruoyi</groupId> |
| 7 | - <artifactId>ruoyi</artifactId> | 7 | + <artifactId>bsthLineProfiles</artifactId> |
| 8 | <version>4.6.0</version> | 8 | <version>4.6.0</version> |
| 9 | - <packaging>war</packaging> | 9 | + <packaging>jar</packaging> |
| 10 | 10 | ||
| 11 | <name>ruoyi</name> | 11 | <name>ruoyi</name> |
| 12 | <url>http://www.ruoyi.vip</url> | 12 | <url>http://www.ruoyi.vip</url> |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/controller/BsthTLineController.java
| @@ -307,7 +307,7 @@ public class BsthTLineController extends BaseController | @@ -307,7 +307,7 @@ public class BsthTLineController extends BaseController | ||
| 307 | bsthTLineKFK.setOperationType("insert"); | 307 | bsthTLineKFK.setOperationType("insert"); |
| 308 | bsthTLineKFKS.add(bsthTLineKFK); | 308 | bsthTLineKFKS.add(bsthTLineKFK); |
| 309 | } | 309 | } |
| 310 | - bsthTLineService.changeCN(bsthTLineKFKS); | 310 | + //bsthTLineService.changeCN(bsthTLineKFKS); |
| 311 | return bsthTLineKFKS; | 311 | return bsthTLineKFKS; |
| 312 | } | 312 | } |
| 313 | 313 |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/domain/BsthTLine.java
| @@ -120,9 +120,9 @@ public class BsthTLine extends BaseEntity | @@ -120,9 +120,9 @@ public class BsthTLine extends BaseEntity | ||
| 120 | @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd") | 120 | @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd") |
| 121 | private Date updateTime; | 121 | private Date updateTime; |
| 122 | 122 | ||
| 123 | - /** 实施时间 */ | 123 | + /** 行车作业计划报备时间 */ |
| 124 | @JsonFormat(pattern = "yyyy-MM-dd") | 124 | @JsonFormat(pattern = "yyyy-MM-dd") |
| 125 | - @Excel(name = "实施时间", width = 30, dateFormat = "yyyy-MM-dd") | 125 | + @Excel(name = "行车作业计划报备时间", width = 30, dateFormat = "yyyy-MM-dd") |
| 126 | private Date timeSchedule; | 126 | private Date timeSchedule; |
| 127 | 127 | ||
| 128 | /** 停车场 */ | 128 | /** 停车场 */ |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/domain/BsthTLineKFK.java
| @@ -110,7 +110,7 @@ public class BsthTLineKFK | @@ -110,7 +110,7 @@ public class BsthTLineKFK | ||
| 110 | @JsonFormat(pattern = "yyyy-MM-dd") | 110 | @JsonFormat(pattern = "yyyy-MM-dd") |
| 111 | private Date cancelTime; | 111 | private Date cancelTime; |
| 112 | 112 | ||
| 113 | - /** 实施时间 */ | 113 | + /** 行车作业计划报备时间 */ |
| 114 | @JsonFormat(pattern = "yyyy-MM-dd") | 114 | @JsonFormat(pattern = "yyyy-MM-dd") |
| 115 | private Date timeSchedule; | 115 | private Date timeSchedule; |
| 116 | 116 |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/domain/LineHistoryReport.java
| @@ -150,10 +150,10 @@ public class LineHistoryReport extends BaseEntity | @@ -150,10 +150,10 @@ public class LineHistoryReport extends BaseEntity | ||
| 150 | private String remarkOld; | 150 | private String remarkOld; |
| 151 | 151 | ||
| 152 | @JsonFormat(pattern = "yyyy-MM-dd") | 152 | @JsonFormat(pattern = "yyyy-MM-dd") |
| 153 | - @Excel(name = "实施时间", width = 30, dateFormat = "yyyy-MM-dd") | 153 | + @Excel(name = "行车作业计划报备时间", width = 30, dateFormat = "yyyy-MM-dd") |
| 154 | private Date timeSchedule; | 154 | private Date timeSchedule; |
| 155 | @JsonFormat(pattern = "yyyy-MM-dd") | 155 | @JsonFormat(pattern = "yyyy-MM-dd") |
| 156 | - @Excel(name = "原实施时间", width = 30, dateFormat = "yyyy-MM-dd") | 156 | + @Excel(name = "原行车作业计划报备时间", width = 30, dateFormat = "yyyy-MM-dd") |
| 157 | private Date timeScheduleOld; | 157 | private Date timeScheduleOld; |
| 158 | 158 | ||
| 159 | /*@Excel(name = "停车场") | 159 | /*@Excel(name = "停车场") |
bsthLineProfiles/src/main/resources/logback.xml
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | <!-- 循环政策:基于时间创建日志文件 --> | 41 | <!-- 循环政策:基于时间创建日志文件 --> |
| 42 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 42 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| 43 | <!-- 日志文件名格式 --> | 43 | <!-- 日志文件名格式 --> |
| 44 | - <fileNamePattern>${log.path}/sys-info.%d{yyyy-MM-dd}.log</fileNamePattern> | 44 | + <fileNamePattern>${log.path}/sys-debug.%d{yyyy-MM-dd}.log</fileNamePattern> |
| 45 | <!-- 日志最大的历史 60天 --> | 45 | <!-- 日志最大的历史 60天 --> |
| 46 | <maxHistory>60</maxHistory> | 46 | <maxHistory>60</maxHistory> |
| 47 | </rollingPolicy> | 47 | </rollingPolicy> |
bsthLineProfiles/src/main/resources/templates/system/line/detail.html
| @@ -194,7 +194,7 @@ | @@ -194,7 +194,7 @@ | ||
| 194 | </li> | 194 | </li> |
| 195 | <!----------------------------------> | 195 | <!----------------------------------> |
| 196 | <li id="timeSchedule"> | 196 | <li id="timeSchedule"> |
| 197 | - <label>实施时间:</label> | 197 | + <label>行车作业计划报备时间:</label> |
| 198 | <input name="timeSchedule" th:value="${#dates.format(bsthTLine.timeSchedule, 'yyyy-MM-dd')}" | 198 | <input name="timeSchedule" th:value="${#dates.format(bsthTLine.timeSchedule, 'yyyy-MM-dd')}" |
| 199 | placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | 199 | placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> |
| 200 | </li> | 200 | </li> |
| @@ -333,7 +333,12 @@ | @@ -333,7 +333,12 @@ | ||
| 333 | <!----------------------------------> | 333 | <!----------------------------------> |
| 334 | <li id="coldBonusType"> | 334 | <li id="coldBonusType"> |
| 335 | <label>冷僻线路补贴类型:</label> | 335 | <label>冷僻线路补贴类型:</label> |
| 336 | - <input name="coldBonusType" th:field="*{coldBonusType}" type="text" disabled> | 336 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" disabled> |
| 337 | + <option value=""></option> | ||
| 338 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | ||
| 339 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.coldBonusType== null ? '' : bsthTLine.coldBonusType),#strings.toString(dict.dictValue))}"></option> | ||
| 340 | + </option>></option> | ||
| 341 | + </select> | ||
| 337 | </li> | 342 | </li> |
| 338 | <!----------------------------------> | 343 | <!----------------------------------> |
| 339 | <li id="revenueType"> | 344 | <li id="revenueType"> |
| @@ -342,7 +347,7 @@ | @@ -342,7 +347,7 @@ | ||
| 342 | <option value=""></option> | 347 | <option value=""></option> |
| 343 | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | 348 | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" |
| 344 | th:selected="${#arrays.contains(#strings.toString(bsthTLine.revenueType== null ? '' : bsthTLine.revenueType),#strings.toString(dict.dictValue))}"></option> | 349 | th:selected="${#arrays.contains(#strings.toString(bsthTLine.revenueType== null ? '' : bsthTLine.revenueType),#strings.toString(dict.dictValue))}"></option> |
| 345 | - ></option>></option> | 350 | + </option>></option> |
| 346 | </select> | 351 | </select> |
| 347 | </li> | 352 | </li> |
| 348 | <!----------------------------------> | 353 | <!----------------------------------> |
bsthLineProfiles/src/main/resources/templates/system/line/line.html
| @@ -112,7 +112,7 @@ | @@ -112,7 +112,7 @@ | ||
| 112 | <!----------------------------------> | 112 | <!----------------------------------> |
| 113 | <li><label>更新时间:</label> <input type="text" class="time-input" placeholder="请选择更新时间" name="updateTime" /></li> | 113 | <li><label>更新时间:</label> <input type="text" class="time-input" placeholder="请选择更新时间" name="updateTime" /></li> |
| 114 | <!----------------------------------> | 114 | <!----------------------------------> |
| 115 | - <li><label>实施时间:</label> <input type="text" class="time-input" placeholder="请选择实施时间" name="timeSchedule" /></li> | 115 | + <li><label>行车作业计划报备时间:</label> <input type="text" class="time-input" placeholder="请选择行车作业计划报备时间" name="timeSchedule" /></li> |
| 116 | <!----------------------------------> | 116 | <!----------------------------------> |
| 117 | <li><label>是否权证:</label> | 117 | <li><label>是否权证:</label> |
| 118 | <select name="isWarrant" th:with="type=${@dict.getType('trueFalse')}"> | 118 | <select name="isWarrant" th:with="type=${@dict.getType('trueFalse')}"> |
| @@ -187,7 +187,12 @@ | @@ -187,7 +187,12 @@ | ||
| 187 | <!----------------------------------> | 187 | <!----------------------------------> |
| 188 | <li><label>轨交时间:</label> <input type="text" class="time-input" placeholder="请选择轨交时间" name="metroTime" /></li> | 188 | <li><label>轨交时间:</label> <input type="text" class="time-input" placeholder="请选择轨交时间" name="metroTime" /></li> |
| 189 | <!----------------------------------> | 189 | <!----------------------------------> |
| 190 | - <li><label>冷僻补贴:</label> <input type="text" name="coldBonusType" /></li> | 190 | + <li><label>冷僻补贴:</label> |
| 191 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}"> | ||
| 192 | + <option value=""></option> | ||
| 193 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> | ||
| 194 | + </select> | ||
| 195 | + </li> | ||
| 191 | <!----------------------------------> | 196 | <!----------------------------------> |
| 192 | <li><label>日期截点:</label> <input type="text" class="time-input" placeholder="日期截点" name="createTimeEnd" id="createTimeEnd"/></li> | 197 | <li><label>日期截点:</label> <input type="text" class="time-input" placeholder="日期截点" name="createTimeEnd" id="createTimeEnd"/></li> |
| 193 | <!----------------------------------> | 198 | <!----------------------------------> |
| @@ -641,7 +646,7 @@ | @@ -641,7 +646,7 @@ | ||
| 641 | }, | 646 | }, |
| 642 | { | 647 | { |
| 643 | field: 'timeSchedule', | 648 | field: 'timeSchedule', |
| 644 | - title: '实施时间' | 649 | + title: '行车作业计划报备时间' |
| 645 | },{ | 650 | },{ |
| 646 | field: 'travelTimeUp', | 651 | field: 'travelTimeUp', |
| 647 | title: '行驶时间(上行)' | 652 | title: '行驶时间(上行)' |
bsthLineProfiles/src/main/resources/templates/system/lineAdd/add.html
| @@ -236,7 +236,7 @@ | @@ -236,7 +236,7 @@ | ||
| 236 | <input name="warrantYear" class="form-control" type="text"> | 236 | <input name="warrantYear" class="form-control" type="text"> |
| 237 | </div> | 237 | </div> |
| 238 | <!----------------------------------> | 238 | <!----------------------------------> |
| 239 | - <label class="col-sm-1 control-label">实施时间:</label> | 239 | + <label class="col-sm-1 control-label">行车作业计划报备时间:</label> |
| 240 | <div class="col-sm-2"> | 240 | <div class="col-sm-2"> |
| 241 | <div class="input-group date"> | 241 | <div class="input-group date"> |
| 242 | <input name="timeSchedule" class="form-control" placeholder="yyyy-MM-dd" type="text" | 242 | <input name="timeSchedule" class="form-control" placeholder="yyyy-MM-dd" type="text" |
| @@ -276,7 +276,12 @@ | @@ -276,7 +276,12 @@ | ||
| 276 | <!----------------------------------> | 276 | <!----------------------------------> |
| 277 | <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> | 277 | <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> |
| 278 | <div class="col-sm-2"> | 278 | <div class="col-sm-2"> |
| 279 | - <input name="coldBonusType" class="form-control" type="text"> | 279 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" |
| 280 | + class="form-control m-b"> | ||
| 281 | + <option value=""></option> | ||
| 282 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"> | ||
| 283 | + </option> | ||
| 284 | + </select> | ||
| 280 | </div> | 285 | </div> |
| 281 | <!----------------------------------> | 286 | <!----------------------------------> |
| 282 | <label class="col-sm-1 control-label">营运状态:</label> | 287 | <label class="col-sm-1 control-label">营运状态:</label> |
bsthLineProfiles/src/main/resources/templates/system/lineAdd/edit.html
| @@ -236,7 +236,7 @@ | @@ -236,7 +236,7 @@ | ||
| 236 | </div> | 236 | </div> |
| 237 | </div> | 237 | </div> |
| 238 | <!----------------------------------> | 238 | <!----------------------------------> |
| 239 | - <label class="col-sm-1 control-label">实施时间:</label> | 239 | + <label class="col-sm-1 control-label">行车作业计划报备时间:</label> |
| 240 | <div class="col-sm-2"> | 240 | <div class="col-sm-2"> |
| 241 | <div class="input-group date"> | 241 | <div class="input-group date"> |
| 242 | <input name="timeSchedule" | 242 | <input name="timeSchedule" |
| @@ -407,7 +407,11 @@ | @@ -407,7 +407,11 @@ | ||
| 407 | <!----------------------------------> | 407 | <!----------------------------------> |
| 408 | <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> | 408 | <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> |
| 409 | <div class="col-sm-2"> | 409 | <div class="col-sm-2"> |
| 410 | - <input name="coldBonusType" th:field="*{coldBonusType}" class="form-control" type="text"> | 410 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b"> |
| 411 | + <option value=""></option> | ||
| 412 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | ||
| 413 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.coldBonusType== null ? '' : bsthTLine.coldBonusType),#strings.toString(dict.dictValue))}"></option>></option>></option> | ||
| 414 | + </select> | ||
| 411 | </div> | 415 | </div> |
| 412 | <!----------------------------------> | 416 | <!----------------------------------> |
| 413 | <label class="col-sm-1 control-label">营收类型:</label> | 417 | <label class="col-sm-1 control-label">营收类型:</label> |
bsthLineProfiles/src/main/resources/templates/system/lineExamine/detail.html
| @@ -243,7 +243,7 @@ | @@ -243,7 +243,7 @@ | ||
| 243 | <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> | 243 | <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> |
| 244 | </div> | 244 | </div> |
| 245 | <!----------------------------------> | 245 | <!----------------------------------> |
| 246 | - <label class="col-sm-1 control-label"name="timeSchedule">实施时间:</label> | 246 | + <label class="col-sm-1 control-label"name="timeSchedule">行车作业计划报备时间:</label> |
| 247 | <div class="col-sm-2"> | 247 | <div class="col-sm-2"> |
| 248 | <div class="input-group date"> | 248 | <div class="input-group date"> |
| 249 | <input name="timeSchedule" | 249 | <input name="timeSchedule" |
| @@ -285,9 +285,11 @@ | @@ -285,9 +285,11 @@ | ||
| 285 | </div> | 285 | </div> |
| 286 | <!----------------------------------> | 286 | <!----------------------------------> |
| 287 | <label class="col-sm-1 control-label"name="coldBonusType">冷僻线路补贴类型:</label> | 287 | <label class="col-sm-1 control-label"name="coldBonusType">冷僻线路补贴类型:</label> |
| 288 | - <div class="col-sm-2"> | ||
| 289 | - <input name="coldBonusType" th:field="*{coldBonusType}" class="form-control" type="text"> | ||
| 290 | - </div> | 288 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b"> |
| 289 | + <option value=""></option> | ||
| 290 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | ||
| 291 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.coldBonusType== null ? '' : bsthTLine.coldBonusType),#strings.toString(dict.dictValue))}"></option> | ||
| 292 | + </select> | ||
| 291 | <!----------------------------------> | 293 | <!----------------------------------> |
| 292 | <label class="col-sm-1 control-label"name="serviceState">营运状态:</label> | 294 | <label class="col-sm-1 control-label"name="serviceState">营运状态:</label> |
| 293 | <div class="col-sm-2"> | 295 | <div class="col-sm-2"> |
bsthLineProfiles/src/main/resources/templates/system/lineHistory/edit.html
| @@ -238,7 +238,7 @@ | @@ -238,7 +238,7 @@ | ||
| 238 | <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> | 238 | <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> |
| 239 | </div> | 239 | </div> |
| 240 | <!----------------------------------> | 240 | <!----------------------------------> |
| 241 | - <label class="col-sm-1 control-label" name="timeSchedule">实施时间:</label> | 241 | + <label class="col-sm-1 control-label" name="timeSchedule">行车作业计划报备时间:</label> |
| 242 | <div class="col-sm-2"> | 242 | <div class="col-sm-2"> |
| 243 | <div class="input-group date"> | 243 | <div class="input-group date"> |
| 244 | <input name="timeSchedule" | 244 | <input name="timeSchedule" |
| @@ -282,7 +282,11 @@ | @@ -282,7 +282,11 @@ | ||
| 282 | <!----------------------------------> | 282 | <!----------------------------------> |
| 283 | <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label> | 283 | <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label> |
| 284 | <div class="col-sm-2"> | 284 | <div class="col-sm-2"> |
| 285 | - <input name="coldBonusType" th:field="*{coldBonusType}" class="form-control" type="text"> | 285 | + <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b"> |
| 286 | + <option value=""></option> | ||
| 287 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | ||
| 288 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.coldBonusType== null ? '' : bsthTLine.coldBonusType),#strings.toString(dict.dictValue))}"></option> | ||
| 289 | + </select> | ||
| 286 | </div> | 290 | </div> |
| 287 | <!----------------------------------> | 291 | <!----------------------------------> |
| 288 | <label class="col-sm-1 control-label" name="serviceState">营运状态:</label> | 292 | <label class="col-sm-1 control-label" name="serviceState">营运状态:</label> |
bsthLineProfiles/src/main/resources/templates/system/lineHistory/historyCompare.html
| @@ -192,7 +192,7 @@ | @@ -192,7 +192,7 @@ | ||
| 192 | </div> | 192 | </div> |
| 193 | <!----------------------------------> | 193 | <!----------------------------------> |
| 194 | <div class="col-sm-6"> | 194 | <div class="col-sm-6"> |
| 195 | - <label class="col-sm-3 control-label">实施时间:</label> | 195 | + <label class="col-sm-3 control-label">行车作业计划报备时间:</label> |
| 196 | <span class="col-sm-9" id="timeSchedule">{{line.timeSchedule}}</span> | 196 | <span class="col-sm-9" id="timeSchedule">{{line.timeSchedule}}</span> |
| 197 | </div> | 197 | </div> |
| 198 | <!----------------------------------> | 198 | <!----------------------------------> |
| @@ -465,7 +465,7 @@ | @@ -465,7 +465,7 @@ | ||
| 465 | </div> | 465 | </div> |
| 466 | <!----------------------------------> | 466 | <!----------------------------------> |
| 467 | <div class="col-sm-6"> | 467 | <div class="col-sm-6"> |
| 468 | - <label class="col-sm-3 control-label">实施时间:</label> | 468 | + <label class="col-sm-3 control-label">行车作业计划报备时间:</label> |
| 469 | <span class="col-sm-9" >{{oldLine.timeSchedule}}</span> | 469 | <span class="col-sm-9" >{{oldLine.timeSchedule}}</span> |
| 470 | </div> | 470 | </div> |
| 471 | <!----------------------------------> | 471 | <!----------------------------------> |