From 3647aa5008055528f075ee73002542a1399575ae Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期三, 19 三月 2025 14:45:39 +0800 Subject: [PATCH] 单点登录调整 --- basic-server/src/main/resources/mapper/CertificationMapper.xml | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/basic-server/src/main/resources/mapper/CertificationMapper.xml b/basic-server/src/main/resources/mapper/CertificationMapper.xml index 40304a3..bb4ab06 100644 --- a/basic-server/src/main/resources/mapper/CertificationMapper.xml +++ b/basic-server/src/main/resources/mapper/CertificationMapper.xml @@ -1,19 +1,19 @@ <?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.ruoyi.basic.mapper.CertificationMapper"> - <select id="getCertificationDetail" resultType="com.ruoyi.inspect.pojo.Certification"> + <select id="getCertificationDetail" resultType="com.ruoyi.basic.pojo.Certification"> select b.* - from ( select a.`name`, a.`code`,a.organization,a.explanation,a.first_issuance_date,a.latest_issuance_date,c.expire_time FROM - (SELECT id,name,MIN(date_of_issuance) AS first_issuance_date, - MAX(date_of_issuance) AS latest_issuance_date, - c.`code`,c.organization,c.explanation - FROM - certification c + from ( select a.id, a.`name`, a.`code`,a.organization,a.explanation,a.first_issuance_date,a.latest_issuance_date,c.expire_time FROM + (SELECT id,name,MIN(date_of_issuance) AS first_issuance_date, + MAX(date_of_issuance) AS latest_issuance_date, + c.`code`,c.organization,c.explanation + FROM + certification c <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> - GROUP BY - name) a left join certification c on a.id=c.id + GROUP BY + name) a left join certification c on a.id=c.id ) b </select> </mapper> -- Gitblit v1.9.3