WebRoot/WEB-INF/classes/com/mapper/FangwuxinxiMapper.xml
(开头部分) 10KB这里只显示每个文件的开头 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="com.dao.FangwuxinxiMapper">
<resultMap id="BaseResultMap" type="com.entity.Fangwuxinxi">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="fangwubianhao" jdbcType="VARCHAR" property="fangwubianhao" />
<result column="loupanmingcheng" jdbcType="VARCHAR" property="loupanmingcheng" />
<result column="diqu" jdbcType="VARCHAR" property="diqu" />
<result column="louceng" jdbcType="VARCHAR" property="louceng" />
<result column="huxing" jdbcType="VARCHAR" property="huxing" />
<result column="mianji" jdbcType="VARCHAR" property="mianji" />
<result column="fangwusheshi" jdbcType="VARCHAR" property="fangwusheshi" />
<result column="chaoxiang" jdbcType="VARCHAR" property="chaoxiang" />
<result column="zujin" jdbcType="VARCHAR" property="zujin" />
<result column="zhaopian" jdbcType="VARCHAR" property="zhaopian" />
<result column="lianxiren" jdbcType="VARCHAR" property="lianxiren" />
<result column="dianhua" jdbcType="VARCHAR" property="dianhua" />
<result column="addtime" jdbcType="VARCHAR" property="addtime" />
</resultMap>
<sql id="Base_Column_List">
id, fangwubianhao,loupanmingcheng,diqu,louceng,huxing,mianji,fangwusheshi,chaoxiang,zujin,zhaopian,lianxiren,dianhua, addtime
</sql>
<select id="quchongFangwuxinxi" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from fangwuxinxi
where fangwubianhao = #{fangwubianhao,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from fangwuxinxi where 1=1
<if test="fangwubianhao!=null">and fangwubianhao like concat('%',#{fangwubianhao,jdbcType=VARCHAR},'%')</if>
<if test="loupanmingcheng!=null">and loupanmingcheng like concat('%',#{loupanmingcheng,jdbcType=VARCHAR},'%')</if>
<if test="diqu!=null">and diqu like concat('%',#{diqu,jdbcType=VARCHAR},'%')</if>
<if test="louceng!=null">and louceng like concat('%',#{louceng,jdbcType=VARCHAR},'%')</if>
<if test="huxing!=null">and huxing like concat('%',#{huxing,jdbcType=VARCHAR},'%')</if>
<if test="mianji!=null">and mianji like concat('%',#{mianji,jdbcType=VARCHAR},'%')</if>
<if test="fangwusheshi!=null">and fangwusheshi like concat('%',#{fangwusheshi,jdbcType=VARCHAR},'%')</if>
<if test="chaoxiang!=null">and chaoxiang like concat('%',#{chaoxiang,jdbcType=VARCHAR},'%')</if>
<if test="zujin!=null">and zujin like concat('%',#{zujin,jdbcType=VARCHAR},'%')</if>
<if test="zhaopian!=null">and zhaopian like concat('%',#{zhaopian,jdbcType=VARCHAR},'%')</if>
<if test="lianxiren!=null">and lianxiren like concat('%',#{lianxiren,jdbcType=VARCHAR},'%')</if>
<if test="dianhua!=null">and dianhua like concat('%',#{dianhua,jdbcType=VARCHAR},'%')</if>
</select>
<select id="getAll" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from fangwuxinxi where 1=1
<if test="fangwubianhao!=null">
and fangwubianhao =#{fangwubianhao}
</if>
</select>
<select id="getsyfangwuxinxi1" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from fangwuxinxi where 1=1
limit 0,5
</select>
<select id="getsyfangwuxinxi2" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from fangwuxinxi where 1=1
limit 0,5
</select>
后面还有 118 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。