Commit 165fa835 by tyfanchz

Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	src/main/java/com/glsx/smart/dao/mapper/SmartSysFileMapper.java
2 parents c9d99c86 40179c25
package com.glsx.smart.dao.mapper;
import java.util.List;
import com.glsx.smart.dao.entity.SmartSysFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* <p>Description:
* <p>Project: chejia-smart
......@@ -25,5 +26,6 @@ public interface SmartSysFileMapper extends tk.mybatis.mapper.common.Mapper<Smar
int batchInsert(@Param("list") List<SmartSysFile> list);
List<SmartSysFile> findByType(String type);
String selectUrlById(@Param("id") Long id);
}
......@@ -15,6 +15,9 @@
<!--@mbg.generated-->
id, `name`, url, `type`, create_time
</sql>
<select id="selectUrlById" parameterType="java.lang.Long" resultType="java.lang.String">
select url from smart_sys_file where id = #{id,jdbcType=BIGINT}
</select>
<update id="updateBatch" parameterType="java.util.List">
<!--@mbg.generated-->
update smart_sys_file
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!