|
|
@@ -5,54 +5,54 @@
|
|
|
<mapper namespace="com.jzg.mapper.SysUserJzgInfoMapper">
|
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.jzg.commons.entity.po.SysUserJzgInfo">
|
|
|
- <id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
- <result property="userId" column="user_id" jdbcType="VARCHAR"/>
|
|
|
- <result property="systemCode" column="system_code" jdbcType="VARCHAR"/>
|
|
|
- <result property="status" column="status" jdbcType="TINYINT"/>
|
|
|
- <result property="deptId" column="dept_id" jdbcType="VARCHAR"/>
|
|
|
- <result property="openId" column="open_id" jdbcType="VARCHAR"/>
|
|
|
- <result property="alipay" column="alipay" jdbcType="VARCHAR"/>
|
|
|
- <result property="approvalOpinion" column="approval_opinion" jdbcType="VARCHAR"/>
|
|
|
- <result property="identity" column="identity" jdbcType="VARCHAR"/>
|
|
|
- <result property="identityTimeStart" column="identity_time_start" jdbcType="VARCHAR"/>
|
|
|
- <result property="identityTimeEnd" column="identity_time_end" jdbcType="VARCHAR"/>
|
|
|
- <result property="logoutTime" column="logout_time" jdbcType="DATE"/>
|
|
|
- <result property="headSculpture" column="head_sculpture" jdbcType="VARCHAR"/>
|
|
|
- <result property="factorVerify" column="factor_verify" jdbcType="TINYINT"/>
|
|
|
- <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
- <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
- <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
- <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
- <result property="address" column="address" jdbcType="VARCHAR"/>
|
|
|
- <result property="nations" column="nations" jdbcType="VARCHAR"/>
|
|
|
- <result property="bankName" column="bank_name" jdbcType="VARCHAR"/>
|
|
|
- <result property="bankCardId" column="bank_card_id" jdbcType="VARCHAR"/>
|
|
|
- <result property="koseki" column="koseki" jdbcType="VARCHAR"/>
|
|
|
- <result property="birthday" column="birthday" jdbcType="DATE"/>
|
|
|
- <result property="maritalStatus" column="marital_status" jdbcType="VARCHAR"/>
|
|
|
- <result property="politicsStatus" column="politics_status" jdbcType="VARCHAR"/>
|
|
|
- <result property="health" column="health" jdbcType="VARCHAR"/>
|
|
|
- <result property="postalCode" column="postal_code" jdbcType="VARCHAR"/>
|
|
|
- <result property="bloodType" column="blood_type" jdbcType="VARCHAR"/>
|
|
|
- <result property="education" column="education" jdbcType="VARCHAR"/>
|
|
|
- <result property="school" column="school" jdbcType="VARCHAR"/>
|
|
|
- <result property="graduationTime" column="graduation_time" jdbcType="DATE"/>
|
|
|
- <result property="isComputer" column="is_computer" jdbcType="TINYINT"/>
|
|
|
- <result property="formerEmployer" column="former_employer" jdbcType="VARCHAR"/>
|
|
|
- <result property="entryTime" column="entry_time" jdbcType="DATE"/>
|
|
|
- <result property="agentQualificationCode" column="agent_qualification_code" jdbcType="VARCHAR"/>
|
|
|
- <result property="emergencyContactTel" column="emergency_contact_tel" jdbcType="VARCHAR"/>
|
|
|
- <result property="emergencyContactName" column="emergency_contact_name" jdbcType="VARCHAR"/>
|
|
|
- <result property="remark" column="remark" jdbcType="VARCHAR"/>
|
|
|
- <result property="email" column="email" jdbcType="VARCHAR"/>
|
|
|
- <result property="sex" column="sex" jdbcType="VARCHAR"/>
|
|
|
- <result property="speciality" column="speciality" jdbcType="VARCHAR"/>
|
|
|
- <result property="salary" column="salary" jdbcType="DECIMAL"/>
|
|
|
- <result property="salaryLevel" column="salary_level" jdbcType="VARCHAR"/>
|
|
|
- <result property="liveAddress" column="live_address" jdbcType="VARCHAR"/>
|
|
|
- <result property="province" column="province" jdbcType="VARCHAR"/>
|
|
|
- <result property="city" column="city" jdbcType="VARCHAR"/>
|
|
|
- <result property="district" column="district" jdbcType="VARCHAR"/>
|
|
|
+ <id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="userId" column="user_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="systemCode" column="system_code" jdbcType="VARCHAR"/>
|
|
|
+ <result property="status" column="status" jdbcType="TINYINT"/>
|
|
|
+ <result property="deptId" column="dept_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="openId" column="open_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="alipay" column="alipay" jdbcType="VARCHAR"/>
|
|
|
+ <result property="approvalOpinion" column="approval_opinion" jdbcType="VARCHAR"/>
|
|
|
+ <result property="identity" column="identity" jdbcType="VARCHAR"/>
|
|
|
+ <result property="identityTimeStart" column="identity_time_start" jdbcType="VARCHAR"/>
|
|
|
+ <result property="identityTimeEnd" column="identity_time_end" jdbcType="VARCHAR"/>
|
|
|
+ <result property="logoutTime" column="logout_time" jdbcType="DATE"/>
|
|
|
+ <result property="headSculpture" column="head_sculpture" jdbcType="VARCHAR"/>
|
|
|
+ <result property="factorVerify" column="factor_verify" jdbcType="TINYINT"/>
|
|
|
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="address" column="address" jdbcType="VARCHAR"/>
|
|
|
+ <result property="nations" column="nations" jdbcType="VARCHAR"/>
|
|
|
+ <result property="bankName" column="bank_name" jdbcType="VARCHAR"/>
|
|
|
+ <result property="bankCardId" column="bank_card_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="koseki" column="koseki" jdbcType="VARCHAR"/>
|
|
|
+ <result property="birthday" column="birthday" jdbcType="DATE"/>
|
|
|
+ <result property="maritalStatus" column="marital_status" jdbcType="VARCHAR"/>
|
|
|
+ <result property="politicsStatus" column="politics_status" jdbcType="VARCHAR"/>
|
|
|
+ <result property="health" column="health" jdbcType="VARCHAR"/>
|
|
|
+ <result property="postalCode" column="postal_code" jdbcType="VARCHAR"/>
|
|
|
+ <result property="bloodType" column="blood_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="education" column="education" jdbcType="VARCHAR"/>
|
|
|
+ <result property="school" column="school" jdbcType="VARCHAR"/>
|
|
|
+ <result property="graduationTime" column="graduation_time" jdbcType="DATE"/>
|
|
|
+ <result property="isComputer" column="is_computer" jdbcType="TINYINT"/>
|
|
|
+ <result property="formerEmployer" column="former_employer" jdbcType="VARCHAR"/>
|
|
|
+ <result property="entryTime" column="entry_time" jdbcType="DATE"/>
|
|
|
+ <result property="agentQualificationCode" column="agent_qualification_code" jdbcType="VARCHAR"/>
|
|
|
+ <result property="emergencyContactTel" column="emergency_contact_tel" jdbcType="VARCHAR"/>
|
|
|
+ <result property="emergencyContactName" column="emergency_contact_name" jdbcType="VARCHAR"/>
|
|
|
+ <result property="remark" column="remark" jdbcType="VARCHAR"/>
|
|
|
+ <result property="email" column="email" jdbcType="VARCHAR"/>
|
|
|
+ <result property="sex" column="sex" jdbcType="VARCHAR"/>
|
|
|
+ <result property="speciality" column="speciality" jdbcType="VARCHAR"/>
|
|
|
+ <result property="salary" column="salary" jdbcType="DECIMAL"/>
|
|
|
+ <result property="salaryLevel" column="salary_level" jdbcType="VARCHAR"/>
|
|
|
+ <result property="liveAddress" column="live_address" jdbcType="VARCHAR"/>
|
|
|
+ <result property="province" column="province" jdbcType="VARCHAR"/>
|
|
|
+ <result property="city" column="city" jdbcType="VARCHAR"/>
|
|
|
+ <result property="district" column="district" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
@@ -75,6 +75,10 @@
|
|
|
</sql>
|
|
|
<!-- 一个业务员可能存在于多个租户 lipf 2026年4月24日17:56:31 -->
|
|
|
<select id="queryJzgInfoByUserId" resultMap="BaseResultMap">
|
|
|
- select * from sys_user_jzg_info a where a.user_id = #{userId,jdbcType=DECIMAL} and a.is_delete = 0
|
|
|
+ select * from sys_user_jzg_info a
|
|
|
+ <where>
|
|
|
+ a.user_id = #{userId,jdbcType=DECIMAL}
|
|
|
+ and a.is_delete = 0
|
|
|
+ </where>
|
|
|
</select>
|
|
|
-</mapper>
|
|
|
+</mapper>
|