Commit b21d8e3aaebc4f60e05c22e1cc1b63e299c4a490
1 parent
51c2614b
迁移到 24
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/bsth/server_ws/park_station/CompanyServiceSoap.java
| @@ -88,12 +88,14 @@ public class CompanyServiceSoap implements CompanyService { | @@ -88,12 +88,14 @@ public class CompanyServiceSoap implements CompanyService { | ||
| 88 | @WebMethod | 88 | @WebMethod |
| 89 | public boolean getCurrentDayPlan(String ip, String userName, String password, String workId, String company, Holder<String[]> result, Holder<String> fError) { | 89 | public boolean getCurrentDayPlan(String ip, String userName, String password, String workId, String company, Holder<String[]> result, Holder<String> fError) { |
| 90 | try{ | 90 | try{ |
| 91 | + logger.info("getCurrentDayPlan userName: " + userName); | ||
| 91 | if(WebServiceProxy.personIsNew(company, workId)){ | 92 | if(WebServiceProxy.personIsNew(company, workId)){ |
| 92 | 93 | ||
| 93 | List<ScheduleRealInfo> list = null; | 94 | List<ScheduleRealInfo> list = null; |
| 94 | try{ | 95 | try{ |
| 95 | //从调度系统获取数据 | 96 | //从调度系统获取数据 |
| 96 | list = ControlHttpUtils.getCurrentDayPlan(company, workId); | 97 | list = ControlHttpUtils.getCurrentDayPlan(company, workId); |
| 98 | + logger.info("从调度系统获取到数据 size: " + list.size()); | ||
| 97 | }catch (Exception e){ | 99 | }catch (Exception e){ |
| 98 | //访问调度系统异常,尝试从数据库获取 | 100 | //访问调度系统异常,尝试从数据库获取 |
| 99 | 101 |