Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
8429234e
Commit
8429234e
authored
May 25, 2023
by
zhangyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经营信息开发完成
parent
6c62347d
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
419 additions
and
51 deletions
+419
-51
EnterpriseBussinessController.java
...dsk/web/controller/dsk/EnterpriseBussinessController.java
+24
-22
EnterpriseBussinessBidCooperatePageBody.java
...domain/model/EnterpriseBussinessBidCooperatePageBody.java
+31
-0
EnterpriseBussinessClientPageBody.java
.../core/domain/model/EnterpriseBussinessClientPageBody.java
+34
-0
EnterpriseBussinessClientProjectPageBody.java
...omain/model/EnterpriseBussinessClientProjectPageBody.java
+30
-0
EnterpriseBussinessHistorySendPageBody.java
.../domain/model/EnterpriseBussinessHistorySendPageBody.java
+54
-0
EnterpriseBussinessHistorySendProvinceBody.java
...ain/model/EnterpriseBussinessHistorySendProvinceBody.java
+21
-0
EnterpriseBussinessOftenAgencyPageBody.java
.../domain/model/EnterpriseBussinessOftenAgencyPageBody.java
+34
-0
EnterpriseBussinessProjectDetailBody.java
...re/domain/model/EnterpriseBussinessProjectDetailBody.java
+22
-0
EnterpriseBussinessSupplierPageBody.java
...ore/domain/model/EnterpriseBussinessSupplierPageBody.java
+34
-0
EnterpriseBussinessSupplierProjectPageBody.java
...ain/model/EnterpriseBussinessSupplierProjectPageBody.java
+30
-0
EnterpriseBussinessTenderDetailBody.java
...ore/domain/model/EnterpriseBussinessTenderDetailBody.java
+22
-0
EnterpriseBussinessTenderPageBody.java
.../core/domain/model/EnterpriseBussinessTenderPageBody.java
+29
-0
EnterpriseBussinessService.java
...com/dsk/system/dskService/EnterpriseBussinessService.java
+38
-13
EnterpriseCreditService.java
...va/com/dsk/system/dskService/EnterpriseCreditService.java
+16
-16
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseBussinessController.java
View file @
8429234e
...
...
@@ -2,6 +2,7 @@ package com.dsk.web.controller.dsk;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.dskService.EnterpriseBussinessService
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -12,6 +13,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.Valid
;
import
java.util.Map
;
/**
...
...
@@ -28,68 +30,68 @@ public class EnterpriseBussinessController {
@ApiOperation
(
value
=
"客户信息列表"
)
@RequestMapping
(
value
=
"/clientPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
clientPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
clientPage
(
paramMap
);
public
TableDataInfo
clientPage
(
@RequestBody
@Valid
EnterpriseBussinessClientPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
clientPage
(
body
);
}
@ApiOperation
(
value
=
"客户项目列表"
)
@RequestMapping
(
value
=
"/clientProjectPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
clientProjectPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
clientProjectPage
(
paramMap
);
public
Map
<
String
,
Object
>
clientProjectPage
(
@RequestBody
@Valid
EnterpriseBussinessClientProjectPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
clientProjectPage
(
body
);
}
@ApiOperation
(
value
=
"投标记录列表(开标记录)"
)
@RequestMapping
(
value
=
"/tenderPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
tenderPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderPage
(
paramMap
);
public
TableDataInfo
tenderPage
(
@RequestBody
@Valid
EnterpriseBussinessTenderPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderPage
(
body
);
}
@ApiOperation
(
value
=
"投标记录详情(开标记录)"
)
@RequestMapping
(
value
=
"/tenderDetail"
,
method
=
RequestMethod
.
POST
)
public
R
tenderDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderDetail
(
paramMap
);
public
R
tenderDetail
(
@RequestBody
@Valid
EnterpriseBussinessTenderDetailBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderDetail
(
body
);
}
@ApiOperation
(
value
=
"供应商列表"
)
@RequestMapping
(
value
=
"/supplierPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
supplierPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierPage
(
paramMap
);
public
TableDataInfo
supplierPage
(
@RequestBody
@Valid
EnterpriseBussinessSupplierPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierPage
(
body
);
}
@ApiOperation
(
value
=
"供应商项目列表"
)
@RequestMapping
(
value
=
"/supplierProjectPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
supplierProjectPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierProjectPage
(
paramMap
);
public
Map
<
String
,
Object
>
supplierProjectPage
(
@RequestBody
@Valid
EnterpriseBussinessSupplierProjectPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierProjectPage
(
body
);
}
@ApiOperation
(
value
=
"中标项目详情"
)
@RequestMapping
(
value
=
"/projectDetail"
,
method
=
RequestMethod
.
POST
)
public
R
projectDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
projectDetail
(
paramMap
);
public
R
projectDetail
(
@RequestBody
@Valid
EnterpriseBussinessProjectDetailBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
projectDetail
(
body
);
}
@ApiOperation
(
value
=
"招标代理常合作代理机构列表"
)
@RequestMapping
(
value
=
"/oftenAgencyPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
oftenAgencyPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
oftenAgencyPage
(
paramMap
);
public
TableDataInfo
oftenAgencyPage
(
@RequestBody
@Valid
EnterpriseBussinessOftenAgencyPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
oftenAgencyPage
(
body
);
}
@ApiOperation
(
value
=
"招标合作明细列表"
)
@RequestMapping
(
value
=
"/bidCooperatePage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
bidCooperatePage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
bidCooperatePage
(
paramMap
);
public
TableDataInfo
bidCooperatePage
(
@RequestBody
@Valid
EnterpriseBussinessBidCooperatePageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
bidCooperatePage
(
body
);
}
@ApiOperation
(
value
=
"历史发包列表"
)
@RequestMapping
(
value
=
"/historySendPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
historySendPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendPage
(
paramMap
);
public
TableDataInfo
historySendPage
(
@RequestBody
@Valid
EnterpriseBussinessHistorySendPageBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendPage
(
body
);
}
@ApiOperation
(
value
=
"历史发包省份"
)
@RequestMapping
(
value
=
"/historySendProvince"
,
method
=
RequestMethod
.
POST
)
public
R
historySendProvince
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendProvince
(
paramMap
);
public
R
historySendProvince
(
@RequestBody
@Valid
EnterpriseBussinessHistorySendProvinceBody
body
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendProvince
(
body
);
}
...
...
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessBidCooperatePageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessBidCooperatePageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
agencyId
;
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
tendereeId
;
/**
* 查询关键词
*/
private
String
keys
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessClientPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessClientPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 查询关键词
*/
private
String
keys
;
/*
* 1金额倒序,2金额正序,3时间倒序,4时间正序,5次数倒序,6次数正序
*/
@NotNull
(
message
=
"排序条件不能为空"
)
private
Integer
sort
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessClientProjectPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessClientProjectPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
unitId
;
/**
* 查询关键词
*/
private
String
keys
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessHistorySendPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessHistorySendPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 查询关键词
*/
private
String
keys
;
/**
* 省份id
*/
private
Integer
provinceId
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
/**
* 最大金额
*/
private
Double
amountMin
;
/**
* 最小金额
*/
private
Double
amountMax
;
/*
* 1金额倒序,2金额正序,3时间倒序,4时间正序,7下浮率倒序,8下浮率正序,9工期倒序,10工期正序
*/
@NotNull
(
message
=
"排序条件不能为空"
)
private
Integer
sort
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessHistorySendProvinceBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessHistorySendProvinceBody
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessOftenAgencyPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessOftenAgencyPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 查询关键词
*/
private
String
keys
;
/*
* 3时间倒序,4时间正序,5次数倒序,6次数正序
*/
@NotNull
(
message
=
"排序条件不能为空"
)
private
Integer
sort
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessProjectDetailBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessProjectDetailBody
{
//企业Id
@NotNull
(
message
=
"id不能为空"
)
private
Integer
id
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessSupplierPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessSupplierPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 查询关键词
*/
private
String
keys
;
/*
* 1金额倒序,2金额正序,3时间倒序,4时间正序,5次数倒序,6次数正序
*/
@NotNull
(
message
=
"排序条件不能为空"
)
private
Integer
sort
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessSupplierProjectPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessSupplierProjectPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
unitId
;
/**
* 查询关键词
*/
private
String
keys
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessTenderDetailBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessTenderDetailBody
{
//企业Id
@NotNull
(
message
=
"id不能为空"
)
private
Integer
id
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessTenderPageBody.java
0 → 100644
View file @
8429234e
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
* 对外投资列表
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBussinessTenderPageBody
extends
BasePage
{
//企业Id
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 查询关键词
*/
private
String
keys
;
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseBussinessService.java
View file @
8429234e
package
com
.
dsk
.
system
.
dskService
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.json.JSONUtil
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
org.apache.commons.collections4.MapUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Service
...
...
@@ -20,67 +25,87 @@ public class EnterpriseBussinessService {
private
DskOpenApiUtil
dskOpenApiUtil
;
public
TableDataInfo
clientPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
clientPage
(
EnterpriseBussinessClientPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/clientPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
clientProjectPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
Map
<
String
,
Object
>
clientProjectPage
(
EnterpriseBussinessClientProjectPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/clientProjectPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
map
,
"data"
,
null
);
if
(
200
!=
code
)
throw
new
RuntimeException
();
Integer
count
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
Double
totalAmount
=
MapUtils
.
getDouble
(
data
,
"totalAmount"
,
0.0
);
Object
list
=
MapUtils
.
getObject
(
data
,
"list"
,
""
);
TableDataInfo
tableDataInfo
=
new
TableDataInfo
((
List
<?>)
list
,
count
);
Map
<
String
,
Object
>
resMap
=
BeanUtil
.
beanToMap
(
tableDataInfo
);
resMap
.
put
(
"totalAmount"
,
totalAmount
);
return
resMap
;
}
public
TableDataInfo
tenderPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
tenderPage
(
EnterpriseBussinessTenderPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/tenderPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
tenderDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
R
tenderDetail
(
EnterpriseBussinessTenderDetailBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/tenderDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
supplierPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
supplierPage
(
EnterpriseBussinessSupplierPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/supplierPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
supplierProjectPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
Map
<
String
,
Object
>
supplierProjectPage
(
EnterpriseBussinessSupplierProjectPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/supplierProjectPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
map
,
"data"
,
null
);
if
(
200
!=
code
)
throw
new
RuntimeException
();
Integer
count
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
Double
totalAmount
=
MapUtils
.
getDouble
(
data
,
"totalAmount"
,
0.0
);
Object
list
=
MapUtils
.
getObject
(
data
,
"list"
,
""
);
TableDataInfo
tableDataInfo
=
new
TableDataInfo
((
List
<?>)
list
,
count
);
Map
<
String
,
Object
>
resMap
=
BeanUtil
.
beanToMap
(
tableDataInfo
);
resMap
.
put
(
"totalAmount"
,
totalAmount
);
return
resMap
;
}
public
R
projectDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
R
projectDetail
(
EnterpriseBussinessProjectDetailBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/projectDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
oftenAgencyPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
oftenAgencyPage
(
EnterpriseBussinessOftenAgencyPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/oftenAgencyPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
bidCooperatePage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
bidCooperatePage
(
EnterpriseBussinessBidCooperatePageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/bidCooperatePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
historySendPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
TableDataInfo
historySendPage
(
EnterpriseBussinessHistorySendPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/historySendPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
historySendProvince
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
public
R
historySendProvince
(
EnterpriseBussinessHistorySendProvinceBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/historySendProvince"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseCreditService.java
View file @
8429234e
...
...
@@ -28,97 +28,97 @@ public class EnterpriseCreditService {
public
TableDataInfo
penalizePage
(
EnterpriseCreditPenalizePageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/penalizePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/penalizePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
penalizeReasonType
(
EnterpriseCreditPenalizeReasonTypeBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/penalizeReasonType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/penalizeReasonType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
abnormalPage
(
EnterpriseCreditAbnormalPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/abnormalPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/abnormalPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
abnormalYears
(
EnterpriseCreditAbnormalYearsBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/abnormalYears"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/abnormalYears"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
executedPersonsPage
(
EnterpriseCreditExecutedPersonsPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/executedPersonsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/executedPersonsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
executedPage
(
EnterpriseCreditExecutedPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/executedPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/executedPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
lawsuitsPage
(
EnterpriseCreditLawsuitsPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/lawsuitsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/lawsuitsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
lawsuitsCauseAction
(
EnterpriseCreditLawsuitsCauseActionBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/lawsuitsCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/lawsuitsCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
lawsuitsRole
(
EnterpriseCreditLawsuitsRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/lawsuitsRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/lawsuitsRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
noticesPage
(
EnterpriseCreditNoticePageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/noticesPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/noticesPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
noticesType
(
EnterpriseCreditNoticeTypeBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/noticesType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/noticesType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
noticesRole
(
EnterpriseCreditNoticeRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/noticesRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/noticesRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
noticesCaseReason
(
EnterpriseCreditNoticeCaseReasonBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/noticesCaseReason"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/noticesCaseReason"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
kaitingPage
(
EnterpriseCreditKaitingPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/kaitingPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/kaitingPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
kaitingCauseAction
(
EnterpriseCreditKaitingCauseActionBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/kaitingCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/kaitingCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
kaitingPureRole
(
EnterpriseCreditKaitingPureRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterpriseCredit/kaitingPureRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseCredit/kaitingPureRole"
,
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