|
|
|
@@ -1991,7 +1991,6 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
public static List<BillTimeVo> initBillTimeList(Date start,Date end,Integer adjustPeriod,Integer dayType,int receivePeriod){ |
|
|
|
List<BillTimeVo> list = new ArrayList<>(); |
|
|
|
|
|
|
|
int warnCount = 0; |
|
|
|
int count = 0; |
|
|
|
while (true){ |
|
|
|
BillTimeVo timeVo = new BillTimeVo(); |
|
|
|
@@ -2046,12 +2045,11 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
count ++; |
|
|
|
|
|
|
|
//预警 |
|
|
|
if(warnCount >= 1000){ |
|
|
|
if(count >= 1000){ |
|
|
|
Logger logger = LoggerFactory.getLogger(WxRentContractServiceImpl.class); |
|
|
|
logger.error("initBillTimeList() warnCount max error !!!"); |
|
|
|
break; |
|
|
|
} |
|
|
|
warnCount ++; |
|
|
|
} |
|
|
|
return list; |
|
|
|
} |
|
|
|
|