Commit 19be287d authored by 高滢's avatar 高滢

样品管理 删除

parent 0f14f512
...@@ -95,7 +95,7 @@ public class SampleManagementController extends BaseController ...@@ -95,7 +95,7 @@ public class SampleManagementController extends BaseController
@Trace @Trace
@Tags({@Tag(key = "param", value = "arg[0]"), @Tag(key = "result", value = "returnedObj")}) @Tags({@Tag(key = "param", value = "arg[0]"), @Tag(key = "result", value = "returnedObj")})
@Log(title = "样品管理", businessType = BusinessType.DELETE) @Log(title = "样品管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @PostMapping ("/del")
public AjaxResult remove(@Validated @RequestBody SampleManagementGetInfoRequest request) public AjaxResult remove(@Validated @RequestBody SampleManagementGetInfoRequest request)
{ {
return toAjax(sampleManagementService.deleteSampleManagementById(request.getId())); return toAjax(sampleManagementService.deleteSampleManagementById(request.getId()));
......
...@@ -137,7 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -137,7 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update> </update>
<delete id="deleteSampleManagementById" parameterType="Long"> <delete id="deleteSampleManagementById" parameterType="Long">
update t_sample set deleted = 1, update t_sample set deleted = 1
where id = #{id} where id = #{id}
</delete> </delete>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment