54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
<?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.BaoxianxinxiDao">
|
|
|
|
<!-- 可根据自己的需求,是否要使用 -->
|
|
<resultMap type="com.entity.BaoxianxinxiEntity" id="baoxianxinxiMap">
|
|
<result property="baoxiangongsi" column="baoxiangongsi"/>
|
|
<result property="baoxianleixing" column="baoxianleixing"/>
|
|
<result property="baoxianjine" column="baoxianjine"/>
|
|
<result property="shengxiaoriqi" column="shengxiaoriqi"/>
|
|
<result property="youxiaoqizhi" column="youxiaoqizhi"/>
|
|
<result property="chepaihao" column="chepaihao"/>
|
|
<result property="cheliangxinghao" column="cheliangxinghao"/>
|
|
<result property="cheliangpinpai" column="cheliangpinpai"/>
|
|
<result property="cheliangleixing" column="cheliangleixing"/>
|
|
<result property="fadongjihao" column="fadongjihao"/>
|
|
<result property="chejiahao" column="chejiahao"/>
|
|
<result property="dengjiriqi" column="dengjiriqi"/>
|
|
<result property="zhanghao" column="zhanghao"/>
|
|
<result property="xingming" column="xingming"/>
|
|
<result property="jiashizhenghao" column="jiashizhenghao"/>
|
|
<result property="yuangongzhanghao" column="yuangongzhanghao"/>
|
|
<result property="yuangongxingming" column="yuangongxingming"/>
|
|
</resultMap>
|
|
|
|
<select id="selectListVO"
|
|
resultType="com.entity.vo.BaoxianxinxiVO" >
|
|
SELECT * FROM baoxianxinxi baoxianxinxi
|
|
<where> 1=1 ${ew.sqlSegment}</where>
|
|
</select>
|
|
|
|
<select id="selectVO"
|
|
resultType="com.entity.vo.BaoxianxinxiVO" >
|
|
SELECT baoxianxinxi.* FROM baoxianxinxi baoxianxinxi
|
|
<where> 1=1 ${ew.sqlSegment}</where>
|
|
</select>
|
|
|
|
<select id="selectListView"
|
|
resultType="com.entity.view.BaoxianxinxiView" >
|
|
|
|
SELECT baoxianxinxi.* FROM baoxianxinxi baoxianxinxi
|
|
<where> 1=1 ${ew.sqlSegment}</where>
|
|
</select>
|
|
|
|
<select id="selectView"
|
|
resultType="com.entity.view.BaoxianxinxiView" >
|
|
SELECT * FROM baoxianxinxi baoxianxinxi <where> 1=1 ${ew.sqlSegment}</where>
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|