src/main/resources/mapper/TransferTaskMapper.xml
@@ -4,4 +4,12 @@ <select id="selectByStartPoint" resultType="com.zy.asrs.entity.TransferTask"> select top 1 * from wcs_transfer_task where start_point = #{startPoint} and status = 1 </select> <select id="selectByEndPoint" resultType="com.zy.asrs.entity.TransferTask"> select top 1 * from wcs_transfer_task where targetPoint = #{endPoint} and status = 2 </select> </mapper>