src/com/mapper/BaofeixinxiMapper.xml

(开头部分) 15KB

这里只显示每个文件的开头 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.BaofeixinxiMapper">
  <resultMap id="BaseResultMap" type="com.entity.Baofeixinxi">
    <id column="id" jdbcType="INTEGER" property="id" />
	<result column="yonghuming" jdbcType="VARCHAR" property="yonghuming" />
    <result column="xingming" jdbcType="VARCHAR" property="xingming" />
    <result column="xingbie" jdbcType="VARCHAR" property="xingbie" />
    <result column="shenfenzheng" jdbcType="VARCHAR" property="shenfenzheng" />
    <result column="leibie" jdbcType="VARCHAR" property="leibie" />
    <result column="danwei" jdbcType="VARCHAR" property="danwei" />
    <result column="jiaofeibili" jdbcType="VARCHAR" property="jiaofeibili" />
    <result column="jiaofeijishu" jdbcType="VARCHAR" property="jiaofeijishu" />
    <result column="nianfen" jdbcType="VARCHAR" property="nianfen" />
    <result column="yuefen" jdbcType="VARCHAR" property="yuefen" />
    <result column="jiaofeijine" jdbcType="VARCHAR" property="jiaofeijine" />
    <result column="tianjiaren" jdbcType="VARCHAR" property="tianjiaren" />
    <result column="iszf" jdbcType="VARCHAR" property="iszf" />
    
    <result column="addtime" jdbcType="VARCHAR" property="addtime" />
    <result column="grand" jdbcType="VARCHAR" property="grand" />
    <result column="sum" jdbcType="VARCHAR" property="sum" />
    
  </resultMap>
  <sql id="Base_Column_List">
    id, yonghuming,xingming,xingbie,shenfenzheng,leibie,danwei,jiaofeibili,jiaofeijishu,nianfen,yuefen,jiaofeijine,tianjiaren,iszf, addtime,grand
  </sql>
  <select id="quchongBaofeixinxi"  parameterType="java.util.Map" resultMap="BaseResultMap" >
    select 
    <include refid="Base_Column_List" />
    from baofeixinxi 
    where tianjiaren = #{tianjiaren,jdbcType=VARCHAR} limit 0,1
  </select>
 <select id="getCount"   resultType="int" parameterType="java.util.Map" >
    select  count(*) from baofeixinxi  where 1=1
    <if test="yonghuming!=null">and yonghuming like  concat('%',#{yonghuming,jdbcType=VARCHAR},'%')</if>
     <if test="xingming!=null">and xingming like  concat('%',#{xingming,jdbcType=VARCHAR},'%')</if>
     <if test="xingbie!=null">and xingbie like  concat('%',#{xingbie,jdbcType=VARCHAR},'%')</if>
     <if test="shenfenzheng!=null">and shenfenzheng like  concat('%',#{shenfenzheng,jdbcType=VARCHAR},'%')</if>
     <if test="leibie!=null">and leibie like  concat('%',#{leibie,jdbcType=VARCHAR},'%')</if>
     <if test="danwei!=null">and danwei like  concat('%',#{danwei,jdbcType=VARCHAR},'%')</if>
     <if test="jiaofeibili!=null">and jiaofeibili like  concat('%',#{jiaofeibili,jdbcType=VARCHAR},'%')</if>
     <if test="jiaofeijishu!=null">and jiaofeijishu like  concat('%',#{jiaofeijishu,jdbcType=VARCHAR},'%')</if>
     <if test="nianfen!=null">and nianfen like  concat('%',#{nianfen,jdbcType=VARCHAR},'%')</if>
     <if test="yuefen!=null">and yuefen like  concat('%',#{yuefen,jdbcType=VARCHAR},'%')</if>
     <if test="jiaofeijine1!=null">and jiaofeijine &gt;=  concat('',#{jiaofeijine1,jdbcType=VARCHAR},'')</if>
     <if test="jiaofeijine2!=null">and jiaofeijine &lt;=  concat('',#{jiaofeijine2,jdbcType=VARCHAR},'')</if>
     <if test="tianjiaren!=null">and tianjiaren like  concat('%',#{tianjiaren,jdbcType=VARCHAR},'%')</if>
     <if test="iszf!=null">and iszf like  concat('%',#{iszf,jdbcType=VARCHAR},'%')</if>
     
  </select> 
  <select id="getAll"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from baofeixinxi  where 1=1
    <if test="tianjiaren!=null">
    and tianjiaren =#{tianjiaren}
    </if>
  </select>
  
  <select id="getsybaofeixinxi1"   resultMap="BaseResultMap" parameterType="java.util.Map" >
    select   <include refid="Base_Column_List" /> from baofeixinxi  where 1=1
后面还有 198 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。