Browse Source

调度删除

develop
wangsixiang 7 months ago
parent
commit
fb0392aaa4
  1. 9
      zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml

9
zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml

@ -195,11 +195,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach> </foreach>
</delete> </delete>
<delete id="deleteDisPath"> <delete id="deleteDisPath">
delete dc_dispatch,dc_dispatch_resource DELETE FROM dc_dispatch_resource WHERE dispatch_id IN (
from dc_dispatch_resource SELECT id FROM dc_dispatch WHERE event_id = #{eventId}
JOIN dc_dispatch on dc_dispatch_resource.dispatch_id=dc_dispatch.id );
WHERE dc_dispatch.event_id=#{eventId} DELETE FROM dc_dispatch WHERE event_id = #{eventId};
</delete> </delete>
<select id="statisticsPublishManage" resultType="java.util.HashMap"> <select id="statisticsPublishManage" resultType="java.util.HashMap">

Loading…
Cancel
Save