报告模板配置
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package com.njcn.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.njcn.system.pojo.dto.DictDTO;
|
||||
import com.njcn.system.pojo.dto.EventReportDictDTO;
|
||||
import com.njcn.system.pojo.po.ReportDict;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface EventDictMapper extends BaseMapper<ReportDict> {
|
||||
|
||||
List<DictDTO> getAllDict();
|
||||
List<EventReportDictDTO> getAllDict();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.njcn.system.mapper.EventDictMapper">
|
||||
|
||||
<select id="getAllDict" resultType="DictDTO">
|
||||
<select id="getAllDict" resultType="EventReportDictDTO">
|
||||
SELECT * from report_dict WHERE State = 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user