config.xml
3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8"?>
<config>
<!-- 生成分类 -->
<category>
<category value="curd" label="增删改查(单表)">
<template>curd/controller.xml</template>
<template>curd/service.xml</template>
<template>category-ref:dao</template>
<template>curd/viewForm.xml</template>
<template>curd/viewList.xml</template>
</category>
<category value="curd_many" label="增删改查(一对多)">
<template>curd/controller.xml</template>
<template>curd/serviceMany.xml</template>
<template>category-ref:dao</template>
<template>curd/viewFormMany.xml</template>
<template>curd/viewList.xml</template>
<childTable>
<template>category-ref:dao</template>
</childTable>
</category>
<category value="dao" label="仅持久层(dao/entity/mapper)">
<template>dao/dao.xml</template>
<template>dao/entity.xml</template>
<template>dao/mapper.xml</template>
</category>
<category value="treeTable" label="树结构表(一体)">
<template>treetable/controller.xml</template>
<template>treetable/service.xml</template>
<template>treetable/dao.xml</template>
<template>treetable/entity.xml</template>
<template>treetable/mapper.xml</template>
<template>treetable/viewForm.xml</template>
<template>treetable/viewList.xml</template>
</category>
<category value="treeTableAndList" label="树结构表(左树右表)">
<template>category-ref:dao</template>
</category>
</category>
<!-- java类型 -->
<javaType>
<dict value="String" label="String"/>
<dict value="Long" label="Long"/>
<dict value="Integer" label="Integer"/>
<dict value="Double" label="Double"/>
<dict value="java.util.Date" label="Date"/>
<dict value="com.thinkgem.jeesite.modules.sys.entity.User" label="User"/>
<dict value="com.thinkgem.jeesite.modules.sys.entity.Office" label="Office"/>
<dict value="com.thinkgem.jeesite.modules.sys.entity.Area" label="Area"/>
<dict value="This" label="ThisObj" description="生成当前对象"/>
<dict value="Custom" label="Custom" description="自定义对象,生成后手动设置"/>
</javaType>
<!-- 查询类型 -->
<queryType>
<dict value="=" label="="/>
<dict value="!=" label="!="/>
<dict value=">" label=">"/>
<dict value=">=" label=">="/>
<dict value="<" label="<"/>
<dict value="<=" label="<="/>
<dict value="between" label="Between"/>
<dict value="like" label="Like"/>
<dict value="left_like" label="Left Like"/>
<dict value="right_like" label="Right Like"/>
</queryType>
<!-- 字段显示类型 -->
<showType>
<dict value="input" label="单行文本"/>
<dict value="textarea" label="多行文本"/>
<dict value="select" label="下拉选项"/>
<dict value="radiobox" label="单选按钮"/>
<dict value="checkbox" label="复选框"/>
<dict value="dateselect" label="日期选择"/>
<dict value="userselect" label="人员选择"/>
<dict value="officeselect" label="部门选择"/>
<dict value="areaselect" label="区域选择"/>
<dict value="treeselect" label="树选择控件"/>
<dict value="fileselect" label="文件上传选择"/>
</showType>
</config>