郑永安
2023-06-19 2fcd97552d16718cc7997629fd637a73a5a4483f
src/main/java/com/gk/firework/Mapper/WarningInfoMapper.java
对比新文件
@@ -0,0 +1,20 @@
package com.gk.firework.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gk.firework.Domain.WarningInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
@Repository
public interface WarningInfoMapper extends BaseMapper<WarningInfo> {
    WarningInfo selectByPrimaryKey(Long id);
    List<WarningInfo> selectDataGrid(Page<WarningInfo> page, Map<String, Object> condition);
    List<WarningInfo> selectByType(@Param("warntype") String warntype);
}