解决代码生成后BigDecimal无引用的问题

This commit is contained in:
颗粒 2022-06-21 01:43:22 +00:00 committed by Gitee
parent bda61bffcc
commit 7a4ab49fb1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,6 +2,12 @@ package ${basePackage}.module.${table.moduleName}.dal.dataobject.${table.busines
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
#foreach ($column in $columns)
#if (${column.javaType} == "BigDecimal")
import java.math.BigDecimal;
#break
#end
#end
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import ${BaseDOClassName}; import ${BaseDOClassName};