mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
修复生成代码测试里面的时间问题(buildBetweenTime方法)
This commit is contained in:
parent
47d3f0bc9a
commit
db86e90177
@ -11,6 +11,7 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
|||||||
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils;
|
import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils;
|
||||||
import cn.iocoder.yudao.framework.common.util.date.DateUtils;
|
import cn.iocoder.yudao.framework.common.util.date.DateUtils;
|
||||||
|
import cn.iocoder.yudao.framework.common.util.date.LocalDateTimeUtils;
|
||||||
import cn.iocoder.yudao.framework.common.util.object.ObjectUtils;
|
import cn.iocoder.yudao.framework.common.util.object.ObjectUtils;
|
||||||
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
||||||
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
||||||
@ -136,6 +137,7 @@ public class CodegenEngine {
|
|||||||
globalBindingMap.put("ServiceExceptionUtilClassName", ServiceExceptionUtil.class.getName());
|
globalBindingMap.put("ServiceExceptionUtilClassName", ServiceExceptionUtil.class.getName());
|
||||||
globalBindingMap.put("DateUtilsClassName", DateUtils.class.getName());
|
globalBindingMap.put("DateUtilsClassName", DateUtils.class.getName());
|
||||||
globalBindingMap.put("ExcelUtilsClassName", ExcelUtils.class.getName());
|
globalBindingMap.put("ExcelUtilsClassName", ExcelUtils.class.getName());
|
||||||
|
globalBindingMap.put("LocalDateTimeUtilsClassName", LocalDateTimeUtils.class.getName());
|
||||||
globalBindingMap.put("ObjectUtilsClassName", ObjectUtils.class.getName());
|
globalBindingMap.put("ObjectUtilsClassName", ObjectUtils.class.getName());
|
||||||
globalBindingMap.put("DictConvertClassName", DictConvert.class.getName());
|
globalBindingMap.put("DictConvertClassName", DictConvert.class.getName());
|
||||||
globalBindingMap.put("OperateLogClassName", OperateLog.class.getName());
|
globalBindingMap.put("OperateLogClassName", OperateLog.class.getName());
|
||||||
|
@ -22,6 +22,7 @@ import static cn.hutool.core.util.RandomUtil.*;
|
|||||||
import static ${basePackage}.module.${table.moduleName}.enums.ErrorCodeConstants.*;
|
import static ${basePackage}.module.${table.moduleName}.enums.ErrorCodeConstants.*;
|
||||||
import static ${baseFrameworkPackage}.test.core.util.AssertUtils.*;
|
import static ${baseFrameworkPackage}.test.core.util.AssertUtils.*;
|
||||||
import static ${baseFrameworkPackage}.test.core.util.RandomUtils.*;
|
import static ${baseFrameworkPackage}.test.core.util.RandomUtils.*;
|
||||||
|
import static ${LocalDateTimeUtilsClassName}.*;
|
||||||
import static ${ObjectUtilsClassName}.*;
|
import static ${ObjectUtilsClassName}.*;
|
||||||
import static ${DateUtilsClassName}.*;
|
import static ${DateUtilsClassName}.*;
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
Loading…
Reference in New Issue
Block a user