diff --git a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/mapper/LxOaSealMapper.java b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/mapper/LxOaSealMapper.java index 68ecc0110..f0e619992 100644 --- a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/mapper/LxOaSealMapper.java +++ b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/mapper/LxOaSealMapper.java @@ -19,4 +19,6 @@ public interface LxOaSealMapper extends BaseMapperPlus { Page queryPageOaSealVoList(@Param("page") Page page, @Param(Constants.WRAPPER) Wrapper queryWrapper); + + LxOaSealVVo queryPageOaSealVoInfo(@Param("id") Long id); } diff --git a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/LxOaSealServiceImpl.java b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/LxOaSealServiceImpl.java index 34760fcc6..f4f9ae85b 100644 --- a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/LxOaSealServiceImpl.java +++ b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/LxOaSealServiceImpl.java @@ -71,7 +71,7 @@ public class LxOaSealServiceImpl implements ILxOaSealService { */ @Override public LxOaSealVVo queryById(Long id) { - return baseMapper.selectVoById(id); + return baseMapper.queryPageOaSealVoInfo(id); } /** diff --git a/ruoyi-modules/ruoyi-workflow/src/main/resources/mapper/workflow/LxOaSealMapper.xml b/ruoyi-modules/ruoyi-workflow/src/main/resources/mapper/workflow/LxOaSealMapper.xml index 31481c338..2ba67ae99 100644 --- a/ruoyi-modules/ruoyi-workflow/src/main/resources/mapper/workflow/LxOaSealMapper.xml +++ b/ruoyi-modules/ruoyi-workflow/src/main/resources/mapper/workflow/LxOaSealMapper.xml @@ -55,4 +55,35 @@ on m_seal.id = rel.seal_id ${ew.getCustomSqlSegment} +