陈昶聿
4 天以前 be738537e87f8e71f22a0b284904ba063c7f8fe3
smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -58,8 +58,8 @@
    <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 +108,12 @@
            <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"