Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai-api
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
赵啸非
ai-api
Commits
a84acbda
Commit
a84acbda
authored
Nov 07, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
6c1b42db
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
src/main/java/com/lilosoft/api/service/complexWindow/WXHXPJYXKFRBG.java
...com/lilosoft/api/service/complexWindow/WXHXPJYXKFRBG.java
+6
-3
src/main/java/com/lilosoft/complex/matter/model/req/AcceptReq.java
...java/com/lilosoft/complex/matter/model/req/AcceptReq.java
+2
-1
src/main/java/com/lilosoft/complex/matter/service/IComplexMatterService.java
...ilosoft/complex/matter/service/IComplexMatterService.java
+1
-1
src/main/java/com/lilosoft/complex/matter/service/impl/ComplexMatterServiceImpl.java
...complex/matter/service/impl/ComplexMatterServiceImpl.java
+4
-2
No files found.
src/main/java/com/lilosoft/api/service/complexWindow/WXHXPJYXKFRBG.java
View file @
a84acbda
...
...
@@ -61,7 +61,7 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
List
<
FileDataItem
>
fileCollect
=
commonData
.
getFileData
().
stream
().
map
(
item
->
{
FileDataItem
fileDataItem
=
new
FileDataItem
();
BeanUtils
.
copyProperties
(
item
,
fileDataItem
);
String
downloadPath
=
commonData
.
getRobertServerUrl
()
+
item
.
getFileUrl
();
String
downloadPath
=
commonData
.
getRobertServerUrl
()
+
"aiCase/download?fileUrl="
+
item
.
getFileUrl
();
byte
[]
bytes
=
HttpUtil
.
downloadBytes
(
downloadPath
);
fileDataItem
.
setBytes
(
bytes
);
...
...
@@ -100,6 +100,9 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
ChildrenItem
childrenItem
=
matterWorkInfo
.
getChildren
().
stream
().
filter
(
f
->
"变更法人"
.
equals
(
f
.
getLabel
())).
findFirst
().
orElseGet
(()
->
null
);
if
(!
ObjectUtils
.
isEmpty
(
childrenItem
))
{
String
situationItemId
=
childrenItem
.
getSituationItemId
();
acceptReq
.
getItemsIds
().
add
(
situationItemId
);
//构建受理材料附件
List
<
MaterialsItem
>
materialsItemList
=
childrenItem
.
getMaterials
().
stream
().
map
(
item
->
{
MaterialsItem
materialsItem
=
new
MaterialsItem
();
...
...
@@ -149,11 +152,11 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
acceptReq
.
setLegalProxy
(
legalProxy
);
Rest
<
AcceptRspInfo
>
acceptRest
=
complexMatterService
.
accept
(
commonData
.
getDeviceLogo
(),
acceptReq
);
Rest
<
List
<
AcceptRspInfo
>
>
acceptRest
=
complexMatterService
.
accept
(
commonData
.
getDeviceLogo
(),
acceptReq
);
log
.
info
(
"受理返回==>{}"
,
JSON
.
toJSONString
(
acceptRest
));
if
(
acceptRest
.
getCode
()
==
YesNoEnum
.
YES
.
getValue
())
{
log
.
info
(
"操作成功==>{}"
,
JSON
.
toJSONString
(
acceptRest
));
}
}
...
...
src/main/java/com/lilosoft/complex/matter/model/req/AcceptReq.java
View file @
a84acbda
package
com.lilosoft.complex.matter.model.req
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -10,7 +11,7 @@ import lombok.Data;
public
class
AcceptReq
{
private
ApplicantLeagal
applicantLegal
;
private
Object
agency
;
private
List
<
String
>
itemsIds
;
private
List
<
String
>
itemsIds
=
new
ArrayList
<>()
;
private
List
<
MaterialsItem
>
materials
;
private
String
isStaging
;
private
ApplicantPersonal
applicantPersonal
;
...
...
src/main/java/com/lilosoft/complex/matter/service/IComplexMatterService.java
View file @
a84acbda
...
...
@@ -47,7 +47,7 @@ public interface IComplexMatterService extends IComplexService {
* @param acceptReq
* @return
*/
Rest
<
AcceptRspInfo
>
accept
(
String
deviceLogo
,
AcceptReq
acceptReq
);
Rest
<
List
<
AcceptRspInfo
>
>
accept
(
String
deviceLogo
,
AcceptReq
acceptReq
);
/**
* 查询可受理事项
...
...
src/main/java/com/lilosoft/complex/matter/service/impl/ComplexMatterServiceImpl.java
View file @
a84acbda
...
...
@@ -74,7 +74,7 @@ public class ComplexMatterServiceImpl extends AbstractComplexService implements
}
@Override
public
Rest
<
AcceptRspInfo
>
accept
(
String
deviceLogo
,
AcceptReq
acceptReq
)
{
public
Rest
<
List
<
AcceptRspInfo
>
>
accept
(
String
deviceLogo
,
AcceptReq
acceptReq
)
{
String
deviceLoginApi
=
host
+
"self-device-info/acceptHandling"
;
log
.
info
(
"accept req==>{}"
,
JSON
.
toJSONString
(
acceptReq
));
...
...
@@ -84,7 +84,9 @@ public class ComplexMatterServiceImpl extends AbstractComplexService implements
.
header
(
"X-Access-Token"
,
deviceToken
)
.
body
(
JSON
.
toJSONString
(
acceptReq
))
.
execute
().
body
();
ComplexApiRest
<
AcceptRspInfo
>
complexApiRest
=
JSON
.
parseObject
(
rest
,
new
TypeReference
<
ComplexApiRest
<
AcceptRspInfo
>>()
{
log
.
info
(
"accept resp==>{}"
,
rest
);
ComplexApiRest
<
List
<
AcceptRspInfo
>>
complexApiRest
=
JSON
.
parseObject
(
rest
,
new
TypeReference
<
ComplexApiRest
<
List
<
AcceptRspInfo
>>>()
{
});
if
(
complexApiRest
.
getCode
()
==
200
)
{
return
Rest
.
ok
(
complexApiRest
.
getMessage
(),
complexApiRest
.
getResult
());
...
...
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