Browse Source

Configure Continuous Integration ....

master
hypaas 12 months ago
parent
commit
506034aee1
  1. 9
      modules/export/src/main/resources/domains/ExportDemo.xml
  2. 10
      modules/export/src/main/resources/views/ExportDemo-form.xml
  3. 8
      modules/export/src/main/resources/views/ExportDemo-grid.xml
  4. 4
      modules/export/src/main/resources/views/actionGroup.xml
  5. 1
      modules/export/src/main/resources/views/menu.xml
  6. 1
      src/main/resources/application.properties

9
modules/export/src/main/resources/domains/ExportDemo.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://hypaas.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/domain-models http://hypaas.com/xml/ns/domain-models/domain-models_5.2.xsd">
<module name="export-entity" package="com.hypass.export"/>
<entity hashAll="false" logUpdates="true" persistable="true" name="ExportDemo" cacheable="false" lang="java" strategy="SINGLE">
<string actOverwrite="false" title="编码" copy="true" massUpdate="false" name="code" isJudg="false"/>
<string actOverwrite="false" title="名称" copy="true" massUpdate="false" name="name" isJudg="false"/>
<many-to-one title="用户名称" massUpdate="false" ref="com.hypaas.auth.db.User" name="relationUserName" copy="true"/>
</entity>
</domain-models>

10
modules/export/src/main/resources/views/ExportDemo-form.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd">
<form title="导出demo表单" model="com.hypass.export.ExportDemo" name="ExportDemo-form" width="large">
<panel itemSpan="6" showFrame="true" name="panel_11">
<field name="code" title="编码"/>
<field name="name" title="名称"/>
<field canSuggest="true" name="relationUserName" title="用户名称"/>
</panel>
</form>
</object-views>

8
modules/export/src/main/resources/views/ExportDemo-grid.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd">
<grid title="导出demo列表" model="com.hypass.export.ExportDemo" edit-icon="true" freeSearch="all" name="ExportDemo-grid" width="large">
<field name="code" title="编码"/>
<field name="name" title="名称"/>
<field search-field="true" canSuggest="true" name="relationUserName" title="用户名称"/>
</grid>
</object-views>

4
modules/export/src/main/resources/views/actionGroup.xml

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> <object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd">
<action-view name="action.view.export.ExportDemo" model="com.hypass.export.ExportDemo" title="导出demo动作">
<view name="ExportDemo-grid" type="grid"/>
<view name="ExportDemo-form" type="form"/>
</action-view>
<action-method name="action.method.export.Export" model="com.hypass.export.ExportTemplate"> <action-method name="action.method.export.Export" model="com.hypass.export.ExportTemplate">
<call method="export" class="com.hypass.export.controller.ExportActionController"/> <call method="export" class="com.hypass.export.controller.ExportActionController"/>
</action-method> </action-method>

1
modules/export/src/main/resources/views/menu.xml

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> <object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd">
<menuitem title="导出管理" left="true" name="menu-export-template" action="action.view.export.ExportTemplate"/> <menuitem title="导出管理" left="true" name="menu-export-template" action="action.view.export.ExportTemplate"/>
<menuitem title="导出demo菜单" left="true" name="menu-export-template-demo" action="action.view.export.ExportDemo"/>
</object-views> </object-views>

1
src/main/resources/application.properties

@ -333,3 +333,4 @@ logging.level.com.hypaas=INFO

Loading…
Cancel
Save