| | |
| | | and "TASK_NO" = #{taskNo} |
| | | </select> |
| | | |
| | | <select id="selectByLaneNo" resultMap="BaseResultMap"> |
| | | select * from "SOURCE"."wcs_task_wrk" |
| | | where 1=1 |
| | | and "CRN_NO"=#{crnNo} |
| | | </select> |
| | | |
| | | <select id="selectByStartPoint" resultMap="BaseResultMap"> |
| | | select top 1 * from "SOURCE"."wcs_task_wrk" |
| | | where 1=1 |
| | |
| | | insert into "SOURCE"."wcs_task_wrk_log" |
| | | select * from "SOURCE"."wcs_task_wrk" |
| | | where "TASK_NO" = #{taskNo} |
| | | and ("STATUS"=5 or "STATUS"=4 or "STATUS"=6) |
| | | and ("STATUS"=5 or "STATUS"=4 or "STATUS"=7) |
| | | </insert> |
| | | |
| | | <insert id="saveToHistoryD"> |