| | |
| | | <result column="batch_no" property="batchNo"/> |
| | | <result column="loc" property="loc"/> |
| | | <result column="sta_no" property="staNo"/> |
| | | <result column="barcode" property="barcode"/> |
| | | <result column="job_no" property="jobNo"/> |
| | | <result column="job_sts" property="jobSts"/> |
| | | <result column="wms_time" property="wmsTime"/> |
| | |
| | | <result column="memo" property="memo"/> |
| | | </resultMap> |
| | | |
| | | <select id="getJobByInTaskNo" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where in_task_no = #{seqNum} |
| | | </select> |
| | | |
| | | <select id="getJobByOutTaskNo" resultMap="BaseResultMap"> |
| | | |
| | | <select id="getJobByTaskNo" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where out_task_no = #{seqNum} |
| | | where task_no = #{seqNum} order by id desc limit 1 |
| | | </select> |
| | | |
| | | |
| | | <select id="getJobByJobNo" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where job_no = #{workNo} |
| | | where job_no = #{workNo} order by id desc limit 1 |
| | | </select> |
| | | |
| | | <select id="getJobByJobNoAndJobSts" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where job_no = #{workNo} |
| | | and job_sts = #{jobSts} |
| | | and job_sts = #{jobSts} order by id desc limit 1 |
| | | </select> |
| | | |
| | | <select id="getJobByBarcodeAndJobSts" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where barcode = #{barcode} |
| | | and job_sts = #{jobSts} order by id desc limit 1 |
| | | </select> |
| | | |
| | | <select id="getJobByBarcode" resultMap="BaseResultMap"> |
| | | select * |
| | | from cv_job |
| | | where barcode = #{barcode} order by id desc limit 1 |
| | | </select> |
| | | |
| | | |