<?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="doumeemes.dao.ext.WInventoryExtMapper">
|
|
<!-- 管理页面查询 -->
|
<resultMap id="WInventoryExtListVO" type="doumeemes.dao.ext.vo.WInventoryExtListVO" autoMapping="true">
|
<id column="ID" jdbcType="INTEGER" property="id"/>
|
<association property="dmodel" javaType="doumeemes.dao.business.model.Department">
|
<id column="DMODEL_ID" jdbcType="INTEGER" property="id"/>
|
<result column="DMODEL_DELETED" jdbcType="TINYINT" property="deleted"/>
|
<result column="DMODEL_CREATE_USER" jdbcType="INTEGER" property="createUser"/>
|
<result column="DMODEL_CREATE_TIME" jdbcType="TIMESTAMP" property="createTime"/>
|
<result column="DMODEL_UPDATE_USER" jdbcType="INTEGER" property="updateUser"/>
|
<result column="DMODEL_UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime"/>
|
<result column="DMODEL_NAME" jdbcType="VARCHAR" property="name"/>
|
<result column="DMODEL_REMARK" jdbcType="VARCHAR" property="remark"/>
|
<result column="DMODEL_ROOT_ID" jdbcType="INTEGER" property="rootId"/>
|
<result column="DMODEL_PARENT_ID" jdbcType="INTEGER" property="parentId"/>
|
<result column="DMODEL_COMPANY_ID" jdbcType="INTEGER" property="companyId"/>
|
<result column="DMODEL_TYPE" jdbcType="TINYINT" property="type"/>
|
<result column="DMODEL_ERP_ID" jdbcType="VARCHAR" property="erpId"/>
|
<result column="DMODEL_STATUS" jdbcType="INTEGER" property="status"/>
|
<result column="DMODEL_VALID_TIME" jdbcType="TIMESTAMP" property="validTime"/>
|
<result column="DMODEL_INVALID_TIME" jdbcType="TIMESTAMP" property="invalidTime"/>
|
</association>
|
<association property="umodel" javaType="doumeemes.dao.system.model.SystemUser">
|
<id column="UMODEL_ID" jdbcType="INTEGER" property="id"/>
|
<result column="UMODEL_DELETED" jdbcType="TINYINT" property="deleted"/>
|
<result column="UMODEL_CREATE_USER" jdbcType="INTEGER" property="createUser"/>
|
<result column="UMODEL_CREATE_TIME" jdbcType="TIMESTAMP" property="createTime"/>
|
<result column="UMODEL_UPDATE_USER" jdbcType="INTEGER" property="updateUser"/>
|
<result column="UMODEL_UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime"/>
|
<result column="UMODEL_FIXED" jdbcType="TINYINT" property="fixed"/>
|
<result column="UMODEL_PASSWORD" jdbcType="VARCHAR" property="password"/>
|
<result column="UMODEL_SALT" jdbcType="VARCHAR" property="salt"/>
|
<result column="UMODEL_AVATAR" jdbcType="VARCHAR" property="avatar"/>
|
<result column="UMODEL_MOBILE" jdbcType="VARCHAR" property="mobile"/>
|
<result column="UMODEL_EMAIL" jdbcType="VARCHAR" property="email"/>
|
<result column="UMODEL_SEX" jdbcType="VARCHAR" property="sex"/>
|
<result column="UMODEL_BIRTHDAY" jdbcType="DATE" property="birthday"/>
|
<result column="UMODEL_EMP_NO" jdbcType="VARCHAR" property="empNo"/>
|
<result column="UMODEL_REALNAME" jdbcType="VARCHAR" property="realname"/>
|
<result column="UMODEL_USERNAME" jdbcType="VARCHAR" property="username"/>
|
<result column="UMODEL_SYSTEMID" jdbcType="VARCHAR" property="systemid"/>
|
<result column="UMODEL_INVALID_TIME" jdbcType="TIMESTAMP" property="invalidTime"/>
|
<result column="UMODEL_TYPE" jdbcType="INTEGER" property="type"/>
|
</association>
|
<association property="wmodel" javaType="doumeemes.dao.business.model.Warehouse">
|
<id column="WMODEL_ID" jdbcType="INTEGER" property="id"/>
|
<result column="WMODEL_DELETED" jdbcType="TINYINT" property="deleted"/>
|
<result column="WMODEL_CREATE_USER" jdbcType="INTEGER" property="createUser"/>
|
<result column="WMODEL_CREATE_TIME" jdbcType="TIMESTAMP" property="createTime"/>
|
<result column="WMODEL_UPDATE_USER" jdbcType="INTEGER" property="updateUser"/>
|
<result column="WMODEL_UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime"/>
|
<result column="WMODEL_REMARK" jdbcType="VARCHAR" property="remark"/>
|
<result column="WMODEL_ROOT_DEPART_ID" jdbcType="INTEGER" property="rootDepartId"/>
|
<result column="WMODEL_DEPART_ID" jdbcType="INTEGER" property="departId"/>
|
<result column="WMODEL_PROCEDURE_ID" jdbcType="INTEGER" property="procedureId"/>
|
<result column="WMODEL_QRCODE" jdbcType="INTEGER" property="qrcode"/>
|
<result column="WMODEL_NAME" jdbcType="VARCHAR" property="name"/>
|
<result column="WMODEL_USE_LOCATION" jdbcType="TINYINT" property="useLocation"/>
|
<result column="WMODEL_STATUS" jdbcType="TINYINT" property="status"/>
|
<result column="WMODEL_ADDR" jdbcType="VARCHAR" property="addr"/>
|
</association>
|
<association property="rmodel" javaType="doumeemes.dao.system.model.SystemUser">
|
<id column="RMODEL_ID" jdbcType="INTEGER" property="id"/>
|
<result column="RMODEL_DELETED" jdbcType="TINYINT" property="deleted"/>
|
<result column="RMODEL_CREATE_USER" jdbcType="INTEGER" property="createUser"/>
|
<result column="RMODEL_CREATE_TIME" jdbcType="TIMESTAMP" property="createTime"/>
|
<result column="RMODEL_UPDATE_USER" jdbcType="INTEGER" property="updateUser"/>
|
<result column="RMODEL_UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime"/>
|
<result column="RMODEL_FIXED" jdbcType="TINYINT" property="fixed"/>
|
<result column="RMODEL_PASSWORD" jdbcType="VARCHAR" property="password"/>
|
<result column="RMODEL_SALT" jdbcType="VARCHAR" property="salt"/>
|
<result column="RMODEL_AVATAR" jdbcType="VARCHAR" property="avatar"/>
|
<result column="RMODEL_MOBILE" jdbcType="VARCHAR" property="mobile"/>
|
<result column="RMODEL_EMAIL" jdbcType="VARCHAR" property="email"/>
|
<result column="RMODEL_SEX" jdbcType="VARCHAR" property="sex"/>
|
<result column="RMODEL_BIRTHDAY" jdbcType="DATE" property="birthday"/>
|
<result column="RMODEL_EMP_NO" jdbcType="VARCHAR" property="empNo"/>
|
<result column="RMODEL_REALNAME" jdbcType="VARCHAR" property="realname"/>
|
<result column="RMODEL_USERNAME" jdbcType="VARCHAR" property="username"/>
|
<result column="RMODEL_SYSTEMID" jdbcType="VARCHAR" property="systemid"/>
|
<result column="RMODEL_INVALID_TIME" jdbcType="TIMESTAMP" property="invalidTime"/>
|
<result column="RMODEL_TYPE" jdbcType="INTEGER" property="type"/>
|
</association>
|
</resultMap>
|
<select id="selectList" parameterType="doumeemes.dao.ext.dto.QueryWInventoryExtDTO" resultMap="WInventoryExtListVO">
|
SELECT
|
`a`.`ID`,
|
`a`.`DELETED`,
|
`a`.`CREATE_USER`,
|
`a`.`CREATE_TIME`,
|
`a`.`UPDATE_USER`,
|
`a`.`UPDATE_TIME`,
|
`a`.`REMARK`,
|
`a`.`ROOT_DEPART_ID`,
|
`a`.`DEPART_ID`,
|
`a`.`CODE`,
|
`a`.`PALN_DATE`,
|
`a`.`USER_ID`,
|
`a`.`WAREHOUSE_ID`,
|
`a`.`COLD_DATE`,
|
`a`.`ABSTRACTS`,
|
`a`.`RECHECK_USER_ID`,
|
`a`.`DEAL_DATE`,
|
`a`.`STATUS`,
|
`dmodel`.`ID` AS DMODEL_ID,
|
`dmodel`.`DELETED` AS DMODEL_DELETED,
|
`dmodel`.`CREATE_USER` AS DMODEL_CREATE_USER,
|
`dmodel`.`CREATE_TIME` AS DMODEL_CREATE_TIME,
|
`dmodel`.`UPDATE_USER` AS DMODEL_UPDATE_USER,
|
`dmodel`.`UPDATE_TIME` AS DMODEL_UPDATE_TIME,
|
`dmodel`.`NAME` AS DMODEL_NAME,
|
`dmodel`.`REMARK` AS DMODEL_REMARK,
|
`dmodel`.`ROOT_ID` AS DMODEL_ROOT_ID,
|
`dmodel`.`PARENT_ID` AS DMODEL_PARENT_ID,
|
`dmodel`.`COMPANY_ID` AS DMODEL_COMPANY_ID,
|
`dmodel`.`TYPE` AS DMODEL_TYPE,
|
`dmodel`.`ERP_ID` AS DMODEL_ERP_ID,
|
`dmodel`.`STATUS` AS DMODEL_STATUS,
|
`dmodel`.`VALID_TIME` AS DMODEL_VALID_TIME,
|
`dmodel`.`INVALID_TIME` AS DMODEL_INVALID_TIME,
|
`umodel`.`ID` AS UMODEL_ID,
|
`umodel`.`DELETED` AS UMODEL_DELETED,
|
`umodel`.`CREATE_USER` AS UMODEL_CREATE_USER,
|
`umodel`.`CREATE_TIME` AS UMODEL_CREATE_TIME,
|
`umodel`.`UPDATE_USER` AS UMODEL_UPDATE_USER,
|
`umodel`.`UPDATE_TIME` AS UMODEL_UPDATE_TIME,
|
`umodel`.`FIXED` AS UMODEL_FIXED,
|
`umodel`.`PASSWORD` AS UMODEL_PASSWORD,
|
`umodel`.`SALT` AS UMODEL_SALT,
|
`umodel`.`AVATAR` AS UMODEL_AVATAR,
|
`umodel`.`MOBILE` AS UMODEL_MOBILE,
|
`umodel`.`EMAIL` AS UMODEL_EMAIL,
|
`umodel`.`SEX` AS UMODEL_SEX,
|
`umodel`.`BIRTHDAY` AS UMODEL_BIRTHDAY,
|
`umodel`.`EMP_NO` AS UMODEL_EMP_NO,
|
`umodel`.`REALNAME` AS UMODEL_REALNAME,
|
`umodel`.`USERNAME` AS UMODEL_USERNAME,
|
`umodel`.`SYSTEMID` AS UMODEL_SYSTEMID,
|
`umodel`.`INVALID_TIME` AS UMODEL_INVALID_TIME,
|
`umodel`.`TYPE` AS UMODEL_TYPE,
|
`wmodel`.`ID` AS WMODEL_ID,
|
`wmodel`.`DELETED` AS WMODEL_DELETED,
|
`wmodel`.`CREATE_USER` AS WMODEL_CREATE_USER,
|
`wmodel`.`CREATE_TIME` AS WMODEL_CREATE_TIME,
|
`wmodel`.`UPDATE_USER` AS WMODEL_UPDATE_USER,
|
`wmodel`.`UPDATE_TIME` AS WMODEL_UPDATE_TIME,
|
`wmodel`.`REMARK` AS WMODEL_REMARK,
|
`wmodel`.`ROOT_DEPART_ID` AS WMODEL_ROOT_DEPART_ID,
|
`wmodel`.`DEPART_ID` AS WMODEL_DEPART_ID,
|
`wmodel`.`PROCEDURE_ID` AS WMODEL_PROCEDURE_ID,
|
`wmodel`.`QRCODE` AS WMODEL_QRCODE,
|
`wmodel`.`NAME` AS WMODEL_NAME,
|
`wmodel`.`USE_LOCATION` AS WMODEL_USE_LOCATION,
|
`wmodel`.`STATUS` AS WMODEL_STATUS,
|
`wmodel`.`ADDR` AS WMODEL_ADDR,
|
`rmodel`.`ID` AS RMODEL_ID,
|
`rmodel`.`DELETED` AS RMODEL_DELETED,
|
`rmodel`.`CREATE_USER` AS RMODEL_CREATE_USER,
|
`rmodel`.`CREATE_TIME` AS RMODEL_CREATE_TIME,
|
`rmodel`.`UPDATE_USER` AS RMODEL_UPDATE_USER,
|
`rmodel`.`UPDATE_TIME` AS RMODEL_UPDATE_TIME,
|
`rmodel`.`FIXED` AS RMODEL_FIXED,
|
`rmodel`.`PASSWORD` AS RMODEL_PASSWORD,
|
`rmodel`.`SALT` AS RMODEL_SALT,
|
`rmodel`.`AVATAR` AS RMODEL_AVATAR,
|
`rmodel`.`MOBILE` AS RMODEL_MOBILE,
|
`rmodel`.`EMAIL` AS RMODEL_EMAIL,
|
`rmodel`.`SEX` AS RMODEL_SEX,
|
`rmodel`.`BIRTHDAY` AS RMODEL_BIRTHDAY,
|
`rmodel`.`EMP_NO` AS RMODEL_EMP_NO,
|
`rmodel`.`REALNAME` AS RMODEL_REALNAME,
|
`rmodel`.`USERNAME` AS RMODEL_USERNAME,
|
`rmodel`.`SYSTEMID` AS RMODEL_SYSTEMID,
|
`rmodel`.`INVALID_TIME` AS RMODEL_INVALID_TIME,
|
`rmodel`.`TYPE` AS RMODEL_TYPE
|
FROM `w_inventory` `a`
|
LEFT JOIN `department` `dmodel` ON a.DEPART_ID=dmodel.ID
|
LEFT JOIN `system_user` `umodel` ON a.USER_ID=umodel.ID
|
LEFT JOIN `warehouse` `wmodel` ON a.WAREHOUSE_ID=wmodel.ID
|
LEFT JOIN `system_user` `rmodel` ON a.RECHECK_USER_ID=rmodel.ID
|
<where>
|
<if test="id != null">
|
AND `a`.`ID` = #{id}
|
</if>
|
<if test="deleted != null">
|
AND `a`.`DELETED` = #{deleted}
|
</if>
|
<if test="createUser != null">
|
AND `a`.`CREATE_USER` = #{createUser}
|
</if>
|
<if test="createTime != null">
|
AND `a`.`CREATE_TIME` = #{createTime}
|
</if>
|
<if test="updateUser != null">
|
AND `a`.`UPDATE_USER` = #{updateUser}
|
</if>
|
<if test="updateTime != null">
|
AND `a`.`UPDATE_TIME` = #{updateTime}
|
</if>
|
<if test="remark != null and remark != ''">
|
AND `a`.`REMARK` = #{remark}
|
</if>
|
<if test="rootDepartId != null">
|
AND `a`.`ROOT_DEPART_ID` = #{rootDepartId}
|
</if>
|
<if test="departId != null">
|
AND `a`.`DEPART_ID` = #{departId}
|
</if>
|
<if test="code != null and code != ''">
|
AND `a`.`CODE` = #{code}
|
</if>
|
<if test="palnDate != null">
|
AND `a`.`PALN_DATE` = #{palnDate}
|
</if>
|
<if test="userId != null">
|
AND `a`.`USER_ID` = #{userId}
|
</if>
|
<if test="warehouseId != null">
|
AND `a`.`WAREHOUSE_ID` = #{warehouseId}
|
</if>
|
<if test="coldDate != null">
|
AND `a`.`COLD_DATE` = #{coldDate}
|
</if>
|
<if test="abstracts != null and abstracts != ''">
|
AND `a`.`ABSTRACTS` = #{abstracts}
|
</if>
|
<if test="recheckUserId != null">
|
AND `a`.`RECHECK_USER_ID` = #{recheckUserId}
|
</if>
|
<if test="dealDate != null">
|
AND `a`.`DEAL_DATE` = #{dealDate}
|
</if>
|
<if test="status != null">
|
AND `a`.`STATUS` = #{status}
|
</if>
|
<if test="dmodelId != null">
|
AND `dmodel`.`ID` = #{dmodelId}
|
</if>
|
<if test="dmodelDeleted != null">
|
AND `dmodel`.`DELETED` = #{dmodelDeleted}
|
</if>
|
<if test="dmodelCreateUser != null">
|
AND `dmodel`.`CREATE_USER` = #{dmodelCreateUser}
|
</if>
|
<if test="dmodelCreateTime != null">
|
AND `dmodel`.`CREATE_TIME` = #{dmodelCreateTime}
|
</if>
|
<if test="dmodelUpdateUser != null">
|
AND `dmodel`.`UPDATE_USER` = #{dmodelUpdateUser}
|
</if>
|
<if test="dmodelUpdateTime != null">
|
AND `dmodel`.`UPDATE_TIME` = #{dmodelUpdateTime}
|
</if>
|
<if test="dmodelName != null and dmodelName != ''">
|
AND `dmodel`.`NAME` = #{dmodelName}
|
</if>
|
<if test="dmodelRemark != null and dmodelRemark != ''">
|
AND `dmodel`.`REMARK` = #{dmodelRemark}
|
</if>
|
<if test="dmodelRootId != null">
|
AND `dmodel`.`ROOT_ID` = #{dmodelRootId}
|
</if>
|
<if test="dmodelParentId != null">
|
AND `dmodel`.`PARENT_ID` = #{dmodelParentId}
|
</if>
|
<if test="dmodelCompanyId != null">
|
AND `dmodel`.`COMPANY_ID` = #{dmodelCompanyId}
|
</if>
|
<if test="dmodelType != null">
|
AND `dmodel`.`TYPE` = #{dmodelType}
|
</if>
|
<if test="dmodelErpId != null and dmodelErpId != ''">
|
AND `dmodel`.`ERP_ID` = #{dmodelErpId}
|
</if>
|
<if test="dmodelStatus != null">
|
AND `dmodel`.`STATUS` = #{dmodelStatus}
|
</if>
|
<if test="dmodelValidTime != null">
|
AND `dmodel`.`VALID_TIME` = #{dmodelValidTime}
|
</if>
|
<if test="dmodelInvalidTime != null">
|
AND `dmodel`.`INVALID_TIME` = #{dmodelInvalidTime}
|
</if>
|
<if test="umodelId != null">
|
AND `umodel`.`ID` = #{umodelId}
|
</if>
|
<if test="umodelDeleted != null">
|
AND `umodel`.`DELETED` = #{umodelDeleted}
|
</if>
|
<if test="umodelCreateUser != null">
|
AND `umodel`.`CREATE_USER` = #{umodelCreateUser}
|
</if>
|
<if test="umodelCreateTime != null">
|
AND `umodel`.`CREATE_TIME` = #{umodelCreateTime}
|
</if>
|
<if test="umodelUpdateUser != null">
|
AND `umodel`.`UPDATE_USER` = #{umodelUpdateUser}
|
</if>
|
<if test="umodelUpdateTime != null">
|
AND `umodel`.`UPDATE_TIME` = #{umodelUpdateTime}
|
</if>
|
<if test="umodelFixed != null">
|
AND `umodel`.`FIXED` = #{umodelFixed}
|
</if>
|
<if test="umodelPassword != null and umodelPassword != ''">
|
AND `umodel`.`PASSWORD` = #{umodelPassword}
|
</if>
|
<if test="umodelSalt != null and umodelSalt != ''">
|
AND `umodel`.`SALT` = #{umodelSalt}
|
</if>
|
<if test="umodelAvatar != null and umodelAvatar != ''">
|
AND `umodel`.`AVATAR` = #{umodelAvatar}
|
</if>
|
<if test="umodelMobile != null and umodelMobile != ''">
|
AND `umodel`.`MOBILE` = #{umodelMobile}
|
</if>
|
<if test="umodelEmail != null and umodelEmail != ''">
|
AND `umodel`.`EMAIL` = #{umodelEmail}
|
</if>
|
<if test="umodelSex != null and umodelSex != ''">
|
AND `umodel`.`SEX` = #{umodelSex}
|
</if>
|
<if test="umodelBirthday != null">
|
AND `umodel`.`BIRTHDAY` = #{umodelBirthday}
|
</if>
|
<if test="umodelEmpNo != null and umodelEmpNo != ''">
|
AND `umodel`.`EMP_NO` = #{umodelEmpNo}
|
</if>
|
<if test="umodelRealname != null and umodelRealname != ''">
|
AND `umodel`.`REALNAME` = #{umodelRealname}
|
</if>
|
<if test="umodelUsername != null and umodelUsername != ''">
|
AND `umodel`.`USERNAME` = #{umodelUsername}
|
</if>
|
<if test="umodelSystemid != null and umodelSystemid != ''">
|
AND `umodel`.`SYSTEMID` = #{umodelSystemid}
|
</if>
|
<if test="umodelInvalidTime != null">
|
AND `umodel`.`INVALID_TIME` = #{umodelInvalidTime}
|
</if>
|
<if test="umodelType != null">
|
AND `umodel`.`TYPE` = #{umodelType}
|
</if>
|
<if test="wmodelId != null">
|
AND `wmodel`.`ID` = #{wmodelId}
|
</if>
|
<if test="wmodelDeleted != null">
|
AND `wmodel`.`DELETED` = #{wmodelDeleted}
|
</if>
|
<if test="wmodelCreateUser != null">
|
AND `wmodel`.`CREATE_USER` = #{wmodelCreateUser}
|
</if>
|
<if test="wmodelCreateTime != null">
|
AND `wmodel`.`CREATE_TIME` = #{wmodelCreateTime}
|
</if>
|
<if test="wmodelUpdateUser != null">
|
AND `wmodel`.`UPDATE_USER` = #{wmodelUpdateUser}
|
</if>
|
<if test="wmodelUpdateTime != null">
|
AND `wmodel`.`UPDATE_TIME` = #{wmodelUpdateTime}
|
</if>
|
<if test="wmodelRemark != null and wmodelRemark != ''">
|
AND `wmodel`.`REMARK` = #{wmodelRemark}
|
</if>
|
<if test="wmodelRootDepartId != null">
|
AND `wmodel`.`ROOT_DEPART_ID` = #{wmodelRootDepartId}
|
</if>
|
<if test="wmodelDepartId != null">
|
AND `wmodel`.`DEPART_ID` = #{wmodelDepartId}
|
</if>
|
<if test="wmodelProcedureId != null">
|
AND `wmodel`.`PROCEDURE_ID` = #{wmodelProcedureId}
|
</if>
|
<if test="wmodelQrcode != null">
|
AND `wmodel`.`QRCODE` = #{wmodelQrcode}
|
</if>
|
<if test="wmodelName != null and wmodelName != ''">
|
AND `wmodel`.`NAME` = #{wmodelName}
|
</if>
|
<if test="wmodelUseLocation != null">
|
AND `wmodel`.`USE_LOCATION` = #{wmodelUseLocation}
|
</if>
|
<if test="wmodelStatus != null">
|
AND `wmodel`.`STATUS` = #{wmodelStatus}
|
</if>
|
<if test="wmodelAddr != null and wmodelAddr != ''">
|
AND `wmodel`.`ADDR` = #{wmodelAddr}
|
</if>
|
<if test="rmodelId != null">
|
AND `rmodel`.`ID` = #{rmodelId}
|
</if>
|
<if test="rmodelDeleted != null">
|
AND `rmodel`.`DELETED` = #{rmodelDeleted}
|
</if>
|
<if test="rmodelCreateUser != null">
|
AND `rmodel`.`CREATE_USER` = #{rmodelCreateUser}
|
</if>
|
<if test="rmodelCreateTime != null">
|
AND `rmodel`.`CREATE_TIME` = #{rmodelCreateTime}
|
</if>
|
<if test="rmodelUpdateUser != null">
|
AND `rmodel`.`UPDATE_USER` = #{rmodelUpdateUser}
|
</if>
|
<if test="rmodelUpdateTime != null">
|
AND `rmodel`.`UPDATE_TIME` = #{rmodelUpdateTime}
|
</if>
|
<if test="rmodelFixed != null">
|
AND `rmodel`.`FIXED` = #{rmodelFixed}
|
</if>
|
<if test="rmodelPassword != null and rmodelPassword != ''">
|
AND `rmodel`.`PASSWORD` = #{rmodelPassword}
|
</if>
|
<if test="rmodelSalt != null and rmodelSalt != ''">
|
AND `rmodel`.`SALT` = #{rmodelSalt}
|
</if>
|
<if test="rmodelAvatar != null and rmodelAvatar != ''">
|
AND `rmodel`.`AVATAR` = #{rmodelAvatar}
|
</if>
|
<if test="rmodelMobile != null and rmodelMobile != ''">
|
AND `rmodel`.`MOBILE` = #{rmodelMobile}
|
</if>
|
<if test="rmodelEmail != null and rmodelEmail != ''">
|
AND `rmodel`.`EMAIL` = #{rmodelEmail}
|
</if>
|
<if test="rmodelSex != null and rmodelSex != ''">
|
AND `rmodel`.`SEX` = #{rmodelSex}
|
</if>
|
<if test="rmodelBirthday != null">
|
AND `rmodel`.`BIRTHDAY` = #{rmodelBirthday}
|
</if>
|
<if test="rmodelEmpNo != null and rmodelEmpNo != ''">
|
AND `rmodel`.`EMP_NO` = #{rmodelEmpNo}
|
</if>
|
<if test="rmodelRealname != null and rmodelRealname != ''">
|
AND `rmodel`.`REALNAME` = #{rmodelRealname}
|
</if>
|
<if test="rmodelUsername != null and rmodelUsername != ''">
|
AND `rmodel`.`USERNAME` = #{rmodelUsername}
|
</if>
|
<if test="rmodelSystemid != null and rmodelSystemid != ''">
|
AND `rmodel`.`SYSTEMID` = #{rmodelSystemid}
|
</if>
|
<if test="rmodelInvalidTime != null">
|
AND `rmodel`.`INVALID_TIME` = #{rmodelInvalidTime}
|
</if>
|
<if test="rmodelType != null">
|
AND `rmodel`.`TYPE` = #{rmodelType}
|
</if>
|
</where>
|
</select>
|
</mapper>
|