소스 검색

fix

release_toaliyun_real
winter 1 년 전
부모
커밋
895a73e9a9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java 파일 보기

@@ -1025,7 +1025,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
@Override
public List<Date> getYearList(int years,int month,Date rentalStartDate,Date endContractTime ) {
List<Date> yearList = new ArrayList<>();
List<Date> yearList = new ArrayList<Date>();
for (int i = 0; i < years; i++) {
Calendar instance = Calendar.getInstance();
instance.setTime(rentalStartDate);
@@ -1033,6 +1033,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
Date startDate = instance.getTime();
if (null != endContractTime && endContractTime.before(startDate)) {
yearList.add(endContractTime);
break;
}else {
yearList.add(startDate);
}


불러오는 중...
취소
저장