Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
Project
Project
Details
Activity
Releases
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
中汽研标准应用数据库
car-database-api
Commits
96271851
Commit
96271851
authored
Oct 15, 2024
by
yuanshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1./Plan/Record/page 接口添加request的deptName属性,并且添加deptName的模糊查询
parent
51ef5643
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
TestPlanRecordPageRequest.java
...java/com/ruoyi/web/request/TestPlanRecordPageRequest.java
+3
-0
TTestPlanRecordMapper.xml
...eview/src/main/resources/mapper/TTestPlanRecordMapper.xml
+1
-0
No files found.
quality-review/src/main/java/com/ruoyi/web/request/TestPlanRecordPageRequest.java
View file @
96271851
...
...
@@ -41,4 +41,7 @@ public class TestPlanRecordPageRequest extends PageDomain {
@ApiModelProperty
(
"检测机构"
)
private
Long
testOrganizationId
;
@ApiModelProperty
(
"检测机构名称"
)
private
String
deptName
;
}
quality-review/src/main/resources/mapper/TTestPlanRecordMapper.xml
View file @
96271851
...
...
@@ -67,6 +67,7 @@
<if
test=
"carModel != null and carModel != ''"
>
and pr.car_model like concat('%', #{carModel}, '%')
</if>
<if
test=
"inspectCarCompanyId != null and inspectCarCompanyId != ''"
>
and pr.inspect_car_company_id= #{inspectCarCompanyId}
</if>
<if
test=
"testOrganizationId != null and testOrganizationId != ''"
>
and pr.test_organization_id= #{testOrganizationId}
</if>
<if
test=
"deptName != null and deptName != ''"
>
and sd.dept_name = #{deptName}
</if>
</where>
ORDER BY pr.car_model,pr.create_time desc
</select>
...
...
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