From 935e439797c17c9f2d2c9ce8f4ffb39dc7e1b1f4 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 13 三月 2025 16:30:03 +0800 Subject: [PATCH] 修改源码上传 --- src/main/resources/mapper/SoftwareMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/SoftwareMapper.xml b/src/main/resources/mapper/SoftwareMapper.xml index ca895c2..8a8576d 100644 --- a/src/main/resources/mapper/SoftwareMapper.xml +++ b/src/main/resources/mapper/SoftwareMapper.xml @@ -49,7 +49,7 @@ select * from tb_software where file_url=#{fileUrl} and lock_flag = #{lockFlag} </select> <select id="getFileNameByOwnerWithCode" resultType="com.whyc.pojo.Software"> - SELECT distinct w.file_name,based_version,owner + SELECT distinct w.file_name,based_version,owner,version FROM tb_software w LEFT JOIN tb_softcode c ON w.file_name = c.file_name WHERE c.file_name IS NULL -- Gitblit v1.9.1