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
3e7b5c16
Commit
3e7b5c16
authored
Feb 04, 2024
by
王飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into wangfei
parents
96006f2b
59df62d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Sample.java
quality-review/src/main/java/com/ruoyi/domain/Sample.java
+8
-0
SampleManagementMapper.xml
...view/src/main/resources/mapper/SampleManagementMapper.xml
+2
-3
No files found.
quality-review/src/main/java/com/ruoyi/domain/Sample.java
View file @
3e7b5c16
...
...
@@ -24,6 +24,10 @@ import lombok.Data;
public
class
Sample
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
// 整车样品
public
static
final
String
SAMPLE_FLAG_CAR
=
"0"
;
// 零部件样品
public
static
final
String
SAMPLE_FLAG_PART
=
"1"
;
/** 主键 */
@ApiModelProperty
(
"主键"
)
...
...
@@ -89,4 +93,8 @@ public class Sample extends BaseEntity
/** 样品照片 */
@ApiModelProperty
(
"样品照片"
)
private
String
samplePhotos
;
/** 车企名称 */
@ApiModelProperty
(
"车企名称"
)
private
String
carCompanyName
;
}
quality-review/src/main/resources/mapper/SampleManagementMapper.xml
View file @
3e7b5c16
...
...
@@ -21,10 +21,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"deleted"
column=
"deleted"
/>
<result
property=
"enterpriseId"
column=
"enterprise_id"
/>
<result
property=
"enterpriseName"
column=
"enterprise_name"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"trademark"
column=
"trademark"
/>
<result
property=
"samplePhotos"
column=
"sample_photos"
/>
<result
property=
"carCompanyName"
column=
"car_company_name"
/>
</resultMap>
<sql
id=
"selectTSampleManagementVo"
>
...
...
@@ -47,9 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sm.remark,
sm.trademark,
sm.sample_photos,
ae.enterprise_name
sm.car_company_namem
from t_sample sm
left join t_automobile_enterprise ae on ae.id = sm.enterprise_id
</sql>
<select
id=
"selectSampleManagementList"
parameterType=
"com.ruoyi.domain.Sample"
resultMap=
"SampleManagementResult"
>
...
...
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