#
lsh
2024-06-26 8f93d32b15cff5287a07649da92bd5b6276c14e2
src/main/resources/mapper/WrkMastExecuteMapper.xml
@@ -59,10 +59,10 @@
    <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}
@@ -78,7 +78,15 @@
    <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">