#
luxiaotao1123
2022-11-01 4e31f32d04c9826e2fac777dd679286f6dd5ac95
src/main/resources/mapper/WrkChargeMapper.xml
@@ -29,7 +29,7 @@
    </resultMap>
    <select id="selectWorking" resultMap="BaseResultMap">
    <select id="selectWorkingOfCharge" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_charge
        where 1=1
@@ -40,4 +40,15 @@
        and memo = 'charge'
    </select>
    <select id="selectWorkingOfReset" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_charge
        where 1=1
        <if test="steNo != null">
            and ste_no = #{steNo}
        </if>
        and wrk_sts &lt; 47
        and memo = 'reset'
    </select>
</mapper>