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