From ca9531cfb203f2250e9f08c9e861c4624f179eb9 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期六, 19 七月 2025 09:26:23 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/service/CommonService.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java index fa0d583..f8bed52 100644 --- a/src/main/java/com/zy/common/service/CommonService.java +++ b/src/main/java/com/zy/common/service/CommonService.java @@ -316,6 +316,19 @@ return startupDto; } + public Integer queryDevpWorkingCount() { + List<WrkMast> wrkMastsIn = wrkMastService.selectList(new EntityWrapper<WrkMast>() + .in("wrk_sts", 2, 3, 4, 5)); + + List<WrkMast> wrkMastsOut = wrkMastService.selectList(new EntityWrapper<WrkMast>() + .in("wrk_sts", 12, 14, 15)); + + int count = 0; + count += wrkMastsIn.size(); + count += wrkMastsOut.size(); + return count; + } + public static void main(String[] args) { System.out.println(Arith.remainder(1, 4)); System.out.println("0200201".substring(0, 2)); -- Gitblit v1.9.1