zhuhaiwen 3 years ago
parent
commit
d64d702ef1

+ 9 - 1
README.md

@ -2,4 +2,12 @@
2 2
3 3
后台管理系统Java代码
4 4
5
1.接口运行地址:http://localhost:8081/zhbg/place/query
5
1.接口运行地址:http://localhost:8081/zhbg/place/query
6
7
2,
8
http://10.1.76.181:8081/zhbg/static/core/oa/TitleExamination/index.html
9
10
3,
11
http://10.1.76.181:8081/zhbg/swagger-ui.html?urls.primaryName=oa#/abort-appliction-controller
12
13

+ 235 - 0
oa-app/src/main/java/com/css/oa/exam/admin/controller/AA.java

@ -0,0 +1,235 @@
1
package com.css.oa.exam.admin.controller;
2
3
import com.fasterxml.jackson.annotation.JsonProperty;
4
import lombok.Data;
5
import lombok.NoArgsConstructor;
6
7
import java.util.List;
8
9
@NoArgsConstructor
10
@Data
11
public class AA {
12
13
    /*{
14
        "id": "fc80fa44f4ab4c389cddb17837074a34",
15
            "persCode": "140622198906200032",
16
            "userName": "zangtie",
17
            "persName": "臧铁",
18
            "orgCode": "100000002",
19
            "orgName": "其他",
20
            "orgJurd": "",
21
            "jurdAreaType": "",
22
            "adminOrgCode": "",
23
            "depCode": "8be30b2208ff4b899be59c51465d34fe",
24
            "depName": "临时部门",
25
            "userState": "1",
26
            "caCertification": "",
27
            "ordernum": "95656",
28
            "creater": "",
29
            "modifier": "",
30
            "roleInfoList": [
31
        {
32
            "id": "9b0e3d32582d48a5be2af92a89cadc56",
33
                "roleCode": "kfz",
34
                "roleName": "开发者",
35
                "roleDesc": "",
36
                "roleType": "1",
37
                "orgId": "",
38
                "orgCode": "",
39
                "orgName": "",
40
                "orgJurd": "",
41
                "jurdAreaType": "",
42
                "sysId": "",
43
                "sysCode": "2222",
44
                "status": "1",
45
                "creater": "",
46
                "modifier": "",
47
                "ordernum": "",
48
                "note": ""
49
        },
50
        {
51
            "id": "6b303bd8624e4c308401dfa1d3f2ac99",
52
                "roleCode": "cdglxt",
53
                "roleName": "菜单管理系统",
54
                "roleDesc": "管理业务系统管理员的菜单",
55
                "roleType": "1",
56
                "orgId": "",
57
                "orgCode": "",
58
                "orgName": "",
59
                "orgJurd": "",
60
                "jurdAreaType": "",
61
                "sysId": "",
62
                "sysCode": "1001",
63
                "status": "1",
64
                "creater": "",
65
                "modifier": "",
66
                "ordernum": "",
67
                "note": "管理业务系统管理员的菜单"
68
        },
69
        {
70
            "id": "0577191f23b241b8b7d86176f5c2346a",
71
                "roleCode": "131452021-xtgly-01",
72
                "roleName": "系统管理员",
73
                "roleDesc": "",
74
                "roleType": "01",
75
                "orgId": "",
76
                "orgCode": "",
77
                "orgName": "",
78
                "orgJurd": "",
79
                "jurdAreaType": "",
80
                "sysId": "",
81
                "sysCode": "131452021",
82
                "status": "1",
83
                "creater": "",
84
                "modifier": "",
85
                "ordernum": "",
86
                "note": ""
87
        },
88
        {
89
            "id": "93f35c1d5b0f44c29b33599865a2aeb1",
90
                "roleCode": "cdglaq",
91
                "roleName": "菜单管理安全",
92
                "roleDesc": "管理安全管理员菜单",
93
                "roleType": "1",
94
                "orgId": "",
95
                "orgCode": "",
96
                "orgName": "",
97
                "orgJurd": "",
98
                "jurdAreaType": "",
99
                "sysId": "",
100
                "sysCode": "1001",
101
                "status": "1",
102
                "creater": "",
103
                "modifier": "",
104
                "ordernum": "",
105
                "note": "管理安全管理员菜单"
106
        },
107
        {
108
            "id": "fee152c213c845a28521d16b873fa4ad",
109
                "roleCode": "131452021-aqgly-02",
110
                "roleName": "安全管理员",
111
                "roleDesc": "",
112
                "roleType": "02",
113
                "orgId": "",
114
                "orgCode": "",
115
                "orgName": "",
116
                "orgJurd": "",
117
                "jurdAreaType": "",
118
                "sysId": "",
119
                "sysCode": "131452021",
120
                "status": "1",
121
                "creater": "",
122
                "modifier": "",
123
                "ordernum": "",
124
                "note": ""
125
        }
126
  ]
127
    }
128
*/
129
130
    @JsonProperty("id")
131
    private String id;
132
133
    @JsonProperty("身份证号")
134
    private String persCode;
135
136
    @JsonProperty("姓名-拼音")
137
    private String userName;
138
139
    @JsonProperty("姓名-汉语")
140
    private String persName;
141
142
    @JsonProperty("组织机构编码")
143
    private String orgCode;
144
145
    @JsonProperty("组织机构-汉语")
146
    private String orgName;
147
148
    @JsonProperty("组织机构的管辖范围")
149
    private String orgJurd;
150
151
    @JsonProperty("区域类型")
152
    private String jurdAreaType;
153
154
    @JsonProperty("管理员组织结构编码")
155
    private String adminOrgCode;
156
157
    @JsonProperty("部门编码")
158
    private String depCode;
159
160
    @JsonProperty("部门名称")
161
    private String depName;
162
163
    @JsonProperty("用户激活状态(已创建、呆激活、已激活)")
164
    private String userState;
165
166
    @JsonProperty("caCertification")
167
    private String caCertification;
168
169
    @JsonProperty("序号")
170
    private String ordernum;
171
172
    @JsonProperty("创建人")
173
    private String creater;
174
175
    @JsonProperty("修改人")
176
    private String modifier;
177
178
    @JsonProperty("角色列表")
179
    private List<RoleInfoListDTO> roleInfoList;
180
181
    @NoArgsConstructor
182
    @Data
183
    public static class RoleInfoListDTO {
184
        @JsonProperty("id")
185
        private String id;
186
187
        @JsonProperty("角色编码")
188
        private String roleCode;
189
190
        @JsonProperty("角色名称")
191
        private String roleName;
192
193
        @JsonProperty("角色描述")
194
        private String roleDesc;
195
196
        @JsonProperty("角色类型2、3、4等等")
197
        private String roleType;
198
199
        @JsonProperty("组织机构id")
200
        private String orgId;
201
202
        @JsonProperty("机构编码")
203
        private String orgCode;
204
205
        @JsonProperty("机构名称")
206
        private String orgName;
207
208
        @JsonProperty("机构管辖范围")
209
        private String orgJurd;
210
211
        @JsonProperty("管辖范围类型")
212
        private String jurdAreaType;
213
214
        @JsonProperty("所属系统")
215
        private String sysId;
216
217
        @JsonProperty("系统编码")
218
        private String sysCode;
219
220
        @JsonProperty("状态标志 1 启用 8 停用 9 禁用-")
221
        private String status;
222
223
        @JsonProperty("创建人")
224
        private String creater;
225
226
        @JsonProperty("修改人")
227
        private String modifier;
228
229
        @JsonProperty("序号")
230
        private String ordernum;
231
232
        @JsonProperty("note")
233
        private String note;
234
    }
235
}

