cms栏目管理功能添加

dev
hechao.zhu 1 year ago
parent 0ce0bab975
commit 447ff0f24a
  1. 8
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/mapper/CmsColumnMapper.java
  2. 4
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/mapper/xml/CmsColumnMapper.xml

@ -16,16 +16,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
*/
public interface CmsColumnMapper extends BaseMapper<CmsColumn> {
/**
* 编辑节点状态
* @param id
* @param status
*/
void updateTreeNodeStatus(@Param("id") String id,@Param("status") String status);
/**
* vue3专用根据父级ID查询树节点数据
*
* @param pid
* @param query
* @return

@ -17,8 +17,4 @@
</if>
</select>
<update id="updateTreeNodeStatus" parameterType="java.lang.String">
update has_child set has_child = #{status} where id = #{id}
</update>
</mapper>
Loading…
Cancel
Save