【同步】BOOT 和 CLOUD 的功能(BPM)

This commit is contained in:
YunaiV
2025-03-16 17:22:19 +08:00
parent ee666cc387
commit 9841450458
27 changed files with 208 additions and 141 deletions

View File

@@ -21,9 +21,8 @@ import java.util.Collection;
public interface ProductBrowseHistoryMapper extends BaseMapperX<ProductBrowseHistoryDO> {
default ProductBrowseHistoryDO selectByUserIdAndSpuId(Long userId, Long spuId) {
return selectOne(new LambdaQueryWrapperX<ProductBrowseHistoryDO>()
.eq(ProductBrowseHistoryDO::getUserId, userId)
.eq(ProductBrowseHistoryDO::getSpuId, spuId));
return selectFirstOne(ProductBrowseHistoryDO::getUserId, userId,
ProductBrowseHistoryDO::getSpuId, spuId);
}
default PageResult<ProductBrowseHistoryDO> selectPage(ProductBrowseHistoryPageReqVO reqVO) {