Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
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
base_platform_enterprise
gic-platform-enterprise
Commits
edb4b83e
Commit
edb4b83e
authored
May 18, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
达摩产品情报站
parent
51ded2ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
0 deletions
+56
-0
ProductMarketController.java
...gic/operation/web/controller/ProductMarketController.java
+53
-0
dubbo-gic-platform-operation-web.xml
...b/src/main/resources/dubbo-gic-platform-operation-web.xml
+3
-0
No files found.
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/ProductMarketController.java
0 → 100644
View file @
edb4b83e
package
com
.
gic
.
operation
.
web
.
controller
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.dto.ProductMarketDTO
;
import
com.gic.enterprise.qo.ProductMarketQO
;
import
com.gic.enterprise.service.ProductMarketApiService
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* 达摩情报
* @ClassName:
* @Description:
* @author guojuxing
* @date 2021/5/18 3:20 PM
*/
@RestController
@RequestMapping
(
"/product-market"
)
public
class
ProductMarketController
{
@Autowired
private
ProductMarketApiService
productMarketApiService
;
/**
* 新增情报
* @param productMarketDTO
* @return
*/
@RequestMapping
(
"save-product-market"
)
public
RestResponse
saveProductMarket
(
ProductMarketDTO
productMarketDTO
)
{
return
ResultControllerUtils
.
commonResult
(
productMarketApiService
.
saveProductMarket
(
productMarketDTO
));
}
/**
* 编辑情报
* @param productMarketDTO
* @return
*/
@RequestMapping
(
"update-product-market"
)
public
RestResponse
updateProductMarket
(
ProductMarketDTO
productMarketDTO
)
{
return
ResultControllerUtils
.
commonResult
(
productMarketApiService
.
updateProductMarket
(
productMarketDTO
));
}
@RequestMapping
(
"delete-product-market"
)
public
RestResponse
deleteProductMarket
(
Integer
productMarketId
)
{
return
ResultControllerUtils
.
commonResult
(
productMarketApiService
.
deleteProductMarket
(
productMarketId
));
}
@RequestMapping
(
"page-product-market"
)
public
RestResponse
pageProductMarket
(
ProductMarketQO
params
)
{
return
ResultControllerUtils
.
commonResult
(
productMarketApiService
.
pageProductMarket
(
params
));
}
}
gic-platform-operation-web/src/main/resources/dubbo-gic-platform-operation-web.xml
View file @
edb4b83e
...
...
@@ -93,4 +93,6 @@
<dubbo:reference
interface=
"com.gic.authcenter.api.service.GicDepartmentService"
id=
"gicDepartmentService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.member.config.api.service.MemberCardApiService"
id=
"memberCardApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.open.api.service.EnterpriseLicenseApiService"
id=
"enterpriseLicenseApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.enterprise.service.ProductMarketApiService"
id=
"productMarketApiService"
timeout=
"6000"
/>
</beans>
\ No newline at end of file
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