v2.2 正式发布,移除jpa升级后台为mytisplus
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
co.yixiang.dozer.config.DozerMapperConfig
|
5
yshop-common/src/main/resources/dozer/bean-mappings.xml
Normal file
5
yshop-common/src/main/resources/dozer/bean-mappings.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://dozer.sourceforge.net
|
||||
http://dozer.sourceforge.net/schema/beanmapping.xsd">
|
||||
</mappings>
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://dozer.sourceforge.net
|
||||
http://dozer.sourceforge.net/schema/beanmapping.xsd">
|
||||
<configuration>
|
||||
<date-format>yyyy-MM-dd HH:mm:ss</date-format>
|
||||
<wildcard>true</wildcard>
|
||||
<trim-strings>false</trim-strings>
|
||||
<!-- 自定义的枚举与Integer转换器, 下节介绍 -->
|
||||
<!--<custom-converters>
|
||||
<converter type="com.dongao.beacon.ds.web.admin.tookit.EnumIntegerBiDirectionalDozerConverter">
|
||||
<class-a>java.lang.Enum</class-a>
|
||||
<class-b>java.lang.Integer</class-b>
|
||||
</converter>
|
||||
</custom-converters>-->
|
||||
</configuration>
|
||||
</mappings>
|
Reference in New Issue
Block a user