Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
d313c4c8
Commit
d313c4c8
authored
Apr 15, 2022
by
高东东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
0b7bc325
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
AvicCustomPathResource.java
.../yeejoin/amos/avic/controller/AvicCustomPathResource.java
+9
-0
WebServicesFileFransferResource.java
...amos/avic/controller/WebServicesFileFransferResource.java
+3
-3
AmoAVICApplication.java
...ic/src/main/java/com/yeejoin/amos/AmoAVICApplication.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-avic-biz/src/main/java/com/yeejoin/amos/avic/controller/AvicCustomPathResource.java
View file @
d313c4c8
...
...
@@ -8,6 +8,8 @@ import com.yeejoin.amos.avic.face.service.AvicCustomPathService;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
import
org.apache.cxf.endpoint.Client
;
import
org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory
;
import
org.apache.logging.log4j.LogManager
;
...
...
@@ -71,6 +73,13 @@ public class AvicCustomPathResource {
postConfig
(
model
);
return
ResponseHelper
.
buildResponse
(
simpleService
.
updateWithModel
(
model
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"删除"
)
@RequestMapping
(
value
=
"/{ids}"
,
method
=
RequestMethod
.
PUT
)
public
ResponseModel
<
Boolean
>
delete
(
@PathVariable
(
value
=
"ids"
)
List
<
Long
>
ids
)
{
return
ResponseHelper
.
buildResponse
(
simpleService
.
deleteBatchSeq
(
ids
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"查询单个对象"
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-avic-biz/src/main/java/com/yeejoin/amos/avic/controller/WebServicesFileFransferResource.java
View file @
d313c4c8
...
...
@@ -30,7 +30,7 @@ import com.yeejoin.amos.avic.face.model.AvicCustomPathModel;
import
com.yeejoin.amos.avic.face.model.InputStreamDataSource
;
import
com.yeejoin.indicators.feign.IndicatorsManager
;
import
com.yeejoin.indicators.feign.request.DataRecordRequest
;
import
com.yeejoin.indicators.feign.workflow.Work
FlowFeign
;
import
com.yeejoin.indicators.feign.workflow.Work
flowManager
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -47,7 +47,7 @@ public class WebServicesFileFransferResource {
@Autowired
IndicatorsManager
indicatorsManager
;
@Autowired
Work
FlowFeign
workFlowFeign
;
Work
flowManager
workflowManager
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"传输文件"
)
...
...
@@ -82,7 +82,7 @@ public class WebServicesFileFransferResource {
dataRecordRequest
.
put
(
"targetPath"
,
path
);
list
.
add
(
dataRecordRequest
);
indicatorsManager
.
indicatorClient
.
saveBizRecord
(
taskId
,
bizId
,
list
);
work
FlowFeign
.
startFormByProcess
(
null
,
processDefinitionId
);
work
flowManager
.
workflowClient
.
startFormByProcess
(
null
,
processDefinitionId
);
}
catch
(
java
.
lang
.
Exception
e
)
{
e
.
printStackTrace
();
}
...
...
amos-boot-system-avic/src/main/java/com/yeejoin/amos/AmoAVICApplication.java
View file @
d313c4c8
...
...
@@ -30,13 +30,13 @@ import javax.xml.ws.WebServiceProvider;
@EnableTransactionManagement
@EnableConfigurationProperties
@EnableDiscoveryClient
@EnableFeignClients
@EnableFeignClients
(
basePackages
=
{
"com.yeejoin"
})
@EnableAsync
@MapperScan
({
"org.typroject.tyboot.demo.face.orm.dao*"
,
"org.typroject.tyboot.face.*.orm.dao*"
,
"org.typroject.tyboot.core.auth.face.orm.dao*"
,
"org.typroject.tyboot.component.*.face.orm.dao*"
,
"com.yeejoin.amos.boot.module.*.api.mapper"
,
"com.yeejoin.amos.boot.biz.common.dao.mapper"
,
"com.yeejoin.amos.avic.face.orm.dao*"
})
@ComponentScan
(
basePackages
=
{
"org.typroject"
,
"com.yeejoin
.amos
"
})
@ComponentScan
(
basePackages
=
{
"org.typroject"
,
"com.yeejoin"
})
public
class
AmoAVICApplication
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
AmoAVICApplication
.
class
);
...
...
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