Blame view

backend/form/src/main/resources/mapper/CustomDialogMapper.xml 2.84 KB
8ea9c133   陈威   初始化提交
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hotent.form.persistence.dao.CustomDialogDao">
	<resultMap id="CustomDialog" type="com.hotent.form.model.CustomDialog">
		<id property="id" column="id_" jdbcType="VARCHAR"/>
		<result property="name" column="name_" jdbcType="VARCHAR"/>
		<result property="alias" column="alias_" jdbcType="VARCHAR"/>
		<result property="style" column="style_" jdbcType="NUMERIC"/>
		<result property="objName" column="obj_name_" jdbcType="VARCHAR"/>
		<result property="needPage" column="need_page_" jdbcType="NUMERIC"/>
		<result property="pageSize" column="page_size_" jdbcType="NUMERIC"/>
		<result property="displayfield" column="displayfield_" jdbcType="LONGVARCHAR"/>
		<result property="conditionfield" column="conditionfield_" jdbcType="LONGVARCHAR"/>
		<result property="resultfield" column="resultfield_" jdbcType="LONGVARCHAR"/>
		<result property="sortfield" column="sortfield_" jdbcType="VARCHAR"/>
		<result property="dsalias" column="dsalias_" jdbcType="VARCHAR"/>
		<result property="isTable" column="is_table_" jdbcType="NUMERIC"/>
		<result property="diySql" column="diy_sql_" jdbcType="VARCHAR"/>
		<result property="sqlBuildType" column="sql_build_type_" jdbcType="NUMERIC"/>
		<result property="width" column="width_" jdbcType="NUMERIC"/>
		<result property="height" column="height_" jdbcType="NUMERIC"/>
		<result property="selectNum" column="select_num_" jdbcType="NUMERIC"/>
		<result property="system" column="system_" jdbcType="NUMERIC"/>
		<result property="parentCheck" column="parent_check_" jdbcType="NUMERIC"/>
		<result property="childrenCheck" column="children_check_" jdbcType="NUMERIC"/>
		<result property="dsType" column="ds_type_" jdbcType="VARCHAR"/>
		<result property="url" column="url_" jdbcType="VARCHAR"/>
		<result property="header" column="header_" jdbcType="VARCHAR"/>
		<result property="requestType" column="request_type_" jdbcType="VARCHAR"/>
		<result property="dataParam" column="data_param_" jdbcType="VARCHAR"/>
		<result property="pageKey" column="page_key_" jdbcType="VARCHAR"/>
		<result property="pageSizeKey" column="pagesize_key_" jdbcType="VARCHAR"/>
		<result property="totalKey" column="total_key_" jdbcType="VARCHAR"/>
		<result property="listKey" column="list_key_" jdbcType="VARCHAR"/>
		<result property="combinationRule" column="combination_rule_" jdbcType="LONGVARCHAR"/>
        <result property="typeId" column="type_id_" jdbcType="VARCHAR"/>
        <result property="typeName" column="type_name_" jdbcType="VARCHAR"/>
        <result property="treeDataMode" column="tree_data_mode_" jdbcType="NUMERIC"/>
	</resultMap>

	<select id="getByAlias"   parameterType="java.lang.String" resultMap="CustomDialog">
		SELECT * FROM form_custom_dialog WHERE alias_= #{alias}
	</select>
</mapper>