Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
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
INET-TWO
server
dcs-plan
Commits
e51f75ca
Commit
e51f75ca
authored
Aug 02, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加ExtSpendingContracserviceFeign类的fegin接口
parent
65a9b1aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
ExtPlanServiceFeign.java
...in/java/com/yonde/dcs/plan/feign/ExtPlanServiceFeign.java
+1
-0
ExtSpendingContractServiceFeign.java
...yonde/dcs/plan/feign/ExtSpendingContractServiceFeign.java
+6
-0
No files found.
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtPlanServiceFeign.java
View file @
e51f75ca
...
@@ -71,6 +71,7 @@ public interface ExtPlanServiceFeign<V extends ExtPlanVO> extends ExtPlanService
...
@@ -71,6 +71,7 @@ public interface ExtPlanServiceFeign<V extends ExtPlanVO> extends ExtPlanService
@GetMapping
(
value
=
"/exportPlan"
)
@GetMapping
(
value
=
"/exportPlan"
)
void
exportPlan
(
HttpServletResponse
response
,
@RequestParam
(
"ids"
)
List
<
Long
>
ids
);
void
exportPlan
(
HttpServletResponse
response
,
@RequestParam
(
"ids"
)
List
<
Long
>
ids
);
@ApiOperation
(
value
=
"通过文件分类查询"
,
notes
=
"通过文件分类查询"
,
httpMethod
=
"post"
)
@ApiOperation
(
value
=
"通过文件分类查询"
,
notes
=
"通过文件分类查询"
,
httpMethod
=
"post"
)
@GetMapping
(
value
=
"/searchFileType"
)
@GetMapping
(
value
=
"/searchFileType"
)
void
searchFileType
(
@RequestParam
(
"fileType"
)
String
fileType
,
DxDocumentVO
doc
);
void
searchFileType
(
@RequestParam
(
"fileType"
)
String
fileType
,
DxDocumentVO
doc
);
...
...
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtSpendingContractServiceFeign.java
View file @
e51f75ca
package
com
.
yonde
.
dcs
.
plan
.
feign
;
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtSpendingContractVO
;
import
com.yonde.dcs.plan.common.vo.ExtSpendingContractVO
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow
;
import
com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow
;
...
@@ -16,4 +18,8 @@ import com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow;
...
@@ -16,4 +18,8 @@ import com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow;
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtSpendingContract"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtSpendingContract"
)
public
interface
ExtSpendingContractServiceFeign
<
V
extends
ExtSpendingContractVO
>
extends
ExtSpendingContractServiceFeignShadow
<
V
>
{
public
interface
ExtSpendingContractServiceFeign
<
V
extends
ExtSpendingContractVO
>
extends
ExtSpendingContractServiceFeignShadow
<
V
>
{
@ApiOperation
(
value
=
"支出合同金额计算"
,
notes
=
"支出合同金额计算"
,
httpMethod
=
"GET"
)
@GetMapping
(
"/calculateSpending/{id}"
)
ExtSpendingContractVO
calculateSpending
(
@PathVariable
Long
id
);
}
}
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