| 
					
				 | 
			
			
				@@ -3604,6 +3604,7 @@ public class OrderServiceImpl implements OrderService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 haiKongResendMsgEntity.setInterfaceType(HaiKongMemberSystemUrlEnum.ROLLBACK_MEMBER_SCORE.getUrl()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 haiKongResendMsgEntity.setRequestMsg(JSON.toJSONString(integralGoBackEntity)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 haiKongResendMsgEntity.setResponseMsg(responseMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                haiKongResendMsgEntity.setResendNum(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 haiKongResendMsgEntity.setIsValid(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 haiKongResendMsgDao.saveResendMsg(haiKongResendMsgEntity); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5248,4 +5249,44 @@ public class OrderServiceImpl implements OrderService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return R.ok(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 重推退款积分,最多五次 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public void integralTask() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //获取重推积分数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        List<HaiKongResendMsgEntity> haiKongResendMsgEntities = haiKongResendMsgDao.queryResendMsg(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(haiKongResendMsgEntities.size()>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for(HaiKongResendMsgEntity haiKongResendMsg:haiKongResendMsgEntities) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    Date date = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    String integralGoBackEntityMsg = haiKongResendMsg.getRequestMsg(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    String responseMsg = haiKongMemberTemplate.rollbackMemberScore(integralGoBackEntityMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    Map<String, Object> res = JSON.parseObject(responseMsg, Map.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    LOGGER.info("=======> [integralTask-----重推退款积分]" + responseMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    //解析数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if ("true".equals(res.get("success").toString())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        LOGGER.info("=======> [integralTask-----重推退款积分]" + responseMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        LOGGER.error("=======> [integralTask-----重推退款积分]" + responseMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        HaiKongResendMsgEntity haiKongResendMsgEntity = new HaiKongResendMsgEntity(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        haiKongResendMsgEntity.setResponseMsg(responseMsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        haiKongResendMsgEntity.setResendNum(haiKongResendMsg.getResendNum()+1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        haiKongResendMsgEntity.setResendTime(date); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        haiKongResendMsgEntity.setId(haiKongResendMsg.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        haiKongResendMsgDao.updateResendMsg(haiKongResendMsgEntity); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            LOGGER.info("重推退款积分-----integralTask",e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |