Commit 4d0476f4 by wangjf

fix bug

parent 0ce00b1d
...@@ -17,7 +17,7 @@ public interface TagDao { ...@@ -17,7 +17,7 @@ public interface TagDao {
@Update("UPDATE tag_list SET user_id = #{userId}, tag = #{tag},update_time = #{updateTime} WHERE package_name = #{packageName}") @Update("UPDATE tag_list SET user_id = #{userId}, tag = #{tag},update_time = #{updateTime} WHERE package_name = #{packageName}")
boolean update(Tag tag); boolean update(Tag tag);
@Select("SELECT * FROM tag_list WHERE tag = #{tag} AND user_id = #{userId} ORDER BY install DESC") @Select("SELECT * FROM tag_list WHERE tag = #{tag} ORDER BY install DESC")
@Results({ @Result(property = "packageName", column = "package_name"), @Results({ @Result(property = "packageName", column = "package_name"),
@Result(property = "appName", column = "app_name"), @Result(property = "appName", column = "app_name"),
@Result(property = "platform", column = "platform"), @Result(property = "platform", column = "platform"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment