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 < 47 and memo = 'reset' </select> </mapper>