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

46 lines
1.5 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.JiashiyuanDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.entity.JiashiyuanEntity" id="jiashiyuanMap">
<result property="zhanghao" column="zhanghao"/>
<result property="mima" column="mima"/>
<result property="xingming" column="xingming"/>
<result property="xingbie" column="xingbie"/>
<result property="shouji" column="shouji"/>
<result property="shenfenzheng" column="shenfenzheng"/>
<result property="chushengriqi" column="chushengriqi"/>
<result property="jiashizhenghao" column="jiashizhenghao"/>
<result property="touxiang" column="touxiang"/>
</resultMap>
<select id="selectListVO"
resultType="com.entity.vo.JiashiyuanVO" >
SELECT * FROM jiashiyuan jiashiyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectVO"
resultType="com.entity.vo.JiashiyuanVO" >
SELECT jiashiyuan.* FROM jiashiyuan jiashiyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectListView"
resultType="com.entity.view.JiashiyuanView" >
SELECT jiashiyuan.* FROM jiashiyuan jiashiyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectView"
resultType="com.entity.view.JiashiyuanView" >
SELECT * FROM jiashiyuan jiashiyuan <where> 1=1 ${ew.sqlSegment}</where>
</select>
</mapper>