WebRoot/WEB-INF/classes/com/mapper/KechengxinxiMapper.xml
(开头部分) 12KB这里只显示每个文件的开头 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.KechengxinxiMapper">
<resultMap id="BaseResultMap" type="com.entity.Kechengxinxi">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="kechengbianhao" jdbcType="VARCHAR" property="kechengbianhao" />
<result column="kechengmingcheng" jdbcType="VARCHAR" property="kechengmingcheng" />
<result column="fengmian" jdbcType="VARCHAR" property="fengmian" />
<result column="kechengleibie" jdbcType="VARCHAR" property="kechengleibie" />
<result column="kaikeshijian" jdbcType="VARCHAR" property="kaikeshijian" />
<result column="kechengjindu" jdbcType="VARCHAR" property="kechengjindu" />
<result column="shoukemubiao" jdbcType="VARCHAR" property="shoukemubiao" />
<result column="shoukelaoshi" jdbcType="VARCHAR" property="shoukelaoshi" />
<result column="kechenggaishu" jdbcType="VARCHAR" property="kechenggaishu" />
<result column="xiangqingmiaoshu" jdbcType="VARCHAR" property="xiangqingmiaoshu" />
<result column="jiage" jdbcType="VARCHAR" property="jiage" />
<result column="mianfeishipin" jdbcType="VARCHAR" property="mianfeishipin" />
<result column="zhengshikecheng" jdbcType="VARCHAR" property="zhengshikecheng" />
<result column="addtime" jdbcType="VARCHAR" property="addtime" />
</resultMap>
<sql id="Base_Column_List">
id, kechengbianhao,kechengmingcheng,fengmian,kechengleibie,kaikeshijian,kechengjindu,shoukemubiao,shoukelaoshi,kechenggaishu,xiangqingmiaoshu,jiage,mianfeishipin,zhengshikecheng, addtime
</sql>
<select id="quchongKechengxinxi" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from kechengxinxi
where kechengbianhao = #{kechengbianhao,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from kechengxinxi where 1=1
<if test="kechengbianhao!=null">and kechengbianhao like concat('%',#{kechengbianhao,jdbcType=VARCHAR},'%')</if>
<if test="kechengmingcheng!=null">and kechengmingcheng like concat('%',#{kechengmingcheng,jdbcType=VARCHAR},'%')</if>
<if test="fengmian!=null">and fengmian like concat('%',#{fengmian,jdbcType=VARCHAR},'%')</if>
<if test="kechengleibie!=null">and kechengleibie like concat('%',#{kechengleibie,jdbcType=VARCHAR},'%')</if>
<if test="kaikeshijian1!=null">and kaikeshijian >= concat('',#{kaikeshijian1,jdbcType=VARCHAR},'')</if>
<if test="kaikeshijian2!=null">and kaikeshijian <= concat('',#{kaikeshijian2,jdbcType=VARCHAR},'')</if>
<if test="kechengjindu!=null">and kechengjindu like concat('%',#{kechengjindu,jdbcType=VARCHAR},'%')</if>
<if test="shoukemubiao!=null">and shoukemubiao like concat('%',#{shoukemubiao,jdbcType=VARCHAR},'%')</if>
<if test="shoukelaoshi!=null">and shoukelaoshi like concat('%',#{shoukelaoshi,jdbcType=VARCHAR},'%')</if>
<if test="kechenggaishu!=null">and kechenggaishu like concat('%',#{kechenggaishu,jdbcType=VARCHAR},'%')</if>
<if test="xiangqingmiaoshu!=null">and xiangqingmiaoshu like concat('%',#{xiangqingmiaoshu,jdbcType=VARCHAR},'%')</if>
<if test="jiage1!=null">and jiage >= concat('',#{jiage1,jdbcType=VARCHAR},'')</if>
<if test="jiage2!=null">and jiage <= concat('',#{jiage2,jdbcType=VARCHAR},'')</if>
<if test="mianfeishipin!=null">and mianfeishipin like concat('%',#{mianfeishipin,jdbcType=VARCHAR},'%')</if>
<if test="zhengshikecheng!=null">and zhengshikecheng like concat('%',#{zhengshikecheng,jdbcType=VARCHAR},'%')</if>
</select>
<select id="getAll" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from kechengxinxi where 1=1
<if test="kechengbianhao!=null">
and kechengbianhao =#{kechengbianhao}
</if>
</select>
<select id="getsykechengxinxi1" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from kechengxinxi where 1=1
limit 0,5
</select>
后面还有 128 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
