dev #2

Merged
dashixiong merged 349 commits from dev into main 2026-02-11 01:55:46 +00:00
190 changed files with 17569 additions and 940 deletions
Showing only changes of commit 7ea52a8972 - Show all commits

View File

@ -68,4 +68,7 @@ public interface EmsStrategyTimeConfigMapper
// 获取该策略下的时间配置
List<EmsStrategyTimeConfig> getAllTimeConfigByTempId(String templateId);
// 设置该模版的时间配置为待下发
public void updateTimeConfigWaitingPost(String templateId);
}

View File

@ -98,9 +98,10 @@ public class EmsStrategyTempServiceImpl implements IEmsStrategyTempService
// 全删
emsStrategyTempMapper.deleteTempByTempId(templateId);
// 根据模版id 删除推送的曲线图数据
emsStrategyCurveMapper.physicalDeleteByTemplateId(templateId);
// 设置该模版的时间配置为待下发
emsStrategyTimeConfigMapper.updateTimeConfigWaitingPost(templateId);
// 重新新增
addNewTempAndTimeConfig(requestVo);

View File

@ -123,4 +123,8 @@
where template_id = #{templateId}
and isPost = 1
</select>
<update id="updateTimeConfigWaitingPost" parameterType="String">
update ems_strategy_time_config set isPost = 1 where template_id = #{templateId}
</update>
</mapper>