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

(开头部分) 13KB

这里只显示每个文件的开头 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.ShijuanxinxiMapper">
  <resultMap id="BaseResultMap" type="com.entity.Shijuanxinxi">
    <id column="id" jdbcType="INTEGER" property="id" />
	<result column="shijuanbianhao" jdbcType="VARCHAR" property="shijuanbianhao" />
    <result column="kecheng" jdbcType="VARCHAR" property="kecheng" />
    <result column="shijuanmingcheng" jdbcType="VARCHAR" property="shijuanmingcheng" />
    <result column="danxuantishu" jdbcType="VARCHAR" property="danxuantishu" />
    <result column="danxuantifenzhi" jdbcType="VARCHAR" property="danxuantifenzhi" />
    <result column="danxuanti" jdbcType="VARCHAR" property="danxuanti" />
    <result column="duoxuantishu" jdbcType="VARCHAR" property="duoxuantishu" />
    <result column="duoxuantifenzhi" jdbcType="VARCHAR" property="duoxuantifenzhi" />
    <result column="duoxuanti" jdbcType="VARCHAR" property="duoxuanti" />
    <result column="panduantishu" jdbcType="VARCHAR" property="panduantishu" />
    <result column="panduantifenzhi" jdbcType="VARCHAR" property="panduantifenzhi" />
    <result column="panduanti" jdbcType="VARCHAR" property="panduanti" />
    <result column="tiankongtishu" jdbcType="VARCHAR" property="tiankongtishu" />
    <result column="tiankongtifenzhi" jdbcType="VARCHAR" property="tiankongtifenzhi" />
    <result column="tiankongti" jdbcType="VARCHAR" property="tiankongti" />
    <result column="faburen" jdbcType="VARCHAR" property="faburen" />
    
    <result column="addtime" jdbcType="VARCHAR" property="addtime" />
  </resultMap>
  <sql id="Base_Column_List">
    id, shijuanbianhao,kecheng,shijuanmingcheng,danxuantishu,danxuantifenzhi,danxuanti,duoxuantishu,duoxuantifenzhi,duoxuanti,panduantishu,panduantifenzhi,panduanti,tiankongtishu,tiankongtifenzhi,tiankongti,faburen, addtime
  </sql>
  <select id="quchongShijuanxinxi"  parameterType="java.util.Map" resultMap="BaseResultMap" >
    select 
    <include refid="Base_Column_List" />
    from shijuanxinxi 
    where faburen = #{faburen,jdbcType=VARCHAR} limit 0,1
  </select>
 <select id="getCount"   resultType="int" parameterType="java.util.Map" >
    select  count(*) from shijuanxinxi  where 1=1
    <if test="shijuanbianhao!=null">and shijuanbianhao like  concat('%',#{shijuanbianhao,jdbcType=VARCHAR},'%')</if>
     <if test="kecheng!=null">and kecheng like  concat('%',#{kecheng,jdbcType=VARCHAR},'%')</if>
     <if test="shijuanmingcheng!=null">and shijuanmingcheng like  concat('%',#{shijuanmingcheng,jdbcType=VARCHAR},'%')</if>
     <if test="danxuantishu!=null">and danxuantishu like  concat('%',#{danxuantishu,jdbcType=VARCHAR},'%')</if>
     <if test="danxuantifenzhi!=null">and danxuantifenzhi like  concat('%',#{danxuantifenzhi,jdbcType=VARCHAR},'%')</if>
     <if test="danxuanti!=null">and danxuanti like  concat('%',#{danxuanti,jdbcType=VARCHAR},'%')</if>
     <if test="duoxuantishu!=null">and duoxuantishu like  concat('%',#{duoxuantishu,jdbcType=VARCHAR},'%')</if>
     <if test="duoxuantifenzhi!=null">and duoxuantifenzhi like  concat('%',#{duoxuantifenzhi,jdbcType=VARCHAR},'%')</if>
     <if test="duoxuanti!=null">and duoxuanti like  concat('%',#{duoxuanti,jdbcType=VARCHAR},'%')</if>
     <if test="panduantishu!=null">and panduantishu like  concat('%',#{panduantishu,jdbcType=VARCHAR},'%')</if>
     <if test="panduantifenzhi!=null">and panduantifenzhi like  concat('%',#{panduantifenzhi,jdbcType=VARCHAR},'%')</if>
     <if test="panduanti!=null">and panduanti like  concat('%',#{panduanti,jdbcType=VARCHAR},'%')</if>
     <if test="tiankongtishu!=null">and tiankongtishu like  concat('%',#{tiankongtishu,jdbcType=VARCHAR},'%')</if>
     <if test="tiankongtifenzhi!=null">and tiankongtifenzhi like  concat('%',#{tiankongtifenzhi,jdbcType=VARCHAR},'%')</if>
     <if test="tiankongti!=null">and tiankongti like  concat('%',#{tiankongti,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 shijuanxinxi  where 1=1
    <if test="faburen!=null">
    and faburen =#{faburen}
    </if>
  </select>
  
后面还有 142 行代码,购买后查看完整代码

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

AI 解读 AI

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

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