From c008382d03297de7627b4b25ce0b081cccdcd556 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:27:47 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalPlanServiceImpl.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalPlanServiceImpl.java b/basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalPlanServiceImpl.java index 5aa8eaa..3d6b7eb 100644 --- a/basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalPlanServiceImpl.java +++ b/basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalPlanServiceImpl.java @@ -78,6 +78,16 @@ } @Override + public boolean checkPlanExists(String fieldIds) { + if (StringUtils.isBlank(fieldIds)) { + return false; + } + + // 鏌ヨ鏁版嵁搴� + return coalPlanMapper.existsFieldIds(fieldIds) > 0; + } + + @Override public List<CoalFieldVo> selectCoalPlanById(Long id) { CoalPlan coalPlan = coalPlanMapper.selectById(id); LambdaQueryWrapper<CoalField> coalFieldLambdaQueryWrapper = new LambdaQueryWrapper<>(); -- Gitblit v1.9.3