Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
b2741975
Commit
b2741975
authored
May 19, 2023
by
zhangyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业概览和工商信息
parent
049d4219
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
152 additions
and
0 deletions
+152
-0
EnterpriseController.java
...java/com/dsk/web/controller/dsk/EnterpriseController.java
+24
-0
EnterpriseBestStockPageBody.java
...common/core/domain/model/EnterpriseBestStockPageBody.java
+25
-0
EnterpriseBidNoticeDetailBody.java
...mmon/core/domain/model/EnterpriseBidNoticeDetailBody.java
+22
-0
EnterpriseBidNoticePageBody.java
...common/core/domain/model/EnterpriseBidNoticePageBody.java
+11
-0
EnterpriseBidNoticeProvinceBody.java
...on/core/domain/model/EnterpriseBidNoticeProvinceBody.java
+22
-0
EnterpriseBidNoticeTenderStageBody.java
...core/domain/model/EnterpriseBidNoticeTenderStageBody.java
+22
-0
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+26
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseController.java
View file @
b2741975
...
@@ -81,6 +81,24 @@ public class EnterpriseController {
...
@@ -81,6 +81,24 @@ public class EnterpriseController {
return
enterpriseService
.
bidNoticePage
(
vo
);
return
enterpriseService
.
bidNoticePage
(
vo
);
}
}
@ApiOperation
(
value
=
"招标公告省份(建设库)"
)
@PostMapping
(
value
=
"bidNoticeProvince"
)
public
R
bidNoticeProvince
(
@RequestBody
@Valid
EnterpriseBidNoticePageBody
vo
)
throws
Exception
{
return
enterpriseService
.
bidNoticeProvince
(
vo
);
}
@ApiOperation
(
value
=
"招标公告信息类型(建设库)"
)
@PostMapping
(
value
=
"bidNoticeTenderStage"
)
public
R
bidNoticeTenderStage
(
@RequestBody
@Valid
EnterpriseBidNoticePageBody
vo
)
throws
Exception
{
return
enterpriseService
.
bidNoticeTenderStage
(
vo
);
}
@ApiOperation
(
value
=
"招标公告详情(建设库)"
)
@PostMapping
(
value
=
"bidNoticeDeatil"
)
public
R
bidNoticeDeatil
(
@RequestBody
@Valid
EnterpriseBidNoticeDetailBody
vo
)
throws
Exception
{
return
enterpriseService
.
bidNoticeDeatil
(
vo
);
}
@ApiOperation
(
value
=
"企业动态列表(建设库)"
)
@ApiOperation
(
value
=
"企业动态列表(建设库)"
)
@PostMapping
(
value
=
"dynamicPage"
)
@PostMapping
(
value
=
"dynamicPage"
)
public
R
dynamicPage
(
@RequestBody
@Valid
EnterpriseDynamicPageBody
vo
)
throws
Exception
{
public
R
dynamicPage
(
@RequestBody
@Valid
EnterpriseDynamicPageBody
vo
)
throws
Exception
{
...
@@ -105,4 +123,10 @@ public class EnterpriseController {
...
@@ -105,4 +123,10 @@ public class EnterpriseController {
return
enterpriseService
.
keymembers
(
vo
);
return
enterpriseService
.
keymembers
(
vo
);
}
}
@ApiOperation
(
value
=
"工商股东信息(openApi)"
)
@PostMapping
(
value
=
"bestStockPage"
)
public
R
bestStockPage
(
@RequestBody
@Valid
EnterpriseKeymembersBody
vo
)
throws
Exception
{
return
enterpriseService
.
bestStockPage
(
vo
);
}
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBestStockPageBody.java
0 → 100644
View file @
b2741975
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBestStockPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
//是否历史 0 否 1 是
private
Integer
isHistory
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBidNoticeDetailBody.java
0 → 100644
View file @
b2741975
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBidNoticeDetailBody
{
/**
* id
*/
@NotNull
(
message
=
"id不能为空"
)
private
Integer
id
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBidNoticePageBody.java
View file @
b2741975
...
@@ -19,4 +19,15 @@ public class EnterpriseBidNoticePageBody extends BasePage
...
@@ -19,4 +19,15 @@ public class EnterpriseBidNoticePageBody extends BasePage
@NotNull
(
message
=
"企业id不能为空"
)
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
companyId
;
private
Integer
companyId
;
//信息类型
private
String
tenderStage
;
//项目名称
private
String
projectName
;
/**
* provinceId
*/
private
Integer
provinceId
;
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBidNoticeProvinceBody.java
0 → 100644
View file @
b2741975
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBidNoticeProvinceBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
companyId
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBidNoticeTenderStageBody.java
0 → 100644
View file @
b2741975
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBidNoticeTenderStageBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
companyId
;
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
b2741975
...
@@ -77,6 +77,27 @@ public class EnterpriseService {
...
@@ -77,6 +77,27 @@ public class EnterpriseService {
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
public
R
bidNoticeProvince
(
EnterpriseBidNoticePageBody
body
)
throws
Exception
{
Map
<
String
,
String
>
headerMap
=
new
HashMap
<>();
headerMap
.
put
(
"Api-Version"
,
"1.0"
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyWithHeader
(
"/api/jsk/enterpriseBusiness/selectBidProvinceByCompanyId"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
),
headerMap
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
bidNoticeTenderStage
(
EnterpriseBidNoticePageBody
body
)
throws
Exception
{
Map
<
String
,
String
>
headerMap
=
new
HashMap
<>();
headerMap
.
put
(
"Api-Version"
,
"1.0"
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyWithHeader
(
"/api/jsk/enterpriseBusiness/selectTenderStageByCompanyId"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
),
headerMap
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
bidNoticeDeatil
(
EnterpriseBidNoticeDetailBody
body
)
throws
Exception
{
Map
<
String
,
String
>
headerMap
=
new
HashMap
<>();
headerMap
.
put
(
"Api-Version"
,
"1.0"
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyWithHeader
(
"/api/jsk/enterpriseBusiness/bid/detail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
),
headerMap
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
dynamicPage
(
EnterpriseDynamicPageBody
body
)
throws
Exception
{
public
R
dynamicPage
(
EnterpriseDynamicPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/dynamic"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/dynamic"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
...
@@ -96,4 +117,9 @@ public class EnterpriseService {
...
@@ -96,4 +117,9 @@ public class EnterpriseService {
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/keymembers"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/keymembers"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
public
R
bestStockPage
(
EnterpriseKeymembersBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bestStockPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
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