|
@ -12,7 +12,6 @@ import com.epmet.dto.result.UserBadgeListResultDTO; |
|
|
import com.epmet.dto.result.UserOperListResultDTO; |
|
|
import com.epmet.dto.result.UserOperListResultDTO; |
|
|
import com.epmet.feign.EpmetUserOpenFeignClient; |
|
|
import com.epmet.feign.EpmetUserOpenFeignClient; |
|
|
import com.epmet.modules.person.service.BadgeService; |
|
|
import com.epmet.modules.person.service.BadgeService; |
|
|
import com.epmet.resi.mine.dto.from.BadgeListFormDTO; |
|
|
|
|
|
import com.epmet.resi.mine.dto.from.OperListFormDTO; |
|
|
import com.epmet.resi.mine.dto.from.OperListFormDTO; |
|
|
import com.epmet.resi.mine.dto.result.BadgeListResultDTO; |
|
|
import com.epmet.resi.mine.dto.result.BadgeListResultDTO; |
|
|
import com.epmet.resi.mine.dto.result.OperListResultDTO; |
|
|
import com.epmet.resi.mine.dto.result.OperListResultDTO; |
|
@ -41,10 +40,10 @@ public class BadgeServiceImpl implements BadgeService { |
|
|
* @date 2020/11/3 4:11 下午 |
|
|
* @date 2020/11/3 4:11 下午 |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public List<BadgeListResultDTO> getBadgeList(TokenDto tokenDto,BadgeListFormDTO badgeListFormDTO) { |
|
|
public List<BadgeListResultDTO> getBadgeList(String customerId,String userId) { |
|
|
UserBadgeListFormDTO form = new UserBadgeListFormDTO(); |
|
|
UserBadgeListFormDTO form = new UserBadgeListFormDTO(); |
|
|
form.setCustomerId(badgeListFormDTO.getCustomerId()); |
|
|
form.setCustomerId(customerId); |
|
|
form.setUserId(tokenDto.getUserId()); |
|
|
form.setUserId(userId); |
|
|
Result<List<UserBadgeListResultDTO>> listResult = epmetUserOpenFeignClient.selectBadgeList(form); |
|
|
Result<List<UserBadgeListResultDTO>> listResult = epmetUserOpenFeignClient.selectBadgeList(form); |
|
|
if (!listResult.success()){ |
|
|
if (!listResult.success()){ |
|
|
throw new RenException("获取徽章点亮列表失败......"); |
|
|
throw new RenException("获取徽章点亮列表失败......"); |
|
|