| | |
| | | <result column="command_step" property="commandStep" /> |
| | | <result column="transfer_mark" property="transferMark" /> |
| | | <result column="mark_start" property="markStart"/> |
| | | |
| | | <result column="mp" property="mp"/> |
| | | <result column="lx" property="lx"/> |
| | | <result column="lev" property="lev"/> |
| | | <result column="mp_completed_report" property="mpCompletedReport"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectByTaskNo" resultMap="BaseResultMap"> |
| | |
| | | <select id="selectToBeHistoryData" resultMap="BaseResultMap"> |
| | | select * from dbo.wcs_task_wrk |
| | | where 1=1 |
| | | and ((wrk_sts=14 and status=5 and dateadd(ss,10,complete_time) <= getdate() and wrk_no not in (select wrk_no from asr_bas_devp)) or status=7 or status=4 or status=5) |
| | | and ((wrk_sts=14 and status=5 and dateadd(ss,10,complete_time) <= getdate() and wrk_no not in (select wrk_no from asr_bas_devp)) or status=7 or status=4 or (wrk_sts=4 and status=5)) |
| | | order by io_pri desc,create_time,wrk_no ASC |
| | | </select> |
| | | |