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
d8ee0ae6
Commit
d8ee0ae6
authored
Jun 20, 2023
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询字段添加
parent
5551f0aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CustomerBusinessSearchDto.java
...system/domain/customer/dto/CustomerBusinessSearchDto.java
+4
-0
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+1
-0
No files found.
dsk-system/src/main/java/com/dsk/system/domain/customer/dto/CustomerBusinessSearchDto.java
View file @
d8ee0ae6
...
@@ -19,6 +19,10 @@ public class CustomerBusinessSearchDto implements Serializable {
...
@@ -19,6 +19,10 @@ public class CustomerBusinessSearchDto implements Serializable {
* 企业id
* 企业id
*/
*/
private
Long
userId
;
private
Long
userId
;
/**
* 项目名称
*/
private
String
projectName
;
/**
/**
* 项目阶段
* 项目阶段
*/
*/
...
...
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
d8ee0ae6
...
@@ -388,6 +388,7 @@
...
@@ -388,6 +388,7 @@
from business_info bi
from business_info bi
left join business_user bu on bi.id = bu.business_id
left join business_user bu on bi.id = bu.business_id
where bi.customer_id = #{customerId} and (bu.user_id = #{userId} or bi.is_private = 1)
where bi.customer_id = #{customerId} and (bu.user_id = #{userId} or bi.is_private = 1)
<if
test=
"projectName != null and projectName != '' "
>
and bi.project_name like concat('%',#{projectName},'%')
</if>
<if
test=
"projectStage != null and projectStage != '' "
>
and bi.project_stage = #{projectStage}
</if>
<if
test=
"projectStage != null and projectStage != '' "
>
and bi.project_stage = #{projectStage}
</if>
<if
test=
"status != null "
>
and bi.status = #{status}
</if>
<if
test=
"status != null "
>
and bi.status = #{status}
</if>
order by bi.create_time desc
order by bi.create_time 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