陈昶聿
6 天以前 ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9
smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -58,8 +58,9 @@
    <select id="selectPatSatisfactionList" parameterType="com.smartor.domain.PatSatisfaction"
            resultMap="PatSatisfactionResult">
        <include refid="selectPatSatisfactionVo"/>
        <where>
            del_flag=0
        WHERE 1=1
            AND del_flag=0
            <if test="patName != null  and patName != ''">
                and pat_name like concat('%', #{patName}, '%')
            </if>
@@ -108,7 +109,13 @@
            <if test="orgid != null  and orgid != ''">
                and orgid = #{orgid}
            </if>
        </where>
            <if test="startTime != null">
                AND date_format(update_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
            </if>
            <if test="endTime != null">
                AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
            </if>
    </select>
    <select id="selectPatSatisfactionById" parameterType="Long"