where drop_master_id = #{masterId,jdbcType=BIGINT}
o.drop_option_name dropOptionName,
AND is_active = 1
o.drop_option_code dropOptionCode,
AND drop_option_order = #{orderId,jdbcType=INTEGER}
o.drop_option_order dropOptionOrder,
o.drop_option_score dropOptionScore,
o.drop_option_remark dropOptionRemark,
o.is_active isActive,
o.created_at createdAt,
o.created_by createdBy
from ag_md_drop_master m left join ag_md_drop_options o on m.id = o.drop_master_id and o.is_active = 1 and o.drop_option_order = #{orderId,jdbcType=INTEGER}
where m.scenario_code = #{masterCode,jdbcType=BIGINT}