Class UserIntroducePhotoPOServiceImpl
java.lang.Object
io.github.seenings.introduce.service.impl.UserIntroducePhotoPOServiceImpl
- All Implemented Interfaces:
UserIntroducePhotoService
@Repository
public class UserIntroducePhotoPOServiceImpl
extends Object
implements UserIntroducePhotoService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidToModifyTime(Set<Integer> ids) 根据ID获取修改时间根据ID获取顺序introduceTypeIdToId(Set<Integer> introduceTypeIds, Long userId) 根据介绍类型ID获取照片介绍信息IDsaveAndReturnId(List<OrderAndPhotoId> orderAndPhotoIds, Integer max, IntroduceTypeEnum introduceTypeEnum, Long userId) 存入多个照片userIdToIntroduceTypeAndPhoto(Set<Long> userIds) 根据用户ID获取介绍照片信息
-
Constructor Details
-
UserIntroducePhotoPOServiceImpl
public UserIntroducePhotoPOServiceImpl()
-
-
Method Details
-
saveAndReturnId
public Set<Integer> saveAndReturnId(List<OrderAndPhotoId> orderAndPhotoIds, Integer max, IntroduceTypeEnum introduceTypeEnum, Long userId) 存入多个照片- Specified by:
saveAndReturnIdin interfaceUserIntroducePhotoService- Parameters:
orderAndPhotoIds- 介绍照片userId- 用户ID- Returns:
- 存入的介绍照片信息ID
-
idToModifyTime
根据ID获取修改时间- Specified by:
idToModifyTimein interfaceUserIntroducePhotoService- Parameters:
ids- ID- Returns:
- ID对应修改时间
-
idToOrder
-
introduceTypeIdToId
根据介绍类型ID获取照片介绍信息ID- Specified by:
introduceTypeIdToIdin interfaceUserIntroducePhotoService- Parameters:
introduceTypeIds- 介绍类型IDuserId- 用户ID- Returns:
- 介绍类型ID对应照片介绍信息ID
-
userIdToIntroduceTypeAndPhoto
根据用户ID获取介绍照片信息- Specified by:
userIdToIntroduceTypeAndPhotoin interfaceUserIntroducePhotoService- Parameters:
userIds- 用户ID- Returns:
- 用户ID对应介绍照片信息
-