| | |
| | | <result column="crn_no" property="crnNo" /> |
| | | <result column="command_step" property="commandStep" /> |
| | | <result column="transfer_mark" property="transferMark" /> |
| | | <result column="mark_start" property="markStart"/> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | and start_point = #{startPoint} |
| | | </select> |
| | | |
| | | <select id="selectByBarcode" resultMap="BaseResultMap"> |
| | | select top 1 * from wcs_task_wrk |
| | | where 1=1 |
| | | and io_type=3 |
| | | and barcode = #{barcode} |
| | | </select> |
| | | |
| | | <select id="selectByWrkNo" resultMap="BaseResultMap"> |
| | | select top 1 * from wcs_task_wrk |
| | | where 1=1 |
| | |
| | | |
| | | <select id="selectPakIn" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.wcs_task_wrk |
| | | where status=1 |
| | | where status=2 |
| | | and crn_no=#{crnNo} |
| | | and wrk_no=#{workNo} |
| | | and start_point=#{startPoint} |