From e547993a3c78d0bd75f3fdef4a9878e180d73d36 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 29 四月 2024 17:52:26 +0800
Subject: [PATCH] 合同考核结果定时任务、详情、查询、导出

---
 ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
index 18a9ccb..4e2abe7 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
@@ -4,4 +4,12 @@
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ycl.platform.mapper.TContractMapper">
 
+    <select id="selectAll" resultType="com.ycl.platform.domain.entity.TContract">
+        select a.*, b.unit_name
+        from t_contract a
+                 left join t_yw_unit b on a.unit_id = b.id and b.deleted = '0'
+        where a.deleted = '0'
+        order by create_time desc
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0