| | |
| | | <select id="getWrkMastExecuteByWrkNo" resultMap="BaseResultMap"> |
| | | select top 1 * from jar_wrk_mast_execute |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | | and wrk_no = #{wrkNo} |
| | | </select> |
| | | |
| | | <select id="getWrkMastExecuteByJarId" resultMap="BaseResultMap"> |
| | | <select id="getWrkMastExecuteByJarNo" resultMap="BaseResultMap"> |
| | | select * from jar_wrk_mast_execute |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | |
| | | <select id="selectWrkMastExecuteByTypeAndIoTyperAndWrkType" resultMap="BaseResultMap"> |
| | | select * from jar_wrk_mast_execute |
| | | where 1=1 |
| | | <include refid="batchSeq"></include> |
| | | <if test="type != null"> |
| | | and type = #{type} |
| | | </if> |
| | | <if test="ioType != null"> |
| | | and io_type = #{ioType} |
| | | </if> |
| | | <if test="wrkType != null"> |
| | | and wrk_type = #{wrkType} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectWrkMastExecuteByWrk" resultMap="BaseResultMap"> |