Skip to content

Commit

Permalink
Issue #91: Fixed wrong column name.
Browse files Browse the repository at this point in the history
  • Loading branch information
haumacher committed Nov 30, 2024
1 parent 5c8ac1f commit d004fd2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,13 @@ SELECT COUNT(1) cnt, CASE WHEN s.VOTES < #{minVotes} THEN 0 WHEN s.VOTES < 6 THE
@Update("update COMMENTS s set s.UP = s.UP + #{up}, s.DOWN = s.DOWN + #{down} where s.ID = #{id}")
int updateCommentVotes(String id, int up, int down);

@Select("select s.UPDATED from META_UPDATE s where s.PHONE=#{phone}")
@Select("select s.LASTUPDATE from META_UPDATE s where s.PHONE=#{phone}")
Long getLastMetaSearch(String phone);

@Update("update META_UPDATE s set s.UPDATED=#{lastUpdate} where s.PHONE=#{phone}")
@Update("update META_UPDATE s set s.LASTUPDATE=#{lastUpdate} where s.PHONE=#{phone}")
int setLastMetaSearch(String phone, long lastUpdate);

@Insert("insert into META_UPDATE (PHONE, UPDATED) values (#{phone}, #{lastUpdate})")
@Insert("insert into META_UPDATE (PHONE, LASTUPDATE) values (#{phone}, #{lastUpdate})")
void insertLastMetaSearch(String phone, long lastUpdate);

@Select("SELECT PHONE FROM SUMMARY_REQUEST sr ORDER BY sr.PRIORITY LIMIT 1")
Expand Down

0 comments on commit d004fd2

Please sign in to comment.