modify dao for open_source_projects
This commit is contained in:
parent
f589be8e74
commit
e508eb3e64
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue