admin
2024-01-23 81da61b828e29b7745e1382dfbbaeb685dc083ef
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/ScanHistoryV2Mapper.java
@@ -19,7 +19,8 @@
    * @return
    */
   List<ScanHistoryV2> selectByDeviceOrUid(@Param("uid") Long uid, @Param("device") String device,
         @Param("start") long start, @Param("count") int count);
         @Param("start") long start, @Param("count") int count, @Param("source")Integer source,
         @Param("notBackSuVip")boolean notBackSuVip);
   /**
    * 根据UID或者设备号获取浏览记录条数
@@ -28,7 +29,8 @@
    * @param device
    * @return
    */
   Long selectCountByDeviceOrUid(@Param("uid") Long uid, @Param("device") String device);
   Long selectCountByDeviceOrUid(@Param("uid") Long uid, @Param("device") String device,
         @Param("source")Integer source, @Param("notBackSuVip")boolean notBackSuVip);
   /**
    * 根据设备或用户ID删除
@@ -37,7 +39,7 @@
    * @param device
    * @return
    */
   int deleteByDeviceOrUid(@Param("uid") Long uid, @Param("device") String device);
   List<ScanHistoryV2> listDeviceOrUid(@Param("uid") Long uid, @Param("device") String device);
   /**
    * 根据设备或用户ID与商品信息检索
@@ -49,6 +51,15 @@
    * @return
    */
   List<ScanHistoryV2> selectByDeviceOrUidAndGoodsIdAndGoodsType(@Param("uid") Long uid,
         @Param("device") String device, @Param("goodsId") long goodsId, @Param("goodsType") int goodsType);
         @Param("device") String device, @Param("goodsId") String goodsId);
   /**
    * 根据简版商品id查询
    * @param uid
    * @param device
    * @param commonId
    * @return
    */
   List<ScanHistoryV2> getByCommonGoodsId(@Param("uid") Long uid, @Param("device") String device, @Param("commonId")Long commonId);
}