资源删除完成
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
AND deleted = 0
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="selectById" resultType="ResourceDO">
|
||||
SELECT
|
||||
<include refid="FIELDS"/>
|
||||
@@ -63,6 +64,13 @@
|
||||
AND deleted = 0
|
||||
</select>
|
||||
|
||||
<select id="selectCountByPid" resultType="int">
|
||||
SELECT
|
||||
COUNT(1)
|
||||
FROM resource
|
||||
WHERE pid = #{pid}
|
||||
</select>
|
||||
|
||||
<insert id="insert" parameterType="ResourceDO" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
||||
INSERT INTO resource (
|
||||
name, type, sort, display_name, handler,
|
||||
|
||||
Reference in New Issue
Block a user