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
e99e8008
Commit
e99e8008
authored
Jun 07, 2023
by
MyName
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
7a39becd
8e3a4c57
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
56 additions
and
34 deletions
+56
-34
BusinessRelateCompanyController.java
.../controller/business/BusinessRelateCompanyController.java
+14
-14
MarketAnalysisController.java
...ontroller/search/controller/MarketAnalysisController.java
+22
-6
MarketAnalysisService.java
.../web/controller/search/service/MarketAnalysisService.java
+1
-1
MarketAnalysisServiceImpl.java
...roller/search/service/impl/MarketAnalysisServiceImpl.java
+2
-2
EnterpriseCreditLawsuitsPageBody.java
...n/core/domain/model/EnterpriseCreditLawsuitsPageBody.java
+10
-0
EnterpriseProjectBidNoticePageBody.java
...core/domain/model/EnterpriseProjectBidNoticePageBody.java
+1
-1
SysLoginService.java
...n/java/com/dsk/framework/web/service/SysLoginService.java
+1
-1
EnterpriseProjectService.java
...a/com/dsk/system/dskService/EnterpriseProjectService.java
+5
-9
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessRelateCompanyController.java
View file @
e99e8008
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.List
;
/**
/**
* 项目
关联单位
Controller
* 项目
相关企业
Controller
*
*
* @author lxl
* @author lxl
* @date 2023-05-17
* @date 2023-05-17
...
@@ -25,7 +25,7 @@ public class BusinessRelateCompanyController extends BaseController
...
@@ -25,7 +25,7 @@ public class BusinessRelateCompanyController extends BaseController
private
IBusinessRelateCompanyService
businessRelateCompanyService
;
private
IBusinessRelateCompanyService
businessRelateCompanyService
;
/**
/**
* 查询
关联单位
角色
* 查询
相关企业
角色
*/
*/
@PostMapping
(
"/role/list"
)
@PostMapping
(
"/role/list"
)
public
AjaxResult
companyRoleList
(
@RequestBody
BusinessIdDto
dto
){
public
AjaxResult
companyRoleList
(
@RequestBody
BusinessIdDto
dto
){
...
@@ -33,7 +33,7 @@ public class BusinessRelateCompanyController extends BaseController
...
@@ -33,7 +33,7 @@ public class BusinessRelateCompanyController extends BaseController
}
}
/**
/**
* 查询项目
关联单位
列表
* 查询项目
相关企业
列表
*/
*/
// @PreAuthorize("@ss.hasPermi('system:company:list')")
// @PreAuthorize("@ss.hasPermi('system:company:list')")
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
...
@@ -66,6 +66,17 @@ public class BusinessRelateCompanyController extends BaseController
...
@@ -66,6 +66,17 @@ public class BusinessRelateCompanyController extends BaseController
return
toAjax
(
businessRelateCompanyService
.
updateBusinessRelateCompany
(
businessRelateCompany
));
return
toAjax
(
businessRelateCompanyService
.
updateBusinessRelateCompany
(
businessRelateCompany
));
}
}
/**
* 删除项目关联单位
*/
// @PreAuthorize("@ss.hasPermi('system:company:remove')")
// @Log(title = "项目关联单位", businessType = BusinessType.DELETE)
@DeleteMapping
(
"/remove/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
businessRelateCompanyService
.
deleteBusinessRelateCompanyByIds
(
ids
));
}
// /**
// /**
// * 导出项目关联单位列表
// * 导出项目关联单位列表
// */
// */
...
@@ -89,15 +100,4 @@ public class BusinessRelateCompanyController extends BaseController
...
@@ -89,15 +100,4 @@ public class BusinessRelateCompanyController extends BaseController
// return success(businessRelateCompanyService.selectBusinessRelateCompanyById(id));
// return success(businessRelateCompanyService.selectBusinessRelateCompanyById(id));
// }
// }
//
// /**
// * 删除项目关联单位
// */
// @PreAuthorize("@ss.hasPermi('system:company:remove')")
// @Log(title = "项目关联单位", businessType = BusinessType.DELETE)
// @DeleteMapping("/{ids}")
// public AjaxResult remove(@PathVariable Long[] ids)
// {
// return toAjax(businessRelateCompanyService.deleteBusinessRelateCompanyByIds(ids));
// }
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/MarketAnalysisController.java
View file @
e99e8008
package
com
.
dsk
.
web
.
controller
.
search
.
controller
;
package
com
.
dsk
.
web
.
controller
.
search
.
controller
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.web.controller.search.service.MarketAnalysisService
;
import
com.dsk.web.controller.search.service.MarketAnalysisService
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -9,6 +11,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -9,6 +11,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.Calendar
;
import
java.util.List
;
/**
/**
...
@@ -18,7 +23,7 @@ import javax.annotation.Resource;
...
@@ -18,7 +23,7 @@ import javax.annotation.Resource;
*/
*/
@RequestMapping
(
"/marketAnalysis"
)
@RequestMapping
(
"/marketAnalysis"
)
@RestController
@RestController
public
class
MarketAnalysisController
{
public
class
MarketAnalysisController
extends
BaseController
{
@Resource
@Resource
...
@@ -46,9 +51,8 @@ public class MarketAnalysisController {
...
@@ -46,9 +51,8 @@ public class MarketAnalysisController {
/*
/*
* 资质等级按照大类、省份、等级类型分组
* 资质等级按照大类、省份、等级类型分组
*/
*/
@RequestMapping
(
"/certGroupByCategoryProvinceLevel"
)
@RequestMapping
(
"/certGroupByMajorProvinceLevel"
)
public
AjaxResult
certGroupByCategoryProvinceLevel
()
{
public
AjaxResult
certGroupByMajorProvinceLevel
()
{
return
marketAnalysisService
.
certGroupByMajorProvinceLevel
();
return
marketAnalysisService
.
certGroupByMajorProvinceLevel
();
}
}
...
@@ -86,11 +90,23 @@ public class MarketAnalysisController {
...
@@ -86,11 +90,23 @@ public class MarketAnalysisController {
return
marketAnalysisService
.
countGroupByProvince
(
object
);
return
marketAnalysisService
.
countGroupByProvince
(
object
);
}
}
@RequestMapping
(
"/getYear"
)
public
TableDataInfo
getYear
(){
List
<
Integer
>
list
=
new
ArrayList
<>();
Calendar
calendar
=
Calendar
.
getInstance
();
int
nowYear
=
calendar
.
get
(
Calendar
.
YEAR
);
list
.
add
(
nowYear
);
for
(
int
i
=
1
;
i
<
5
;
i
++)
{
list
.
add
(
nowYear
-
i
);
}
return
getDataTable
(
list
);
}
/*
/*
* 中标数量按月份分组
* 中标数量按月份分组
*/
*/
@RequestMapping
(
"/countGroupByMonth"
)
@RequestMapping
(
"/countGroupByMonth"
)
public
AjaxResult
countGroupByMonth
()
{
public
AjaxResult
countGroupByMonth
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countGroupByMonth
();
return
marketAnalysisService
.
countGroupByMonth
(
object
);
}
}
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/MarketAnalysisService.java
View file @
e99e8008
...
@@ -19,7 +19,7 @@ public interface MarketAnalysisService {
...
@@ -19,7 +19,7 @@ public interface MarketAnalysisService {
AjaxResult
countGroupByProvince
(
JSONObject
object
);
AjaxResult
countGroupByProvince
(
JSONObject
object
);
AjaxResult
countGroupByMonth
();
AjaxResult
countGroupByMonth
(
JSONObject
object
);
AjaxResult
bidMoneyGroupByProjectType
(
JSONObject
object
);
AjaxResult
bidMoneyGroupByProjectType
(
JSONObject
object
);
...
...
dsk-admin/src/main/java/com/dsk/web/controller/search/service/impl/MarketAnalysisServiceImpl.java
View file @
e99e8008
...
@@ -62,8 +62,8 @@ public class MarketAnalysisServiceImpl implements MarketAnalysisService {
...
@@ -62,8 +62,8 @@ public class MarketAnalysisServiceImpl implements MarketAnalysisService {
}
}
@Override
@Override
public
AjaxResult
countGroupByMonth
()
{
public
AjaxResult
countGroupByMonth
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupByMonth"
,
null
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupByMonth"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditLawsuitsPageBody.java
View file @
e99e8008
...
@@ -32,5 +32,15 @@ public class EnterpriseCreditLawsuitsPageBody extends BasePage {
...
@@ -32,5 +32,15 @@ public class EnterpriseCreditLawsuitsPageBody extends BasePage {
*/
*/
private
String
keys
;
private
String
keys
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseProjectBidNoticePageBody.java
View file @
e99e8008
...
@@ -27,7 +27,7 @@ public class EnterpriseProjectBidNoticePageBody extends BasePage {
...
@@ -27,7 +27,7 @@ public class EnterpriseProjectBidNoticePageBody extends BasePage {
/**
/**
* 类型
* 类型
*/
*/
private
String
tenderStage
;
private
List
<
String
>
tenderStage
;
/*
/*
* 1金额倒序,2金额正序,3时间倒序,4时间正序
* 1金额倒序,2金额正序,3时间倒序,4时间正序
...
...
dsk-framework/src/main/java/com/dsk/framework/web/service/SysLoginService.java
View file @
e99e8008
...
@@ -64,7 +64,7 @@ public class SysLoginService
...
@@ -64,7 +64,7 @@ public class SysLoginService
public
String
login
(
String
username
,
String
password
,
String
code
,
String
uuid
)
public
String
login
(
String
username
,
String
password
,
String
code
,
String
uuid
)
{
{
// 验证码校验
// 验证码校验
//
validateCaptcha(username, code, uuid);
validateCaptcha
(
username
,
code
,
uuid
);
// 登录前置校验
// 登录前置校验
loginPreCheck
(
username
,
password
);
loginPreCheck
(
username
,
password
);
// 用户验证
// 用户验证
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseProjectService.java
View file @
e99e8008
...
@@ -120,15 +120,11 @@ public class EnterpriseProjectService {
...
@@ -120,15 +120,11 @@ public class EnterpriseProjectService {
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
// HashMap<String, Object> contentParam = new HashMap<>();
HashMap
<
String
,
Object
>
contentParam
=
new
HashMap
<>();
// contentParam.put("data_type", "bid_plan");
contentParam
.
put
(
"data_type"
,
"bid_plan"
);
// contentParam.put("filter_type", 2);
contentParam
.
put
(
"filter_type"
,
2
);
// contentParam.put("strategy_id", contentId);
contentParam
.
put
(
"strategy_id"
,
contentId
);
HashMap
<
String
,
Object
>
param
=
new
HashMap
<>();
Map
<
String
,
Object
>
contentMap
=
dskOpenApiUtil
.
requestBody
(
"/mongocontent/v1/cjb/mongo_content"
,
BeanUtil
.
beanToMap
(
contentParam
,
false
,
false
));
param
.
put
(
"data_type"
,
"kaibiao"
);
param
.
put
(
"filter_type"
,
2
);
param
.
put
(
"strategy_id"
,
"647477d52ba0e4cb1410c7f6"
);
Map
<
String
,
Object
>
contentMap
=
dskOpenApiUtil
.
requestBody
(
"/mongocontent/v1/cjb/mongo_content"
,
BeanUtil
.
beanToMap
(
param
,
false
,
false
));
Map
contentData
=
MapUtils
.
getMap
(
contentMap
,
"data"
,
null
);
Map
contentData
=
MapUtils
.
getMap
(
contentMap
,
"data"
,
null
);
...
...
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