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
f4fe5804
Commit
f4fe5804
authored
Sep 04, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据权限
parent
6962eba4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
TTestPlanRecordServiceImpl.java
...va/com/ruoyi/service/impl/TTestPlanRecordServiceImpl.java
+1
-0
TestPlanRecordPageRequest.java
...java/com/ruoyi/web/request/TestPlanRecordPageRequest.java
+3
-0
TTestPlanRecordMapper.xml
...eview/src/main/resources/mapper/TTestPlanRecordMapper.xml
+2
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/TTestPlanRecordServiceImpl.java
View file @
f4fe5804
...
...
@@ -45,6 +45,7 @@ public class TTestPlanRecordServiceImpl extends ServiceImpl<TTestPlanRecordMappe
@Override
public
List
<
TTestPlanRecord
>
selectTestPlanRecordPage
(
TestPlanRecordPageRequest
testPlanRecordPageRequest
){
testPlanRecordPageRequest
.
setTestOrganizationId
(
SecurityUtils
.
getDeptId
());
return
tTestPlanRecordMapper
.
selectTestPlanRecordPage
(
testPlanRecordPageRequest
);
}
...
...
quality-review/src/main/java/com/ruoyi/web/request/TestPlanRecordPageRequest.java
View file @
f4fe5804
...
...
@@ -38,4 +38,7 @@ public class TestPlanRecordPageRequest extends PageDomain {
*/
@ApiModelProperty
(
"文件路径"
)
private
String
fileUrl
;
@ApiModelProperty
(
"检测机构"
)
private
Long
testOrganizationId
;
}
quality-review/src/main/resources/mapper/TTestPlanRecordMapper.xml
View file @
f4fe5804
...
...
@@ -65,7 +65,8 @@
<include
refid=
"selectTestPlanRecordVo"
/>
<where>
<if
test=
"carModel != null and carModel != ''"
>
and pr.car_model like concat('%', #{carModel}, '%')
</if>
<if
test=
"inspectCarCompanyId != null and inspectCarCompanyId != ''"
>
and pr.inspectCarCompanyId= #{inspectCarCompanyId}
</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>
</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