From fc699e81aa231760d57b8a01ba2c36532accc1c8 Mon Sep 17 00:00:00 2001 From: wenjy Date: Sat, 1 Oct 2022 17:04:33 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=90=B8=E9=99=84=E5=86=85?= =?UTF-8?q?=E8=83=86=E6=95=B0=E6=8D=AE=E7=9B=91=E6=8E=A7=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=8F=AD=E7=BB=84=E7=BB=9F=E8=AE=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/MesProductionDataServiceImpl.java | 7 ++++++- .../src/main/resources/application.yml | 2 ++ .../impl/MesProductionDataServiceImpl.class | Bin 5729 -> 5845 bytes 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java b/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java index 7778f19..fad93b6 100644 --- a/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java +++ b/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java @@ -6,6 +6,7 @@ import com.productionboard.mapper.*; import com.productionboard.service.IMesProductionDataService; import org.apache.ibatis.annotations.Select; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.util.List; @@ -32,6 +33,10 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService { private DeviceFaultMapper deviceFaultMapper; @Autowired private PlanInfoMapper planInfoMapper; + + @Value("${in_id}") + private int in_id; + /** * 通过工位号获取工位信息 * @author WenJY @@ -41,7 +46,7 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService { */ @Override public List getMesTeamStatisticsList(String locationNumber) { - List adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(1); + List adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(this.in_id); return adsorptionTankTeamStatistics; } diff --git a/productionboard/src/main/resources/application.yml b/productionboard/src/main/resources/application.yml index 3b70347..bea2bcb 100644 --- a/productionboard/src/main/resources/application.yml +++ b/productionboard/src/main/resources/application.yml @@ -13,3 +13,5 @@ mybatis-plus: server: port: 6069 + +in_id: 1 \ No newline at end of file diff --git a/productionboard/target/classes/com/productionboard/service/impl/MesProductionDataServiceImpl.class b/productionboard/target/classes/com/productionboard/service/impl/MesProductionDataServiceImpl.class index 35ec3f2a6a0a0a2f95fae2614a0b853aa7969d10..401565c81942b519f9329fac5dc58bf815e0b885 100644 GIT binary patch delta 1682 zcma)++gD6+6vw~k%;ijTPN}9M83wsDO@%@v5m8jiq$FL2t~7-%C^_zT4^|KU2TxjA z5^H(#cUN>=MO3(4^I$~SMsowdr z@Bj}DY(PN6BLf?;NyB3UPw-TMv#GVA%D`siYItT~3$|)_uAqE6&6zPBaOBMvr~FdQ zEEY+@8fZ{OaPD(hJvZe#N>#*((=l9}j-lgp3>~K<#!{VW1!2N5rB0d0Cpdz9c(`Fz zxE9i_h*F_+1?Qm5Sm%nk3RJ*{9b66RfSuUIHwDFP1BZ3EkEu9>U+^7NK8_D?&cmge zs0+QN-ofhuFTKFiX*@6P3&=CE`$Ux8*u#6%=(iW8T=&sSM3tKT)Ra-MB0LHYg)F#@%tdn1AK4 zECqupBqvItp5ae1g$7>VXs5vM?_VK@>I6B|#B!*{3Fa49@{`1^{V!ZIg}kd0@wSt< zgS?&O?Xr1S#;r?$TOY%%V+EGu%KmR4ZzE3ACK~-U<&qXzC~vChkbmO#5Vx1OeZ=km z2X2^X{P!&F5ca>#E4$r~Fq&+)gydmD%HBRh$7Z|GBLo*imLq#xfTu0Ab~@|qQ?c0C zDVD1lCC?DKhb?A_kYjg54qB{%^KkTJS1$~l)SP8uV_(0;hH53$IkeFvs@YB{rrH;S zs$~^3^5>Ch!E}&faq>qAGiHH^aS`(_|0EvhR(Qppcd0qgNU{(jN(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