1.新增字典功能
2.RocketMQ新增治理消息模板
This commit is contained in:
@@ -3,10 +3,13 @@ package com.njcn.system.mapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.system.pojo.dto.EpdDTO;
|
||||
import com.njcn.system.pojo.po.EleEpdPqd;
|
||||
import com.njcn.system.pojo.vo.EleEpdPqdVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
@@ -19,4 +22,6 @@ public interface EleEpdPqdMapper extends BaseMapper<EleEpdPqd> {
|
||||
|
||||
Page<EleEpdPqdVO> page(@Param("page")Page<EleEpdPqdVO> page, @Param("ew") QueryWrapper<EleEpdPqdVO> queryWrapper);
|
||||
|
||||
List<EpdDTO> findAll();
|
||||
|
||||
}
|
||||
|
||||
@@ -44,4 +44,15 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="findAll" resultType="EpdDTO">
|
||||
select
|
||||
t0.Name dictName,
|
||||
t1.Name tableName
|
||||
from
|
||||
ele_epd_pqd t0
|
||||
left join sys_dict_data t1 on
|
||||
t0.Class_Id = t1.Id
|
||||
where t0.status = 1
|
||||
group by t0.Name,t1.Name
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user