【验收】2 运行策略配置同步
This commit is contained in:
@ -89,4 +89,9 @@
|
||||
and strategy_type = #{type}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getStrategyByName" parameterType="String" resultMap="EmsStrategyResult">
|
||||
<include refid="selectEmsStrategyVo"/>
|
||||
where strategy_name = #{strategyName}
|
||||
</select>
|
||||
</mapper>
|
||||
@ -127,4 +127,11 @@
|
||||
<update id="updateTimeConfigWaitingPost" parameterType="String">
|
||||
update ems_strategy_time_config set isPost = 1 where template_id = #{templateId}
|
||||
</update>
|
||||
|
||||
<select id="getExistTimeConfig" resultMap="EmsStrategyTimeConfigResult">
|
||||
<include refid="selectEmsStrategyTimeConfigVo"/>
|
||||
where site_id = #{siteId}
|
||||
and strategy_id = #{strategyId}
|
||||
and month = #{month}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user