liusheng
2024-10-17 723d38375c45d24737bfef6f33a9686254abf99b
smartor/src/main/resources/mapper/smartor/PatArchiveImportMapper.xml
@@ -24,7 +24,22 @@
    </resultMap>
    <sql id="selectPatArchiveImportVo">
        select id, patientno, pattype, name, sex, idcardno, age, telcode, openid, del_flag, update_by, update_time, create_by, create_time, batch_name, batch_no
        select id,
               patientno,
               pattype,
               name,
               sex,
               idcardno,
               age,
               telcode,
               openid,
               del_flag,
               update_by,
               update_time,
               create_by,
               create_time,
               batch_name,
               batch_no
        from pat_archive_import
    </sql>
@@ -71,7 +86,8 @@
            where id = #{id}
    </select>
    <insert id="insertPatArchiveImport" parameterType="com.smartor.domain.PatArchiveImport"            useGeneratedKeys="true" keyProperty="id">
    <insert id="insertPatArchiveImport" parameterType="com.smartor.domain.PatArchiveImport" useGeneratedKeys="true"
            keyProperty="id">
        insert into pat_archive_import
        <trim prefix="(" suffix=")" suffixOverrides=",">
                    <if test="patientno != null">patientno,
@@ -209,8 +225,6 @@
            #{id}
        </foreach>
    </update>
</mapper>