| | |
| | | <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> |
| | |
| | | <if test="endTime != null"> |
| | | AND date_format(update_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatSatisfactionById" parameterType="Long" |