src/main/resources/mapper/sys/AttachMapper.xml
@@ -33,6 +33,10 @@ select * from lf.sys_attach where guid = #{guid} limit 1 </select> <select id="selectByTab" resultType="com.lf.server.entity.sys.AttachEntity"> select * from lf.sys_attach where tab = #{tab} and guid = #{guid} </select> <insert id="insert" parameterType="com.lf.server.entity.sys.AttachEntity"> insert into lf.sys_attach (name,tab,tab_guid,guid,path,sizes,create_user,create_time)