Commit 7e4acdb99afef1116359e5dcbae9d67909e8dd72
1 parent
ede0e52a
线路信息添加是否营运状态
Showing
5 changed files
with
116 additions
and
4 deletions
src/main/java/com/bsth/entity/Line.java
| @@ -94,6 +94,9 @@ public class Line implements Serializable { | @@ -94,6 +94,9 @@ public class Line implements Serializable { | ||
| 94 | 94 | ||
| 95 | /** 是否夜宵线 <1:是;0:否> bit length(50)*/ | 95 | /** 是否夜宵线 <1:是;0:否> bit length(50)*/ |
| 96 | private Integer supperLine; | 96 | private Integer supperLine; |
| 97 | + | ||
| 98 | + /** 是否营运 <1:是;0:否> bit length(50)*/ | ||
| 99 | + private Integer sfyy; | ||
| 97 | 100 | ||
| 98 | /** 起始调度电话 varchar length(50) */ | 101 | /** 起始调度电话 varchar length(50) */ |
| 99 | private String startPhone; | 102 | private String startPhone; |
| @@ -481,4 +484,14 @@ public class Line implements Serializable { | @@ -481,4 +484,14 @@ public class Line implements Serializable { | ||
| 481 | public void setCgsbm(String cgsbm) { | 484 | public void setCgsbm(String cgsbm) { |
| 482 | this.cgsbm = cgsbm; | 485 | this.cgsbm = cgsbm; |
| 483 | } | 486 | } |
| 487 | + | ||
| 488 | + public Integer getSfyy() { | ||
| 489 | + return sfyy; | ||
| 490 | + } | ||
| 491 | + | ||
| 492 | + public void setSfyy(Integer sfyy) { | ||
| 493 | + this.sfyy = sfyy; | ||
| 494 | + } | ||
| 495 | + | ||
| 496 | + | ||
| 484 | } | 497 | } |
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
| @@ -157,7 +157,8 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -157,7 +157,8 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 157 | if(scheduleRealInfo.getStatus() == -1){ | 157 | if(scheduleRealInfo.getStatus() == -1){ |
| 158 | lbbc++; | 158 | lbbc++; |
| 159 | } | 159 | } |
| 160 | - }else{ | 160 | + } |
| 161 | + /*else{ | ||
| 161 | if(scheduleRealInfo.getStatus() == -1){ | 162 | if(scheduleRealInfo.getStatus() == -1){ |
| 162 | boolean fage=true; | 163 | boolean fage=true; |
| 163 | Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | 164 | Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); |
| @@ -174,7 +175,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -174,7 +175,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 174 | lbbc++; | 175 | lbbc++; |
| 175 | } | 176 | } |
| 176 | } | 177 | } |
| 177 | - } | 178 | + }*/ |
| 178 | } | 179 | } |
| 179 | } | 180 | } |
| 180 | return lbbc; | 181 | return lbbc; |
src/main/resources/static/pages/base/line/add.html
| @@ -199,6 +199,40 @@ | @@ -199,6 +199,40 @@ | ||
| 199 | </div> | 199 | </div> |
| 200 | <!-- 表单分组组件 form-group END --> | 200 | <!-- 表单分组组件 form-group END --> |
| 201 | 201 | ||
| 202 | + <!-- 表单分组组件 form-group START --> | ||
| 203 | + <div class="form-group"> | ||
| 204 | + <!-- 是否营运START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) --> | ||
| 205 | + <div class="col-md-6"> | ||
| 206 | + <label class="control-label col-md-5"> | ||
| 207 | + <span class="required"> * </span>是否营运线路 : | ||
| 208 | + </label> | ||
| 209 | + <div class="col-md-4"> | ||
| 210 | + <div class="md-radio-inline"> | ||
| 211 | + <div class="md-radio"> | ||
| 212 | + <input type="radio" id="radio18" name="sfyy" class="md-radiobtn" value="1" data-title="是" checked="checked" > | ||
| 213 | + <label for="radio18"> | ||
| 214 | + <span></span> | ||
| 215 | + <span class="check"></span> | ||
| 216 | + <span class="box"></span> 是 | ||
| 217 | + </label> | ||
| 218 | + </div> | ||
| 219 | + <div class="md-radio has-error"> | ||
| 220 | + <input type="radio" id="radio19" name="sfyy" class="md-radiobtn" value="0" data-title="否" > | ||
| 221 | + <label for="radio19" style="color:#FFC0CB"> | ||
| 222 | + <span></span> | ||
| 223 | + <span class="check"></span> | ||
| 224 | + <span class="box"></span> 否 | ||
| 225 | + </label> | ||
| 226 | + </div> | ||
| 227 | + </div> | ||
| 228 | + </div> | ||
| 229 | + </div> | ||
| 230 | + <!-- 是否营运 END --> | ||
| 231 | + | ||
| 232 | + | ||
| 233 | + </div> | ||
| 234 | + <!-- 表单分组组件 form-group END --> | ||
| 235 | + | ||
| 202 | <!-- 表单分组组件 form-group START --> | 236 | <!-- 表单分组组件 form-group START --> |
| 203 | <div class="form-group"> | 237 | <div class="form-group"> |
| 204 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> | 238 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> |
src/main/resources/static/pages/base/line/details.html
| @@ -191,7 +191,39 @@ | @@ -191,7 +191,39 @@ | ||
| 191 | <!-- 是否撤销 START --> | 191 | <!-- 是否撤销 START --> |
| 192 | </div> | 192 | </div> |
| 193 | <!-- 表单分组组件 form-group END --> | 193 | <!-- 表单分组组件 form-group END --> |
| 194 | - | 194 | + <!-- 表单分组组件 form-group START --> |
| 195 | + <div class="form-group"> | ||
| 196 | + <!-- 是否营运START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) --> | ||
| 197 | + <div class="col-md-6"> | ||
| 198 | + <label class="control-label col-md-5"> | ||
| 199 | + <span class="required"> * </span>是否营运线路 : | ||
| 200 | + </label> | ||
| 201 | + <div class="col-md-4"> | ||
| 202 | + <div class="md-radio-inline"> | ||
| 203 | + <div class="md-radio"> | ||
| 204 | + <input type="radio" id="radio18" name="sfyy" class="md-radiobtn" value="1" data-title="是" checked="checked" > | ||
| 205 | + <label for="radio18"> | ||
| 206 | + <span></span> | ||
| 207 | + <span class="check"></span> | ||
| 208 | + <span class="box"></span> 是 | ||
| 209 | + </label> | ||
| 210 | + </div> | ||
| 211 | + <div class="md-radio has-error"> | ||
| 212 | + <input type="radio" id="radio19" name="sfyy" class="md-radiobtn" value="0" data-title="否" > | ||
| 213 | + <label for="radio19" style="color:#FFC0CB"> | ||
| 214 | + <span></span> | ||
| 215 | + <span class="check"></span> | ||
| 216 | + <span class="box"></span> 否 | ||
| 217 | + </label> | ||
| 218 | + </div> | ||
| 219 | + </div> | ||
| 220 | + </div> | ||
| 221 | + </div> | ||
| 222 | + <!-- 是否营运 END --> | ||
| 223 | + | ||
| 224 | + | ||
| 225 | + </div> | ||
| 226 | + <!-- 表单分组组件 form-group END --> | ||
| 195 | <!-- 表单分组组件 form-group START --> | 227 | <!-- 表单分组组件 form-group START --> |
| 196 | <div class="form-group"> | 228 | <div class="form-group"> |
| 197 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> | 229 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> |
src/main/resources/static/pages/base/line/edit.html
| @@ -199,7 +199,39 @@ | @@ -199,7 +199,39 @@ | ||
| 199 | <!-- 是否撤销 START --> | 199 | <!-- 是否撤销 START --> |
| 200 | </div> | 200 | </div> |
| 201 | <!-- 表单分组组件 form-group END --> | 201 | <!-- 表单分组组件 form-group END --> |
| 202 | - | 202 | + <!-- 表单分组组件 form-group START --> |
| 203 | + <div class="form-group"> | ||
| 204 | + <!-- 是否营运START (因为options值基本固定,所以在页面固定。【以后可以根具需求修改成使用字典表实现】) --> | ||
| 205 | + <div class="col-md-6"> | ||
| 206 | + <label class="control-label col-md-5"> | ||
| 207 | + <span class="required"> * </span>是否营运线路 : | ||
| 208 | + </label> | ||
| 209 | + <div class="col-md-4"> | ||
| 210 | + <div class="md-radio-inline"> | ||
| 211 | + <div class="md-radio"> | ||
| 212 | + <input type="radio" id="radio18" name="sfyy" class="md-radiobtn" value="1" data-title="是" checked="checked" > | ||
| 213 | + <label for="radio18"> | ||
| 214 | + <span></span> | ||
| 215 | + <span class="check"></span> | ||
| 216 | + <span class="box"></span> 是 | ||
| 217 | + </label> | ||
| 218 | + </div> | ||
| 219 | + <div class="md-radio has-error"> | ||
| 220 | + <input type="radio" id="radio19" name="sfyy" class="md-radiobtn" value="0" data-title="否" > | ||
| 221 | + <label for="radio19" style="color:#FFC0CB"> | ||
| 222 | + <span></span> | ||
| 223 | + <span class="check"></span> | ||
| 224 | + <span class="box"></span> 否 | ||
| 225 | + </label> | ||
| 226 | + </div> | ||
| 227 | + </div> | ||
| 228 | + </div> | ||
| 229 | + </div> | ||
| 230 | + <!-- 是否营运 END --> | ||
| 231 | + | ||
| 232 | + | ||
| 233 | + </div> | ||
| 234 | + <!-- 表单分组组件 form-group END --> | ||
| 203 | <!-- 表单分组组件 form-group START --> | 235 | <!-- 表单分组组件 form-group START --> |
| 204 | <div class="form-group"> | 236 | <div class="form-group"> |
| 205 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> | 237 | <!-- 起始站名称 START (该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值) --> |