时间问题
This commit is contained in:
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
|
|||||||
@Mapper
|
@Mapper
|
||||||
public interface ListingMallMapper extends BaseMapper<ListingEntity> {
|
public interface ListingMallMapper extends BaseMapper<ListingEntity> {
|
||||||
|
|
||||||
@Update("UPDATE seller_listing SET view_count = view_count + 1 WHERE id = #{id}")
|
@Update("UPDATE seller_listing SET view_count = view_count + 1, update_time = update_time WHERE id = #{id}")
|
||||||
int incrementViewCount(@Param("id") Long id);
|
int incrementViewCount(@Param("id") Long id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user