初始化
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,57 @@
|
||||
<?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">
|
||||
<!--由于VO 和 EO 字段名称非完全对应,且有的字段类型不一样,所有需要依靠dozer进行转换-->
|
||||
<!--调用时依靠Controller 中
|
||||
@Resource private BeanMapper beanMapper 进行自动装配,然后调用相应方法进行匹配-->
|
||||
|
||||
|
||||
<mapping>
|
||||
<!--角色对应实体类-->
|
||||
<class-a>com.adc.da.sys.entity.RoleEO</class-a>
|
||||
<class-b>com.adc.da.sys.vo.ddm.DdmRoleVO</class-b>
|
||||
|
||||
<!--区别字段-->
|
||||
<field>
|
||||
<a>id</a>
|
||||
<b>rid</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>name</a>
|
||||
<b>roleName</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>name</a>
|
||||
<b>roleCode</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>remarks</a>
|
||||
<b>rdesc</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>delFlag</a>
|
||||
<b>enabled</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>menuEOIdList</a>
|
||||
<b>menusstr</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>menuEOList</a>
|
||||
<b>menus</b>
|
||||
</field>
|
||||
</mapping>
|
||||
|
||||
<mapping>
|
||||
<!--菜单对应实体类-->
|
||||
<class-a>com.adc.da.sys.entity.MenuEO</class-a>
|
||||
<class-b>com.adc.da.sys.vo.MenuVO</class-b>
|
||||
</mapping>
|
||||
<mapping date-format="yyyy-MM-dd HH:mm:ss">
|
||||
<!--日志对应实体类,存在时间格式转换 -->
|
||||
<class-a>com.adc.da.log.entity.LogEO</class-a>
|
||||
<class-b>com.adc.da.log.vo.LogVO</class-b>
|
||||
</mapping>
|
||||
|
||||
</mappings>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?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">
|
||||
<!--由于VO 和 EO 字段名称非完全对应,且有的字段类型不一样,所有需要依靠dozer进行转换-->
|
||||
<!--调用时依靠Controller 中
|
||||
@Resource private BeanMapper beanMapper 进行自动装配,然后调用相应方法进行匹配-->
|
||||
|
||||
|
||||
<mapping>
|
||||
<!--角色对应实体类-->
|
||||
<class-a>com.adc.da.sys.entity.RoleEO</class-a>
|
||||
<class-b>com.adc.da.sys.vo.RoleVO</class-b>
|
||||
|
||||
<!--区别字段-->
|
||||
<field>
|
||||
<a>id</a>
|
||||
<b>rid</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>name</a>
|
||||
<b>rname</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>remarks</a>
|
||||
<b>rdesc</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>delFlag</a>
|
||||
<b>enabled</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>menuEOIdList</a>
|
||||
<b>menusstr</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>menuEOList</a>
|
||||
<b>menus</b>
|
||||
</field>
|
||||
</mapping>
|
||||
|
||||
<mapping>
|
||||
<!--菜单对应实体类-->
|
||||
<class-a>com.adc.da.sys.entity.MenuEO</class-a>
|
||||
<class-b>com.adc.da.sys.vo.MenuVO</class-b>
|
||||
</mapping>
|
||||
<mapping date-format="yyyy-MM-dd HH:mm:ss">
|
||||
<!--日志对应实体类,存在时间格式转换 -->
|
||||
<class-a>com.adc.da.log.entity.LogEO</class-a>
|
||||
<class-b>com.adc.da.log.vo.LogVO</class-b>
|
||||
</mapping>
|
||||
|
||||
</mappings>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user