change - 吸附内胆数据监控平台班组统计修改

master
wenjy 2 years ago
parent 802533c34b
commit fc699e81aa

@ -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<MesTeamStatistics> getMesTeamStatisticsList(String locationNumber) {
List<MesTeamStatistics> adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(1);
List<MesTeamStatistics> adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(this.in_id);
return adsorptionTankTeamStatistics;
}

@ -13,3 +13,5 @@ mybatis-plus:
server:
port: 6069
in_id: 1
Loading…
Cancel
Save