From 51f67136d3f6ff27a9f879b8c13bd308a7a733e1 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 17 四月 2025 09:14:02 +0800 Subject: [PATCH] 删除工单,物理删除图片调整 --- ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml index 97b345f..550bc1a 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml @@ -101,4 +101,11 @@ #{id} </foreach> </delete> + <select id="getLatest" resultType="com.ycl.platform.domain.entity.ImageResourceSecurity"> + select * from t_image_resource_security + where dept_id = #{deptId} + and date_format(create_time,'%Y-%m') = date_format(#{date}, '%Y-%m') + order by create_time desc + limit 1 + </select> </mapper> -- Gitblit v1.8.0