src/main/resources/mapper/ChelianggujiaDao.xml

(完整代码) 2KB

<?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.ChelianggujiaDao">

	<!-- 可根据自己的需求,是否要使用 -->
    <resultMap type="com.entity.ChelianggujiaEntity" id="chelianggujiaMap">
        <result property="cheliangmingcheng" column="cheliangmingcheng"/>
        <result property="chepaihao" column="chepaihao"/>
        <result property="qicheleixing" column="qicheleixing"/>
        <result property="cheliangpinpai" column="cheliangpinpai"/>
        <result property="cheliangyanse" column="cheliangyanse"/>
        <result property="cheliangzhaopian" column="cheliangzhaopian"/>
        <result property="huandangfangshi" column="huandangfangshi"/>
        <result property="cheliangtianchuang" column="cheliangtianchuang"/>
        <result property="zuowei" column="zuowei"/>
        <result property="chelianggujia" column="chelianggujia"/>
        <result property="cheliangpingjia" column="cheliangpingjia"/>
        <result property="pinggushijian" column="pinggushijian"/>
        <result property="thumbsupnum" column="thumbsupnum"/>
        <result property="crazilynum" column="crazilynum"/>
    </resultMap>

	<select id="selectListVO"
		resultType="com.entity.vo.ChelianggujiaVO" >
		SELECT * FROM chelianggujia  chelianggujia         
        <where> 1=1 ${ew.sqlSegment}</where>
	</select>
	
	<select id="selectVO"
		resultType="com.entity.vo.ChelianggujiaVO" >
		SELECT  chelianggujia.* FROM chelianggujia  chelianggujia 	
 		<where> 1=1 ${ew.sqlSegment}</where>
	</select>

    <select id="selectListView"
		resultType="com.entity.view.ChelianggujiaView" >

		SELECT  chelianggujia.* FROM chelianggujia  chelianggujia 	        
        <where> 1=1 ${ew.sqlSegment}</where>
	</select>
	
	<select id="selectView"
		resultType="com.entity.view.ChelianggujiaView" >
		SELECT * FROM chelianggujia  chelianggujia <where> 1=1 ${ew.sqlSegment}</where>
	</select>
	

</mapper>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。