From 76b37443f9841461482f8c909fbed1e4bb71c14b Mon Sep 17 00:00:00 2001 From: weihongyang <1075331873@qq.com> Date: Tue, 21 Jun 2022 08:58:20 +0800 Subject: [PATCH] commit init --- ym-generator/src/main/resources/templates/DTO.java.vm | 3 +-- ym-generator/src/main/resources/templates/Excel.java.vm | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ym-generator/src/main/resources/templates/DTO.java.vm b/ym-generator/src/main/resources/templates/DTO.java.vm index 8daa30e..74beb9b 100644 --- a/ym-generator/src/main/resources/templates/DTO.java.vm +++ b/ym-generator/src/main/resources/templates/DTO.java.vm @@ -7,9 +7,8 @@ import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; -#if(${hasBigDecimal}) import java.math.BigDecimal; -#end + /** * ${table.comment} diff --git a/ym-generator/src/main/resources/templates/Excel.java.vm b/ym-generator/src/main/resources/templates/Excel.java.vm index df69096..ef548ac 100644 --- a/ym-generator/src/main/resources/templates/Excel.java.vm +++ b/ym-generator/src/main/resources/templates/Excel.java.vm @@ -3,9 +3,9 @@ package ${package.Parent}.excel; import cn.afterturn.easypoi.excel.annotation.Excel; import lombok.Data; -#if(${hasBigDecimal}) +import java.time.LocalDateTime; import java.math.BigDecimal; -#end + import java.util.Date; /**