| | |
| | | <select id="selectWaitBindRGV" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast |
| | | where 1=1 |
| | | and wrk_sts in (2,22) |
| | | and wrk_sts in (2,14) |
| | | and rgv_no is null |
| | | </select> |
| | | |
| | |
| | | </select> |
| | | |
| | | <select id="selectRgvInSteNo" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =12 and rgv_no=#{rgvNo} |
| | | select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =14 and rgv_no=#{rgvNo} |
| | | <if test="rgvNo == 1"> |
| | | order by rgv_dsta_no |
| | | </if> |
| | |
| | | </select> |
| | | |
| | | <!-- ==============================================RGV任务绑定相关 ============================================== --> |
| | | <!-- ==============================================自动补空板相关 ============================================== --> |
| | | <select id="selectConfigCount10468N" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where 1=1 and io_type = 201 |
| | | </select> |
| | | |
| | | <select id="selectExistInEmpty" resultType="java.lang.Integer"> |
| | | SELECT COUNT(1) FROM dbo.sys_config Where 1=1 and id=10468 and value = 'N' |
| | | </select> |
| | | |
| | | <!-- ==============================================自动补空板相关 ============================================== --> |
| | | |
| | | </mapper> |