Ver a proveniência

[审批][修改][优化代码]

release_toaliyun_real
luozukai há 7 anos
ascendente
cometimento
7cd8cf4448
1 ficheiros alterados com 1 adições e 3 eliminações
  1. +1
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 1
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java Ver ficheiro

@@ -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;
}


Carregando…
Cancelar
Guardar