+ 57 - 0
oa-app/src/main/java/com/css/oa/exam/admin/controller/a.txt

@ -0,0 +1,57 @@
1
# Copyright (c) 1993-2009 Microsoft Corp.
2
#
3
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
4
#
5
# This file contains the mappings of IP addresses to host names. Each
6
# entry should be kept on an individual line. The IP address should
7
# be placed in the first column followed by the corresponding host name.
8
# The IP address and the host name should be separated by at least one
9
# space.
10
#
11
# Additionally, comments (such as these) may be inserted on individual
12
# lines or following the machine name denoted by a '#' symbol.
13
#
14
# For example:
15
#
16
#      102.54.94.97     rhino.acme.com          # source server
17
#       38.25.63.10     x.acme.com              # x client host
18
19
# localhost name resolution is handled within DNS itself.
20
#	127.0.0.1       localhost
21
#	::1             localhost
22
23
24
127.0.0.1 genuine.microsoft.com
25
127.0.0.1 mpa.one.microsoft.com
26
127.0.0.1 sls.microsoft.com
27
28
10.1.12.253 slyun.mwr.cn
29
10.1.12.253 grafana.slyun.mwr.cn
30
10.1.12.253 registry-tcnp.slyun.mwr.cn
31
10.1.12.253 rbac-access.slyun.mwr.cn
32
10.1.12.253 rbac-account.slyun.mwr.cn
33
10.1.12.253 rbac-sso.slyun.mwr.cn
34
10.1.12.253 rbac-web.slyun.mwr.cn
35
10.1.12.253 service-manager.slyun.mwr.cn
36
10.1.12.253 sora.slyun.mwr.cn
37
10.1.12.253 release-manager.slyun.mwr.cn
38
10.1.12.252 gatewayproxy.mwr.cn
39
10.1.12.252 msgcenter.mwr.cn
40
10.1.12.252 springpro.mwr.cn
41
10.1.12.252 springproweb.mwr.cn
42
10.1.12.252 gkgl.mwr.cn
43
10.1.12.252 nwservice.mwr.cn
44
10.1.12.252 nwbase.mwr.cn
45
46
10.1.12.252 sso.mwr.cn
47
10.1.12.252 slbbase.mwr.cn
48
10.1.12.252 gateway.mwr.cn
49
10.1.12.252 gatewayproxy.mwr.cn
50
10.1.12.252 openplatclient.mwr.cn
51
10.1.12.252 openplatserver.mwr.cn
52
10.1.12.252 msgcenter.mwr.cn
53
10.1.12.252 portal.mwr.cn
54
10.1.12.252 basewebservice.mwr.cn
55
56
57

