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
23b6c610
Commit
23b6c610
authored
Jul 05, 2024
by
fulixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表头修改后的及项目名称模糊查询等
parent
171e8cd9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
99 additions
and
63 deletions
+99
-63
application-test.yml
dsk-admin/src/main/resources/application-test.yml
+8
-4
AdvisoryBodyManageController.java
...om/dsk/cscec/controller/AdvisoryBodyManageController.java
+1
-1
CustomerInfoController.java
...java/com/dsk/cscec/controller/CustomerInfoController.java
+2
-2
EditAdvisoryBodyInfoBo.java
.../java/com/dsk/cscec/domain/bo/EditAdvisoryBodyInfoBo.java
+28
-0
AdvisoryBodyMapper.xml
...pi/src/main/resources/mapper/cscec/AdvisoryBodyMapper.xml
+54
-54
DContractMapper.xml
...z-api/src/main/resources/mapper/cscec/DContractMapper.xml
+6
-2
No files found.
dsk-admin/src/main/resources/application-test.yml
View file @
23b6c610
...
...
@@ -51,6 +51,7 @@ spring:
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
# url: jdbc:mysql://111.204.34.146:63308/cscec_bms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://172.17.0.12:3306/cscec_bms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
# url: jdbc:mysql://1.94.207.134:3306/cscec_bms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
username
:
dev
password
:
DskSzh!456
# 从库数据源
...
...
@@ -102,11 +103,14 @@ spring:
---
# redis 单机配置(单机与集群只能开启一个另一个需要注释掉)
spring
:
redis
:
# host: 111.204.34.146
host
:
172.17.0.12
# host: 120.46.64.239
# 端口,默认为6379
port
:
6379
#
port: 6379
# 数据库索引
# database: 6
# password: zfTFIJjaN#6xB83r
host
:
172.17.0.12
database
:
13
# 密码
password
:
DskSzhRedis!789
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/AdvisoryBodyManageController.java
View file @
23b6c610
...
...
@@ -41,7 +41,7 @@ public class AdvisoryBodyManageController extends BaseController {
* 获取项目列表
*/
@GetMapping
(
"/getProjectList"
)
public
TableDataInfo
<
ProjectSearchVo
>
getProjectList
(
ProjectSearchBo
projectSearchBo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
ProjectSearchVo
>
getProjectList
(
@Validated
ProjectSearchBo
projectSearchBo
,
PageQuery
pageQuery
)
{
// return projectService.queryProjectList(projectSearchBo, pageQuery);
return
contractService
.
queryProjectList
(
projectSearchBo
,
pageQuery
);
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/CustomerInfoController.java
View file @
23b6c610
...
...
@@ -59,7 +59,7 @@ public class CustomerInfoController extends BaseController {
* 内部合作-咨询机构合作记录
*/
@GetMapping
(
"/advisoryList"
)
public
TableDataInfo
<
AdvisoryBodyVo
>
advisoryList
(
@
RequestBody
AdvisoryBodyBo
bo
,
PageQuery
query
)
{
public
TableDataInfo
<
AdvisoryBodyVo
>
advisoryList
(
@
Validated
AdvisoryBodyBo
bo
,
PageQuery
query
)
{
return
iCustomerInfoService
.
queryAdvisoryList
(
bo
,
query
);
}
...
...
@@ -67,7 +67,7 @@ public class CustomerInfoController extends BaseController {
* 内部合作-咨询机构合作记录导出
*/
@GetMapping
(
"/advisoryExport"
)
public
void
advisoryExport
(
@
RequestBody
AdvisoryBodyBo
bo
,
PageQuery
query
,
HttpServletResponse
response
)
{
public
void
advisoryExport
(
@
Validated
AdvisoryBodyBo
bo
,
PageQuery
query
,
HttpServletResponse
response
)
{
List
<
AdvisoryBodyVo
>
listVo
=
iCustomerInfoService
.
queryAdvisoryList
(
bo
,
query
).
getRows
();
ExcelUtil
.
exportExcel
(
listVo
,
"咨询机构合作记录"
,
AdvisoryBodyVo
.
class
,
response
);
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/bo/EditAdvisoryBodyInfoBo.java
View file @
23b6c610
...
...
@@ -107,4 +107,32 @@ public class EditAdvisoryBodyInfoBo {
* 是否为终审单位(0代表是 1代表否)
*/
private
String
isFinalJudgeUnit
;
/**
* 业主名称
*/
private
String
ownerName
;
/**
* 项目经理及联系方式
*/
private
String
projectManagerAndPhone
;
/**
* 商务经理及联系方式
*/
private
String
businessManagerAndPhone
;
/**
* 招标代理单位
*/
private
String
bidAgencyUnit
;
/**
* 一审单位
*/
private
String
firstAuditUnit
;
/**
* 二审单位
*/
private
String
secondAuditUnit
;
/**
* 三审单位
*/
private
String
thirdAuditUnit
;
}
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/AdvisoryBodyMapper.xml
View file @
23b6c610
...
...
@@ -11,8 +11,8 @@
<select
id=
"queryListByBo"
resultType=
"com.dsk.cscec.domain.vo.AdvisoryBodyVo"
>
select
d
p
.project_name,
d
p
.owner_name,
d
c
.project_name,
d
c
.owner_name,
abp.project_manager_and_phone,
abp.business_manager_and_phone,
abp.bid_agency_unit,
...
...
@@ -24,23 +24,23 @@
abp.project_key,
abp.project_leader,
abp.project_leader_major,
abp.project_leader_phone
,
ab.advisory_body_name,
dp
.project_code,
dp
.province_name,
dp
.city_name,
dp
.isinvestproject,
dp
.project_type1,
dp
.project_type2,
dp
.contract_value,
dp
.contract_org_name,
dp
.contract_sign_date
abp.project_leader_phone
-- ab.advisory_body_name
-- dc
.project_code,
-- dc
.province_name,
-- dc
.city_name,
-- dc
.isinvestproject,
-- dc
.project_type1,
-- dc
.project_type2,
-- dc
.contract_value,
-- dc
.contract_org_name,
-- dc
.contract_sign_date
from advisory_body_project abp
left join advisory_body ab on ab.advisory_body_cid = abp.advisory_body_cid
left join d_
project dp on dp.proje
ct_key = abp.project_key
left join d_
contract dc on dc.contra
ct_key = abp.project_key
<where>
<if
test=
"bo.projectName != null and bo.projectName != ''"
>
and d
p
.project_name like concat('%',#{bo.projectName},'%')
and d
c
.project_name like concat('%',#{bo.projectName},'%')
</if>
<if
test=
"bo.advisoryBodyId != null and bo.advisoryBodyId != ''"
>
and ab.advisory_body_id = #{bo.advisoryBodyId}
...
...
@@ -51,46 +51,46 @@
<if
test=
"bo.advisoryBodyName != null and bo.advisoryBodyName != ''"
>
and ab.advisory_body_name = #{bo.advisoryBodyName}
</if>
<if
test=
"bo.contractOrgId != null and bo.contractOrgId != ''"
>
and dp.contract_org_id = #{bo.contractOrgId}
</if
>
<if
test=
"bo.contractOrgName != null and bo.contractOrgName != ''"
>
and dp.contract_org_name = #{bo.contractOrgName}
</if
>
<if
test=
"bo.area != null and bo.area.size > 0 or (bo.province != null and bo.province.size > 0) or (bo.city != null and bo.city.size > 0)"
>
and
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"or"
>
<if
test=
"bo.area != null and bo.area.size > 0 "
>
or dp.area_name in
<foreach
collection=
"bo.area"
item=
"areaName"
open=
"("
close=
")"
separator=
","
>
#{areaName}
</foreach
>
</if
>
<if
test=
"bo.province != null and bo.province.size > 0 "
>
or dp.province_name in
<foreach
collection=
"bo.province"
item=
"provinceName"
open=
"("
close=
")"
separator=
","
>
#{provinceName}
</foreach
>
</if
>
<if
test=
"bo.city != null and bo.city.size > 0 "
>
or dp.city_name in
<foreach
collection=
"bo.city"
item=
"cityName"
open=
"("
close=
")"
separator=
","
>
#{cityName}
</foreach
>
</if
>
</trim
>
</if
>
<if
test=
"bo.isinvestproject != null and bo.isinvestproject != ''"
>
and dp.isinvestproject = #{bo.isinvestproject}
</if
>
<if
test=
"bo.projectType1 != null and bo.projectType1 != ''"
>
and dp.project_type1 = #{bo.projectType1}
</if
>
<if
test=
"bo.projectType2 != null and bo.projectType2 != ''"
>
and dp.project_type2 = #{bo.projectType2}
</if
>
<!-- <if test="bo.contractOrgId != null and bo.contractOrgId != ''">--
>
<!-- and dp.contract_org_id = #{bo.contractOrgId}-->
<!-- </if>--
>
<!-- <if test="bo.contractOrgName != null and bo.contractOrgName != ''">--
>
<!-- and dp.contract_org_name = #{bo.contractOrgName}-->
<!-- </if>--
>
<!-- <if test="bo.area != null and bo.area.size > 0 or (bo.province != null and bo.province.size > 0) or (bo.city != null and bo.city.size > 0)">--
>
<!-- and-->
<!-- <trim prefix="(" suffix=")" prefixOverrides="or">--
>
<!-- <if test="bo.area != null and bo.area.size > 0 ">--
>
<!-- or dp.area_name in-->
<!-- <foreach collection="bo.area" item="areaName" open="(" close=")" separator=",">--
>
<!-- #{areaName}-->
<!-- </foreach>--
>
<!-- </if>--
>
<!-- <if test="bo.province != null and bo.province.size > 0 ">--
>
<!-- or dp.province_name in-->
<!-- <foreach collection="bo.province" item="provinceName" open="(" close=")" separator=",">--
>
<!-- #{provinceName}-->
<!-- </foreach>--
>
<!-- </if>--
>
<!-- <if test="bo.city != null and bo.city.size > 0 ">--
>
<!-- or dp.city_name in-->
<!-- <foreach collection="bo.city" item="cityName" open="(" close=")" separator=",">--
>
<!-- #{cityName}-->
<!-- </foreach>--
>
<!-- </if>--
>
<!-- </trim>--
>
<!-- </if>--
>
<!-- <if test="bo.isinvestproject != null and bo.isinvestproject != ''">--
>
<!-- and dp.isinvestproject = #{bo.isinvestproject}-->
<!-- </if>--
>
<!-- <if test="bo.projectType1 != null and bo.projectType1 != ''">--
>
<!-- and dp.project_type1 = #{bo.projectType1}-->
<!-- </if>--
>
<!-- <if test="bo.projectType2 != null and bo.projectType2 != ''">--
>
<!-- and dp.project_type2 = #{bo.projectType2}-->
<!-- </if>--
>
</where>
order by d
p
.contract_sign_date desc
order by d
c
.contract_sign_date desc
</select>
<select
id=
"countByBo"
resultType=
"int"
>
...
...
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/DContractMapper.xml
View file @
23b6c610
...
...
@@ -17,12 +17,16 @@
abp.third_audit_unit
from d_contract c
left join advisory_body_project abp on c.contract_key = abp.project_key
left join advisory_body ab on ab.advisory_body_cid = abp.advisory_body_cid
<where>
<if
test=
"bo.projectName != null and bo.projectName != ''"
>
c.project_name
= #{bo.projectName}
c.project_name
like concat('%',#{bo.projectName},'%')
</if>
<if
test=
"bo.ownerUnit != null and bo.ownerUnit != ''"
>
and c.owner_name = #{bo.ownerUnit}
and c.owner_name like concat('%',#{bo.ownerUnit},'%')
</if>
<if
test=
"bo.advisoryBodyName != null and bo.advisoryBodyName != ''"
>
and ab.advisory_body_name like concat('%',#{bo.advisoryBodyName},'%')
</if>
</where>
order by c.contract_sign_date desc
...
...
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