Skip to content

Commit 9edff50

Browse files
committed
根据id删除回收站中的实例
1 parent 6298aa0 commit 9edff50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springboot-dubbo-service/src/main/resources/mapper/ExampleMapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<mapper namespace="com.lzq.dubboservice.mapper.ExampleMapper">
44

55
<delete id="deleteExample">
6-
delete from example where example_id=#{exampleId}
6+
delete from example where example_id=#{exampleId} and deleted=1
77
</delete>
88
</mapper>

0 commit comments

Comments
 (0)