From faa880ecc4d67f274e4bbab43ac65134d5ed65b9 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 20 九月 2024 10:52:18 +0800
Subject: [PATCH] 工单取图片优化
---
ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml
index 0d89d89..45b4d2f 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml
@@ -206,4 +206,16 @@
ORDER BY score DESC, tcs.dept_id
</select>
+ <select id="dashboard" resultType="com.ycl.platform.domain.entity.CheckScore">
+ select s.*,d.area as deptName from t_check_score s
+ left join sys_dept d on s.dept_id = d.dept_id
+ <where>
+ <if test="dataScope == 1">
+ AND s.examine_tag = 1
+ </if>
+ </where>
+ ORDER BY
+ s.create_time DESC
+ LIMIT 7
+ </select>
</mapper>
--
Gitblit v1.8.0