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
0ad39d98
Commit
0ad39d98
authored
Dec 17, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加事项材料与情形查询
parent
3d382682
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
86 additions
and
9 deletions
+86
-9
complex-window-manager/pom.xml
complex-window-manager/pom.xml
+2
-2
complex-window-manager/src/main/java/com/mortals/xhx/busiz/req/ComplexHandleReq.java
...main/java/com/mortals/xhx/busiz/req/ComplexHandleReq.java
+47
-0
complex-window-manager/src/main/java/com/mortals/xhx/busiz/web/ComplexApiController.java
.../java/com/mortals/xhx/busiz/web/ComplexApiController.java
+34
-0
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/rsp/AcceptRspInfo.java
.../xhx/protocol/complex/matter/model/rsp/AcceptRspInfo.java
+3
-2
complex-window-manager/src/main/java/com/mortals/xhx/thread/SendThread.java
...ager/src/main/java/com/mortals/xhx/thread/SendThread.java
+0
-5
No files found.
complex-window-manager/pom.xml
View file @
0ad39d98
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<profiles.log.level>
info
</profiles.log.level>
<profiles.log.level>
info
</profiles.log.level>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.complexServerUrl>
https://112.19.80.237:11043/zwzc/
</profiles.complexServerUrl>
<profiles.complexServerUrl>
https://112.19.80.237:11043/zwzc/
</profiles.complexServerUrl>
<profiles.complexDeviceCode>
9c:30:5b:b5:c0:d5
</profiles.complexDeviceCode>
<profiles.complexDeviceCode>
04-2B-58-0D-4B-FC
</profiles.complexDeviceCode>
<package.environment>
serve
</package.environment>
<package.environment>
serve
</package.environment>
<skipUi>
false
</skipUi>
<skipUi>
false
</skipUi>
</properties>
</properties>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.complexServerUrl>
https://112.19.80.237:11043/zwzc/
</profiles.complexServerUrl>
<profiles.complexServerUrl>
https://112.19.80.237:11043/zwzc/
</profiles.complexServerUrl>
<profiles.complexDeviceCode>
9c:30:5b:b5:c0:d5
</profiles.complexDeviceCode>
<profiles.complexDeviceCode>
04-2B-58-0D-4B-FC
</profiles.complexDeviceCode>
<package.environment>
test
</package.environment>
<package.environment>
test
</package.environment>
<skipUi>
true
</skipUi>
<skipUi>
true
</skipUi>
</properties>
</properties>
...
...
complex-window-manager/src/main/java/com/mortals/xhx/busiz/req/ComplexHandleReq.java
0 → 100644
View file @
0ad39d98
package
com.mortals.xhx.busiz.req
;
import
com.mortals.xhx.busiz.BaseApiReq
;
import
lombok.Data
;
import
java.util.List
;
/**
* 代办列表
*
* @author: zxfei
* @date: 2023/10/30 16:50
*/
@Data
public
class
ComplexHandleReq
extends
BaseApiReq
{
private
String
handlingId
;
private
String
orderByLimitTime
;
private
String
waitHandlingSearch
;
private
String
search
;
//手机号码 身份证 事项编码
private
String
businessTacheId
;
private
String
btsIds
;
private
String
startDate
;
private
String
endDate
;
private
String
eventType
;
private
String
areaCode
;
private
String
isTimeout
;
private
String
systemCode
;
private
String
state
;
private
String
isTongBan
;
}
complex-window-manager/src/main/java/com/mortals/xhx/busiz/web/ComplexApiController.java
View file @
0ad39d98
...
@@ -12,6 +12,7 @@ import com.mortals.framework.annotation.UnAuth;
...
@@ -12,6 +12,7 @@ import com.mortals.framework.annotation.UnAuth;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ICacheService
;
import
com.mortals.framework.service.ICacheService
;
import
com.mortals.xhx.busiz.req.ComplexHandleReq
;
import
com.mortals.xhx.busiz.req.ComplexImplementationReq
;
import
com.mortals.xhx.busiz.req.ComplexImplementationReq
;
import
com.mortals.xhx.busiz.req.accept.ComplexAcceptReq
;
import
com.mortals.xhx.busiz.req.accept.ComplexAcceptReq
;
import
com.mortals.xhx.busiz.rsp.ApiResp
;
import
com.mortals.xhx.busiz.rsp.ApiResp
;
...
@@ -311,6 +312,39 @@ public class ComplexApiController {
...
@@ -311,6 +312,39 @@ public class ComplexApiController {
}
}
}
}
/**
* 查询代办列表
*
* @param req
* @return
*/
@PostMapping
(
"handling/findPageWithPermission"
)
@UnAuth
public
String
findPageWithPermission
(
@RequestBody
ComplexHandleReq
req
)
{
log
.
info
(
"【查询代办列表】【请求体】--> "
+
JSONObject
.
toJSONString
(
req
));
req
.
setUrlPath
(
"self-device-info/acceptHandling"
);
ApiResp
<
String
>
rsp
=
new
ApiResp
<>();
rsp
.
setMsg
(
ApiRespCodeEnum
.
SUCCESS
.
getLabel
());
rsp
.
setCode
(
ApiRespCodeEnum
.
SUCCESS
.
getValue
());
try
{
req
.
setNonce
(
RandomUtil
.
randomNumbers
(
6
));
cacheService
.
lpush
(
KEY_COMPLEX_REQ
,
JSONObject
.
toJSONString
(
req
));
String
rest
=
cacheService
.
blpop
(
KEY_EVENT_IMPLEMENTATION_RESP
+
req
.
getNonce
(),
30
,
String
.
class
);
if
(
ObjectUtil
.
isEmpty
(
rest
))
{
throw
new
AppException
(
"请求访问超时"
);
}
Rest
<
List
<
DictInfo
>>
eventRest
=
JSON
.
parseObject
(
rest
,
new
TypeReference
<
Rest
<
List
<
DictInfo
>>>()
{
});
return
JSON
.
toJSONString
(
eventRest
);
}
catch
(
Exception
e
)
{
log
.
error
(
"接收数据失败"
,
e
);
rsp
.
setCode
(
ApiRespCodeEnum
.
FAILED
.
getValue
());
rsp
.
setMsg
(
e
.
getMessage
());
return
JSON
.
toJSONString
(
rsp
);
}
}
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
File
file
=
new
File
(
"E:\\pic\\1.png"
);
File
file
=
new
File
(
"E:\\pic\\1.png"
);
...
...
complex-window-manager/src/main/java/com/mortals/xhx/protocol/complex/matter/model/rsp/AcceptRspInfo.java
View file @
0ad39d98
...
@@ -3,6 +3,7 @@ package com.mortals.xhx.protocol.complex.matter.model.rsp;
...
@@ -3,6 +3,7 @@ package com.mortals.xhx.protocol.complex.matter.model.rsp;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
@Data
@Data
public
class
AcceptRspInfo
{
public
class
AcceptRspInfo
{
...
@@ -47,9 +48,9 @@ public class AcceptRspInfo{
...
@@ -47,9 +48,9 @@ public class AcceptRspInfo{
private
Object
hotNum
;
private
Object
hotNum
;
private
String
phone
;
private
String
phone
;
private
String
sourceType
;
private
String
sourceType
;
private
Object
handlingIds
;
private
List
<
Long
>
handlingIds
;
private
String
doSource
;
private
String
doSource
;
private
Object
infoMap
;
private
Map
<
String
,
String
>
infoMap
;
private
Object
applyCode
;
private
Object
applyCode
;
private
Object
situationItems
;
private
Object
situationItems
;
private
int
btsOrder
;
private
int
btsOrder
;
...
...
complex-window-manager/src/main/java/com/mortals/xhx/thread/SendThread.java
View file @
0ad39d98
...
@@ -2,15 +2,11 @@ package com.mortals.xhx.thread;
...
@@ -2,15 +2,11 @@ package com.mortals.xhx.thread;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.service.ICacheService
;
import
com.mortals.framework.service.ICacheService
;
import
com.mortals.framework.util.ThreadPool
;
import
com.mortals.framework.util.ThreadPool
;
import
com.mortals.xhx.busiz.req.accept.ComplexAcceptReq
;
import
com.mortals.xhx.busiz.req.accept.ComplexAcceptReq
;
import
com.mortals.xhx.common.utils.AbstractThread
;
import
com.mortals.xhx.common.utils.AbstractThread
;
import
com.mortals.xhx.protocol.complex.matter.model.req.ImplementationReq
;
import
com.mortals.xhx.protocol.complex.matter.model.req.ImplementationReq
;
import
com.mortals.xhx.protocol.complex.matter.model.rsp.MatterListInfo
;
import
com.mortals.xhx.protocol.complex.matter.service.IComplexMatterService
;
import
com.mortals.xhx.utils.SpringUtils
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
...
@@ -19,7 +15,6 @@ import org.springframework.stereotype.Service;
...
@@ -19,7 +15,6 @@ import org.springframework.stereotype.Service;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
RedisKey
.
KEY_COMPLEX_REQ
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
RedisKey
.
KEY_COMPLEX_REQ
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
RedisKey
.
KEY_EVENT_IMPLEMENTATION_RESP
;
/**
/**
...
...
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