From 76066aa2dd6b495903ededd59678ef367a411998 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 13 Oct 2022 17:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BC=96=E7=A0=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/services/project/ProjectServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/services/project/ProjectServiceImpl.java b/src/main/java/club/joylink/rtss/services/project/ProjectServiceImpl.java index a8513d9d9..b60d36616 100644 --- a/src/main/java/club/joylink/rtss/services/project/ProjectServiceImpl.java +++ b/src/main/java/club/joylink/rtss/services/project/ProjectServiceImpl.java @@ -63,7 +63,7 @@ public class ProjectServiceImpl implements ProjectService { ProjectExample projectExample = new ProjectExample(); ProjectExample.Criteria criteria = projectExample.createCriteria().andStatusEqualTo(EFFECT_PROJECT_STATUS); if (!StringUtils.isEmpty(queryVO.getCode())) { - criteria.andCodeEqualTo(queryVO.getCode()); + criteria.andCodeLike(String.format("%%%s%%", queryVO.getCode())); } if (!StringUtils.isEmpty(queryVO.getName())) { criteria.andNameLike(String.format("%%%s%%", queryVO.getName()));