build/classes/dao/HouselistMapper.xml

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?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="dao.HouselistMapper" >
  <resultMap id="BaseResultMap" type="Pojo.Houselist" >
    <id column="id" property="id" jdbcType="INTEGER" />
    <result column="houseid" property="houseid" jdbcType="VARCHAR" />
    <result column="area" property="area" jdbcType="DOUBLE" />
    <result column="price" property="price" jdbcType="DOUBLE" />
     <result column="status" property="status" jdbcType="VARCHAR" />
  </resultMap>
 <select id="selectAll" resultMap="BaseResultMap">
   select *
    from houselist
    <where>
		
		<if test="houseid!=null and houseid!=''">
		and username=#{houseid}
		</if>
		<if test="address!=null and address!=''">
		and address=#{address}
		</if>
		<if test="area!=null and area!=''">
		and area=#{area}
		</if>
		<if test="price!=null and price!=''">
		and price=#{price}
		</if>
		<if test="status!=null and status!=''">
		and status=#{status}
		</if>
		</where>
		
  </select>
  <select id="findhouselistByVoCount" parameterType="Pojo.QueryVo" resultType="int">
		select count(*)
		from houselist
		<where>
		
		<if test="houseid!=null and houseid!=''">
		and username=#{houseid}
		</if>
		<if test="address!=null and address!=''">
		and address=#{address}
		</if>
		<if test="area!=null and area!=''">
		and area=#{area}
		</if>
		<if test="price!=null and price!=''">
		and price=#{price}
		</if>
		<if test="status!=null and status!=''">
		and status=#{status}
		</if>
		</where>
	</select>
	<select id="findid" parameterType="Integer" resultType="Pojo.Houselist">
		select * from houselist where id=#{id}
	</select>
	<select id="findhouseid" parameterType="String" resultType="Pojo.Houselist">
		select * from houselist where houseid=#{houseid}

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

AI 解读 AI

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

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