From e7f3835c7ffb0de6747c7c496c590f7f42e455fc Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 24 一月 2024 15:05:33 +0800 Subject: [PATCH] 111 --- server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java b/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java index e8a4fdb..432e677 100644 --- a/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java +++ b/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java @@ -12,6 +12,7 @@ import com.doumee.dao.business.SolutionsMapper; import com.doumee.dao.business.WorktypeMapper; import com.doumee.dao.business.join.SolutionWorktypeJoinMapper; +import com.doumee.dao.business.join.SolutionsJoinMapper; import com.doumee.dao.business.model.*; import com.doumee.service.business.SolutionsService; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; @@ -29,6 +30,7 @@ import java.math.BigDecimal; import java.util.Date; import java.util.List; +import java.util.Objects; import java.util.UUID; /** @@ -41,6 +43,8 @@ @Autowired private SolutionsMapper solutionsMapper; + @Autowired + private SolutionsJoinMapper solutionsJoinMapper; @Autowired private WorktypeMapper worktypeMapper; @Autowired @@ -250,6 +254,7 @@ @Override public List<Solutions> findList(Solutions solutions) { solutions.setIsdeleted(Constants.ZERO); + solutions.setDataType(Constants.TWO); QueryWrapper<Solutions> wrapper = new QueryWrapper<>(solutions); return solutionsMapper.selectList(wrapper); } @@ -393,4 +398,7 @@ QueryWrapper<Solutions> wrapper = new QueryWrapper<>(solutions); return solutionsMapper.selectCount(wrapper); } + + + } -- Gitblit v1.9.3