修复资源删除时,判断是否有子资源的错误判断

pull/1/head
YunaiV 2019-03-10 18:01:35 +08:00
parent 1f7c71e31f
commit f218c959bc
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@
COUNT(1)
FROM resource
WHERE pid = #{pid}
AND deleted = 0
</select>
<insert id="insert" parameterType="ResourceDO" useGeneratedKeys="true" keyColumn="id" keyProperty="id">