Browse Source

游戏规则

xubh 4 years ago
parent
commit
4027b86b86

+ 3 - 3
src/main/java/com/minpay/shouhuo/orderdrawaction/OrderDrawAction.java

@@ -84,10 +84,8 @@ public class OrderDrawAction implements IMINAction{
 				String orderAmt = orderInf.getOrderAmt();
 				String detailsAmt = CommonUtil.divide(orderAmt,String.valueOf(list.size()),2);
 
-				if(gameType.equals("01")){ //游戏购
-					drawDtoList2 = drawService.orderDrawGame( orderInf,  vmProEquRel,  vmOrderDetails,detailsAmt);
+				if(gameType.equals("01")){ //幸运购
 
-				}else if(gameType.equals("02")){ //幸运购
 					List<DrawDto> drawDtoList = new ArrayList<>();
 					DrawDto drawDto = new DrawDto();
 					drawDto.setOrderId(vmOrderDetails.getOrderId());
@@ -98,7 +96,9 @@ public class OrderDrawAction implements IMINAction{
 
 					drawDtoList2 = drawService.xingyunDraw( detailsAmt,  orderInf.getId(),  sysorderno,
 							orderInf.getEquipmentId(), drawDtoList);
+				}else if(gameType.equals("02")){  //游戏购
 
+					drawDtoList2 = drawService.orderDrawGame( orderInf,  vmProEquRel,  vmOrderDetails,detailsAmt);
 				}
 				drawDtoList1.addAll(drawDtoList2);