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>
</delete>
<delete id="deleteDisPath">
delete dc_dispatch,dc_dispatch_resource
from dc_dispatch_resource
JOIN dc_dispatch on dc_dispatch_resource.dispatch_id=dc_dispatch.id
WHERE dc_dispatch.event_id=#{eventId}
DELETE FROM dc_dispatch_resource WHERE dispatch_id IN (
SELECT id FROM dc_dispatch WHERE event_id = #{eventId}
);
DELETE FROM dc_dispatch WHERE event_id = #{eventId};
</delete>
<select id="statisticsPublishManage" resultType="java.util.HashMap">

Loading…
Cancel
Save