src/main/resources/mapper/SoftwareMapper.xml
@@ -48,4 +48,10 @@ <select id="selectSoftWare" resultType="software"> select * from tb_software where file_url=#{fileUrl} and lock_flag = #{lockFlag} </select> <select id="getFileNameByOwnerWithCode" resultType="com.whyc.pojo.Software"> SELECT distinct file_name,based_version,owner FROM tb_software w LEFT JOINtb_softcode c ON w.file_name = c.file_name WHERE c.file_name IS NULL; </select> </mapper>