|
@@ -309,6 +309,7 @@ public class BasicToWebServiceImpl implements BasicToWebService
|
|
|
if(tourTourismProjectTravelNotes.getLikeCount() != null) {
|
|
|
if(type == 1) {
|
|
|
tourTourismProjectTravelNotes.setLikeCount(tourTourismProjectTravelNotes.getLikeCount() + 1);
|
|
|
+ tourTourismProjectTravelNotes.setHotValue(tourTourismProjectTravelNotes.getHotValue()+100);
|
|
|
}else {
|
|
|
tourTourismProjectTravelNotes.setLikeCount(tourTourismProjectTravelNotes.getLikeCount() - 1);
|
|
|
}
|
|
@@ -343,7 +344,6 @@ public class BasicToWebServiceImpl implements BasicToWebService
|
|
|
tourTourismProjectTravelNotes.setHotValue(tourTourismProjectTravelNotes.getHotValue()+50);
|
|
|
tourTourismProjectTravelNotesService.updateById(tourTourismProjectTravelNotes);
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
}
|
|
|
|