|
@@ -117,8 +117,8 @@ public class TAppOrderController {
|
|
|
if (orderList.size() > 0)
|
|
|
return ResultUtil.error("已提交订单,请勿重复提交");
|
|
|
|
|
|
- //是否抽单
|
|
|
- int isDraw = 0;
|
|
|
+// //是否抽单
|
|
|
+// int isDraw = 0;
|
|
|
|
|
|
boolean canUseAnnual;
|
|
|
boolean canUseMonthly = false;
|
|
@@ -158,13 +158,13 @@ public class TAppOrderController {
|
|
|
}
|
|
|
}
|
|
|
// 根据订单总数判断判断是否抽单
|
|
|
- int orderCount = tOrderInfoService.getOrderCountByDeviceCode(deviceCode);
|
|
|
- NetworkDot networkDot = networkDotService.findNetworkDotInfoById(StringISNULLUtil.mapToInteger(device.get("networkDotId")));
|
|
|
- Integer drawOrderNumber = networkDot.getDrawNumber();
|
|
|
- if (drawOrderNumber == null)
|
|
|
- drawOrderNumber = Integer.valueOf(configService.getGlobalConfig(SharingConfig.DRAW_ORDER_NUMBER));
|
|
|
- if ((orderCount + 1) % drawOrderNumber == 0)
|
|
|
- isDraw = 1;
|
|
|
+// int orderCount = tOrderInfoService.getOrderCountByDeviceCode(deviceCode);
|
|
|
+// NetworkDot networkDot = networkDotService.findNetworkDotInfoById(StringISNULLUtil.mapToInteger(device.get("networkDotId")));
|
|
|
+// Integer drawOrderNumber = networkDot.getDrawNumber();
|
|
|
+// if (drawOrderNumber == null)
|
|
|
+// drawOrderNumber = Integer.valueOf(configService.getGlobalConfig(SharingConfig.DRAW_ORDER_NUMBER));
|
|
|
+// if ((orderCount + 1) % drawOrderNumber == 0)
|
|
|
+// isDraw = 1;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -191,7 +191,7 @@ public class TAppOrderController {
|
|
|
} else {
|
|
|
orderInfoMy.setIsContinued(0);
|
|
|
}
|
|
|
- orderInfoMy.setIsDraw(isDraw);
|
|
|
+ orderInfoMy.setIsDraw(0);
|
|
|
orderInfoMy.setInsuranceFee(insuranceFee);// 保险费用
|
|
|
orderInfoMy.setPriceType(Integer.parseInt(type));
|
|
|
|