|
|
@ -260,7 +260,7 @@ public class UserPointTotalServiceImpl extends BaseServiceImpl<UserPointTotalDao |
|
|
|
**/ |
|
|
|
@Override |
|
|
|
public ResiPointDetailResultDTO getMyPointGroupByCustomer(CommonUserFormDTO customerUserParam) { |
|
|
|
ResiPointDetailResultDTO result = baseDao.selectPointByUserId(customerUserParam.getUserId()); |
|
|
|
ResiPointDetailResultDTO result = baseDao.selectPointByCustomerUserId(customerUserParam.getUserId(),customerUserParam.getCustomerId()); |
|
|
|
if(null == result) return new ResiPointDetailResultDTO(); |
|
|
|
if(null == result.getUsablePoint() || null == result.getAccumulatedPoint()) return new ResiPointDetailResultDTO(); |
|
|
|
return result; |
|
|
|