|
@@ -529,6 +529,6 @@ public interface GoodsDao extends JpaSpecificationExecutor<Goods>, JpaRepository
|
|
|
*/
|
|
*/
|
|
|
@Modifying
|
|
@Modifying
|
|
|
@Transactional
|
|
@Transactional
|
|
|
- @Query( nativeQuery = true, value = "update trade$goods set go_visit_count = ifnull(go_visit_count, 0) + 1 where uuid = :batchCode")
|
|
|
|
|
|
|
+ @Query( nativeQuery = true, value = "update trade$goods set go_visit_count = ifnull(go_visit_count, 0) + 1 where go_batchcode = :batchCode")
|
|
|
public void addVisitCount(@Param("batchCode") String batchCode);
|
|
public void addVisitCount(@Param("batchCode") String batchCode);
|
|
|
}
|
|
}
|