From 21573e8e02dc47202ca3e1f7d4705795a09c1b60 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 29 七月 2025 09:11:36 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/HongRuiTang into 2.0 --- ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/PopServiceImpl.java | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/PopServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/PopServiceImpl.java index 11fcea8..d49f958 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/PopServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/PopServiceImpl.java @@ -65,16 +65,6 @@ } // 将管理弹窗编辑DTO的属性复制到管理弹窗中 BeanUtils.copyProperties(mgtPopEditDto, pop); - if(pop.getTargetType()==1){ - pop.setJumpType(null); - pop.setJumpId(null); - }else if(pop.getTargetType()==2){ - pop.setLinkUrl(null); - }else if(pop.getTargetType()==3){ - pop.setLinkUrl(null); - pop.setJumpType(null); - pop.setJumpId(null); - } // 设置创建时间和创建者ID pop.setCreateTime(new Date()); pop.setCreateUserId(mgtPopEditDto.getPopId()); @@ -98,16 +88,6 @@ @Override public MgtPopGetVo getMgtPop(Long popId){ Pop pop = this.getById(popId); - if(pop.getTargetType()==1){ - pop.setJumpType(null); - pop.setJumpId(null); - }else if(pop.getTargetType()==2){ - pop.setLinkUrl(null); - }else if(pop.getTargetType()==3){ - pop.setLinkUrl(null); - pop.setJumpType(null); - pop.setJumpId(null); - } MgtPopGetVo mgtPopGetVo = new MgtPopGetVo(); BeanUtils.copyProperties(pop, mgtPopGetVo); return mgtPopGetVo; -- Gitblit v1.7.1