xiaoyong931011
2021-07-23 7870947c3dc93f6d8b2db718eab551edfc709f9b
gc-sys/src/main/java/com/xzx/gc/system/mapper/SysNewsMapper.java
@@ -2,6 +2,7 @@
import com.xzx.gc.entity.SysNews;
import com.xzx.gc.system.dto.SysNewsListDto;
import com.xzx.gc.system.vo.ApiNewsListVo;
import com.xzx.gc.system.vo.SysNewsListVo;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
@@ -21,4 +22,5 @@
    void updateSysNews(@Param("title")String title, @Param("content")String content,
                            @Param("sort")Integer sort, @Param("newsId")long id);
    List<ApiNewsListVo> selectSysNews();
}