Commit c3b017a2 authored by 竹天卫's avatar 竹天卫

天津现场第一次演示节点

parent 96c8aad6
......@@ -71,7 +71,7 @@ public class SampleController {
}
@ApiOperation(value = "样品销毁")
@PostMapping("/destruction/{}")
@PostMapping("/destruction/{id}")
public BaseResponse destruction(@PathVariable Integer id) {
try {
return sampleService.destruction(id);
......
......@@ -90,6 +90,7 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
.setLittlePosition(query.getLittlePosition())
.setOriginalPosition(query.getOriginalPosition())
.setRemark(query.getRemark());
sampleMapper.updateById(sample);
return BaseResponse.okData("样品登记成功");
}
......
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