diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index 06b4870a..8bddf568 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java @@ -1353,7 +1353,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { @Override public AjaxResult insertDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans) { if (parityBit(dcEmergencyPlans)) { - return AjaxResult.error("存在相同类型的预案"); + return AjaxResult.success("存在相同类型的预案"); } dcEmergencyPlans.setCreateTime(DateUtils.getNowDate()); List dcExecuteActionList = dataProcessing(dcEmergencyPlans); @@ -1375,7 +1375,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { @Override public AjaxResult updateDcEmergencyPlans(DcEmergencyPlans dcEmergencyPlans) { if (parityBit(dcEmergencyPlans)) { - return AjaxResult.error("存在相同类型的预案"); + return AjaxResult.success("存在相同类型的预案"); } dcEmergencyPlans.setUpdateTime(DateUtils.getNowDate()); List dcExecuteActionList = dataProcessing(dcEmergencyPlans);