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
f7b9c4e9
Commit
f7b9c4e9
authored
Aug 30, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检测方案记录
parent
dfdcac44
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
199 additions
and
0 deletions
+199
-0
TTestPlanRecord.java
...eview/src/main/java/com/ruoyi/domain/TTestPlanRecord.java
+114
-0
TTestPlanRecordMapper.java
...src/main/java/com/ruoyi/mapper/TTestPlanRecordMapper.java
+18
-0
TTestPlanRecordService.java
...c/main/java/com/ruoyi/service/TTestPlanRecordService.java
+13
-0
TTestPlanRecordServiceImpl.java
...va/com/ruoyi/service/impl/TTestPlanRecordServiceImpl.java
+22
-0
TTestPlanRecordMapper.xml
...eview/src/main/resources/mapper/TTestPlanRecordMapper.xml
+32
-0
No files found.
quality-review/src/main/java/com/ruoyi/domain/TTestPlanRecord.java
0 → 100644
View file @
f7b9c4e9
package
com
.
ruoyi
.
domain
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.io.Serializable
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
/**
*
* @TableName t_test_plan_record
*/
@TableName
(
value
=
"t_test_plan_record"
)
@Data
public
class
TTestPlanRecord
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
)
private
Long
id
;
/**
* 被检车企ID
*/
@TableField
(
value
=
"inspect_car_company_id"
)
private
Long
inspect_car_company_id
;
/**
* 车辆型号
*/
@TableField
(
value
=
"car_model"
)
private
String
car_model
;
/**
* 检测方案生成时间
*/
@TableField
(
value
=
"generation_time"
)
private
Date
generation_time
;
/**
* 文件路径
*/
@TableField
(
value
=
"file_url"
)
private
String
file_url
;
/**
* 测试结果
*/
@TableField
(
value
=
"test_result"
)
private
String
test_result
;
/**
* 创建人
*/
@TableField
(
value
=
"create_by"
)
private
String
create_by
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
)
private
Date
create_time
;
/**
* 修改人
*/
@TableField
(
value
=
"update_by"
)
private
String
update_by
;
/**
* 修改时间
*/
@TableField
(
value
=
"update_time"
)
private
Date
update_time
;
/**
* 备注
*/
@TableField
(
value
=
"remark"
)
private
String
remark
;
/**
* 检测机构id
*/
@TableField
(
value
=
"test_organization_id"
)
private
Long
test_organization_id
;
/**
* 关联的检验项目逗号分隔id
*/
@TableField
(
value
=
"inspection_item"
)
private
String
inspection_item
;
/**
* 关联的用例编号逗号分隔id
*/
@TableField
(
value
=
"use_case_no"
)
private
Integer
use_case_no
;
/**
* 标准id
*/
@TableField
(
value
=
"inspection_standard_id"
)
private
Long
inspection_standard_id
;
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
quality-review/src/main/java/com/ruoyi/mapper/TTestPlanRecordMapper.java
0 → 100644
View file @
f7b9c4e9
package
com
.
ruoyi
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.ruoyi.domain.TTestPlanRecord
;
/**
* @author W_YI
* @description 针对表【t_test_plan_record】的数据库操作Mapper
* @createDate 2024-08-30 10:19:06
* @Entity com.ruoyi.domain.TTestPlanRecord
*/
public
interface
TTestPlanRecordMapper
extends
BaseMapper
<
TTestPlanRecord
>
{
}
quality-review/src/main/java/com/ruoyi/service/TTestPlanRecordService.java
0 → 100644
View file @
f7b9c4e9
package
com
.
ruoyi
.
service
;
import
com.ruoyi.domain.TTestPlanRecord
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* @author W_YI
* @description 针对表【t_test_plan_record】的数据库操作Service
* @createDate 2024-08-30 10:19:52
*/
public
interface
TTestPlanRecordService
extends
IService
<
TTestPlanRecord
>
{
}
quality-review/src/main/java/com/ruoyi/service/impl/TTestPlanRecordServiceImpl.java
0 → 100644
View file @
f7b9c4e9
package
com
.
ruoyi
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.ruoyi.domain.TTestPlanRecord
;
import
com.ruoyi.service.TTestPlanRecordService
;
import
com.ruoyi.mapper.TTestPlanRecordMapper
;
import
org.springframework.stereotype.Service
;
/**
* @author W_YI
* @description 针对表【t_test_plan_record】的数据库操作Service实现
* @createDate 2024-08-30 10:19:52
*/
@Service
public
class
TTestPlanRecordServiceImpl
extends
ServiceImpl
<
TTestPlanRecordMapper
,
TTestPlanRecord
>
implements
TTestPlanRecordService
{
}
quality-review/src/main/resources/mapper/TTestPlanRecordMapper.xml
0 → 100644
View file @
f7b9c4e9
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.mapper.TTestPlanRecordMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.ruoyi.domain.TTestPlanRecord"
>
<id
property=
"id"
column=
"id"
jdbcType=
"BIGINT"
/>
<result
property=
"inspect_car_company_id"
column=
"inspect_car_company_id"
jdbcType=
"BIGINT"
/>
<result
property=
"car_model"
column=
"car_model"
jdbcType=
"VARCHAR"
/>
<result
property=
"generation_time"
column=
"generation_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"file_url"
column=
"file_url"
jdbcType=
"VARCHAR"
/>
<result
property=
"test_result"
column=
"test_result"
jdbcType=
"VARCHAR"
/>
<result
property=
"create_by"
column=
"create_by"
jdbcType=
"VARCHAR"
/>
<result
property=
"create_time"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"update_by"
column=
"update_by"
jdbcType=
"VARCHAR"
/>
<result
property=
"update_time"
column=
"update_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"remark"
column=
"remark"
jdbcType=
"VARCHAR"
/>
<result
property=
"test_organization_id"
column=
"test_organization_id"
jdbcType=
"BIGINT"
/>
<result
property=
"inspection_item"
column=
"inspection_item"
jdbcType=
"VARCHAR"
/>
<result
property=
"use_case_no"
column=
"use_case_no"
jdbcType=
"INTEGER"
/>
<result
property=
"inspection_standard_id"
column=
"inspection_standard_id"
jdbcType=
"BIGINT"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,inspect_car_company_id,car_model,
generation_time,file_url,test_result,
create_by,create_time,update_by,
update_time,remark,test_organization_id,
inspection_item,use_case_no,inspection_standard_id
</sql>
</mapper>
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