src/com/mapper/YoujixinxiMapper.xml

(开头部分) 9KB

这里只显示每个文件的开头 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.YoujixinxiMapper">
  <resultMap id="BaseResultMap" type="com.entity.Youjixinxi">
    <id column="id" jdbcType="INTEGER" property="id" />
	<result column="youjibianhao" jdbcType="VARCHAR" property="youjibianhao" />
    <result column="youjibiaoti" jdbcType="VARCHAR" property="youjibiaoti" />
    <result column="fengmiantupian" jdbcType="VARCHAR" property="fengmiantupian" />
    <result column="xingchengshijian" jdbcType="VARCHAR" property="xingchengshijian" />
    <result column="zhuyaojingdian" jdbcType="VARCHAR" property="zhuyaojingdian" />
    <result column="xingchengluxian" jdbcType="VARCHAR" property="xingchengluxian" />
    <result column="neirongxiangqing" jdbcType="VARCHAR" property="neirongxiangqing" />
    <result column="faburen" jdbcType="VARCHAR" property="faburen" />
    <result column="issh" jdbcType="VARCHAR" property="issh" />
    
    <result column="addtime" jdbcType="VARCHAR" property="addtime" />
  </resultMap>
  <sql id="Base_Column_List">
    id, youjibianhao,youjibiaoti,fengmiantupian,xingchengshijian,zhuyaojingdian,xingchengluxian,neirongxiangqing,faburen,issh, addtime
  </sql>
  <select id="quchongYoujixinxi"  parameterType="java.util.Map" resultMap="BaseResultMap" >
    select 
    <include refid="Base_Column_List" />
    from youjixinxi 
    where faburen = #{faburen,jdbcType=VARCHAR} limit 0,1
  </select>
 <select id="getCount"   resultType="int" parameterType="java.util.Map" >
    select  count(*) from youjixinxi  where 1=1
    <if test="youjibianhao!=null">and youjibianhao like  concat('%',#{youjibianhao,jdbcType=VARCHAR},'%')</if>
     <if test="youjibiaoti!=null">and youjibiaoti like  concat('%',#{youjibiaoti,jdbcType=VARCHAR},'%')</if>
     <if test="fengmiantupian!=null">and fengmiantupian like  concat('%',#{fengmiantupian,jdbcType=VARCHAR},'%')</if>
     <if test="xingchengshijian1!=null">and xingchengshijian &gt;=  concat('',#{xingchengshijian1,jdbcType=VARCHAR},'')</if>
     <if test="xingchengshijian2!=null">and xingchengshijian &lt;=  concat('',#{xingchengshijian2,jdbcType=VARCHAR},'')</if>
     <if test="zhuyaojingdian!=null">and zhuyaojingdian like  concat('%',#{zhuyaojingdian,jdbcType=VARCHAR},'%')</if>
     <if test="xingchengluxian!=null">and xingchengluxian like  concat('%',#{xingchengluxian,jdbcType=VARCHAR},'%')</if>
     <if test="neirongxiangqing!=null">and neirongxiangqing like  concat('%',#{neirongxiangqing,jdbcType=VARCHAR},'%')</if>
     <if test="faburen!=null">and faburen like  concat('%',#{faburen,jdbcType=VARCHAR},'%')</if>
     
  </select> 
  <select id="getAll"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from youjixinxi  where 1=1
    <if test="faburen!=null">
    and faburen =#{faburen}
    </if>
  </select>
  
  <select id="getsyyoujixinxi1"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from youjixinxi  where 1=1
    limit 0,5
  </select>
  <select id="getsyyoujixinxi2"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from youjixinxi  where 1=1
    limit 0,5
  </select>
  <select id="getsyyoujixinxi3"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from youjixinxi  where 1=1
    limit 0,5
  </select>
  
   <select id="getByPage" parameterType="java.util.Map" resultMap="BaseResultMap">
后面还有 97 行代码,购买后查看完整代码

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

AI 解读 AI

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

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