报告模板配置

This commit is contained in:
hanyong
2022-10-10 10:23:34 +08:00
parent f4934b9853
commit b56b2ca525
7 changed files with 20 additions and 20 deletions

View File

@@ -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();
}

View File

@@ -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>