Commit 68310949 by 梅存智

删除证书

parent 442e7700
...@@ -148,11 +148,11 @@ public class TpPlanActivityController { ...@@ -148,11 +148,11 @@ public class TpPlanActivityController {
} }
Integer result = tpPlanActivityClient.batchDelete(model); Integer result = tpPlanActivityClient.batchDelete(model);
//如果是证书,需要取消关联状态 //如果是证书,需要取消关联状态
if (result > 0) { /*if (result > 0) {
if (null != tpPlanActivity) { if (null != tpPlanActivity) {
certificateClient.cancelRelate(0, tpPlanActivity.getRelationId(), tpPlanActivity.getTrainingProjectId(), tpPlanActivity.getTpPlanId()); certificateClient.cancelRelate(0, tpPlanActivity.getRelationId(), tpPlanActivity.getTrainingProjectId(), tpPlanActivity.getTpPlanId());
} }
} }*/
return Response.ok(result); return Response.ok(result);
} catch (Exception e) { } catch (Exception e) {
LOGGER.error("", e); LOGGER.error("", e);
......
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