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

master
wenjy 2 years ago
parent 802533c34b
commit fc699e81aa

@ -6,6 +6,7 @@ import com.productionboard.mapper.*;
import com.productionboard.service.IMesProductionDataService; import com.productionboard.service.IMesProductionDataService;
import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@ -32,6 +33,10 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService {
private DeviceFaultMapper deviceFaultMapper; private DeviceFaultMapper deviceFaultMapper;
@Autowired @Autowired
private PlanInfoMapper planInfoMapper; private PlanInfoMapper planInfoMapper;
@Value("${in_id}")
private int in_id;
/** /**
* *
* @author WenJY * @author WenJY
@ -41,7 +46,7 @@ public class MesProductionDataServiceImpl implements IMesProductionDataService {
*/ */
@Override @Override
public List<MesTeamStatistics> getMesTeamStatisticsList(String locationNumber) { public List<MesTeamStatistics> getMesTeamStatisticsList(String locationNumber) {
List<MesTeamStatistics> adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(1); List<MesTeamStatistics> adsorptionTankTeamStatistics = teamStatisticsMapper.getAdsorptionTankTeamStatistics(this.in_id);
return adsorptionTankTeamStatistics; return adsorptionTankTeamStatistics;
} }

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