parent
831abe9957
commit
37d6229065
@ -0,0 +1,45 @@
|
||||
<?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.dao.BisaibaomingDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.BisaibaomingEntity" id="bisaibaomingMap">
|
||||
<result property="bianhao" column="bianhao"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
<result property="shifoubaoming" column="shifoubaoming"/>
|
||||
<result property="baomingshijian" column="baomingshijian"/>
|
||||
<result property="wenjian" column="wenjian"/>
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="sfsh" column="sfsh"/>
|
||||
<result property="shhf" column="shhf"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.BisaibaomingVO" >
|
||||
SELECT * FROM bisaibaoming bisaibaoming
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.BisaibaomingVO" >
|
||||
SELECT bisaibaoming.* FROM bisaibaoming bisaibaoming
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.BisaibaomingView" >
|
||||
|
||||
SELECT bisaibaoming.* FROM bisaibaoming bisaibaoming
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.BisaibaomingView" >
|
||||
SELECT * FROM bisaibaoming bisaibaoming <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,36 @@
|
||||
<?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.dao.BisaixiangmuDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.BisaixiangmuEntity" id="bisaixiangmuMap">
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.BisaixiangmuVO" >
|
||||
SELECT * FROM bisaixiangmu bisaixiangmu
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.BisaixiangmuVO" >
|
||||
SELECT bisaixiangmu.* FROM bisaixiangmu bisaixiangmu
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.BisaixiangmuView" >
|
||||
|
||||
SELECT bisaixiangmu.* FROM bisaixiangmu bisaixiangmu
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.BisaixiangmuView" >
|
||||
SELECT * FROM bisaixiangmu bisaixiangmu <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,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.dao.BisaixinxiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.BisaixinxiEntity" id="bisaixinxiMap">
|
||||
<result property="bianhao" column="bianhao"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
<result property="tupian" column="tupian"/>
|
||||
<result property="bisaishijian" column="bisaishijian"/>
|
||||
<result property="wenjian" column="wenjian"/>
|
||||
<result property="bisaididian" column="bisaididian"/>
|
||||
<result property="bisaiyaoqiu" column="bisaiyaoqiu"/>
|
||||
<result property="bisaineirong" column="bisaineirong"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.BisaixinxiVO" >
|
||||
SELECT * FROM bisaixinxi bisaixinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.BisaixinxiVO" >
|
||||
SELECT bisaixinxi.* FROM bisaixinxi bisaixinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.BisaixinxiView" >
|
||||
|
||||
SELECT bisaixinxi.* FROM bisaixinxi bisaixinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.BisaixinxiView" >
|
||||
SELECT * FROM bisaixinxi bisaixinxi <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,43 @@
|
||||
<?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.dao.CaipanyuanDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.CaipanyuanEntity" id="caipanyuanMap">
|
||||
<result property="zhanghao" column="zhanghao"/>
|
||||
<result property="mima" column="mima"/>
|
||||
<result property="xingming" column="xingming"/>
|
||||
<result property="nianling" column="nianling"/>
|
||||
<result property="xingbie" column="xingbie"/>
|
||||
<result property="shouji" column="shouji"/>
|
||||
<result property="youxiang" column="youxiang"/>
|
||||
<result property="zhaopian" column="zhaopian"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.CaipanyuanVO" >
|
||||
SELECT * FROM caipanyuan caipanyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.CaipanyuanVO" >
|
||||
SELECT caipanyuan.* FROM caipanyuan caipanyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.CaipanyuanView" >
|
||||
|
||||
SELECT caipanyuan.* FROM caipanyuan caipanyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.CaipanyuanView" >
|
||||
SELECT * FROM caipanyuan caipanyuan <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,56 @@
|
||||
<?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.dao.CommonDao">
|
||||
<select id="getOption" resultType="String" >
|
||||
SELECT distinct ${column} FROM ${table}
|
||||
where ${column} is not null and ${column} !=''
|
||||
<if test = "level != null">
|
||||
and level=#{level}
|
||||
</if>
|
||||
<if test = "parent != null">
|
||||
and parent=#{parent}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getFollowByOption" resultType="map" >
|
||||
SELECT * FROM ${table} where ${column}=#{columnValue}
|
||||
</select>
|
||||
|
||||
<update id="sh">
|
||||
UPDATE ${table} set sfsh=#{sfsh} where id=#{id}
|
||||
</update>
|
||||
|
||||
<select id="remindCount" resultType="int" >
|
||||
SELECT count(1) FROM ${table}
|
||||
where 1=1
|
||||
<if test = "type == 1 ">
|
||||
<if test = " remindstart != null ">
|
||||
and ${column} >= #{remindstart}
|
||||
</if>
|
||||
<if test = " remindend != null ">
|
||||
and ${column} <= #{remindend}
|
||||
</if>
|
||||
</if>
|
||||
<if test = "type == 2 ">
|
||||
<if test = " remindstart != null ">
|
||||
and ${column} >= str_to_date(#{remindstart},'%Y-%m-%d')
|
||||
</if>
|
||||
<if test = " remindend != null ">
|
||||
and ${column} <= str_to_date(#{remindend},'%Y-%m-%d')
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectCal" resultType="map" >
|
||||
SELECT sum(${column}) sum,max(${column}) max,min(${column}) min,avg(${column}) avg FROM ${table}
|
||||
</select>
|
||||
|
||||
<select id="selectGroup" resultType="map" >
|
||||
SELECT ${column} , count(1) total FROM ${table} group by ${column}
|
||||
</select>
|
||||
|
||||
<select id="selectValue" resultType="map" >
|
||||
SELECT ${xColumn}, sum(${yColumn}) total FROM ${table} group by ${xColumn}
|
||||
</select>
|
||||
</mapper>
|
@ -0,0 +1,5 @@
|
||||
<?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.dao.ConfigDao">
|
||||
</mapper>
|
@ -0,0 +1,43 @@
|
||||
<?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.dao.DuiyuanDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.DuiyuanEntity" id="duiyuanMap">
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="mima" column="mima"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="nianling" column="nianling"/>
|
||||
<result property="xingbie" column="xingbie"/>
|
||||
<result property="shouji" column="shouji"/>
|
||||
<result property="youxiang" column="youxiang"/>
|
||||
<result property="zhaopian" column="zhaopian"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.DuiyuanVO" >
|
||||
SELECT * FROM duiyuan duiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.DuiyuanVO" >
|
||||
SELECT duiyuan.* FROM duiyuan duiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.DuiyuanView" >
|
||||
|
||||
SELECT duiyuan.* FROM duiyuan duiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.DuiyuanView" >
|
||||
SELECT * FROM duiyuan duiyuan <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,39 @@
|
||||
<?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.dao.NewsDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.NewsEntity" id="newsMap">
|
||||
<result property="title" column="title"/>
|
||||
<result property="introduction" column="introduction"/>
|
||||
<result property="picture" column="picture"/>
|
||||
<result property="content" column="content"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.NewsVO" >
|
||||
SELECT * FROM news news
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.NewsVO" >
|
||||
SELECT news.* FROM news news
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.NewsView" >
|
||||
|
||||
SELECT news.* FROM news news
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.NewsView" >
|
||||
SELECT * FROM news news <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,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.dao.QiquanxinxiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.QiquanxinxiEntity" id="qiquanxinxiMap">
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
<result property="shifouqiquan" column="shifouqiquan"/>
|
||||
<result property="qiquanyuanyin" column="qiquanyuanyin"/>
|
||||
<result property="tijiaoriqi" column="tijiaoriqi"/>
|
||||
<result property="sfsh" column="sfsh"/>
|
||||
<result property="shhf" column="shhf"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.QiquanxinxiVO" >
|
||||
SELECT * FROM qiquanxinxi qiquanxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.QiquanxinxiVO" >
|
||||
SELECT qiquanxinxi.* FROM qiquanxinxi qiquanxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.QiquanxinxiView" >
|
||||
|
||||
SELECT qiquanxinxi.* FROM qiquanxinxi qiquanxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.QiquanxinxiView" >
|
||||
SELECT * FROM qiquanxinxi qiquanxinxi <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,46 @@
|
||||
<?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.dao.SaiqianbianpaiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.SaiqianbianpaiEntity" id="saiqianbianpaiMap">
|
||||
<result property="bianhao" column="bianhao"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="haomabianzhi" column="haomabianzhi"/>
|
||||
<result property="saicishezhi" column="saicishezhi"/>
|
||||
<result property="saiqianfenzu" column="saiqianfenzu"/>
|
||||
<result property="bianpaishijian" column="bianpaishijian"/>
|
||||
<result property="zhanghao" column="zhanghao"/>
|
||||
<result property="xingming" column="xingming"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.SaiqianbianpaiVO" >
|
||||
SELECT * FROM saiqianbianpai saiqianbianpai
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.SaiqianbianpaiVO" >
|
||||
SELECT saiqianbianpai.* FROM saiqianbianpai saiqianbianpai
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.SaiqianbianpaiView" >
|
||||
|
||||
SELECT saiqianbianpai.* FROM saiqianbianpai saiqianbianpai
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.SaiqianbianpaiView" >
|
||||
SELECT * FROM saiqianbianpai saiqianbianpai <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,41 @@
|
||||
<?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.dao.SaiqiantongzhiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.SaiqiantongzhiEntity" id="saiqiantongzhiMap">
|
||||
<result property="tongzhibiaoti" column="tongzhibiaoti"/>
|
||||
<result property="jianjie" column="jianjie"/>
|
||||
<result property="fengmian" column="fengmian"/>
|
||||
<result property="tongzhineirong" column="tongzhineirong"/>
|
||||
<result property="faburen" column="faburen"/>
|
||||
<result property="fabushijian" column="fabushijian"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.SaiqiantongzhiVO" >
|
||||
SELECT * FROM saiqiantongzhi saiqiantongzhi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.SaiqiantongzhiVO" >
|
||||
SELECT saiqiantongzhi.* FROM saiqiantongzhi saiqiantongzhi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.SaiqiantongzhiView" >
|
||||
|
||||
SELECT saiqiantongzhi.* FROM saiqiantongzhi saiqiantongzhi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.SaiqiantongzhiView" >
|
||||
SELECT * FROM saiqiantongzhi saiqiantongzhi <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,46 @@
|
||||
<?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.dao.SaishichengjiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.SaishichengjiEntity" id="saishichengjiMap">
|
||||
<result property="bianhao" column="bianhao"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="jieshushijian" column="jieshushijian"/>
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="saishichengji" column="saishichengji"/>
|
||||
<result property="saishipaiming" column="saishipaiming"/>
|
||||
<result property="dedaojiangxiang" column="dedaojiangxiang"/>
|
||||
<result property="dengjishijian" column="dengjishijian"/>
|
||||
<result property="zhanghao" column="zhanghao"/>
|
||||
<result property="xingming" column="xingming"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.SaishichengjiVO" >
|
||||
SELECT * FROM saishichengji saishichengji
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.SaishichengjiVO" >
|
||||
SELECT saishichengji.* FROM saishichengji saishichengji
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.SaishichengjiView" >
|
||||
|
||||
SELECT saishichengji.* FROM saishichengji saishichengji
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.SaishichengjiView" >
|
||||
SELECT * FROM saishichengji saishichengji <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,51 @@
|
||||
<?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.dao.SaizhongxinxiDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.SaizhongxinxiEntity" id="saizhongxinxiMap">
|
||||
<result property="bianhao" column="bianhao"/>
|
||||
<result property="bisaimingcheng" column="bisaimingcheng"/>
|
||||
<result property="bisaixiangmu" column="bisaixiangmu"/>
|
||||
<result property="leixing" column="leixing"/>
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="yuanhaomabianzhi" column="yuanhaomabianzhi"/>
|
||||
<result property="xinhaomabianzhi" column="xinhaomabianzhi"/>
|
||||
<result property="yuansaici" column="yuansaici"/>
|
||||
<result property="xinsaici" column="xinsaici"/>
|
||||
<result property="yuanfenzu" column="yuanfenzu"/>
|
||||
<result property="xinfenzu" column="xinfenzu"/>
|
||||
<result property="genggaishijian" column="genggaishijian"/>
|
||||
<result property="beizhu" column="beizhu"/>
|
||||
<result property="zhanghao" column="zhanghao"/>
|
||||
<result property="xingming" column="xingming"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.SaizhongxinxiVO" >
|
||||
SELECT * FROM saizhongxinxi saizhongxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.SaizhongxinxiVO" >
|
||||
SELECT saizhongxinxi.* FROM saizhongxinxi saizhongxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.SaizhongxinxiView" >
|
||||
|
||||
SELECT saizhongxinxi.* FROM saizhongxinxi saizhongxinxi
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.SaizhongxinxiView" >
|
||||
SELECT * FROM saizhongxinxi saizhongxinxi <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,41 @@
|
||||
<?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.dao.TeshuduiyuanDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.entity.TeshuduiyuanEntity" id="teshuduiyuanMap">
|
||||
<result property="mingcheng" column="mingcheng"/>
|
||||
<result property="duiyuanzhanghao" column="duiyuanzhanghao"/>
|
||||
<result property="duiyuanxingming" column="duiyuanxingming"/>
|
||||
<result property="yuanyin" column="yuanyin"/>
|
||||
<result property="dengjiriqi" column="dengjiriqi"/>
|
||||
<result property="beizhu" column="beizhu"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectListVO"
|
||||
resultType="com.entity.vo.TeshuduiyuanVO" >
|
||||
SELECT * FROM teshuduiyuan teshuduiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectVO"
|
||||
resultType="com.entity.vo.TeshuduiyuanVO" >
|
||||
SELECT teshuduiyuan.* FROM teshuduiyuan teshuduiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.view.TeshuduiyuanView" >
|
||||
|
||||
SELECT teshuduiyuan.* FROM teshuduiyuan teshuduiyuan
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
<select id="selectView"
|
||||
resultType="com.entity.view.TeshuduiyuanView" >
|
||||
SELECT * FROM teshuduiyuan teshuduiyuan <where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,13 @@
|
||||
<?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.dao.TokenDao">
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.TokenEntity" >
|
||||
|
||||
SELECT t.* FROM token t
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,13 @@
|
||||
<?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.dao.UserDao">
|
||||
|
||||
<select id="selectListView"
|
||||
resultType="com.entity.UserEntity" >
|
||||
|
||||
SELECT u.* FROM users u
|
||||
<where> 1=1 ${ew.sqlSegment}</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in new issue