Commit 4693f0a0a33a5f20e8dd36b8a5543935e2c1d07a
1 parent
29879135
update...
Showing
26 changed files
with
549 additions
and
45 deletions
src/main/java/com/bsth/Application.java
| ... | ... | @@ -11,7 +11,7 @@ import java.util.concurrent.ScheduledExecutorService; |
| 11 | 11 | @SpringBootApplication |
| 12 | 12 | public class Application extends SpringBootServletInitializer { |
| 13 | 13 | |
| 14 | - public static ScheduledExecutorService mainServices = Executors.newScheduledThreadPool(1); | |
| 14 | + public static ScheduledExecutorService mainServices = Executors.newScheduledThreadPool(5); | |
| 15 | 15 | |
| 16 | 16 | @Override |
| 17 | 17 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { | ... | ... |
src/main/java/com/bsth/CXFConfig.java
| 1 | 1 | package com.bsth; |
| 2 | 2 | |
| 3 | -import com.bsth.ws_server.attendance.AttendanceServiceSoap; | |
| 4 | -import com.bsth.ws_server.park_station.CompanyServiceSoap; | |
| 5 | -import com.bsth.ws_server.waybill.LD_ServiceSoap; | |
| 3 | +import com.bsth.server_ws.attendance.AttendanceServiceSoap; | |
| 4 | +import com.bsth.server_ws.park_station.CompanyServiceSoap; | |
| 5 | +import com.bsth.server_ws.waybill.LD_ServiceSoap; | |
| 6 | 6 | import org.apache.cxf.Bus; |
| 7 | 7 | import org.apache.cxf.bus.spring.SpringBus; |
| 8 | 8 | import org.apache.cxf.jaxws.EndpointImpl; | ... | ... |
src/main/java/com/bsth/old_sys_wsclient/OldWSClient.java
| ... | ... | @@ -8,7 +8,7 @@ import com.bsth.old_sys_wsclient.nh_ld.ClsLDInfo; |
| 8 | 8 | import com.bsth.old_sys_wsclient.nh_ld.LD_Service; |
| 9 | 9 | import com.bsth.old_sys_wsclient.nh_ld.LD_ServiceLocator; |
| 10 | 10 | import com.bsth.old_sys_wsclient.nh_ld.holders.ArrayOfClsLDInfoHolder; |
| 11 | -import com.bsth.ws_server.util.Constants; | |
| 11 | +import com.bsth.server_ws.util.Constants; | |
| 12 | 12 | import org.joda.time.format.DateTimeFormat; |
| 13 | 13 | import org.joda.time.format.DateTimeFormatter; |
| 14 | 14 | import org.slf4j.Logger; | ... | ... |
src/main/java/com/bsth/redis/ScheduleRedisService.java
| ... | ... | @@ -4,7 +4,7 @@ import com.bsth.entity.ScheduleRealInfo; |
| 4 | 4 | import com.bsth.repository.ScheduleRealInfoRepository; |
| 5 | 5 | import com.bsth.util.ConfigUtil; |
| 6 | 6 | import com.bsth.util.ConvertUtil; |
| 7 | -import com.bsth.ws_proxy.WebServiceProxy; | |
| 7 | +import com.bsth.server_ws.WebServiceProxy; | |
| 8 | 8 | import com.google.common.collect.ArrayListMultimap; |
| 9 | 9 | import org.joda.time.DateTime; |
| 10 | 10 | import org.slf4j.Logger; | ... | ... |
src/main/java/com/bsth/server_rs/base_info/line/Line.java
0 → 100644
| 1 | +package com.bsth.server_rs.base_info.line; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.Date; | |
| 5 | + | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * @ClassName: Line(线路实体类) | |
| 9 | + * @Description: TODO(线路) | |
| 10 | + * @Author bsth@lq | |
| 11 | + * @Date 2016-4-11 16:06:17 | |
| 12 | + * @Version 公交调度系统BS版 0.1 | |
| 13 | + */ | |
| 14 | + | |
| 15 | +public class Line implements Serializable { | |
| 16 | + | |
| 17 | + /** | |
| 18 | + * 线路ID 主键(唯一标识符) int length(11) | |
| 19 | + */ | |
| 20 | + private Integer id; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * 线路名称 varchar length(50) 不能为空 | |
| 24 | + */ | |
| 25 | + private String name; | |
| 26 | + | |
| 27 | + /** | |
| 28 | + * 线路编码 varchar length(50) 不能为空 | |
| 29 | + */ | |
| 30 | + private String lineCode; | |
| 31 | + | |
| 32 | + /** | |
| 33 | + * 英文名 varchar length(50) | |
| 34 | + */ | |
| 35 | + private String es; | |
| 36 | + | |
| 37 | + /** | |
| 38 | + * 简称 varchar length(50) | |
| 39 | + */ | |
| 40 | + private String shortName; | |
| 41 | + | |
| 42 | + /** | |
| 43 | + * 起始站名称 varchar length(50) 不能为空 | |
| 44 | + * 该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值 | |
| 45 | + */ | |
| 46 | + private String startStationName; | |
| 47 | + | |
| 48 | + /** | |
| 49 | + * 终点站名称 varchar length(50) 不能为空 | |
| 50 | + * 该字段值会在规划线路站点操作时会去验证是否有值。如果为空,则用线路规划站点的起点站。默认使用该字段填写值 | |
| 51 | + */ | |
| 52 | + private String endStationName; | |
| 53 | + | |
| 54 | + /** | |
| 55 | + * 起始站首班车时间 00:00 上海公交APP中某个接口所需要的字段值 varchar length(50) 不能为空 | |
| 56 | + */ | |
| 57 | + private String startStationFirstTime; | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * 起始站末班车时间 00:00 上海公交APP中某个接口所需要的字段值 varchar length(50) 不能为空 | |
| 61 | + */ | |
| 62 | + private String startStationEndTime; | |
| 63 | + | |
| 64 | + /** | |
| 65 | + * 终点站首班时间 00:00 上海公交APP中某个接口所需要的字段值 varchar length(50) 不能为空 | |
| 66 | + */ | |
| 67 | + private String endStationFirstTime; | |
| 68 | + | |
| 69 | + /** | |
| 70 | + * 终点站末班时间 00:00 上海公交APP中某个接口所需要的字段值 | |
| 71 | + */ | |
| 72 | + private String endStationEndTime; | |
| 73 | + | |
| 74 | + /** | |
| 75 | + * 所属公司 varchar length(50) | |
| 76 | + */ | |
| 77 | + private String company; | |
| 78 | + | |
| 79 | + /** | |
| 80 | + * 分公司 varchar length(50) | |
| 81 | + */ | |
| 82 | + private String brancheCompany; | |
| 83 | + | |
| 84 | + /** | |
| 85 | + * 性质(线路类型) varchar length(50) | |
| 86 | + */ | |
| 87 | + private String nature; | |
| 88 | + | |
| 89 | + /** | |
| 90 | + * 线路等级 varchar length(50) | |
| 91 | + */ | |
| 92 | + private String level; | |
| 93 | + | |
| 94 | + /** | |
| 95 | + * 线路长度 | |
| 96 | + */ | |
| 97 | + private double length; | |
| 98 | + | |
| 99 | + /** | |
| 100 | + * 线路负责人 varchar length(50) | |
| 101 | + */ | |
| 102 | + private String chargeName; | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * 负责人电话 varchar length(50) | |
| 106 | + */ | |
| 107 | + private String telephone; | |
| 108 | + | |
| 109 | + /** | |
| 110 | + * 是否撤销 <1:是;0:否> bit length(50) | |
| 111 | + */ | |
| 112 | + private Integer destroy; | |
| 113 | + | |
| 114 | + /** | |
| 115 | + * 是否夜宵线 <1:是;0:否> bit length(50) | |
| 116 | + */ | |
| 117 | + private Integer supperLine; | |
| 118 | + | |
| 119 | + /** | |
| 120 | + * 起始调度电话 varchar length(50) | |
| 121 | + */ | |
| 122 | + private String startPhone; | |
| 123 | + | |
| 124 | + /** | |
| 125 | + * 终点调度电话 varchar length(50) | |
| 126 | + */ | |
| 127 | + private String endPhone; | |
| 128 | + | |
| 129 | + /** | |
| 130 | + * 开辟日期 date | |
| 131 | + */ | |
| 132 | + private Date openDate; | |
| 133 | + | |
| 134 | + /** | |
| 135 | + * 线路沿革 varchar length(50) | |
| 136 | + */ | |
| 137 | + private String history; | |
| 138 | + | |
| 139 | + /** | |
| 140 | + * 上海市线路编码 varchar length(50) | |
| 141 | + */ | |
| 142 | + private String shanghaiLinecode; | |
| 143 | + | |
| 144 | + /** | |
| 145 | + * 设备线路编码 varchar length(50) | |
| 146 | + */ | |
| 147 | + private String eqLinecode; | |
| 148 | + | |
| 149 | + /** | |
| 150 | + * 权证车辆数量 报表需要的字段值 | |
| 151 | + */ | |
| 152 | + private Integer warrantCar; | |
| 153 | + | |
| 154 | + /** | |
| 155 | + * 权证配车启用日期 报表需要的字段值 | |
| 156 | + */ | |
| 157 | + private Integer warrantDate; | |
| 158 | + | |
| 159 | + /** | |
| 160 | + * 线路规划类型 <0:双向;1:环线> int length(11) 运管处接口需要的字段 不能为空 | |
| 161 | + */ | |
| 162 | + private Integer linePlayType; | |
| 163 | + | |
| 164 | + /** | |
| 165 | + * 描述 varchar length(255) | |
| 166 | + */ | |
| 167 | + private String descriptions; | |
| 168 | + | |
| 169 | + /** | |
| 170 | + * 创建日期 timestamp | |
| 171 | + */ | |
| 172 | + private Date createDate; | |
| 173 | + | |
| 174 | + public Integer getId() { | |
| 175 | + return id; | |
| 176 | + } | |
| 177 | + | |
| 178 | + public void setId(Integer id) { | |
| 179 | + this.id = id; | |
| 180 | + } | |
| 181 | + | |
| 182 | + public String getName() { | |
| 183 | + return name; | |
| 184 | + } | |
| 185 | + | |
| 186 | + public void setName(String name) { | |
| 187 | + this.name = name; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public String getLineCode() { | |
| 191 | + return lineCode; | |
| 192 | + } | |
| 193 | + | |
| 194 | + public void setLineCode(String lineCode) { | |
| 195 | + this.lineCode = lineCode; | |
| 196 | + } | |
| 197 | + | |
| 198 | + public String getEs() { | |
| 199 | + return es; | |
| 200 | + } | |
| 201 | + | |
| 202 | + public void setEs(String es) { | |
| 203 | + this.es = es; | |
| 204 | + } | |
| 205 | + | |
| 206 | + public String getShortName() { | |
| 207 | + return shortName; | |
| 208 | + } | |
| 209 | + | |
| 210 | + public void setShortName(String shortName) { | |
| 211 | + this.shortName = shortName; | |
| 212 | + } | |
| 213 | + | |
| 214 | + public String getStartStationName() { | |
| 215 | + return startStationName; | |
| 216 | + } | |
| 217 | + | |
| 218 | + public void setStartStationName(String startStationName) { | |
| 219 | + this.startStationName = startStationName; | |
| 220 | + } | |
| 221 | + | |
| 222 | + public String getEndStationName() { | |
| 223 | + return endStationName; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public void setEndStationName(String endStationName) { | |
| 227 | + this.endStationName = endStationName; | |
| 228 | + } | |
| 229 | + | |
| 230 | + public String getStartStationFirstTime() { | |
| 231 | + return startStationFirstTime; | |
| 232 | + } | |
| 233 | + | |
| 234 | + public void setStartStationFirstTime(String startStationFirstTime) { | |
| 235 | + this.startStationFirstTime = startStationFirstTime; | |
| 236 | + } | |
| 237 | + | |
| 238 | + public String getStartStationEndTime() { | |
| 239 | + return startStationEndTime; | |
| 240 | + } | |
| 241 | + | |
| 242 | + public void setStartStationEndTime(String startStationEndTime) { | |
| 243 | + this.startStationEndTime = startStationEndTime; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public String getEndStationFirstTime() { | |
| 247 | + return endStationFirstTime; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public void setEndStationFirstTime(String endStationFirstTime) { | |
| 251 | + this.endStationFirstTime = endStationFirstTime; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public String getEndStationEndTime() { | |
| 255 | + return endStationEndTime; | |
| 256 | + } | |
| 257 | + | |
| 258 | + public void setEndStationEndTime(String endStationEndTime) { | |
| 259 | + this.endStationEndTime = endStationEndTime; | |
| 260 | + } | |
| 261 | + | |
| 262 | + public String getCompany() { | |
| 263 | + return company; | |
| 264 | + } | |
| 265 | + | |
| 266 | + public void setCompany(String company) { | |
| 267 | + this.company = company; | |
| 268 | + } | |
| 269 | + | |
| 270 | + public String getBrancheCompany() { | |
| 271 | + return brancheCompany; | |
| 272 | + } | |
| 273 | + | |
| 274 | + public void setBrancheCompany(String brancheCompany) { | |
| 275 | + this.brancheCompany = brancheCompany; | |
| 276 | + } | |
| 277 | + | |
| 278 | + public String getNature() { | |
| 279 | + return nature; | |
| 280 | + } | |
| 281 | + | |
| 282 | + public void setNature(String nature) { | |
| 283 | + this.nature = nature; | |
| 284 | + } | |
| 285 | + | |
| 286 | + public String getLevel() { | |
| 287 | + return level; | |
| 288 | + } | |
| 289 | + | |
| 290 | + public void setLevel(String level) { | |
| 291 | + this.level = level; | |
| 292 | + } | |
| 293 | + | |
| 294 | + public double getLength() { | |
| 295 | + return length; | |
| 296 | + } | |
| 297 | + | |
| 298 | + public void setLength(double length) { | |
| 299 | + this.length = length; | |
| 300 | + } | |
| 301 | + | |
| 302 | + public String getChargeName() { | |
| 303 | + return chargeName; | |
| 304 | + } | |
| 305 | + | |
| 306 | + public void setChargeName(String chargeName) { | |
| 307 | + this.chargeName = chargeName; | |
| 308 | + } | |
| 309 | + | |
| 310 | + public String getTelephone() { | |
| 311 | + return telephone; | |
| 312 | + } | |
| 313 | + | |
| 314 | + public void setTelephone(String telephone) { | |
| 315 | + this.telephone = telephone; | |
| 316 | + } | |
| 317 | + | |
| 318 | + public Integer getDestroy() { | |
| 319 | + return destroy; | |
| 320 | + } | |
| 321 | + | |
| 322 | + public void setDestroy(Integer destroy) { | |
| 323 | + this.destroy = destroy; | |
| 324 | + } | |
| 325 | + | |
| 326 | + public Integer getSupperLine() { | |
| 327 | + return supperLine; | |
| 328 | + } | |
| 329 | + | |
| 330 | + public void setSupperLine(Integer supperLine) { | |
| 331 | + this.supperLine = supperLine; | |
| 332 | + } | |
| 333 | + | |
| 334 | + public String getStartPhone() { | |
| 335 | + return startPhone; | |
| 336 | + } | |
| 337 | + | |
| 338 | + public void setStartPhone(String startPhone) { | |
| 339 | + this.startPhone = startPhone; | |
| 340 | + } | |
| 341 | + | |
| 342 | + public String getEndPhone() { | |
| 343 | + return endPhone; | |
| 344 | + } | |
| 345 | + | |
| 346 | + public void setEndPhone(String endPhone) { | |
| 347 | + this.endPhone = endPhone; | |
| 348 | + } | |
| 349 | + | |
| 350 | + public Date getOpenDate() { | |
| 351 | + return openDate; | |
| 352 | + } | |
| 353 | + | |
| 354 | + public void setOpenDate(Date openDate) { | |
| 355 | + this.openDate = openDate; | |
| 356 | + } | |
| 357 | + | |
| 358 | + public String getHistory() { | |
| 359 | + return history; | |
| 360 | + } | |
| 361 | + | |
| 362 | + public void setHistory(String history) { | |
| 363 | + this.history = history; | |
| 364 | + } | |
| 365 | + | |
| 366 | + public String getShanghaiLinecode() { | |
| 367 | + return shanghaiLinecode; | |
| 368 | + } | |
| 369 | + | |
| 370 | + public void setShanghaiLinecode(String shanghaiLinecode) { | |
| 371 | + this.shanghaiLinecode = shanghaiLinecode; | |
| 372 | + } | |
| 373 | + | |
| 374 | + public String getEqLinecode() { | |
| 375 | + return eqLinecode; | |
| 376 | + } | |
| 377 | + | |
| 378 | + public void setEqLinecode(String eqLinecode) { | |
| 379 | + this.eqLinecode = eqLinecode; | |
| 380 | + } | |
| 381 | + | |
| 382 | + public Integer getWarrantCar() { | |
| 383 | + return warrantCar; | |
| 384 | + } | |
| 385 | + | |
| 386 | + public void setWarrantCar(Integer warrantCar) { | |
| 387 | + this.warrantCar = warrantCar; | |
| 388 | + } | |
| 389 | + | |
| 390 | + public Integer getWarrantDate() { | |
| 391 | + return warrantDate; | |
| 392 | + } | |
| 393 | + | |
| 394 | + public void setWarrantDate(Integer warrantDate) { | |
| 395 | + this.warrantDate = warrantDate; | |
| 396 | + } | |
| 397 | + | |
| 398 | + public Integer getLinePlayType() { | |
| 399 | + return linePlayType; | |
| 400 | + } | |
| 401 | + | |
| 402 | + public void setLinePlayType(Integer linePlayType) { | |
| 403 | + this.linePlayType = linePlayType; | |
| 404 | + } | |
| 405 | + | |
| 406 | + public String getDescriptions() { | |
| 407 | + return descriptions; | |
| 408 | + } | |
| 409 | + | |
| 410 | + public void setDescriptions(String descriptions) { | |
| 411 | + this.descriptions = descriptions; | |
| 412 | + } | |
| 413 | + | |
| 414 | + public Date getCreateDate() { | |
| 415 | + return createDate; | |
| 416 | + } | |
| 417 | + | |
| 418 | + public void setCreateDate(Date createDate) { | |
| 419 | + this.createDate = createDate; | |
| 420 | + } | |
| 421 | +} | ... | ... |
src/main/java/com/bsth/server_rs/base_info/line/LineService.java
0 → 100644
src/main/java/com/bsth/server_rs/base_info/line/buffer/LineBufferData.java
0 → 100644
| 1 | +package com.bsth.server_rs.base_info.line.buffer; | |
| 2 | + | |
| 3 | +import com.bsth.server_rs.base_info.line.Line; | |
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 5 | +import org.springframework.boot.CommandLineRunner; | |
| 6 | +import org.springframework.core.annotation.Order; | |
| 7 | +import org.springframework.stereotype.Component; | |
| 8 | + | |
| 9 | +import java.util.HashMap; | |
| 10 | +import java.util.List; | |
| 11 | +import java.util.Map; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * 线路数据缓存(自更新) | |
| 15 | + * Created by panzhao on 2017/3/27. | |
| 16 | + */ | |
| 17 | +@Component | |
| 18 | +@Order(10) | |
| 19 | +public class LineBufferData implements CommandLineRunner { | |
| 20 | + | |
| 21 | + @Autowired | |
| 22 | + LineRefreshThread lineRefreshThread; | |
| 23 | + | |
| 24 | + private static List<Line> data; | |
| 25 | + private static Map<Integer, Line> idMap; | |
| 26 | + | |
| 27 | + public static List<Line> findAll(){ | |
| 28 | + return data; | |
| 29 | + } | |
| 30 | + | |
| 31 | + public static Line findOne(Integer id){ | |
| 32 | + return idMap.get(id); | |
| 33 | + } | |
| 34 | + | |
| 35 | + public static void replaceAll(List<Line> newData){ | |
| 36 | + data = newData; | |
| 37 | + Map<Integer, Line> idMapCopy = new HashMap<>(); | |
| 38 | + for(Line line : data){ | |
| 39 | + idMapCopy.put(line.getId(), line); | |
| 40 | + } | |
| 41 | + idMap = idMapCopy; | |
| 42 | + } | |
| 43 | + | |
| 44 | + @Override | |
| 45 | + public void run(String... strings) throws Exception { | |
| 46 | + //Application.mainServices.scheduleWithFixedDelay(lineRefreshThread, 10, 60 * 60, TimeUnit.SECONDS); | |
| 47 | + } | |
| 48 | +} | ... | ... |
src/main/java/com/bsth/server_rs/base_info/line/buffer/LineRefreshThread.java
0 → 100644
| 1 | +package com.bsth.server_rs.base_info.line.buffer; | |
| 2 | + | |
| 3 | +import com.bsth.server_rs.base_info.line.Line; | |
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 5 | +import org.springframework.jdbc.core.JdbcTemplate; | |
| 6 | +import org.springframework.stereotype.Component; | |
| 7 | + | |
| 8 | +import java.util.List; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * Created by panzhao on 2017/3/27. | |
| 12 | + */ | |
| 13 | +@Component | |
| 14 | +public class LineRefreshThread extends Thread{ | |
| 15 | + | |
| 16 | + @Autowired | |
| 17 | + JdbcTemplate jdbcTemplate; | |
| 18 | + | |
| 19 | + @Override | |
| 20 | + public void run() { | |
| 21 | + | |
| 22 | + List<Line> list = jdbcTemplate.queryForList("select * from bsth_c_line", Line.class); | |
| 23 | + if(list != null && list.size() > 0) | |
| 24 | + LineBufferData.replaceAll(list); | |
| 25 | + } | |
| 26 | +} | ... | ... |
src/main/java/com/bsth/ws_proxy/WebServiceProxy.java renamed to src/main/java/com/bsth/server_ws/WebServiceProxy.java
| 1 | -package com.bsth.ws_proxy; | |
| 1 | +package com.bsth.server_ws; | |
| 2 | 2 | |
| 3 | 3 | import com.alibaba.fastjson.JSON; |
| 4 | 4 | import com.alibaba.fastjson.JSONArray; |
| ... | ... | @@ -7,7 +7,7 @@ import com.bsth.entity.Line2System; |
| 7 | 7 | import com.bsth.old_sys_wsclient.nh_ld.ClsLDInfo; |
| 8 | 8 | import com.bsth.repository.Line2SystemRepository; |
| 9 | 9 | import com.bsth.util.ConvertUtil; |
| 10 | -import com.bsth.ws_server.waybill.entity.NH_waybill; | |
| 10 | +import com.bsth.server_ws.waybill.entity.NH_waybill; | |
| 11 | 11 | import com.google.common.collect.ArrayListMultimap; |
| 12 | 12 | import org.apache.commons.lang3.StringUtils; |
| 13 | 13 | import org.slf4j.Logger; | ... | ... |
src/main/java/com/bsth/ws_server/attendance/AttendanceService.java renamed to src/main/java/com/bsth/server_ws/attendance/AttendanceService.java
src/main/java/com/bsth/ws_server/attendance/AttendanceServiceSoap.java renamed to src/main/java/com/bsth/server_ws/attendance/AttendanceServiceSoap.java
| 1 | -package com.bsth.ws_server.attendance; | |
| 1 | +package com.bsth.server_ws.attendance; | |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.SchedulePlanInfo; |
| 4 | 4 | import com.bsth.entity.ScheduleRealInfo; |
| ... | ... | @@ -6,8 +6,8 @@ import com.bsth.redis.PlanScheduleRedisService; |
| 6 | 6 | import com.bsth.redis.ScheduleRedisService; |
| 7 | 7 | import com.bsth.service.DDYAuthorityService; |
| 8 | 8 | import com.bsth.service.UserService; |
| 9 | -import com.bsth.ws_server.attendance.entity.NH_jsy_attendance; | |
| 10 | -import com.bsth.ws_server.util.WSDataConver; | |
| 9 | +import com.bsth.server_ws.attendance.entity.NH_jsy_attendance; | |
| 10 | +import com.bsth.server_ws.util.WSDataConver; | |
| 11 | 11 | import org.slf4j.Logger; |
| 12 | 12 | import org.springframework.beans.BeansException; |
| 13 | 13 | import org.springframework.context.ApplicationContext; |
| ... | ... | @@ -30,7 +30,7 @@ import java.util.Set; |
| 30 | 30 | portName = "AttendanceServiceSoap", |
| 31 | 31 | serviceName = "AttendanceService", |
| 32 | 32 | targetNamespace = "http://control.bsth.com/", |
| 33 | - endpointInterface = "com.bsth.ws_server.attendance.AttendanceService") | |
| 33 | + endpointInterface = "com.bsth.server_ws.attendance.AttendanceService") | |
| 34 | 34 | public class AttendanceServiceSoap implements AttendanceService, ApplicationContextAware { |
| 35 | 35 | |
| 36 | 36 | Logger logger = org.slf4j.LoggerFactory.getLogger(this.getClass()); | ... | ... |
src/main/java/com/bsth/ws_server/attendance/entity/NH_jsy_attendance.java renamed to src/main/java/com/bsth/server_ws/attendance/entity/NH_jsy_attendance.java
src/main/java/com/bsth/ws_server/park_station/CompanyService.java renamed to src/main/java/com/bsth/server_ws/park_station/CompanyService.java
src/main/java/com/bsth/ws_server/park_station/CompanyServiceSoap.java renamed to src/main/java/com/bsth/server_ws/park_station/CompanyServiceSoap.java
| 1 | -package com.bsth.ws_server.park_station; | |
| 1 | +package com.bsth.server_ws.park_station; | |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.ScheduleRealInfo; |
| 4 | 4 | import com.bsth.old_sys_wsclient.OldWSClient; |
| 5 | -import com.bsth.ws_proxy.WebServiceProxy; | |
| 6 | -import com.bsth.ws_server.util.Constants; | |
| 7 | -import com.bsth.ws_server.util.ControlHttpUtils; | |
| 8 | -import com.bsth.ws_server.util.WSDataConver; | |
| 5 | +import com.bsth.server_ws.WebServiceProxy; | |
| 6 | +import com.bsth.server_ws.util.Constants; | |
| 7 | +import com.bsth.server_ws.util.ControlHttpUtils; | |
| 8 | +import com.bsth.server_ws.util.WSDataConver; | |
| 9 | 9 | import org.slf4j.Logger; |
| 10 | 10 | import org.slf4j.LoggerFactory; |
| 11 | 11 | |
| ... | ... | @@ -25,7 +25,7 @@ import java.util.List; |
| 25 | 25 | portName = "CompanyServiceSoap", |
| 26 | 26 | serviceName = "CompanyService", |
| 27 | 27 | targetNamespace = "http://control.bsth.com/", |
| 28 | - endpointInterface = "com.bsth.ws_server.park_station.CompanyService") | |
| 28 | + endpointInterface = "com.bsth.server_ws.park_station.CompanyService") | |
| 29 | 29 | public class CompanyServiceSoap implements CompanyService { |
| 30 | 30 | |
| 31 | 31 | ... | ... |
src/main/java/com/bsth/ws_server/util/Constants.java renamed to src/main/java/com/bsth/server_ws/util/Constants.java
src/main/java/com/bsth/ws_server/util/ControlHttpUtils.java renamed to src/main/java/com/bsth/server_ws/util/ControlHttpUtils.java
src/main/java/com/bsth/ws_server/util/ScheduleCalculator.java renamed to src/main/java/com/bsth/server_ws/util/ScheduleCalculator.java
src/main/java/com/bsth/ws_server/util/WSDataConver.java renamed to src/main/java/com/bsth/server_ws/util/WSDataConver.java
| 1 | -package com.bsth.ws_server.util; | |
| 1 | +package com.bsth.server_ws.util; | |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.DutyEmployee; |
| 4 | 4 | import com.bsth.entity.OilInfo; |
| ... | ... | @@ -6,8 +6,8 @@ import com.bsth.entity.SchedulePlanInfo; |
| 6 | 6 | import com.bsth.entity.ScheduleRealInfo; |
| 7 | 7 | import com.bsth.util.Arith; |
| 8 | 8 | import com.bsth.util.ConvertUtil; |
| 9 | -import com.bsth.ws_server.attendance.entity.NH_jsy_attendance; | |
| 10 | -import com.bsth.ws_server.waybill.entity.*; | |
| 9 | +import com.bsth.server_ws.attendance.entity.NH_jsy_attendance; | |
| 10 | +import com.bsth.server_ws.waybill.entity.*; | |
| 11 | 11 | import com.google.common.collect.ArrayListMultimap; |
| 12 | 12 | import org.apache.commons.lang3.StringUtils; |
| 13 | 13 | import org.slf4j.Logger; | ... | ... |
src/main/java/com/bsth/ws_server/waybill/LD_Service.java renamed to src/main/java/com/bsth/server_ws/waybill/LD_Service.java
| 1 | -package com.bsth.ws_server.waybill; | |
| 1 | +package com.bsth.server_ws.waybill; | |
| 2 | 2 | |
| 3 | -import com.bsth.ws_server.waybill.entity.NH_waybill; | |
| 4 | -import com.bsth.ws_server.waybill.entity.SN_lossMileage; | |
| 5 | -import com.bsth.ws_server.waybill.entity.SN_waybill; | |
| 3 | +import com.bsth.server_ws.waybill.entity.NH_waybill; | |
| 4 | +import com.bsth.server_ws.waybill.entity.SN_lossMileage; | |
| 5 | +import com.bsth.server_ws.waybill.entity.SN_waybill; | |
| 6 | 6 | |
| 7 | 7 | import javax.jws.WebMethod; |
| 8 | 8 | import javax.jws.WebParam; | ... | ... |
src/main/java/com/bsth/ws_server/waybill/LD_ServiceSoap.java renamed to src/main/java/com/bsth/server_ws/waybill/LD_ServiceSoap.java
| 1 | -package com.bsth.ws_server.waybill; | |
| 1 | +package com.bsth.server_ws.waybill; | |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.DutyEmployee; |
| 4 | 4 | import com.bsth.entity.OilInfo; |
| ... | ... | @@ -9,11 +9,11 @@ import com.bsth.redis.OilRedisService; |
| 9 | 9 | import com.bsth.redis.ScheduleRedisService; |
| 10 | 10 | import com.bsth.repository.DutyEmployeeRepository; |
| 11 | 11 | import com.bsth.service.UserService; |
| 12 | -import com.bsth.ws_proxy.WebServiceProxy; | |
| 13 | -import com.bsth.ws_server.util.WSDataConver; | |
| 14 | -import com.bsth.ws_server.waybill.entity.NH_waybill; | |
| 15 | -import com.bsth.ws_server.waybill.entity.SN_lossMileage; | |
| 16 | -import com.bsth.ws_server.waybill.entity.SN_waybill; | |
| 12 | +import com.bsth.server_ws.WebServiceProxy; | |
| 13 | +import com.bsth.server_ws.util.WSDataConver; | |
| 14 | +import com.bsth.server_ws.waybill.entity.NH_waybill; | |
| 15 | +import com.bsth.server_ws.waybill.entity.SN_lossMileage; | |
| 16 | +import com.bsth.server_ws.waybill.entity.SN_waybill; | |
| 17 | 17 | import com.google.common.collect.ArrayListMultimap; |
| 18 | 18 | import org.joda.time.format.DateTimeFormat; |
| 19 | 19 | import org.joda.time.format.DateTimeFormatter; |
| ... | ... | @@ -38,7 +38,7 @@ import java.util.Map; |
| 38 | 38 | portName = "LD_ServiceSoap", |
| 39 | 39 | serviceName = "LD_Service", |
| 40 | 40 | targetNamespace = "http://control.bsth.com/", |
| 41 | - endpointInterface = "com.bsth.ws_server.waybill.LD_Service") | |
| 41 | + endpointInterface = "com.bsth.server_ws.waybill.LD_Service") | |
| 42 | 42 | public class LD_ServiceSoap implements LD_Service, ApplicationContextAware { |
| 43 | 43 | |
| 44 | 44 | static OilRedisService oilRedisService; | ... | ... |
src/main/java/com/bsth/ws_server/waybill/entity/NH_waybill.java renamed to src/main/java/com/bsth/server_ws/waybill/entity/NH_waybill.java
src/main/java/com/bsth/ws_server/waybill/entity/NH_waybillItem.java renamed to src/main/java/com/bsth/server_ws/waybill/entity/NH_waybillItem.java
src/main/java/com/bsth/ws_server/waybill/entity/SN_lossMileage.java renamed to src/main/java/com/bsth/server_ws/waybill/entity/SN_lossMileage.java
src/main/java/com/bsth/ws_server/waybill/entity/SN_waybill.java renamed to src/main/java/com/bsth/server_ws/waybill/entity/SN_waybill.java
src/main/java/com/bsth/ws_server/waybill/entity/SN_waybillItem.java renamed to src/main/java/com/bsth/server_ws/waybill/entity/SN_waybillItem.java
src/main/java/com/bsth/service/impl/Line2SystemServiceImpl.java
| ... | ... | @@ -3,7 +3,7 @@ package com.bsth.service.impl; |
| 3 | 3 | import com.bsth.entity.Line2System; |
| 4 | 4 | import com.bsth.repository.Line2SystemRepository; |
| 5 | 5 | import com.bsth.service.Line2SystemService; |
| 6 | -import com.bsth.ws_proxy.WebServiceProxy; | |
| 6 | +import com.bsth.server_ws.WebServiceProxy; | |
| 7 | 7 | import org.springframework.beans.factory.annotation.Autowired; |
| 8 | 8 | import org.springframework.stereotype.Service; |
| 9 | 9 | ... | ... |