提交 1040f893 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibz-dict,字典]

上级 fc344cc8
......@@ -11,7 +11,7 @@
<![CDATA[select t1.* from (SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.CREATEDATE, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1 ) t1 where cid=#{id}]]>
</select>
<select id="selectById" resultMap="DictCatalogResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1 ) t1 where cid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.CREATEDATE, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1 ) t1 where cid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -48,7 +48,7 @@
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1
<![CDATA[ SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.CREATEDATE, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1
WHERE t1.ENABLE = 1
]]>
</sql>
......@@ -66,7 +66,7 @@
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1
<![CDATA[ SELECT t1.CCODE, t1.CGROUP, t1.CID, t1.CNAME, t1.CREATEDATE, t1.ENABLE, t1.MEMO, t1.UPDATEDATE FROM IBZDICTCATALOG t1
WHERE t1.ENABLE = 1
]]>
</sql>
......
......@@ -11,7 +11,7 @@
<![CDATA[select t1.* from (SELECT t1.CID, t1.CLS, t1.CNAME, t1.CREATEDATE, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1 ) t1 where vkey=#{id}]]>
</select>
<select id="selectById" resultMap="DictOptionResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.CID, t1.CLS, t1.CNAME, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1 ) t1 where vkey=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CID, t1.CLS, t1.CNAME, t1.CREATEDATE, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1 ) t1 where vkey=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -58,7 +58,7 @@
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.CID, t1.CLS, t1.CNAME, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1
<![CDATA[ SELECT t1.CID, t1.CLS, t1.CNAME, t1.CREATEDATE, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1
]]>
</sql>
<!--数据查询[View]-->
......@@ -73,7 +73,7 @@
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.CID, t1.CLS, t1.CNAME, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1
<![CDATA[ SELECT t1.CID, t1.CLS, t1.CNAME, t1.CREATEDATE, t1.DISABLED, t1.EXPIRED, t1.EXTENSION, t1.ICONCLS, t1.LABEL, t1.PVAL, t1.SHOWORDER, t1.UPDATEDATE, t1.VAL, t1.VFILTER, t1.VKEY FROM IBZDICTOPTION t1
]]>
</sql>
</mapper>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册