Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
complex-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
complex-platform
Commits
0d7fef77
Commit
0d7fef77
authored
Dec 19, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可受理事项增加查询参数和返回值
parent
d7a5c8d5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
73 deletions
+19
-73
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/ComplexApiRest.java
...java/com/mortals/xhx/protocol/complex/ComplexApiRest.java
+5
-67
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/req/ImplementationReq.java
.../protocol/complex/matter/model/req/ImplementationReq.java
+5
-5
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/rsp/MatterListInfo.java
...xhx/protocol/complex/matter/model/rsp/MatterListInfo.java
+9
-1
No files found.
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/ComplexApiRest.java
View file @
0d7fef77
...
...
@@ -5,8 +5,11 @@ package com.mortals.xhx.protocol.complex;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.TypeReference
;
import
com.mortals.xhx.protocol.complex.matter.model.rsp.LoginRspInfo
;
import
com.mortals.xhx.protocol.complex.matter.model.rsp.matter.MatterWorkInfo
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
ComplexApiRest
<
T
>
{
private
T
result
;
...
...
@@ -18,74 +21,9 @@ public class ComplexApiRest<T> {
public
static
void
main
(
String
[]
args
)
{
String
str
=
"{\n"
+
" \"success\": true,\n"
+
" \"message\": \"操作成功!\",\n"
+
" \"code\": 200,\n"
+
" \"result\": {\n"
+
" \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTnVtIjoiZ29uZ2ppIiwic2VsZkRldmljZUlkIjoiNiIsImhhbmRsZUFkZHJlc3NJZCI6IjE0OTk2NTA0ODgyMzEwNzE3NDYiLCJleHAiOjE2OTUyMjk5MTksInVzZXJJZCI6IjExMTIiLCJ3aW5kb3dJZCI6IjE0OTk2NTA1NTM0MTA1NTU5MDYifQ.ADZQR8AIo8OHtuUJBskBx3w2yaqHHsQLMSBamYvf6YE\",\n"
+
" \"sysUser\": {\n"
+
" \"createBy\": 1,\n"
+
" \"createTime\": \"2021-08-16 16:38:17\",\n"
+
" \"updateBy\": null,\n"
+
" \"updateTime\": \"2023-08-12 10:40:34\",\n"
+
" \"delFlag\": \"N\",\n"
+
" \"userId\": 1112,\n"
+
" \"userName\": \"万青青\",\n"
+
" \"sex\": \"男\",\n"
+
" \"loginName\": null,\n"
+
" \"userNumber\": \"gongji\",\n"
+
" \"dept\": null,\n"
+
" \"deptId\": 306,\n"
+
" \"email\": \"56462@qq.com\",\n"
+
" \"address\": null,\n"
+
" \"idCard\": \"522121199208022252\",\n"
+
" \"phoneNumber\": \"18888888888\",\n"
+
" \"workPhone\": \"17778445521\",\n"
+
" \"avatar\": \"/mnt/jpg/2023-08-12/3bf75fd4301da7469c83e8e35e233c65.jpg\",\n"
+
" \"startNumber\": null,\n"
+
" \"userType\": null,\n"
+
" \"password\": \"632a02caecc0bb7b\",\n"
+
" \"passwordState\": \"Y\",\n"
+
" \"salt\": \"ZGimxeDr\",\n"
+
" \"status\": \"Y\",\n"
+
" \"remark\": \"\",\n"
+
" \"areaCode\": \"510100000000\",\n"
+
" \"hometown\": null,\n"
+
" \"windowId\": null,\n"
+
" \"centerUserId\": \"123456789\",\n"
+
" \"value\": null,\n"
+
" \"label\": null,\n"
+
" \"dkUserId\": null,\n"
+
" \"dkUnionId\": null,\n"
+
" \"changePwTime\": \"2023-08-25 10:03:46\",\n"
+
" \"sysRole\": null,\n"
+
" \"isWaiter\": \"N\"\n"
+
" },\n"
+
" \"selfDeviceInfo\": {\n"
+
" \"selfDeviceId\": \"6\",\n"
+
" \"deviceLogo\": \"uutest\",\n"
+
" \"note\": \"张远海\",\n"
+
" \"userId\": \"1112\",\n"
+
" \"windowId\": \"1499650553410555906\",\n"
+
" \"createBy\": \"1\",\n"
+
" \"createTime\": \"2023-08-25 15:11:41\",\n"
+
" \"updateBy\": null,\n"
+
" \"updateTime\": null,\n"
+
" \"delFlag\": \"N\",\n"
+
" \"coordinate\": \"104.090953,30.767351\",\n"
+
" \"ticketTitle\": null,\n"
+
" \"tips\": null,\n"
+
" \"workHours\": null,\n"
+
" \"telephone\": \"9528\",\n"
+
" \"floorId\": \"1499650525505851393\",\n"
+
" \"handleAddressId\": \"1499650488231071746\"\n"
+
" }\n"
+
" },\n"
+
" \"timestamp\": 1695193919663\n"
+
"}\n"
;
String
str
=
"{\"success\":true,\"message\":\"操作成功!\",\"code\":200,\"result\":[{\"name\":\"巡游出租汽车驾驶员从业资格证件换证\",\"id\":\"43c54baf1b2289f2038a394e9764ff4f\",\"type\":\"02\",\"label\":\"巡游出租汽车驾驶员从业资格证件换证\",\"key\":\"1737020401801781251\",\"children\":[{\"situationItemId\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"parentId\":\"-1\",\"label\":\"委托他人办理\",\"situationDefineId\":\"43c54baf1b2289f2038a394e9764ff4f\",\"situationItemName\":\"委托他人办理\",\"situationItemType\":\"01\",\"type\":\"01\",\"id\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"key\":\"1737020401801781249\",\"materials\":[{\"name\":\"出租汽车驾驶员从业资格证补(换)发申请表\",\"id\":\"68e3c3c7d68066d1bd9d1834f1697558\",\"parentId\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"type\":\"03\",\"label\":\"出租汽车驾驶员从业资格证补(换)发申请表\",\"pid\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"key\":\"30fe3fa0f1fd41559a172804979fd9a2\",\"paperCopies\":1,\"fromId\":\"3\"},{\"name\":\"委托人及受托人身份证\",\"id\":\"83051b276facf312d7e4560bace42f2d\",\"parentId\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"type\":\"03\",\"label\":\"委托人及受托人身份证\",\"pid\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"key\":\"55d3b4e89b5f4988a8f2ec5df7b837f6\",\"paperCopies\":1,\"fromId\":\"3\"},{\"name\":\"个人授权委托书\",\"id\":\"5ab535035c8aec981c0d0a91525ce6d0\",\"parentId\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"type\":\"03\",\"label\":\"个人授权委托书\",\"pid\":\"3de45cfbadd07f9310df2f7ca107ac13\",\"key\":\"6a22eb9a7f0348509c779268b48cb4d8\",\"paperCopies\":1,\"fromId\":\"3\"}]},{\"situationItemId\":\"a1ad71dea0518daae040fae526f446ed\",\"parentId\":\"-1\",\"label\":\"本人办理\",\"situationDefineId\":\"43c54baf1b2289f2038a394e9764ff4f\",\"situationItemName\":\"本人办理\",\"situationItemType\":\"01\",\"type\":\"01\",\"id\":\"a1ad71dea0518daae040fae526f446ed\",\"key\":\"1737020401801781250\",\"materials\":[{\"name\":\"出租汽车驾驶员从业资格证补(换)发申请表\",\"id\":\"68e3c3c7d68066d1bd9d1834f1697558\",\"parentId\":\"a1ad71dea0518daae040fae526f446ed\",\"type\":\"03\",\"label\":\"出租汽车驾驶员从业资格证补(换)发申请表\",\"pid\":\"a1ad71dea0518daae040fae526f446ed\",\"key\":\"1d79509c90ac418baefe057a5d744fcf\",\"paperCopies\":1,\"fromId\":\"3\"}]}]}],\"timestamp\":1702972910726}"
;
ComplexApiRest
<
L
oginRspInfo
>
loginRspInfoComplexApiRest
=
JSON
.
parseObject
(
str
,
new
TypeReference
<
ComplexApiRest
<
LoginRspInfo
>>()
{
ComplexApiRest
<
L
ist
<
MatterWorkInfo
>>
loginRspInfoComplexApiRest
=
JSON
.
parseObject
(
str
,
new
TypeReference
<
ComplexApiRest
<
List
<
MatterWorkInfo
>
>>()
{
});
System
.
out
.
println
(
JSON
.
toJSONString
(
loginRspInfoComplexApiRest
));
...
...
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/req/ImplementationReq.java
View file @
0d7fef77
...
...
@@ -10,15 +10,15 @@ import lombok.Data;
*/
@Data
public
class
ImplementationReq
extends
BaseReq
{
/**当前页*/
private
Integer
currentPage
;
/**每页条数*/
private
Integer
pageSize
;
/**事项面向对象O/P,O是法人P是个人 */
private
String
eventObjectType
;
/** 事项是否纳入通办。N/Y */
private
String
crossFlag
;
/**事项名称,模糊查找 */
private
String
implementName
;
...
...
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/rsp/MatterListInfo.java
View file @
0d7fef77
...
...
@@ -8,5 +8,13 @@ import java.util.List;
public
class
MatterListInfo
{
private
List
<
MatterRespInfo
>
records
;
private
Integer
total
;
private
Integer
current
;
private
Boolean
hitCount
;
private
Integer
pages
;
private
Integer
size
;
private
Object
maxLimit
;
private
Boolean
searchCount
;
private
List
<
Object
>
orders
;
private
Object
countId
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment