| | |
| | | oi.pguid, |
| | | oi.guid, |
| | | oi.pid, |
| | | oi.opercheck_flag, |
| | | oi.long_task_reason, |
| | | oi.last_Update_Time |
| | | from HEALTHY_PAT_MED_OPERATION_ITEM oi |
| | |
| | | AND oi.opid = #{opid} |
| | | </if> |
| | | <if test="lastStartTime != null and lastStartTime != ''"> |
| | | and last_Update_Time >= to_date(#{lastStartTime}, 'YYYY-MM-DD HH24:MI:SS') |
| | | and oi.last_Update_Time >= to_date(#{lastStartTime}, 'YYYY-MM-DD HH24:MI:SS') |
| | | </if> |
| | | <if test="lastEndTime != null and lastEndTime != ''"> |
| | | and last_Update_Time <= to_date(#{lastEndTime}, 'YYYY-MM-DD HH24:MI:SS') |
| | | and oi.last_Update_Time <= to_date(#{lastEndTime}, 'YYYY-MM-DD HH24:MI:SS') |
| | | </if> |
| | | </select> |
| | | </mapper> |