WebRoot/WEB-INF/classes/com/mapper/TingchejiluMapper.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.TingchejiluMapper">
<resultMap id="BaseResultMap" type="com.entity.Tingchejilu">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="danhao" jdbcType="VARCHAR" property="danhao" />
<result column="cheweihao" jdbcType="VARCHAR" property="cheweihao" />
<result column="louceng" jdbcType="VARCHAR" property="louceng" />
<result column="weizhi" jdbcType="VARCHAR" property="weizhi" />
<result column="chepaihao" jdbcType="VARCHAR" property="chepaihao" />
<result column="chepaipinpai" jdbcType="VARCHAR" property="chepaipinpai" />
<result column="chexing" jdbcType="VARCHAR" property="chexing" />
<result column="shirushijian" jdbcType="VARCHAR" property="shirushijian" />
<result column="shuoming" jdbcType="VARCHAR" property="shuoming" />
<result column="xingming" jdbcType="VARCHAR" property="xingming" />
<result column="shouji" jdbcType="VARCHAR" property="shouji" />
<result column="dengjiren" jdbcType="VARCHAR" property="dengjiren" />
<result column="beizhu" jdbcType="VARCHAR" property="beizhu" />
<result column="addtime" jdbcType="VARCHAR" property="addtime" />
</resultMap>
<sql id="Base_Column_List">
id, danhao,cheweihao,louceng,weizhi,chepaihao,chepaipinpai,chexing,shirushijian,shuoming,xingming,shouji,dengjiren,beizhu, addtime
</sql>
<select id="quchongTingchejilu" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from tingchejilu
where dengjiren = #{dengjiren,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from tingchejilu where 1=1
<if test="danhao!=null">and danhao like concat('%',#{danhao,jdbcType=VARCHAR},'%')</if>
<if test="cheweihao!=null">and cheweihao like concat('%',#{cheweihao,jdbcType=VARCHAR},'%')</if>
<if test="louceng!=null">and louceng like concat('%',#{louceng,jdbcType=VARCHAR},'%')</if>
<if test="weizhi!=null">and weizhi like concat('%',#{weizhi,jdbcType=VARCHAR},'%')</if>
<if test="chepaihao!=null">and chepaihao like concat('%',#{chepaihao,jdbcType=VARCHAR},'%')</if>
<if test="chepaipinpai!=null">and chepaipinpai like concat('%',#{chepaipinpai,jdbcType=VARCHAR},'%')</if>
<if test="chexing!=null">and chexing like concat('%',#{chexing,jdbcType=VARCHAR},'%')</if>
<if test="shirushijian1!=null">and shirushijian >= concat('',#{shirushijian1,jdbcType=VARCHAR},'')</if>
<if test="shirushijian2!=null">and shirushijian <= concat('',#{shirushijian2,jdbcType=VARCHAR},'')</if>
<if test="shuoming!=null">and shuoming like concat('%',#{shuoming,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="dengjiren!=null">and dengjiren like concat('%',#{dengjiren,jdbcType=VARCHAR},'%')</if>
<if test="beizhu!=null">and beizhu like concat('%',#{beizhu,jdbcType=VARCHAR},'%')</if>
</select>
<select id="getAll" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from tingchejilu where 1=1
<if test="dengjiren!=null">
and dengjiren =#{dengjiren}
</if>
</select>
<select id="getsytingchejilu1" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from tingchejilu where 1=1
limit 0,5
</select>
<select id="getsytingchejilu2" resultMap="BaseResultMap" parameterType="java.util.Map" >
后面还有 126 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。