fuliqi
2024-09-03 ae0c129c499e7e166399f2e3e2ccca93a076a669
ycl-server/src/main/resources/mapper/zgyw/ImageResourceSecurityMapper.xml
@@ -101,4 +101,10 @@
            #{id}
        </foreach>
    </delete>
    <select id="getLatest" resultType="com.ycl.platform.domain.entity.ImageResourceSecurity">
        select * from t_image_resource_security where dept_id = #{deptId}
        where date_format(create_time,'%Y-%m')  = DATE_FORMAT(#{date}, '%Y-%m')
        order by create_time desc
        limit 1
    </select>
</mapper>