From 28c1376ce853518597c981cbaeecd1ccd27945c7 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期三, 27 八月 2025 13:16:20 +0800 Subject: [PATCH] yys 完善生产管控 --- 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