src/main/resources/mapper/SoftwareMapper.xml
@@ -48,4 +48,11 @@ <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 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 and w.owner = #{owner}; </select> </mapper>