Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
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
王飞
vehicle-quality-review
Commits
7cf48bec
Commit
7cf48bec
authored
Mar 12, 2024
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaoying' into 'dev'
Gaoying See merge request
!165
parents
366a1516
87d109eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
SampleTaskVo.java
...eview/src/main/java/com/ruoyi/domain/vo/SampleTaskVo.java
+10
-0
SampleManagementMapper.xml
...view/src/main/resources/mapper/SampleManagementMapper.xml
+2
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/SampleTaskVo.java
View file @
7cf48bec
package
com
.
ruoyi
.
domain
.
vo
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
...
...
@@ -12,7 +15,14 @@ import java.util.List;
@NoArgsConstructor
@Data
public
class
SampleTaskVo
{
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
)
private
Long
taskId
;
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
)
private
Long
SampleId
;
private
String
taskNo
;
}
quality-review/src/main/resources/mapper/SampleManagementMapper.xml
View file @
7cf48bec
...
...
@@ -172,8 +172,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"sampleName"
column=
"sample_name"
/>
<result
property=
"enterpriseId"
column=
"enterprise_id"
/>
</resultMap>
<select
id=
"findByIdList"
resultMap=
"Sample
ListResponse
"
>
select id,identification_code,sample_number,sample_name,enterprise_id from t_sample
<select
id=
"findByIdList"
resultMap=
"Sample
ManagementResult
"
>
select id,identification_code,sample_number,sample_name,enterprise_id
,trademark,sample_photos,number_of_samples,delivery_date,sample_sender,manufacturing_enterprise,manufacture_date
from t_sample
WHERE id IN
<foreach
collection=
"relationList"
item=
"relation"
open=
"("
separator=
","
close=
")"
>
#{relation.sampleId}
...
...
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