| | |
| | | //修改 |
| | | ivrLibaScriptTargetoption.setScriptid(ivrLibaScript.getId()); |
| | | ivrLibaScriptTargetoptionMapper.updateIvrLibaScriptTargetoption(ivrLibaScriptTargetoption); |
| | | //如果要给正则置空,则需要单独调修改方法 |
| | | if (CollectionUtils.isEmpty(ivrLibaScriptTargetoption.getNodynamiccruxs())) { |
| | | ivrLibaScriptTargetoption.setNodynamiccruxsJson(null); |
| | | ivrLibaScriptTargetoptionMapper.updateDynam(ivrLibaScriptTargetoption); |
| | | } |
| | | if (CollectionUtils.isEmpty(ivrLibaScriptTargetoption.getDynamiccruxs())) { |
| | | ivrLibaScriptTargetoption.setDynamiccruxsJson(null); |
| | | ivrLibaScriptTargetoptionMapper.updateDynam(ivrLibaScriptTargetoption); |
| | | } |
| | | |
| | | } |
| | | if (ivrLibaScriptTargetoption.getIsoperation() != null && ivrLibaScriptTargetoption.getIsoperation() == 3) { |
| | | //删除 |
| | | if (ivrLibaScriptTargetoption.getId() == null) { |
| | | log.info("删除失败,问题指标选项id为空"); |
| | | } else { |
| | | ivrLibaScriptTargetoptionMapper.deleteIvrLibaScriptTargetoptionByTargetoptionid(ivrLibaScriptTargetoption.getId()); |
| | | Boolean aBoolean = ivrLibaScriptTargetoptionMapper.deleteIvrLibaScriptTargetoptionByTargetoptionid(ivrLibaScriptTargetoption.getId()); |
| | | log.info("aBoolean的值为:{}", aBoolean); |
| | | } |
| | | } |
| | | } |