|
|
@@ -125,6 +125,8 @@ public class AContractInfoServiceImpl extends ServiceImpl<AContractInfoMapper, A
|
|
|
DateTimeFormatter outputFormatter = DateTimeFormatter.ofPattern("yyyy年M月d日");
|
|
|
LocalDate rzrqDate = LocalDate.parse(dto.getRzrq(), inputFormatter);
|
|
|
bo.setD13(rzrqDate.format(outputFormatter));
|
|
|
+ bo.setD14(LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy年M月d日")));
|
|
|
+ bo.setD15(LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy年M月d日")));
|
|
|
|
|
|
String attachmentUrl = aRentalContractService.generatorRental("4", bo, true);
|
|
|
AReceiptInfo receiptInfo = new AReceiptInfo();
|
|
|
@@ -141,6 +143,8 @@ public class AContractInfoServiceImpl extends ServiceImpl<AContractInfoMapper, A
|
|
|
receiptInfo.setReceiptReason(dto.getPaymentReason());
|
|
|
receiptInfo.setAttachmentUrl(attachmentUrl);
|
|
|
receiptInfo.setGenerationDate(LocalDate.now());
|
|
|
+ receiptInfo.setStartDate(LocalDate.parse(dto.getStartDate()));
|
|
|
+ receiptInfo.setEndDate(LocalDate.parse(dto.getEndDate()));
|
|
|
receiptInfo.setCreateTime(LocalDateTime.now());
|
|
|
receiptInfo.setUpdateTime(LocalDateTime.now());
|
|
|
aReceiptInfoService.save(receiptInfo);
|