src/main/resources/mapper/WrkDetlMapper.xml
@@ -40,4 +40,15 @@ from asr_wrk_detl a left join asr_wrk_mast b on a.wrk_no = b.wrk_no where 1=1 and a.mat_no = #{matNo,jdbcType=VARCHAR} and (b.loc_no = #{locNo,jdbcType=VARCHAR} or b.source_loc_no = #{locNo,jdbcType=VARCHAR}) </select> <select id="selectByWrkNo" resultMap="BaseResultMap"> select * from asr_wrk_detl where 1=1 and wrk_no = #{wrkNo} </select> <select id="selectByZpallet0" resultMap="BaseResultMap"> select top 1 * from asr_wrk_detl where 1=1 and zpallet = #{zpallet} </select> </mapper>