<?xml version="1.0" encoding="UTF-8"?> <!-- ~ ~ Copyright (c) 2018-2025, lengleng All rights reserved. ~ ~ Redistribution and use in source and binary forms, with or without ~ modification, are permitted provided that the following conditions are met: ~ ~ Redistributions of source code must retain the above copyright notice, ~ this list of conditions and the following disclaimer. ~ Redistributions in binary form must reproduce the above copyright ~ notice, this list of conditions and the following disclaimer in the ~ documentation and/or other materials provided with the distribution. ~ Neither the name of the yifu4cloud.com developer nor the names of its ~ contributors may be used to endorse or promote products derived from ~ this software without specific prior written permission. ~ Author: lengleng (wangiegie@gmail.com) ~ --> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.yifu.cloud.plus.v1.yifu.social.mapper.TEkpChangeDeptLogMapper"> <resultMap id="tEkpChangeDeptLogMap" type="com.yifu.cloud.plus.v1.yifu.social.entity.TEkpChangeDeptLog"> <id property="id" column="ID"/> <result property="createName" column="CREATE_NAME"/> <result property="createTime" column="CREATE_TIME"/> <result property="preDeptName" column="PRE_DEPT_NAME"/> <result property="preDeptNo" column="PRE_DEPT_NO"/> <result property="newDeptName" column="NEW_DEPT_NAME"/> <result property="newDeptNo" column="NEW_DEPT_NO"/> <result property="transferType" column="TRANSFER_TYPE"/> <result property="socialId" column="SOCIAL_ID"/> <result property="fundId" column="FUND_ID"/> <result property="manageId" column="MANAGE_ID"/> <result property="riskId" column="RISK_ID"/> <result property="insuranceId" column="INSURANCE_ID"/> </resultMap> <sql id="Base_Column_List"> a.ID, a.CREATE_NAME, a.CREATE_TIME, a.PRE_DEPT_NAME, a.PRE_DEPT_NO, a.NEW_DEPT_NAME, a.NEW_DEPT_NO, a.TRANSFER_TYPE, a.SOCIAL_ID, a.FUND_ID, a.MANAGE_ID, a.RISK_ID, a.INSURANCE_ID </sql> <sql id="tEkpChangeDeptLog_where"> <if test="tEkpChangeDeptLog != null"> <if test="tEkpChangeDeptLog.id != null and tEkpChangeDeptLog.id.trim() != ''"> AND a.ID = #{tEkpChangeDeptLog.id} </if> <if test="tEkpChangeDeptLog.createName != null and tEkpChangeDeptLog.createName.trim() != ''"> AND a.CREATE_NAME = #{tEkpChangeDeptLog.createName} </if> <if test="tEkpChangeDeptLog.createTime != null"> AND a.CREATE_TIME = #{tEkpChangeDeptLog.createTime} </if> <if test="tEkpChangeDeptLog.preDeptName != null and tEkpChangeDeptLog.preDeptName.trim() != ''"> AND a.PRE_DEPT_NAME = #{tEkpChangeDeptLog.preDeptName} </if> <if test="tEkpChangeDeptLog.preDeptNo != null and tEkpChangeDeptLog.preDeptNo.trim() != ''"> AND a.PRE_DEPT_NO = #{tEkpChangeDeptLog.preDeptNo} </if> <if test="tEkpChangeDeptLog.newDeptName != null and tEkpChangeDeptLog.newDeptName.trim() != ''"> AND a.NEW_DEPT_NAME = #{tEkpChangeDeptLog.newDeptName} </if> <if test="tEkpChangeDeptLog.newDeptNo != null and tEkpChangeDeptLog.newDeptNo.trim() != ''"> AND a.NEW_DEPT_NO = #{tEkpChangeDeptLog.newDeptNo} </if> <if test="tEkpChangeDeptLog.transferType != null and tEkpChangeDeptLog.transferType.trim() != ''"> AND a.TRANSFER_TYPE = #{tEkpChangeDeptLog.transferType} </if> <if test="tEkpChangeDeptLog.socialId != null and tEkpChangeDeptLog.socialId.trim() != ''"> AND a.SOCIAL_ID = #{tEkpChangeDeptLog.socialId} </if> <if test="tEkpChangeDeptLog.fundId != null and tEkpChangeDeptLog.fundId.trim() != ''"> AND a.FUND_ID = #{tEkpChangeDeptLog.fundId} </if> <if test="tEkpChangeDeptLog.manageId != null and tEkpChangeDeptLog.manageId.trim() != ''"> AND a.MANAGE_ID = #{tEkpChangeDeptLog.manageId} </if> <if test="tEkpChangeDeptLog.riskId != null and tEkpChangeDeptLog.riskId.trim() != ''"> AND a.RISK_ID = #{tEkpChangeDeptLog.riskId} </if> <if test="tEkpChangeDeptLog.insuranceId != null and tEkpChangeDeptLog.insuranceId.trim() != ''"> AND a.INSURANCE_ID = #{tEkpChangeDeptLog.insuranceId} </if> </if> </sql> </mapper>