From 75f7bbb31181096988b4310ca84654b880f50604 Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期五, 17 三月 2023 21:51:21 +0800 Subject: [PATCH] 部门管理的导入导出 --- ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml b/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml new file mode 100644 index 0000000..4a0853f --- /dev/null +++ b/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.ycl.mapper.apidata.ApiDataMapper"> + + + <select id="listTop10" resultType="com.ycl.vo.cockpit.statisticsEvents.StatisticsEventsVO$Top10VO"> + SELECT NAME + , + IFNULL(month_index_number,0) month_index_number + FROM + ums_team_construction + <where> + <if test="beginTime !='' and endTime !='' and beginTime!=null and endTime !=null"> + and create_time between #{beginTime} and #{endTime} + </if> + </where> + ORDER BY + month_index_number DESC + LIMIT 10 + </select> +</mapper> -- Gitblit v1.8.0