Commit c049ece84b163ee1617f97791acc6f9c159715d8

Authored by 潘钊
1 parent a57e7142

update...

src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
... ... @@ -3018,11 +3018,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf
3018 3018 Set<ScheduleRealInfo> set = new HashSet<>();
3019 3019  
3020 3020 ScheduleRealInfo sch;
3021   - StringBuilder sb = new StringBuilder();
  3021 + //StringBuilder sb = new StringBuilder();
3022 3022  
3023 3023 String jGh = null,jName,sGh,sName;
3024 3024 for (ChangePersonCar cpc : cpcs) {
3025   - sb = new StringBuilder();
  3025 + //sb = new StringBuilder();
3026 3026  
3027 3027 sch = dayOfSchedule.get(cpc.getSchId());
3028 3028 if (sch == null)
... ... @@ -3058,8 +3058,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
3058 3058  
3059 3059 //换驾驶员
3060 3060 if (StringUtils.isNotEmpty(cpc.getJsy())) {
3061   - if(!jGh.equals(sch.getjGh()))
3062   - sb.append(sch.getjGh() + " 换 " + jGh + ";");
  3061 + /*if(!jGh.equals(sch.getjGh()))
  3062 + sb.append(sch.getjGh() + " 换 " + jGh + ";");*/
3063 3063 //换驾驶员
3064 3064 if(persoChange(sch, jGh))
3065 3065 set.add(sch);
... ... @@ -3075,8 +3075,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
3075 3075 return rs;
3076 3076 }
3077 3077  
3078   - if(!sGh.equals(sch.getsGh()))
3079   - sb.append(sch.getsGh() + " 换 " + sGh + ";");
  3078 + /*if(!sGh.equals(sch.getsGh()))
  3079 + sb.append(sch.getsGh() + " 换 " + sGh + ";");*/
3080 3080 if(persoChangeSPY(sch, sGh))
3081 3081 set.add(sch);
3082 3082 }
... ... @@ -3087,13 +3087,13 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
3087 3087  
3088 3088 //换车
3089 3089 if (StringUtils.isNotEmpty(cpc.getClZbh()) && !cpc.getClZbh().equals(sch.getClZbh())) {
3090   - sb.append(sch.getClZbh() + " 换 " + cpc.getClZbh() + ";");
  3090 + //sb.append(sch.getClZbh() + " 换 " + cpc.getClZbh() + ";");
3091 3091 set.add(sch);
3092 3092 set.addAll(dayOfSchedule.changeCar(sch, cpc.getClZbh()));
3093 3093 }
3094 3094  
3095   - if(sb.length() > 0)
3096   - sch.setRemarks(sb.toString());
  3095 + /*if(sb.length() > 0)
  3096 + sch.setRemarks(sb.toString());*/
3097 3097  
3098 3098 dayOfSchedule.save(sch);
3099 3099 set.add(sch);
... ...
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/bc_type_major.html
... ... @@ -84,11 +84,11 @@
84 84  
85 85 //只修改起点
86 86 if (sch.qdzCode != $qdz.val() && sch.zdzCode == $zdz.val()) {
87   - remarks = ' 从 ' + sch.qdzName + ' 客至 ' + qdzName + ' ,放站至 ' + zdzName;
  87 + remarks = ' 从 ' + sch.qdzName + ' 客至 ' + qdzName + ' ,放站至 ' + zdzName;
88 88 }
89 89 //只修改终点
90 90 else if (sch.qdzCode == $qdz.val() && sch.zdzCode != $zdz.val()) {
91   - remarks = ' 从 ' + sch.qdzName + ' 放站至 ' + zdzName + ' 开始客';
  91 + remarks = ' 从 ' + sch.qdzName + ' 放站至 ' + zdzName + ' 开始客';
92 92 }
93 93 //起终点都改变
94 94 else if (sch.qdzCode != $qdz.val() && sch.zdzCode != $zdz.val()) {
... ...