From b7097b955d05e41952d84a670679c4f61216512f Mon Sep 17 00:00:00 2001 From: yinq <1345442242@qq.com> Date: Sat, 1 Oct 2022 19:33:01 +0800 Subject: [PATCH] =?UTF-8?q?6069=E9=93=9D=E5=86=85=E8=83=86=E5=8F=AF?= =?UTF-8?q?=E8=A7=86=E5=8C=96=E7=9C=8B=E6=9D=BF=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/MesMaterialProductionStatisticsMapper.java | 8 ++++++++ .../mapper/MesTeamStatisticsMapper.java | 10 ++++++++++ .../service/impl/MesProductionDataServiceImpl.java | 5 +++++ 3 files changed, 23 insertions(+) diff --git a/productionboard/src/main/java/com/productionboard/mapper/MesMaterialProductionStatisticsMapper.java b/productionboard/src/main/java/com/productionboard/mapper/MesMaterialProductionStatisticsMapper.java index db0f598..7a9980f 100644 --- a/productionboard/src/main/java/com/productionboard/mapper/MesMaterialProductionStatisticsMapper.java +++ b/productionboard/src/main/java/com/productionboard/mapper/MesMaterialProductionStatisticsMapper.java @@ -20,4 +20,12 @@ public interface MesMaterialProductionStatisticsMapper extends BaseMapper getMesMaterialProductionStatisticsList(@Param("in_id") Integer in_id); + + /** + * 铝内胆可视化看板物料产量 + * @param in_id + * @return + */ + @Select("select * from table ( absorb_xfnd_xhcl2(#{in_id}) )") + List getMesMaterialProductionStatisticsList6(@Param("in_id") Integer in_id); } diff --git a/productionboard/src/main/java/com/productionboard/mapper/MesTeamStatisticsMapper.java b/productionboard/src/main/java/com/productionboard/mapper/MesTeamStatisticsMapper.java index 56a63cb..2de8d45 100644 --- a/productionboard/src/main/java/com/productionboard/mapper/MesTeamStatisticsMapper.java +++ b/productionboard/src/main/java/com/productionboard/mapper/MesTeamStatisticsMapper.java @@ -28,4 +28,14 @@ public interface MesTeamStatisticsMapper extends BaseMapper { */ @Select("select * from table ( scada_xfnd_bztj(#{in_id}) )") List getAdsorptionTankTeamStatistics(@Param("in_id") Integer in_id); + + + /** + * 铝内胆可视化看板班组统计 + * @author WenJY + * @date 2022-06-09 16:38 + * @return java.lang.String + */ + @Select("select * from table ( scada_xfnd_bztj2(#{in_id}) )") + List getAdsorptionTankTeamStatistics6(@Param("in_id") Integer in_id); } 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 44e6d9c..244fd83 100644 --- a/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java +++ b/productionboard/src/main/java/com/productionboard/service/impl/MesProductionDataServiceImpl.java @@ -54,6 +54,8 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService { break; case "1004": adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(this.in_id); + case "1006": + adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics6(this.in_id); default: break; } @@ -93,6 +95,9 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService { case "1004": mesMaterialProductionStatistics = materialProductionStatisticsMapper.getMesMaterialProductionStatisticsList(this.in_id); break; + case "1006": + mesMaterialProductionStatistics = materialProductionStatisticsMapper.getMesMaterialProductionStatisticsList6(this.in_id); + break; default: break; }