+ 56 - 0
oa-app/src/main/java/com/css/oa/exam/admin/controller/b.json

@ -0,0 +1,56 @@
1
{
2
  "uuid": "fc80fa44f4ab4c389cddb17837074a34",
3
  "realName": "臧铁",
4
  "loginName": "zangtie",
5
  "password": "6b969f6063118c405dd445d4633ed36766af502d0bc27139c29298907ef7b648",
6
  "sex": 1,
7
  "mobile": "18782920244",
8
  "email": null,
9
  "userType": "1",
10
  "delFlag": "2",
11
  "openFlag": "1",
12
  "issueDate": "Apr 27, 2021 3:22:43 PM",
13
  "editDate": "Apr 27, 2021 3:36:48 PM",
14
  "remark": "",
15
  "lastLoginTime": null,
16
  "totalLoginCount": 1,
17
  "failedLoginCount": 0,
18
  "failLockTime": null,
19
  "orgId": "9e106cb9ee7a4acbbc08f761cdd03c5b",
20
  "editPwdTime": "Apr 27, 2021 3:23:14 PM",
21
  "activeStatus": "3",
22
  "activeDeadLine": "Apr 28, 2021 3:23:14 PM",
23
  "provinceId": null,
24
  "cityId": null,
25
  "pcStatus": null,
26
  "appStatus": null,
27
  "pwdExprityTime": null,
28
  "orderNum": 95656,
29
  "creatorId": null,
30
  "updateUserId": null,
31
  "countyId": null,
32
  "salt": null,
33
  "sysId": null,
34
  "oldUserId": null,
35
  "certKey": null,
36
  "staffOrg": null,
37
  "staffRegion": null,
38
  "certType": null,
39
  "certNo": "140622198906200032",
40
  "gbFlag": null,
41
  "gbPushFlag": "2",
42
  "datasCaCode": null,
43
  "personId": "19064bc4ecbc4f2aa79adec9d59ec8df",
44
  "exname": null,
45
  "functions": [],
46
  "funcActions": [],
47
  "syss": [],
48
  "depts": [],
49
  "roles": [],
50
  "posts": [],
51
  "userPosts": [],
52
  "userDepts": [],
53
  "orgs": [],
54
  "funcs": [],
55
  "actions": []
56
}

