|
|
@@ -0,0 +1,443 @@
|
|
|
+<?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.mirage.mirageservice.mapper.mysql.FamilyMemberInfoMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.mirage.mirageservice.domain.FamilyMemberInfo">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ <!--@Table family_member_info-->
|
|
|
+ <id column="id" jdbcType="BIGINT" property="id" />
|
|
|
+ <result column="uid" jdbcType="BIGINT" property="uid" />
|
|
|
+ <result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
+ <result column="former_name" jdbcType="VARCHAR" property="formerName" />
|
|
|
+ <result column="childhood_name" jdbcType="VARCHAR" property="childhoodName" />
|
|
|
+ <result column="name_word" jdbcType="VARCHAR" property="nameWord" />
|
|
|
+ <result column="name_word_generation" jdbcType="VARCHAR" property="nameWordGeneration" />
|
|
|
+ <result column="name_title" jdbcType="VARCHAR" property="nameTitle" />
|
|
|
+ <result column="sex" jdbcType="INTEGER" property="sex" />
|
|
|
+ <result column="birthday" jdbcType="BIGINT" property="birthday" />
|
|
|
+ <result column="is_pass_away" jdbcType="INTEGER" property="isPassAway" />
|
|
|
+ <result column="pass_away_time" jdbcType="TIMESTAMP" property="passAwayTime" />
|
|
|
+ <result column="marital_status" jdbcType="INTEGER" property="maritalStatus" />
|
|
|
+ <result column="birth_place" jdbcType="VARCHAR" property="birthPlace" />
|
|
|
+ <result column="branch_family_hall" jdbcType="VARCHAR" property="branchFamilyHall" />
|
|
|
+ <result column="cluster_place" jdbcType="VARCHAR" property="clusterPlace" />
|
|
|
+ <result column="nation" jdbcType="VARCHAR" property="nation" />
|
|
|
+ <result column="residential_address" jdbcType="VARCHAR" property="residentialAddress" />
|
|
|
+ <result column="phone" jdbcType="VARCHAR" property="phone" />
|
|
|
+ <result column="mail" jdbcType="VARCHAR" property="mail" />
|
|
|
+ <result column="wechat_account" jdbcType="VARCHAR" property="wechatAccount" />
|
|
|
+ <result column="head_img_url" jdbcType="VARCHAR" property="headImgUrl" />
|
|
|
+ <result column="id_number" jdbcType="VARCHAR" property="idNumber" />
|
|
|
+ <result column="occupation" jdbcType="LONGVARCHAR" property="occupation" />
|
|
|
+ <result column="educational" jdbcType="LONGVARCHAR" property="educational" />
|
|
|
+ <result column="blood_type" jdbcType="VARCHAR" property="bloodType" />
|
|
|
+ <result column="religion" jdbcType="VARCHAR" property="religion" />
|
|
|
+ <result column="hobbies" jdbcType="VARCHAR" property="hobbies" />
|
|
|
+ <result column="personal_achievements" jdbcType="LONGVARCHAR" property="personalAchievements" />
|
|
|
+ <result column="create_uid" jdbcType="BIGINT" property="createUid" />
|
|
|
+ <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="modified_time" jdbcType="TIMESTAMP" property="modifiedTime" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ id, `uid`, `name`, former_name, childhood_name, name_word, name_word_generation,
|
|
|
+ name_title, sex, birthday, is_pass_away, pass_away_time, marital_status, birth_place,
|
|
|
+ branch_family_hall, cluster_place, nation, residential_address, phone, mail, wechat_account,
|
|
|
+ head_img_url, id_number, occupation, educational, blood_type, religion, hobbies,
|
|
|
+ personal_achievements, create_uid, create_time, modified_time
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from family_member_info
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ delete from family_member_info
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.mirage.mirageservice.domain.FamilyMemberInfo" useGeneratedKeys="true">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ insert into family_member_info (`uid`, `name`, former_name,
|
|
|
+ childhood_name, name_word, name_word_generation,
|
|
|
+ name_title, sex, birthday,
|
|
|
+ is_pass_away, pass_away_time, marital_status,
|
|
|
+ birth_place, branch_family_hall, cluster_place,
|
|
|
+ nation, residential_address, phone,
|
|
|
+ mail, wechat_account, head_img_url,
|
|
|
+ id_number, occupation, educational,
|
|
|
+ blood_type, religion, hobbies,
|
|
|
+ personal_achievements, create_uid, create_time,
|
|
|
+ modified_time)
|
|
|
+ values (#{uid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{formerName,jdbcType=VARCHAR},
|
|
|
+ #{childhoodName,jdbcType=VARCHAR}, #{nameWord,jdbcType=VARCHAR}, #{nameWordGeneration,jdbcType=VARCHAR},
|
|
|
+ #{nameTitle,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER}, #{birthday,jdbcType=BIGINT},
|
|
|
+ #{isPassAway,jdbcType=INTEGER}, #{passAwayTime,jdbcType=TIMESTAMP}, #{maritalStatus,jdbcType=INTEGER},
|
|
|
+ #{birthPlace,jdbcType=VARCHAR}, #{branchFamilyHall,jdbcType=VARCHAR}, #{clusterPlace,jdbcType=VARCHAR},
|
|
|
+ #{nation,jdbcType=VARCHAR}, #{residentialAddress,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
|
+ #{mail,jdbcType=VARCHAR}, #{wechatAccount,jdbcType=VARCHAR}, #{headImgUrl,jdbcType=VARCHAR},
|
|
|
+ #{idNumber,jdbcType=VARCHAR}, #{occupation,jdbcType=LONGVARCHAR}, #{educational,jdbcType=LONGVARCHAR},
|
|
|
+ #{bloodType,jdbcType=VARCHAR}, #{religion,jdbcType=VARCHAR}, #{hobbies,jdbcType=VARCHAR},
|
|
|
+ #{personalAchievements,jdbcType=LONGVARCHAR}, #{createUid,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{modifiedTime,jdbcType=TIMESTAMP})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.mirage.mirageservice.domain.FamilyMemberInfo" useGeneratedKeys="true">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ insert into family_member_info
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="uid != null">
|
|
|
+ `uid`,
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ `name`,
|
|
|
+ </if>
|
|
|
+ <if test="formerName != null">
|
|
|
+ former_name,
|
|
|
+ </if>
|
|
|
+ <if test="childhoodName != null">
|
|
|
+ childhood_name,
|
|
|
+ </if>
|
|
|
+ <if test="nameWord != null">
|
|
|
+ name_word,
|
|
|
+ </if>
|
|
|
+ <if test="nameWordGeneration != null">
|
|
|
+ name_word_generation,
|
|
|
+ </if>
|
|
|
+ <if test="nameTitle != null">
|
|
|
+ name_title,
|
|
|
+ </if>
|
|
|
+ <if test="sex != null">
|
|
|
+ sex,
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null">
|
|
|
+ birthday,
|
|
|
+ </if>
|
|
|
+ <if test="isPassAway != null">
|
|
|
+ is_pass_away,
|
|
|
+ </if>
|
|
|
+ <if test="passAwayTime != null">
|
|
|
+ pass_away_time,
|
|
|
+ </if>
|
|
|
+ <if test="maritalStatus != null">
|
|
|
+ marital_status,
|
|
|
+ </if>
|
|
|
+ <if test="birthPlace != null">
|
|
|
+ birth_place,
|
|
|
+ </if>
|
|
|
+ <if test="branchFamilyHall != null">
|
|
|
+ branch_family_hall,
|
|
|
+ </if>
|
|
|
+ <if test="clusterPlace != null">
|
|
|
+ cluster_place,
|
|
|
+ </if>
|
|
|
+ <if test="nation != null">
|
|
|
+ nation,
|
|
|
+ </if>
|
|
|
+ <if test="residentialAddress != null">
|
|
|
+ residential_address,
|
|
|
+ </if>
|
|
|
+ <if test="phone != null">
|
|
|
+ phone,
|
|
|
+ </if>
|
|
|
+ <if test="mail != null">
|
|
|
+ mail,
|
|
|
+ </if>
|
|
|
+ <if test="wechatAccount != null">
|
|
|
+ wechat_account,
|
|
|
+ </if>
|
|
|
+ <if test="headImgUrl != null">
|
|
|
+ head_img_url,
|
|
|
+ </if>
|
|
|
+ <if test="idNumber != null">
|
|
|
+ id_number,
|
|
|
+ </if>
|
|
|
+ <if test="occupation != null">
|
|
|
+ occupation,
|
|
|
+ </if>
|
|
|
+ <if test="educational != null">
|
|
|
+ educational,
|
|
|
+ </if>
|
|
|
+ <if test="bloodType != null">
|
|
|
+ blood_type,
|
|
|
+ </if>
|
|
|
+ <if test="religion != null">
|
|
|
+ religion,
|
|
|
+ </if>
|
|
|
+ <if test="hobbies != null">
|
|
|
+ hobbies,
|
|
|
+ </if>
|
|
|
+ <if test="personalAchievements != null">
|
|
|
+ personal_achievements,
|
|
|
+ </if>
|
|
|
+ <if test="createUid != null">
|
|
|
+ create_uid,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="modifiedTime != null">
|
|
|
+ modified_time,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="uid != null">
|
|
|
+ #{uid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ #{name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="formerName != null">
|
|
|
+ #{formerName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="childhoodName != null">
|
|
|
+ #{childhoodName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameWord != null">
|
|
|
+ #{nameWord,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameWordGeneration != null">
|
|
|
+ #{nameWordGeneration,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameTitle != null">
|
|
|
+ #{nameTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sex != null">
|
|
|
+ #{sex,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null">
|
|
|
+ #{birthday,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="isPassAway != null">
|
|
|
+ #{isPassAway,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="passAwayTime != null">
|
|
|
+ #{passAwayTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="maritalStatus != null">
|
|
|
+ #{maritalStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="birthPlace != null">
|
|
|
+ #{birthPlace,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="branchFamilyHall != null">
|
|
|
+ #{branchFamilyHall,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="clusterPlace != null">
|
|
|
+ #{clusterPlace,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nation != null">
|
|
|
+ #{nation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="residentialAddress != null">
|
|
|
+ #{residentialAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="phone != null">
|
|
|
+ #{phone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="mail != null">
|
|
|
+ #{mail,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="wechatAccount != null">
|
|
|
+ #{wechatAccount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="headImgUrl != null">
|
|
|
+ #{headImgUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="idNumber != null">
|
|
|
+ #{idNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="occupation != null">
|
|
|
+ #{occupation,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="educational != null">
|
|
|
+ #{educational,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bloodType != null">
|
|
|
+ #{bloodType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="religion != null">
|
|
|
+ #{religion,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="hobbies != null">
|
|
|
+ #{hobbies,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="personalAchievements != null">
|
|
|
+ #{personalAchievements,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUid != null">
|
|
|
+ #{createUid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifiedTime != null">
|
|
|
+ #{modifiedTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.mirage.mirageservice.domain.FamilyMemberInfo">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ update family_member_info
|
|
|
+ <set>
|
|
|
+ <if test="uid != null">
|
|
|
+ `uid` = #{uid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ `name` = #{name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="formerName != null">
|
|
|
+ former_name = #{formerName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="childhoodName != null">
|
|
|
+ childhood_name = #{childhoodName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameWord != null">
|
|
|
+ name_word = #{nameWord,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameWordGeneration != null">
|
|
|
+ name_word_generation = #{nameWordGeneration,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nameTitle != null">
|
|
|
+ name_title = #{nameTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sex != null">
|
|
|
+ sex = #{sex,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null">
|
|
|
+ birthday = #{birthday,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="isPassAway != null">
|
|
|
+ is_pass_away = #{isPassAway,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="passAwayTime != null">
|
|
|
+ pass_away_time = #{passAwayTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="maritalStatus != null">
|
|
|
+ marital_status = #{maritalStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="birthPlace != null">
|
|
|
+ birth_place = #{birthPlace,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="branchFamilyHall != null">
|
|
|
+ branch_family_hall = #{branchFamilyHall,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="clusterPlace != null">
|
|
|
+ cluster_place = #{clusterPlace,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="nation != null">
|
|
|
+ nation = #{nation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="residentialAddress != null">
|
|
|
+ residential_address = #{residentialAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="phone != null">
|
|
|
+ phone = #{phone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="mail != null">
|
|
|
+ mail = #{mail,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="wechatAccount != null">
|
|
|
+ wechat_account = #{wechatAccount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="headImgUrl != null">
|
|
|
+ head_img_url = #{headImgUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="idNumber != null">
|
|
|
+ id_number = #{idNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="occupation != null">
|
|
|
+ occupation = #{occupation,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="educational != null">
|
|
|
+ educational = #{educational,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bloodType != null">
|
|
|
+ blood_type = #{bloodType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="religion != null">
|
|
|
+ religion = #{religion,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="hobbies != null">
|
|
|
+ hobbies = #{hobbies,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="personalAchievements != null">
|
|
|
+ personal_achievements = #{personalAchievements,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUid != null">
|
|
|
+ create_uid = #{createUid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifiedTime != null">
|
|
|
+ modified_time = #{modifiedTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.mirage.mirageservice.domain.FamilyMemberInfo">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ update family_member_info
|
|
|
+ set `uid` = #{uid,jdbcType=BIGINT},
|
|
|
+ `name` = #{name,jdbcType=VARCHAR},
|
|
|
+ former_name = #{formerName,jdbcType=VARCHAR},
|
|
|
+ childhood_name = #{childhoodName,jdbcType=VARCHAR},
|
|
|
+ name_word = #{nameWord,jdbcType=VARCHAR},
|
|
|
+ name_word_generation = #{nameWordGeneration,jdbcType=VARCHAR},
|
|
|
+ name_title = #{nameTitle,jdbcType=VARCHAR},
|
|
|
+ sex = #{sex,jdbcType=INTEGER},
|
|
|
+ birthday = #{birthday,jdbcType=BIGINT},
|
|
|
+ is_pass_away = #{isPassAway,jdbcType=INTEGER},
|
|
|
+ pass_away_time = #{passAwayTime,jdbcType=TIMESTAMP},
|
|
|
+ marital_status = #{maritalStatus,jdbcType=INTEGER},
|
|
|
+ birth_place = #{birthPlace,jdbcType=VARCHAR},
|
|
|
+ branch_family_hall = #{branchFamilyHall,jdbcType=VARCHAR},
|
|
|
+ cluster_place = #{clusterPlace,jdbcType=VARCHAR},
|
|
|
+ nation = #{nation,jdbcType=VARCHAR},
|
|
|
+ residential_address = #{residentialAddress,jdbcType=VARCHAR},
|
|
|
+ phone = #{phone,jdbcType=VARCHAR},
|
|
|
+ mail = #{mail,jdbcType=VARCHAR},
|
|
|
+ wechat_account = #{wechatAccount,jdbcType=VARCHAR},
|
|
|
+ head_img_url = #{headImgUrl,jdbcType=VARCHAR},
|
|
|
+ id_number = #{idNumber,jdbcType=VARCHAR},
|
|
|
+ occupation = #{occupation,jdbcType=LONGVARCHAR},
|
|
|
+ educational = #{educational,jdbcType=LONGVARCHAR},
|
|
|
+ blood_type = #{bloodType,jdbcType=VARCHAR},
|
|
|
+ religion = #{religion,jdbcType=VARCHAR},
|
|
|
+ hobbies = #{hobbies,jdbcType=VARCHAR},
|
|
|
+ personal_achievements = #{personalAchievements,jdbcType=LONGVARCHAR},
|
|
|
+ create_uid = #{createUid,jdbcType=BIGINT},
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ modified_time = #{modifiedTime,jdbcType=TIMESTAMP}
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+
|
|
|
+<!--auto generated by MybatisCodeHelper on 2025-10-21-->
|
|
|
+ <select id="selectAllByName" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from family_member_info
|
|
|
+ where `name`=#{name,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+
|
|
|
+<!--auto generated by MybatisCodeHelper on 2025-10-21-->
|
|
|
+ <select id="selectByUid" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from family_member_info
|
|
|
+ where `uid`=#{uid,jdbcType=BIGINT} LIMIT 1
|
|
|
+ </select>
|
|
|
+
|
|
|
+<!--auto generated by MybatisCodeHelper on 2025-10-21-->
|
|
|
+ <select id="selectByIdIn" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from family_member_info
|
|
|
+ where id in
|
|
|
+ <foreach close=")" collection="idCollection" index="index" item="item" open="(" separator=",">
|
|
|
+ #{item,jdbcType=BIGINT}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
+
|
|
|
+</mapper>
|