WebRoot/WEB-INF/classes/com/mapper/JiajiaokechengMapper.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.JiajiaokechengMapper">
<resultMap id="BaseResultMap" type="com.entity.Jiajiaokecheng">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="kechengbianhao" jdbcType="VARCHAR" property="kechengbianhao" />
<result column="kechengmingcheng" jdbcType="VARCHAR" property="kechengmingcheng" />
<result column="leibiemingcheng" jdbcType="VARCHAR" property="leibiemingcheng" />
<result column="fengmian" jdbcType="VARCHAR" property="fengmian" />
<result column="kechengneirong" jdbcType="VARCHAR" property="kechengneirong" />
<result column="keshi" jdbcType="VARCHAR" property="keshi" />
<result column="jiage" jdbcType="VARCHAR" property="jiage" />
<result column="shipin" jdbcType="VARCHAR" property="shipin" />
<result column="wenjian" jdbcType="VARCHAR" property="wenjian" />
<result column="beizhu" jdbcType="VARCHAR" property="beizhu" />
<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, kechengbianhao,kechengmingcheng,leibiemingcheng,fengmian,kechengneirong,keshi,jiage,shipin,wenjian,beizhu,faburen,issh, addtime
</sql>
<select id="quchongJiajiaokecheng" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from jiajiaokecheng
where faburen = #{faburen,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from jiajiaokecheng 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="leibiemingcheng!=null">and leibiemingcheng like concat('%',#{leibiemingcheng,jdbcType=VARCHAR},'%')</if>
<if test="fengmian!=null">and fengmian like concat('%',#{fengmian,jdbcType=VARCHAR},'%')</if>
<if test="kechengneirong!=null">and kechengneirong like concat('%',#{kechengneirong,jdbcType=VARCHAR},'%')</if>
<if test="keshi1!=null">and keshi >= concat('',#{keshi1,jdbcType=VARCHAR},'')</if>
<if test="keshi2!=null">and keshi <= concat('',#{keshi2,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="shipin!=null">and shipin like concat('%',#{shipin,jdbcType=VARCHAR},'%')</if>
<if test="wenjian!=null">and wenjian like concat('%',#{wenjian,jdbcType=VARCHAR},'%')</if>
<if test="beizhu!=null">and beizhu like concat('%',#{beizhu,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 jiajiaokecheng where 1=1
<if test="faburen!=null">
and faburen =#{faburen}
</if>
</select>
<select id="getsyjiajiaokecheng1" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from jiajiaokecheng where 1=1
limit 0,5
</select>
<select id="getsyjiajiaokecheng2" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from jiajiaokecheng where 1=1
limit 0,5
后面还有 117 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
