Commit f1f687f16fa74a277dbcb65f747c9e452179617f
1 parent
1c57f4f7
迁移到 24
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/com/bsth/server_ws/park_station/CompanyServiceSoap.java
| ... | ... | @@ -88,7 +88,7 @@ public class CompanyServiceSoap implements CompanyService { |
| 88 | 88 | @WebMethod |
| 89 | 89 | public boolean getCurrentDayPlan(String ip, String userName, String password, String workId, String company, Holder<String[]> result, Holder<String> fError) { |
| 90 | 90 | try{ |
| 91 | - logger.info("getCurrentDayPlan userName: " + userName); | |
| 91 | + logger.info("getCurrentDayPlan workId: " + workId); | |
| 92 | 92 | if(WebServiceProxy.personIsNew(company, workId)){ |
| 93 | 93 | |
| 94 | 94 | List<ScheduleRealInfo> list = null; |
| ... | ... | @@ -102,8 +102,10 @@ public class CompanyServiceSoap implements CompanyService { |
| 102 | 102 | } |
| 103 | 103 | result.value = WSDataConver.to_getCurrentDayPlan(list); |
| 104 | 104 | } |
| 105 | - else | |
| 105 | + else{ | |
| 106 | 106 | result.value = OldWSClient.getCurrentDayPlan(workId, company); |
| 107 | + logger.info("从老系统获取size: " + result.value.length); | |
| 108 | + } | |
| 107 | 109 | }catch(Exception e){ |
| 108 | 110 | fError.value = e.getMessage(); |
| 109 | 111 | } | ... | ... |