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; }