| | |
| | | <select id="selectByAnalyzeSts" resultType="com.zy.asrs.wcs.core.entity.Task"> |
| | | select * from wcs_task |
| | | where 1=1 |
| | | and task_sts in (2, 102, 202, 302) |
| | | and task_sts in (2, 102) |
| | | order by priority desc,start_time,task_no asc |
| | | </select> |
| | | |
| | | <select id="selectByExecuteSts" resultType="com.zy.asrs.wcs.core.entity.Task"> |
| | | select * from wcs_task |
| | | where 1=1 |
| | | and task_sts in (3, 103, 203, 303) |
| | | and task_sts in (3, 103) |
| | | order by priority desc,start_time,task_no asc |
| | | </select> |
| | | |
| | | <select id="selectManualByAnalyzeSts" resultType="com.zy.asrs.wcs.core.entity.Task"> |
| | | select * from wcs_task |
| | | where 1=1 |
| | | and task_sts in (402) |
| | | order by priority desc,start_time,task_no asc |
| | | </select> |
| | | |
| | | <select id="selectManualByExecuteSts" resultType="com.zy.asrs.wcs.core.entity.Task"> |
| | | select * from wcs_task |
| | | where 1=1 |
| | | and task_sts in (403) |
| | | order by priority desc,start_time,task_no asc |
| | | </select> |
| | | |