This commit is contained in:
2026-04-29 14:58:02 +08:00
parent e729f9bd31
commit b98c66ca21
370 changed files with 55094 additions and 0 deletions
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<mapper namespace="webapp.dso"
db="db">
<sql id="appx_get" return="int" remarks="随便取条数据的ID">
select app_id from appx limit 1
</sql>
<sql id="appx_get0" return="Integer" remarks="随便取条数据的ID">
<![CDATA[
select app_id from appx where app_id < 1 limit 1
]]>
</sql>
<sql id="appx_get2" return="AppxModel" remarks="根据id取条数据">
select * from appx where app_id = @{app_id:int} limit 1
</sql>
<sql id="appx_getlist" return="List[AppxModel]">
select * from appx where app_id > @{app_id:int} order by app_id asc limit 4
</sql>
<sql id="appx_getids" return="List[Integer]">
select app_id from appx limit 4
</sql>
<sql id="appx_getids2" return="Set[Integer]">
select app_id from appx limit 4
</sql>
</mapper>