modify dao for open_source_projects

This commit is contained in:
ronger 2016-11-17 19:07:47 +08:00
parent f589be8e74
commit e508eb3e64
1 changed files with 56 additions and 56 deletions

View File

@ -26,12 +26,12 @@ public interface DBDest {
*/
//向open_source_projects表中插入对象数据
@Insert("insert into ${table} (id,name,description,"
+ "url,language,category,"
+ "source,created_time,updated_time,"
+ "url,url_md5,language,category,homepage,license"
+ "source,created_time,updated_time,extracted_time"
+ "tags,tags_for_search,synonyms,update_mark) values (#{model.id},#{model.name},#{model.description},"
+ "#{model.url},,#{model.language},"
+ "#{model.category},#{model.source},"
+ "#{model.created_time},#{model.updated_time},#{model.tags},"
+ "#{model.url},#{model.url_md5},#{model.language},"
+ "#{model.category},#{model.homepage},#{model.license},#{model.source},"
+ "#{model.created_time},#{model.updated_time},#{model.extracted_time},#{model.tags},"
+ "#{model.tags_for_search},#{model.synonyms},#{model.update_mark})")
public void insertOsp(@Param("table") String table, @Param("model") OpenSourceProject model);