| 
														
															@@ -378,7 +378,7 @@ public class ElectronicMembershipCardController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setPhoneNumber(mobilePhone); 
														 | 
														
														 | 
														
															                         customerManage.setPhoneNumber(mobilePhone); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setAmt(customerManageInfo.getAmt().add(new BigDecimal(amt))); 
														 | 
														
														 | 
														
															                         customerManage.setAmt(customerManageInfo.getAmt().add(new BigDecimal(amt))); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setLiters(customerManageInfo.getLiters().add(new BigDecimal(oilLiters))); 
														 | 
														
														 | 
														
															                         customerManage.setLiters(customerManageInfo.getLiters().add(new BigDecimal(oilLiters))); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        if(discountPlanType !=null && discountPlanType.equals("1")){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //if(discountPlanType !=null && discountPlanType.equals("1")){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             List<Map> customerGradeInfo = customerGradeServices.getCustomerGradeList(params_1);  //直降 
														 | 
														
														 | 
														
															                             List<Map> customerGradeInfo = customerGradeServices.getCustomerGradeList(params_1);  //直降 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             logger.info("该站直降等级信息:"+ customerGradeInfo); 
														 | 
														
														 | 
														
															                             logger.info("该站直降等级信息:"+ customerGradeInfo); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             for (Map m: customerGradeInfo){ 
														 | 
														
														 | 
														
															                             for (Map m: customerGradeInfo){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -389,7 +389,7 @@ public class ElectronicMembershipCardController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 } 
														 | 
														
														 | 
														
															                                 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             } 
														 | 
														
														 | 
														
															                             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             logger.info("直降等级信息是否存入客户表:"+ "直降ID:"+ customerManage.getMemberGrade()+ "直降名称: "+customerManage.getGrade()); 
														 | 
														
														 | 
														
															                             logger.info("直降等级信息是否存入客户表:"+ "直降ID:"+ customerManage.getMemberGrade()+ "直降名称: "+customerManage.getGrade()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManagerService.updateCustomerInfo(customerManage); 
														 | 
														
														 | 
														
															                         customerManagerService.updateCustomerInfo(customerManage); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     }else { 
														 | 
														
														 | 
														
															                     }else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setCustomerName(consumer); 
														 | 
														
														 | 
														
															                         customerManage.setCustomerName(consumer); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -400,7 +400,7 @@ public class ElectronicMembershipCardController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setMinaUserId(Integer.valueOf(consumerId)); 
														 | 
														
														 | 
														
															                         customerManage.setMinaUserId(Integer.valueOf(consumerId)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setUnionId(unionId); 
														 | 
														
														 | 
														
															                         customerManage.setUnionId(unionId); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         customerManage.setRegtime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(registeDate)); 
														 | 
														
														 | 
														
															                         customerManage.setRegtime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(registeDate)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        if(discountPlanType !=null && discountPlanType.equals("1")){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //if(discountPlanType !=null && discountPlanType.equals("1")){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             List<Map> customerGradeInfo = customerGradeServices.getCustomerGradeList(params_1);  //直降 
														 | 
														
														 | 
														
															                             List<Map> customerGradeInfo = customerGradeServices.getCustomerGradeList(params_1);  //直降 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             logger.info("该站直降等级信息:"+ customerGradeInfo); 
														 | 
														
														 | 
														
															                             logger.info("该站直降等级信息:"+ customerGradeInfo); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             if(customerGradeInfo !=null && customerGradeInfo.size() >0){ 
														 | 
														
														 | 
														
															                             if(customerGradeInfo !=null && customerGradeInfo.size() >0){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -408,7 +408,7 @@ public class ElectronicMembershipCardController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 customerManage.setMemberGrade(customerGradeInfo.get(0).get("id").toString());     //存入等级ID 
														 | 
														
														 | 
														
															                                 customerManage.setMemberGrade(customerGradeInfo.get(0).get("id").toString());     //存入等级ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             } 
														 | 
														
														 | 
														
															                             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             logger.info("直降等级信息是否存入客户表:"+ "直降ID:"+ customerManage.getMemberGrade()+ "直降名称: "+customerManage.getGrade()); 
														 | 
														
														 | 
														
															                             logger.info("直降等级信息是否存入客户表:"+ "直降ID:"+ customerManage.getMemberGrade()+ "直降名称: "+customerManage.getGrade()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         //客户会员号 
														 | 
														
														 | 
														
															                         //客户会员号 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         String memberId=groupId+stationId+System.nanoTime(); 
														 | 
														
														 | 
														
															                         String memberId=groupId+stationId+System.nanoTime(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         CustomerManage cm = new CustomerManage(); 
														 | 
														
														 | 
														
															                         CustomerManage cm = new CustomerManage(); 
														 |