对比新文件 |
| | |
| | | <?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.gk.firework.Mapper.RegisterInfoMapper" > |
| | | <resultMap id="BaseResultMap" type="com.gk.firework.Domain.RegisterInfo" > |
| | | <!-- --> |
| | | <id column="id" property="id" jdbcType="BIGINT" /> |
| | | <result column="enterprisename" property="enterprisename" jdbcType="VARCHAR" /> |
| | | <result column="enterprisenumber" property="enterprisenumber" jdbcType="VARCHAR" /> |
| | | <result column="password" property="password" jdbcType="VARCHAR" /> |
| | | <result column="type" property="type" jdbcType="VARCHAR" /> |
| | | <result column="businessrange" property="businessrange" jdbcType="VARCHAR" /> |
| | | <result column="licensestart" property="licensestart" jdbcType="DATE" /> |
| | | <result column="licenseend" property="licenseend" jdbcType="DATE" /> |
| | | <result column="legalperson" property="legalperson" jdbcType="VARCHAR" /> |
| | | <result column="legalpersonphone" property="legalpersonphone" jdbcType="VARCHAR" /> |
| | | <result column="createdby" property="createdby" jdbcType="VARCHAR" /> |
| | | <result column="createdat" property="createdat" jdbcType="TIMESTAMP" /> |
| | | <result column="flag" property="flag" jdbcType="TINYINT" /> |
| | | <result column="isdel" property="isdel" jdbcType="TINYINT" /> |
| | | <result column="remark" property="remark" jdbcType="VARCHAR" /> |
| | | <result column="issms" property="issms" jdbcType="TINYINT" /> |
| | | <result column="smstimes" property="smstimes" jdbcType="INTEGER" /> |
| | | <result column="smsat" property="smsat" jdbcType="TIMESTAMP" /> |
| | | <result column="reviewer" property="reviewer" jdbcType="VARCHAR" /> |
| | | <result column="reviewresult" property="reviewresult" jdbcType="TINYINT" /> |
| | | <result column="reviewat" property="reviewat" jdbcType="TIMESTAMP" /> |
| | | <result column="reviewcontent" property="reviewcontent" jdbcType="VARCHAR" /> |
| | | <result column="isagreement" property="isagreement" jdbcType="TINYINT" /> |
| | | <result column="province" property="province" jdbcType="VARCHAR" /> |
| | | <result column="city" property="city" jdbcType="VARCHAR" /> |
| | | <result column="district" property="district" jdbcType="VARCHAR" /> |
| | | <result column="street" property="street" jdbcType="VARCHAR" /> |
| | | <result column="committee" property="committee" jdbcType="VARCHAR" /> |
| | | <result column="address" property="address" jdbcType="VARCHAR" /> |
| | | <result column="legalpersonstart" property="legalpersonstart" jdbcType="DATE" /> |
| | | <result column="legalpersonend" property="legalpersonend" jdbcType="DATE" /> |
| | | <result column="qualificationstart" property="qualificationstart" jdbcType="DATE" /> |
| | | <result column="qualificationend" property="qualificationend" jdbcType="DATE" /> |
| | | <result column="escortstart" property="escortstart" jdbcType="DATE" /> |
| | | <result column="escortend" property="escortend" jdbcType="DATE" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List" > |
| | | <!-- --> |
| | | id, enterprisename, enterprisenumber, password, type, businessrange, licensestart, |
| | | licenseend, legalperson, legalpersonphone, createdby, createdat, flag, isdel, remark, |
| | | issms, smstimes, smsat, reviewer, reviewresult, reviewat, reviewcontent, isagreement, |
| | | province, city, district, street, committee, address, legalpersonstart, legalpersonend, |
| | | qualificationstart, qualificationend, escortstart, escortend |
| | | </sql> |
| | | <select id="selectDataGrid" resultType="com.gk.firework.Domain.Vo.RegisterVo"> |
| | | SELECT |
| | | <include refid="Base_Column_List"/> |
| | | FROM |
| | | register |
| | | <where> |
| | | 1=1 |
| | | and isdel = 0 |
| | | <if test="condition.name != null and condition.name != ''"> |
| | | and enterprisename like concat('%',#{condition.name},'%') |
| | | </if> |
| | | |
| | | <if test="condition.type != null and condition.type != ''"> |
| | | and `type` = #{condition.type} |
| | | </if> |
| | | <if test="condition.reviewResult != null and condition.reviewResult != ''"> |
| | | and reviewresult = #{condition.reviewResult} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |