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
1b1194ea
Commit
1b1194ea
authored
1 year ago
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样品管理 逻辑删除修改
parent
2722224b
dev
gaixiankang
gaoying
master
songyuanshuo
wangdingyi
wangfei
19.0
18.0
17.0
16.0
15.0
14.0
13.0
12.0
11.0
10.0
9.0
8.0
7.0
6.0
5.0
4.0
3.0
2.0
1.0
2 merge requests
!211
dev - master
,
!72
Gao Ying
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
34 deletions
+1
-34
SampleManagementMapper.java
...rc/main/java/com/ruoyi/mapper/SampleManagementMapper.java
+0
-8
SampleManagementService.java
.../main/java/com/ruoyi/service/SampleManagementService.java
+0
-8
SampleManagementServiceImpl.java
...a/com/ruoyi/service/impl/SampleManagementServiceImpl.java
+0
-12
SampleManagementController.java
...c/main/java/com/ruoyi/web/SampleManagementController.java
+1
-1
SampleManagementMapper.xml
...view/src/main/resources/mapper/SampleManagementMapper.xml
+0
-5
No files found.
quality-review/src/main/java/com/ruoyi/mapper/SampleManagementMapper.java
View file @
1b1194ea
...
...
@@ -42,14 +42,6 @@ public interface SampleManagementMapper extends BaseMapper<Sample> {
*/
public
int
updateSampleManagement
(
Sample
tSampleManagement
);
/**
* 删除样品管理
*
* @param id 样品管理主键
* @return 结果
*/
public
int
deleteSampleManagementById
(
Long
id
);
/**
* 查询车辆识别码是否重复
* */
...
...
This diff is collapsed.
Click to expand it.
quality-review/src/main/java/com/ruoyi/service/SampleManagementService.java
View file @
1b1194ea
...
...
@@ -45,12 +45,4 @@ public interface SampleManagementService extends IService<Sample>
* @return 结果
*/
public
int
updateSampleManagement
(
Sample
tSampleManagement
);
/**
* 删除样品管理信息
*
* @param id 样品管理主键
* @return 结果
*/
public
int
deleteSampleManagementById
(
Long
id
);
}
This diff is collapsed.
Click to expand it.
quality-review/src/main/java/com/ruoyi/service/impl/SampleManagementServiceImpl.java
View file @
1b1194ea
...
...
@@ -98,16 +98,4 @@ public class SampleManagementServiceImpl extends ServiceImpl<SampleManagementMap
sampleManagement
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sampleManagementMapper
.
updateSampleManagement
(
sampleManagement
);
}
/**
* 删除样品管理信息
* @param id 样品管理主键
* @return 结果
*/
@Override
public
int
deleteSampleManagementById
(
Long
id
)
{
return
sampleManagementMapper
.
deleteSampleManagementById
(
id
);
}
}
This diff is collapsed.
Click to expand it.
quality-review/src/main/java/com/ruoyi/web/SampleManagementController.java
View file @
1b1194ea
...
...
@@ -98,6 +98,6 @@ public class SampleManagementController extends BaseController
@PostMapping
(
"/del"
)
public
AjaxResult
remove
(
@Validated
@RequestBody
SampleManagementGetInfoRequest
request
)
{
return
toAjax
(
sampleManagementService
.
deleteSampleManagement
ById
(
request
.
getId
()));
return
toAjax
(
sampleManagementService
.
remove
ById
(
request
.
getId
()));
}
}
This diff is collapsed.
Click to expand it.
quality-review/src/main/resources/mapper/SampleManagementMapper.xml
View file @
1b1194ea
...
...
@@ -136,11 +136,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</update>
<delete
id=
"deleteSampleManagementById"
parameterType=
"Long"
>
update t_sample set deleted = 1
where id = #{id}
</delete>
<select
id=
"selectIdentificationCodeCount"
parameterType=
"com.ruoyi.domain.Sample"
resultType=
"integer"
>
select count(id) from t_sample
<where>
...
...
This diff is collapsed.
Click to expand it.
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