| | |
| | | <if test="sendstate != null"> |
| | | AND sendstate = #{sendstate} |
| | | </if> |
| | | <if test="isFinished != null and isFinished == '1'"> |
| | | AND finishtime is not null |
| | | <if test="isFinished != null and isFinished != ''"> |
| | | and finishtime is not null |
| | | </if> |
| | | <if test="starttime != null">AND starttime >= #{starttime}</if> |
| | | <if test="endtime != null">AND endtime <= #{endtime}</if> |
| | |
| | | <if test="sendstate != null"> |
| | | AND sendstate = #{sendstate} |
| | | </if> |
| | | <if test="isFinished != null and isFinished = '1'"> |
| | | AND finishtime is not null |
| | | <if test="isFinished != null and isFinished != ''"> |
| | | and finishtime is not null |
| | | </if> |
| | | <if test="hospitaldistrictcodes != null and hospitaldistrictcodes.size() > 0"> |
| | | AND leavehospitaldistrictcode IN |