zbj//1.大屏获取暂降事件最新50条数据sql更改 2.资源管理 删除资源/下载资源/修改资源
This commit is contained in:
@@ -3,8 +3,11 @@ package com.njcn.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.njcn.system.pojo.po.Resinformation;
|
||||
import com.njcn.system.pojo.po.ResinformationParam;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
* @author: zbj
|
||||
@@ -12,4 +15,5 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceAdministrationMapper extends BaseMapper<Resinformation> {
|
||||
List<ResinformationParam> listAll();
|
||||
}
|
||||
|
||||
@@ -2,4 +2,9 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.njcn.system.mapper.ResourceAdministrationMapper">
|
||||
|
||||
<select id="listAll" resultType="com.njcn.system.pojo.po.ResinformationParam">
|
||||
SELECT pr.`NAME` "name", sdd.`Name` "type", pr.DESCRIPTION "description", pr.UPDATETIME "time"
|
||||
FROM pqs_resinformation pr
|
||||
left join sys_dict_data sdd on sdd.Id = pr.TYPE
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user