liusheng
14 小时以前 ab2884ade73fed97d1e7d7daf4b9b5b6dee83fdd
ruoyi-patarchive/src/main/resources/mapper/patarchive/PatArchiveOutMapper.xml
文件名从 smartor/src/main/resources/mapper/smartor/PatArchiveOutMapper.xml 修改
@@ -2,9 +2,9 @@
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.smartor.mapper.PatArchiveOutMapper">
<mapper namespace="com.ruoyi.patarchive.mapper.PatArchiveOutMapper">
    <resultMap type="com.smartor.domain.PatArchiveOut" id="PatArchiveOutResult">
    <resultMap type="com.ruoyi.patarchive.domain.PatArchiveOut" id="PatArchiveOutResult">
        <result property="patid" column="patid"/>
        <result property="patientno" column="patientno"/>
        <result property="pattype" column="pattype"/>
@@ -73,7 +73,7 @@
        from pat_archive_out
    </sql>
    <select id="selectPatArchiveOutList" parameterType="com.smartor.domain.PatArchiveOut"
    <select id="selectPatArchiveOutList" parameterType="com.ruoyi.patarchive.domain.PatArchiveOut"
            resultMap="PatArchiveOutResult">
        <include refid="selectPatArchiveOutVo"/>
        where 1=1
@@ -111,7 +111,7 @@
        where patid = #{patid}
    </select>
    <select id="selectPatArchiveCount" parameterType="Long" resultType="com.smartor.domain.PerSonWorkbenchDto">
    <select id="selectPatArchiveCount" parameterType="Long" resultType="com.ruoyi.patarchive.domain.PerSonWorkbenchDto">
        select aa.name1 as name, aa.count as count
        from (
        SELECT "浣忛櫌" as name1, count(1) as count FROM `pat_med_inhosp`
@@ -151,7 +151,7 @@
    </select>
    <insert id="insertPatArchiveOut" parameterType="com.smartor.domain.PatArchiveOut" useGeneratedKeys="true"
    <insert id="insertPatArchiveOut" parameterType="com.ruoyi.patarchive.domain.PatArchiveOut" useGeneratedKeys="true"
            keyProperty="patid">
        insert into pat_archive_out
        <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -220,7 +220,7 @@
        </trim>
    </insert>
    <update id="updatePatArchiveOut" parameterType="com.smartor.domain.PatArchiveOut">
    <update id="updatePatArchiveOut" parameterType="com.ruoyi.patarchive.domain.PatArchiveOut">
        update pat_archive_out
        <trim prefix="SET" suffixOverrides=",">
            <if test="patientno != null">patientno = #{patientno},</if>