+ 53 - 0
oa-app/src/main/java/com/css/oa/exam/admin/controller/b.txt

@ -0,0 +1,53 @@
1
# Copyright (c) 1993-2009 Microsoft Corp.
2
#
3
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
4
#
5
# This file contains the mappings of IP addresses to host names. Each
6
# entry should be kept on an individual line. The IP address should
7
# be placed in the first column followed by the corresponding host name.
8
# The IP address and the host name should be separated by at least one
9
# space.
10
#
11
# Additionally, comments (such as these) may be inserted on individual
12
# lines or following the machine name denoted by a '#' symbol.
13
#
14
# For example:
15
#
16
#      102.54.94.97     rhino.acme.com          # source server
17
#       38.25.63.10     x.acme.com              # x client host
18
19
# localhost name resolution is handled within DNS itself.
20
#	127.0.0.1       localhost
21
#	::1             localhost
22
23
24
127.0.0.1 genuine.microsoft.com
25
127.0.0.1 mpa.one.microsoft.com
26
127.0.0.1 sls.microsoft.com
27
28
29
10.1.12.253 slyun.mwr.cn
30
10.1.12.253 grafana.slyun.mwr.cn
31
10.1.12.253 registry-tcnp.slyun.mwr.cn
32
10.1.12.253 rbac-access.slyun.mwr.cn
33
10.1.12.253 rbac-account.slyun.mwr.cn
34
10.1.12.253 rbac-sso.slyun.mwr.cn
35
10.1.12.253 rbac-web.slyun.mwr.cn
36
10.1.12.253 service-manager.slyun.mwr.cn
37
10.1.12.253 sora.slyun.mwr.cn
38
10.1.12.253 release-manager.slyun.mwr.cn
39
10.1.12.252 sso.mwr.cn
40
10.1.12.252 slbbase.mwr.cn
41
10.1.12.252 gateway.mwr.cn
42
10.1.12.252 gatewayproxy.mwr.cn
43
10.1.12.252 portal.mwr.cn
44
10.1.12.252 msgcenter.mwr.cn
45
10.1.12.252 openplatclient.mwr.cn
46
10.1.12.252 openplatserver.mwr.cn
47
10.1.12.252 springpro.mwr.cn
48
10.1.12.252 springproweb.mwr.cn
49
10.1.12.252 gkgl.mwr.cn
50
10.1.12.252 nwservice.mwr.cn
51
10.1.12.252 nwbase.mwr.cn
52
53

+ 115 - 0
oa-app/src/main/java/com/css/oa/exam/admin/controller/login.json

