src/com/mapper/GoumaijiluMapper.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.GoumaijiluMapper">
<resultMap id="BaseResultMap" type="com.entity.Goumaijilu">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="danhao" jdbcType="VARCHAR" property="danhao" />
<result column="shangpinbianhao" jdbcType="VARCHAR" property="shangpinbianhao" />
<result column="shangpinmingcheng" jdbcType="VARCHAR" property="shangpinmingcheng" />
<result column="shangpinleibie" jdbcType="VARCHAR" property="shangpinleibie" />
<result column="kucun" jdbcType="VARCHAR" property="kucun" />
<result column="chushoujiage" jdbcType="VARCHAR" property="chushoujiage" />
<result column="didian" jdbcType="VARCHAR" property="didian" />
<result column="goumaishuliang" jdbcType="VARCHAR" property="goumaishuliang" />
<result column="jine" jdbcType="VARCHAR" property="jine" />
<result column="goumairen" jdbcType="VARCHAR" property="goumairen" />
<result column="lianxifangshi" jdbcType="VARCHAR" property="lianxifangshi" />
<result column="shouhuodizhi" jdbcType="VARCHAR" property="shouhuodizhi" />
<result column="xiangxi" jdbcType="VARCHAR" property="xiangxi" />
<result column="zhuangtai" jdbcType="VARCHAR" property="zhuangtai" />
<result column="issh" jdbcType="VARCHAR" property="issh" />
<result column="iszf" jdbcType="VARCHAR" property="iszf" />
<result column="addtime" jdbcType="VARCHAR" property="addtime" />
</resultMap>
<sql id="Base_Column_List">
id, danhao,shangpinbianhao,shangpinmingcheng,shangpinleibie,kucun,chushoujiage,didian,goumaishuliang,jine,goumairen,lianxifangshi,shouhuodizhi,xiangxi,zhuangtai,issh,iszf, addtime
</sql>
<select id="quchongGoumaijilu" parameterType="java.util.Map" resultMap="BaseResultMap" >
select
<include refid="Base_Column_List" />
from goumaijilu
where goumairen = #{goumairen,jdbcType=VARCHAR} limit 0,1
</select>
<select id="getCount" resultType="int" parameterType="java.util.Map" >
select count(*) from goumaijilu where 1=1
<if test="danhao!=null">and danhao like concat('%',#{danhao,jdbcType=VARCHAR},'%')</if>
<if test="shangpinbianhao!=null">and shangpinbianhao like concat('%',#{shangpinbianhao,jdbcType=VARCHAR},'%')</if>
<if test="shangpinmingcheng!=null">and shangpinmingcheng like concat('%',#{shangpinmingcheng,jdbcType=VARCHAR},'%')</if>
<if test="shangpinleibie!=null">and shangpinleibie like concat('%',#{shangpinleibie,jdbcType=VARCHAR},'%')</if>
<if test="kucun!=null">and kucun like concat('%',#{kucun,jdbcType=VARCHAR},'%')</if>
<if test="chushoujiage!=null">and chushoujiage like concat('%',#{chushoujiage,jdbcType=VARCHAR},'%')</if>
<if test="didian!=null">and didian like concat('%',#{didian,jdbcType=VARCHAR},'%')</if>
<if test="goumaishuliang1!=null">and goumaishuliang >= concat('',#{goumaishuliang1,jdbcType=VARCHAR},'')</if>
<if test="goumaishuliang2!=null">and goumaishuliang <= concat('',#{goumaishuliang2,jdbcType=VARCHAR},'')</if>
<if test="jine!=null">and jine like concat('%',#{jine,jdbcType=VARCHAR},'%')</if>
<if test="goumairen!=null">and goumairen like concat('%',#{goumairen,jdbcType=VARCHAR},'%')</if>
<if test="lianxifangshi!=null">and lianxifangshi like concat('%',#{lianxifangshi,jdbcType=VARCHAR},'%')</if>
<if test="shouhuodizhi!=null">and shouhuodizhi like concat('%',#{shouhuodizhi,jdbcType=VARCHAR},'%')</if>
<if test="xiangxi!=null">and xiangxi like concat('%',#{xiangxi,jdbcType=VARCHAR},'%')</if>
<if test="zhuangtai!=null">and zhuangtai like concat('%',#{zhuangtai,jdbcType=VARCHAR},'%')</if>
</select>
<select id="getAll" resultMap="BaseResultMap" parameterType="java.util.Map" >
select <include refid="Base_Column_List" /> from goumaijilu where 1=1
<if test="goumairen!=null">
and goumairen =#{goumairen}
</if>
</select>
<select id="getsygoumaijilu1" resultMap="BaseResultMap" parameterType="java.util.Map" >
后面还有 141 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。