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

46 lines
1.6 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.GongzuorenyuanDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.entity.GongzuorenyuanEntity" id="gongzuorenyuanMap">
<result property="yuangongzhanghao" column="yuangongzhanghao"/>
<result property="mima" column="mima"/>
<result property="yuangongxingming" column="yuangongxingming"/>
<result property="nianling" column="nianling"/>
<result property="xingbie" column="xingbie"/>
<result property="shouji" column="shouji"/>
<result property="touxiang" column="touxiang"/>
<result property="sfsh" column="sfsh"/>
<result property="shhf" column="shhf"/>
</resultMap>
<select id="selectListVO"
resultType="com.entity.vo.GongzuorenyuanVO" >
SELECT * FROM gongzuorenyuan gongzuorenyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectVO"
resultType="com.entity.vo.GongzuorenyuanVO" >
SELECT gongzuorenyuan.* FROM gongzuorenyuan gongzuorenyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectListView"
resultType="com.entity.view.GongzuorenyuanView" >
SELECT gongzuorenyuan.* FROM gongzuorenyuan gongzuorenyuan
<where> 1=1 ${ew.sqlSegment}</where>
</select>
<select id="selectView"
resultType="com.entity.view.GongzuorenyuanView" >
SELECT * FROM gongzuorenyuan gongzuorenyuan <where> 1=1 ${ew.sqlSegment}</where>
</select>
</mapper>