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
19be287d
Commit
19be287d
authored
Jan 30, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样品管理 删除
parent
0f14f512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SampleManagementController.java
...c/main/java/com/ruoyi/web/SampleManagementController.java
+1
-1
SampleManagementMapper.xml
...view/src/main/resources/mapper/SampleManagementMapper.xml
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/web/SampleManagementController.java
View file @
19be287d
...
...
@@ -95,7 +95,7 @@ public class SampleManagementController extends BaseController
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"样品管理"
,
businessType
=
BusinessType
.
DELETE
)
@
DeleteMapping
(
"/{ids}
"
)
@
PostMapping
(
"/del
"
)
public
AjaxResult
remove
(
@Validated
@RequestBody
SampleManagementGetInfoRequest
request
)
{
return
toAjax
(
sampleManagementService
.
deleteSampleManagementById
(
request
.
getId
()));
...
...
quality-review/src/main/resources/mapper/SampleManagementMapper.xml
View file @
19be287d
...
...
@@ -137,7 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<delete
id=
"deleteSampleManagementById"
parameterType=
"Long"
>
update t_sample set deleted = 1
,
update t_sample set deleted = 1
where id = #{id}
</delete>
...
...
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