| 
						
						
							
								
							
						
						
					 | 
					@ -147,7 +147,7 @@ public class PointVerificationLogServiceImpl extends BaseServiceImpl<PointVerifi | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public List<ResiPointLogListResultDTO> getMyExchangeRecord(CommonPageUserFormDTO pageUser) { | 
					 | 
					 | 
					    public List<ResiPointLogListResultDTO> getMyExchangeRecord(CommonPageUserFormDTO pageUser) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        PageHelper.startPage(pageUser.getPageNo(),pageUser.getPageSize()); | 
					 | 
					 | 
					        PageHelper.startPage(pageUser.getPageNo(),pageUser.getPageSize()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<ResiPointLogPeriodResultDTO> logList = baseDao.selectVerificationLog(pageUser.getUserId()); | 
					 | 
					 | 
					        List<ResiPointLogPeriodResultDTO> logList = baseDao.selectVerificationLog(pageUser.getUserId(),pageUser.getCustomerId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        List<ResiPointLogListResultDTO> result = new LinkedList<>(); | 
					 | 
					 | 
					        List<ResiPointLogListResultDTO> result = new LinkedList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(null != logList && !logList.isEmpty()){ | 
					 | 
					 | 
					        if(null != logList && !logList.isEmpty()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            Map<String,List<ResiPointLogPeriodResultDTO>> map = | 
					 | 
					 | 
					            Map<String,List<ResiPointLogPeriodResultDTO>> map = | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -256,9 +256,10 @@ public class PointVerificationLogServiceImpl extends BaseServiceImpl<PointVerifi | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        DimIdGenerator.DimIdBean dim = DimIdGenerator.getDimIdBean(new Date()); | 
					 | 
					 | 
					        DimIdGenerator.DimIdBean dim = DimIdGenerator.getDimIdBean(new Date()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        ResiCommonUserIdFormDTO userId = new ResiCommonUserIdFormDTO(); | 
					 | 
					 | 
					        CommonUserFormDTO customerUserParam = new CommonUserFormDTO(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        userId.setUserId(verificationParam.getUserId()); | 
					 | 
					 | 
					        customerUserParam.setUserId(verificationParam.getUserId()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        ResiPointDetailResultDTO currentPoint = userPointTotalService.getMyPoint(userId); | 
					 | 
					 | 
					        customerUserParam.setCustomerId(verificationParam.getCustomerId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ResiPointDetailResultDTO currentPoint = userPointTotalService.getMyPointGroupByCustomer(customerUserParam); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(null == currentPoint || null == currentPoint.getUsablePoint() || currentPoint.getUsablePoint() < verificationParam.getPoint()){ | 
					 | 
					 | 
					        if(null == currentPoint || null == currentPoint.getUsablePoint() || currentPoint.getUsablePoint() < verificationParam.getPoint()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            result.setSuccessFlag(false); | 
					 | 
					 | 
					            result.setSuccessFlag(false); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            result.setFailureReason(ModuleConstant.POINT_NOT_ENOUGH); | 
					 | 
					 | 
					            result.setFailureReason(ModuleConstant.POINT_NOT_ENOUGH); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -280,14 +281,14 @@ public class PointVerificationLogServiceImpl extends BaseServiceImpl<PointVerifi | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            point *= NumConstant.ONE_NEG; | 
					 | 
					 | 
					            point *= NumConstant.ONE_NEG; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String customerId = ModuleConstant.EMPTY_STR; | 
					 | 
					 | 
					        String customerId = verificationParam.getCustomerId(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String agencyId = ModuleConstant.EMPTY_STR; | 
					 | 
					 | 
					        String agencyId = ModuleConstant.EMPTY_STR; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String operatorName = ModuleConstant.EMPTY_STR; | 
					 | 
					 | 
					        String operatorName = ModuleConstant.EMPTY_STR; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        PointVerificationStatisticalDailyEntity statistical = new PointVerificationStatisticalDailyEntity(); | 
					 | 
					 | 
					        PointVerificationStatisticalDailyEntity statistical = new PointVerificationStatisticalDailyEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(staffResult.success() && null != staffResult.getData()){ | 
					 | 
					 | 
					        if(staffResult.success() && null != staffResult.getData()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            statistical = ConvertUtils.sourceToTarget(staffResult.getData(),PointVerificationStatisticalDailyEntity.class); | 
					 | 
					 | 
					            statistical = ConvertUtils.sourceToTarget(staffResult.getData(),PointVerificationStatisticalDailyEntity.class); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            customerId = staffResult.getData().getCustomerId(); | 
					 | 
					 | 
					            customerId = StringUtils.isBlank(customerId) ? staffResult.getData().getCustomerId() : customerId; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            operatorName = staffResult.getData().getNickname(); | 
					 | 
					 | 
					            operatorName = staffResult.getData().getNickname(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            agencyId = staffResult.getData().getAgencyId(); | 
					 | 
					 | 
					            agencyId = staffResult.getData().getAgencyId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |