From e8efe8294fc9bd81035fed09478c308b1e0a6980 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Tue, 27 Sep 2022 16:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esua-epdc/epdc-cloud-commons-shibei | 2 +- .../main/resources/mapper/enterprise/EnterpriseInfoDao.xml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/esua-epdc/epdc-cloud-commons-shibei b/esua-epdc/epdc-cloud-commons-shibei index e70dd264a..61c5e87be 160000 --- a/esua-epdc/epdc-cloud-commons-shibei +++ b/esua-epdc/epdc-cloud-commons-shibei @@ -1 +1 @@ -Subproject commit e70dd264aa6c44fd5c9643ad99a234d3e03c8bd4 +Subproject commit 61c5e87be2044249f2b260c4883321695910dfb3 diff --git a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/enterprise/EnterpriseInfoDao.xml b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/enterprise/EnterpriseInfoDao.xml index ac8459a34..6dd566eb2 100644 --- a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/enterprise/EnterpriseInfoDao.xml +++ b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/enterprise/EnterpriseInfoDao.xml @@ -41,7 +41,11 @@ IF(t.EMPLOYED_POPULATION = 0,'',t.EMPLOYED_POPULATION) as EMPLOYED_POPULATION, t.INDUSTRY,t.BUSINESS_SCOPE,t.DEPT_ID,t.ALL_DEPT_NAMES from epdc_enterprise_info t - where t.USER_ID = #{userId} + where t.DEL_FLAG = '0' + AND t.USER_ID = #{userId} + ORDER BY + t.CREATED_TIME DESC + LIMIT 1