car_java/target/classes/mapper/CheliangdanganDao.xml
2025-05-26 21:25:28 +08:00

56 lines
2.3 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.CheliangdanganDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.entity.CheliangdanganEntity" id="cheliangdanganMap">
<result property="danganbianhao" column="danganbianhao"/>
<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="yanse" column="yanse"/>
<result property="huandangfangshi" column="huandangfangshi"/>
<result property="cheliangzhaopian" column="cheliangzhaopian"/>
<result property="zuowei" column="zuowei"/>
<result property="dengjiriqi" column="dengjiriqi"/>
<result property="danganwenjian" column="danganwenjian"/>
<result property="cheliangxiangqing" column="cheliangxiangqing"/>
<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.CheliangdanganVO" >
SELECT * FROM cheliangdangan cheliangdangan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectVO"
resultType="com.entity.vo.CheliangdanganVO" >
SELECT cheliangdangan.* FROM cheliangdangan cheliangdangan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectListView"
resultType="com.entity.view.CheliangdanganView" >
SELECT cheliangdangan.* FROM cheliangdangan cheliangdangan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectView"
resultType="com.entity.view.CheliangdanganView" >
SELECT * FROM cheliangdangan cheliangdangan <where> 1=1 ${ew.sqlSegment}</where>
</select>
</mapper>