From e44da3a342bad6552b6a6998b9ead44c540c2e47 Mon Sep 17 00:00:00 2001 From: JYW <2013732181@qq.com> Date: 星期五, 26 四月 2024 09:14:10 +0800 Subject: [PATCH] 2024-04-25 资质凭证bug和印章管理将实验室id改为实验室名称 --- inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java index 61026bf..a4f2008 100644 --- a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java +++ b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java @@ -1,6 +1,5 @@ package com.yuanchu.mom.service.impl; -import cn.hutool.core.bean.BeanUtil; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; @@ -19,7 +18,6 @@ import com.yuanchu.mom.service.StandardTreeService; import com.yuanchu.mom.mapper.StandardTreeMapper; import lombok.AllArgsConstructor; -import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -73,7 +71,7 @@ standardProductList.setSample(standardTree.getSample()); standardProductList.setModel(standardTree.getModel()); standardProductList.setStandardMethodListId(standardMethod.getId()); - standardProductList.setState(1); + standardProductList.setState(0); standardProductList.setId(null); standardProductList.setCreateUser(null); standardProductList.setCreateTime(null); @@ -207,7 +205,7 @@ pl2.setSample(tree.getSample()); pl2.setModel(tree.getModel()); pl2.setStandardMethodListId(sl1.getId()); - pl2.setState(1); + pl2.setState(0); pl2.setId(null); pl2.setCreateUser(null); pl2.setCreateTime(null); @@ -241,7 +239,7 @@ standardProductList.setSample(tree.getSample()); standardProductList.setModel(tree.getModel()); standardProductList.setStandardMethodListId(sl2.getId()); - standardProductList.setState(1); + standardProductList.setState(0); standardProductList.setId(null); standardProductList.setCreateUser(null); standardProductList.setCreateTime(null); -- Gitblit v1.9.3