Commit 2687cfd3 by yao.xiao

修改-月计划排序

parent 4b41b72a
......@@ -177,9 +177,13 @@
</update>
<select id="findByMasterId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from ag_md_goals_calculate_expression
where drop_master_id = #{masterId,jdbcType=BIGINT}
and is_active = 1
e.*
from
ag_md_goals_calculate_expression e
left join ag_md_drop_options o on o.id = e.action_id
where
o.drop_master_id = #{masterId,jdbcType=BIGINT}
and e.is_active = 1
order by o.drop_option_order;
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment