src/com/mapper/CheliangxinxiMapper.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.CheliangxinxiMapper">
<resultMap id="BaseResultMap" type="com.entity.Cheliangxinxi">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="chepaihao" jdbcType="VARCHAR" property="chepaihao" />
<result column="cheliangpinpai" jdbcType="VARCHAR" property="cheliangpinpai" />
<result column="chexing" jdbcType="VARCHAR" property="chexing" />
<result column="cheweihao" jdbcType="VARCHAR" property="cheweihao" />
<result column="tingcheshijian" jdbcType="VARCHAR" property="tingcheshijian" />
<result column="tingcheshichang" jdbcType="VARCHAR" property="tingcheshichang" />
<result column="xingming" jdbcType="VARCHAR" property="xingming" />
<result column="shouji" jdbcType="VARCHAR" property="shouji" />
<result column="shuoming" jdbcType="VARCHAR" property="shuoming" />
<result column="dengjiren" jdbcType="VARCHAR" property="dengjiren" />
<result column="addtime" jdbcType="VARCHAR" property="addtime" />
</resultMap>
<sql id="Base_Column_List">
id, chepaihao,cheliangpinpai,chexing,cheweihao,tingcheshijian,tingcheshichang,xingming,shouji,shuoming,dengjiren, addtime
</sql>
<select id="quchongCheliangxinxi" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from cheliangxinxi
where dengjiren = #{dengjiren,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from cheliangxinxi where 1=1
<if test="chepaihao!=null">and chepaihao like concat('%',#{chepaihao,jdbcType=VARCHAR},'%')</if>
<if test="cheliangpinpai!=null">and cheliangpinpai like concat('%',#{cheliangpinpai,jdbcType=VARCHAR},'%')</if>
<if test="chexing!=null">and chexing like concat('%',#{chexing,jdbcType=VARCHAR},'%')</if>
<if test="cheweihao!=null">and cheweihao like concat('%',#{cheweihao,jdbcType=VARCHAR},'%')</if>
<if test="tingcheshijian1!=null">and tingcheshijian >= concat('',#{tingcheshijian1,jdbcType=VARCHAR},'')</if>
<if test="tingcheshijian2!=null">and tingcheshijian <= concat('',#{tingcheshijian2,jdbcType=VARCHAR},'')</if>
<if test="tingcheshichang!=null">and tingcheshichang like concat('%',#{tingcheshichang,jdbcType=VARCHAR},'%')</if>
<if test="xingming!=null">and xingming like concat('%',#{xingming,jdbcType=VARCHAR},'%')</if>
<if test="shouji!=null">and shouji like concat('%',#{shouji,jdbcType=VARCHAR},'%')</if>
<if test="shuoming!=null">and shuoming like concat('%',#{shuoming,jdbcType=VARCHAR},'%')</if>
<if test="dengjiren!=null">and dengjiren like concat('%',#{dengjiren,jdbcType=VARCHAR},'%')</if>
</select>
<select id="getAll" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from cheliangxinxi where 1=1
<if test="dengjiren!=null">
and dengjiren =#{dengjiren}
</if>
</select>
<select id="getsycheliangxinxi1" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from cheliangxinxi where 1=1
limit 0,5
</select>
<select id="getsycheliangxinxi2" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from cheliangxinxi where 1=1
limit 0,5
</select>
<select id="getsycheliangxinxi3" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from cheliangxinxi where 1=1
limit 0,5
后面还有 108 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。