@ -0,0 +1,115 @@
1
{
2
  "id": "fc80fa44f4ab4c389cddb17837074a34",
3
  "persCode": "140622198906200032",
4
  "userName": "zangtie",
5
  "persName": "臧铁",
6
  "orgCode": "100000002",
7
  "orgName": "其他",
8
  "orgJurd": "",
9
  "jurdAreaType": "",
10
  "adminOrgCode": "",
11
  "depCode": "8be30b2208ff4b899be59c51465d34fe",
12
  "depName": "临时部门",
13
  "userState": "1",
14
  "caCertification": "",
15
  "ordernum": "95656",
16
  "creater": "",
17
  "modifier": "",
18
  "roleInfoList": [
19
    {
20
      "id": "9b0e3d32582d48a5be2af92a89cadc56",
21
      "roleCode": "kfz",
22
      "roleName": "开发者",
23
      "roleDesc": "",
24
      "roleType": "1",
25
      "orgId": "",
26
      "orgCode": "",
27
      "orgName": "",
28
      "orgJurd": "",
29
      "jurdAreaType": "",
30
      "sysId": "",
31
      "sysCode": "2222",
32
      "status": "1",
33
      "creater": "",
34
      "modifier": "",
35
      "ordernum": "",
36
      "note": ""
37
    },
38
    {
39
      "id": "6b303bd8624e4c308401dfa1d3f2ac99",
40
      "roleCode": "cdglxt",
41
      "roleName": "菜单管理系统",
42
      "roleDesc": "管理业务系统管理员的菜单",
43
      "roleType": "1",
44
      "orgId": "",
45
      "orgCode": "",
46
      "orgName": "",
47
      "orgJurd": "",
48
      "jurdAreaType": "",
49
      "sysId": "",
50
      "sysCode": "1001",
51
      "status": "1",
52
      "creater": "",
53
      "modifier": "",
54
      "ordernum": "",
55
      "note": "管理业务系统管理员的菜单"
56
    },
57
    {
58
      "id": "0577191f23b241b8b7d86176f5c2346a",
59
      "roleCode": "131452021-xtgly-01",
60
      "roleName": "系统管理员",
61
      "roleDesc": "",
62
      "roleType": "01",
63
      "orgId": "",
64
      "orgCode": "",
65
      "orgName": "",
66
      "orgJurd": "",
67
      "jurdAreaType": "",
68
      "sysId": "",
69
      "sysCode": "131452021",
70
      "status": "1",
71
      "creater": "",
72
      "modifier": "",
73
      "ordernum": "",
74
      "note": ""
75
    },
76
    {
77
      "id": "93f35c1d5b0f44c29b33599865a2aeb1",
78
      "roleCode": "cdglaq",
79
      "roleName": "菜单管理安全",
80
      "roleDesc": "管理安全管理员菜单",
81
      "roleType": "1",
82
      "orgId": "",
83
      "orgCode": "",
84
      "orgName": "",
85
      "orgJurd": "",
86
      "jurdAreaType": "",
87
      "sysId": "",
88
      "sysCode": "1001",
89
      "status": "1",
90
      "creater": "",
91
      "modifier": "",
92
      "ordernum": "",
93
      "note": "管理安全管理员菜单"
94
    },
95
    {
96
      "id": "fee152c213c845a28521d16b873fa4ad",
97
      "roleCode": "131452021-aqgly-02",
98
      "roleName": "安全管理员",
99
      "roleDesc": "",
100
      "roleType": "02",
101
      "orgId": "",
102
      "orgCode": "",
103
      "orgName": "",
104
      "orgJurd": "",
105
      "jurdAreaType": "",
106
      "sysId": "",
107
      "sysCode": "131452021",
108
      "status": "1",
109
      "creater": "",
110
      "modifier": "",
111
      "ordernum": "",
112
      "note": ""
113
    }
114
  ]
115
}

+ 2 - 0
oa-app/src/main/resources/application-dev.yml

@ -29,6 +29,8 @@ spring:
29 29
        min-idle: 5
30 30
        max-wait: 10000
31 31
    database: 0
32
    session:
33
      store-type: redis
32 34
swagger:
33 35
  enable: true
34 36
management:

+ 11 - 1
oa-app/src/main/resources/slw-config.properties

@ -1,3 +1,13 @@
1
##app.system.id=131452021
2
#app.system.id=131452021
3
#app.service.secretkey=admin123
4
##baseRestUrl=http://10.13.1.172:8080/cssbase/rest
5
#getewayToken=slw-jwt-token
6
#baseRestUrl=http://gatewayproxy.mwr.cn
7
8
9
1 10
app.system.id=13149527
2 11
app.service.secretkey=admin123
3
baseRestUrl=http://10.13.1.172:8080/cssbase/rest
12
getewayToken=slw-jwt-token
13
baseRestUrl=http://gatewayproxy.mwr.cn