Commit a4467a3b7c5b5e05e7b70e35d6e3325863f98a9b

Authored by 王通
1 parent 5ea6ff78

1.人员信息接口去除身份证号

src/main/java/com/bsth/server_rs/base_info/person/Personnel.java
1 package com.bsth.server_rs.base_info.person; 1 package com.bsth.server_rs.base_info.person;
2 2
  3 +import com.fasterxml.jackson.annotation.JsonIgnore;
  4 +
3 import javax.xml.bind.annotation.XmlRootElement; 5 import javax.xml.bind.annotation.XmlRootElement;
4 import java.io.Serializable; 6 import java.io.Serializable;
5 import java.util.Date; 7 import java.util.Date;
@@ -52,6 +54,7 @@ public class Personnel implements Serializable { @@ -52,6 +54,7 @@ public class Personnel implements Serializable {
52 /** 54 /**
53 * 身份证 55 * 身份证
54 */ 56 */
  57 + @JsonIgnore
55 private String card; 58 private String card;
56 59
57 public String getCard() { 60 public String getCard() {
src/main/resources/static/index.html deleted 100644 → 0
1 -<!DOCTYPE html>  
2 -<html>  
3 -<head>  
4 -<title>调度系统营运数据接口</title>  
5 -<meta charset="utf-8">  
6 -<meta http-equiv="Expires" content="0">  
7 -<meta http-equiv="Pragma" content="no-cache">  
8 -<meta http-equiv="Cache-control" content="no-cache">  
9 -<meta http-equiv="Cache" content="no-cache">  
10 -<link rel="stylesheet"  
11 - href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css">  
12 -<link rel="stylesheet" href="/simple_switch/simple.switch.three.css">  
13 -<style>  
14 -.table-wrap {  
15 - height: 500px;  
16 - overflow: auto;  
17 -}  
18 -  
19 -#line2SysListTable .Switch_FlatRadius .SwitchLine:before {  
20 - content: "老系统";  
21 -}  
22 -  
23 -#line2SysListTable .Switch_FlatRadius .SwitchLine:after {  
24 - content: "新系统";  
25 -}  
26 -  
27 -#line2SysListTable .Switch_FlatRadius {  
28 - width: 118px;  
29 -}  
30 -  
31 -#line2SysListTable .Switch_FlatRadius .SwitchButton {  
32 - width: 52px;  
33 -}  
34 -  
35 -#line2SysListTable .Switch_FlatRadius .SwitchButton:before {  
36 - left: 18px;  
37 -}  
38 -  
39 -#line2SysListTable .Switch_FlatRadius .SwitchButton:after {  
40 - left: 30px;  
41 -}  
42 -  
43 -#line2SysListTable .Switch_FlatRadius.On .SwitchButton {  
44 - left: 60px;  
45 -}  
46 -</style>  
47 -</head>  
48 -  
49 -<body>  
50 -  
51 - <div class="row" style="margin: 15px;">  
52 - <div class="col-md-12 well">  
53 - <h4>  
54 - Available SOAP services: <a href="/webservice" target="_blank">/webservice</a>  
55 - </h4>  
56 - <h4>  
57 - WSDL: <a href="/webservice/CompanyService?wsdl" target="_blank">/webservice/CompanyService?wsdl</a>  
58 - </h4>  
59 - </div>  
60 -  
61 - <div class="col-lg-4 col-md-6 col-sm-12">  
62 - <div class="bs-example"  
63 - data-example-id="panel-without-body-with-table">  
64 - <div class="panel panel-default">  
65 - <!-- Default panel contents -->  
66 - <div class="panel-heading">线路清单</div>  
67 - <div class="panel-body">  
68 - <p style="color: #ff2727;">屏蔽新老系统的底层数据差异,对外提供统一的数据输出</p>  
69 - <p>1、使用员工号查询数据时,系统将参考 “线路人员配置” 以确定人员所在线路。</p>  
70 - <p>2、使用公司编码查询数据时,系统将参考 “线路基础信息” 里的公司编码。</p>  
71 - </div>  
72 - <div class="table-wrap">  
73 - <table class="table" id="line2SysListTable">  
74 - <thead>  
75 - <tr>  
76 - <th>线路编码</th>  
77 - <th>线路名称</th>  
78 - <th>数据来源</th>  
79 - </tr>  
80 - </thead>  
81 - <tbody>  
82 - </tbody>  
83 - </table>  
84 - </div>  
85 - </div>  
86 - </div>  
87 - </div>  
88 -  
89 - <div class="col-lg-8 col-md-6 col-sm-12">  
90 - <div class="bs-example">  
91 - <div class="panel panel-default">  
92 - <div class="panel-heading">接口调试工具</div>  
93 - <div style="padding: 15px; margin-top: 15px;">  
94 - <form class="form-inline">  
95 - <div class="form-group">  
96 - <label>函数</label> <select class="form-control">  
97 - <option value="returnCCInfo">returnCCInfo(获取出场班次信息)</option>  
98 - <option value="returnJCInfo">returnJCInfo(获取进场班次信息)</option>  
99 - </select>  
100 - </div>  
101 - &nbsp;  
102 - <div class="form-group">  
103 - <label>公司编码</label> <select class="form-control">  
104 - <option value="55">55(上南)</option>  
105 - <option value="22">22(金高)</option>  
106 - <option value="05">05(杨高)</option>  
107 - <option value="26">26(南汇)</option>  
108 - </select>  
109 - </div>  
110 - &nbsp;  
111 - <div class="form-group">  
112 - <label>日期</label> <input type="date" class="form-control"  
113 - style="width: 150px;" required>  
114 - </div>  
115 - <button type="submit" class="btn btn-primary">获取数据</button>  
116 -  
117 - <textarea class="form-control" rows="25"  
118 - style="width: 100%; margin-top: 25px;"></textarea>  
119 - </form>  
120 -  
121 - </div>  
122 - </div>  
123 - </div>  
124 - </div>  
125 - </div>  
126 -  
127 - <script id="line2sys-table-list-temp" type="text/html">  
128 - {{each list as obj i}}  
129 - <tr data-id="{{obj.lineCode}}" data-name="{{obj.lineName}}" {{if obj.new}}class="warning" {{/if}} >  
130 - <td>{{obj.lineCode}}</td>  
131 - <td>{{obj.lineName}}</td>  
132 - <td>  
133 - <input type="checkbox" {{if obj.new}}checked{{/if}} />  
134 - </td>  
135 - </tr>  
136 - {{/each}}  
137 -</script>  
138 -  
139 - <script src="http://apps.bdimg.com/libs/jquery/1.8.3/jquery.min.js"></script>  
140 - <script  
141 - src="http://apps.bdimg.com/libs/bootstrap/3.2.0/js/bootstrap.min.js"></script>  
142 - <script src="/assets/js/template.js"></script>  
143 - <script src="/simple_switch/simple.switch.min.js"></script>  
144 -  
145 - <script>  
146 -  
147 - //线路清单  
148 - !function () {  
149 - var f = arguments.callee;  
150 -/* $.get('/line2System/all', function (list) {  
151 - list.sort(function (a, b) {  
152 - return b.new - a.new;  
153 - });  
154 - var htmlStr = template('line2sys-table-list-temp', {list: list});  
155 - $('#line2SysListTable tbody').html(htmlStr);  
156 -  
157 - $('input[type=checkbox]').simpleSwitch({  
158 - "theme": "FlatRadius"  
159 - });  
160 -  
161 - $('input[type=checkbox]').on('change', function () {  
162 - var $tr = $(this).parents('tr');  
163 - var data = {  
164 - lineCode: $tr.data('id'),  
165 - lineName: $tr.data('name'),  
166 - new: this.checked  
167 - }  
168 -  
169 - $.post('/line2System/update', data, function (rs) {  
170 - var $tr = $('#line2SysListTable tr[data-id=' + rs.lineCode + ']');  
171 - $tr.attr('class', rs.new ? 'warning' : '');  
172 - });  
173 - });  
174 - });*/  
175 - }();  
176 -  
177 -</script>  
178 -</body>  
179 -</html>  
180 \ No newline at end of file 0 \ No newline at end of file