WebRoot/WEB-INF/classes/com/mapper/ZufanghetongMapper.xml

(开头部分) 11KB

这里只显示每个文件的开头 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.ZufanghetongMapper">
  <resultMap id="BaseResultMap" type="com.entity.Zufanghetong">
    <id column="id" jdbcType="INTEGER" property="id" />
	<result column="hetongbianhao" jdbcType="VARCHAR" property="hetongbianhao" />
    <result column="fangyuanbianhao" jdbcType="VARCHAR" property="fangyuanbianhao" />
    <result column="fangyuanmingcheng" jdbcType="VARCHAR" property="fangyuanmingcheng" />
    <result column="faburen" jdbcType="VARCHAR" property="faburen" />
    <result column="chengzuren" jdbcType="VARCHAR" property="chengzuren" />
    <result column="yuezujin" jdbcType="VARCHAR" property="yuezujin" />
    <result column="fuyuejin" jdbcType="VARCHAR" property="fuyuejin" />
    <result column="fukuanfangshi" jdbcType="VARCHAR" property="fukuanfangshi" />
    <result column="qizuriqi" jdbcType="VARCHAR" property="qizuriqi" />
    <result column="jiezhiriqi" jdbcType="VARCHAR" property="jiezhiriqi" />
    <result column="fujian" jdbcType="VARCHAR" property="fujian" />
    <result column="beizhushuoming" jdbcType="VARCHAR" property="beizhushuoming" />
    <result column="issh" jdbcType="VARCHAR" property="issh" />
    
    <result column="addtime" jdbcType="VARCHAR" property="addtime" />
  </resultMap>
  <sql id="Base_Column_List">
    id, hetongbianhao,fangyuanbianhao,fangyuanmingcheng,faburen,chengzuren,yuezujin,fuyuejin,fukuanfangshi,qizuriqi,jiezhiriqi,fujian,beizhushuoming,issh, addtime
  </sql>
  <select id="quchongZufanghetong"  parameterType="java.util.Map" resultMap="BaseResultMap" >
    select 
    <include refid="Base_Column_List" />
    from zufanghetong 
    where chengzuren = #{chengzuren,jdbcType=VARCHAR} limit 0,1
  </select>
 <select id="getCount"   resultType="int" parameterType="java.util.Map" >
    select  count(*) from zufanghetong  where 1=1
    <if test="hetongbianhao!=null">and hetongbianhao like  concat('%',#{hetongbianhao,jdbcType=VARCHAR},'%')</if>
     <if test="fangyuanbianhao!=null">and fangyuanbianhao like  concat('%',#{fangyuanbianhao,jdbcType=VARCHAR},'%')</if>
     <if test="fangyuanmingcheng!=null">and fangyuanmingcheng like  concat('%',#{fangyuanmingcheng,jdbcType=VARCHAR},'%')</if>
     <if test="faburen!=null">and faburen like  concat('%',#{faburen,jdbcType=VARCHAR},'%')</if>
     <if test="chengzuren!=null">and chengzuren like  concat('%',#{chengzuren,jdbcType=VARCHAR},'%')</if>
     <if test="yuezujin!=null">and yuezujin like  concat('%',#{yuezujin,jdbcType=VARCHAR},'%')</if>
     <if test="fuyuejin1!=null">and fuyuejin &gt;=  concat('',#{fuyuejin1,jdbcType=VARCHAR},'')</if>
     <if test="fuyuejin2!=null">and fuyuejin &lt;=  concat('',#{fuyuejin2,jdbcType=VARCHAR},'')</if>
     <if test="fukuanfangshi!=null">and fukuanfangshi like  concat('%',#{fukuanfangshi,jdbcType=VARCHAR},'%')</if>
     <if test="qizuriqi1!=null">and qizuriqi &gt;=  concat('',#{qizuriqi1,jdbcType=VARCHAR},'')</if>
     <if test="qizuriqi2!=null">and qizuriqi &lt;=  concat('',#{qizuriqi2,jdbcType=VARCHAR},'')</if>
     <if test="jiezhiriqi1!=null">and jiezhiriqi &gt;=  concat('',#{jiezhiriqi1,jdbcType=VARCHAR},'')</if>
     <if test="jiezhiriqi2!=null">and jiezhiriqi &lt;=  concat('',#{jiezhiriqi2,jdbcType=VARCHAR},'')</if>
     <if test="fujian!=null">and fujian like  concat('%',#{fujian,jdbcType=VARCHAR},'%')</if>
     <if test="beizhushuoming!=null">and beizhushuoming like  concat('%',#{beizhushuoming,jdbcType=VARCHAR},'%')</if>
     
  </select> 
  <select id="getAll"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from zufanghetong  where 1=1
    <if test="chengzuren!=null">
    and chengzuren =#{chengzuren}
    </if>
  </select>
  
  <select id="getsyzufanghetong1"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from zufanghetong  where 1=1
    limit 0,5
  </select>
后面还有 125 行代码,购买后查看完整代码

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

AI 解读 AI

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

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