package com.rzyc.mapper; import com.rzyc.model.SysStatute; import com.rzyc.model.SysStatuteExample; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface SysStatuteMapper { long countByExample(SysStatuteExample example); int deleteByExample(SysStatuteExample example); int insert(SysStatute record); int insertSelective(SysStatute record); List selectByExample(SysStatuteExample example); int updateByExampleSelective(@Param("record") SysStatute record, @Param("example") SysStatuteExample example); int updateByExample(@Param("record") SysStatute record, @Param("example") SysStatuteExample example); /*法规、法规章节列表*/ List findByParentId(@Param("condition") String condition, @Param("parentId") String parentId); /*修改法规*/ Integer changeStatute(@Param("record") SysStatute record); }