Merge remote-tracking branch 'origin/master'

# Conflicts:
#	ruoyi-system/src/main/java/com/ruoyi/system/mapper/ScadaAbsorbMapper.java
#	ruoyi-system/src/main/resources/mapper/system/ScadaAbsorbMapper.xml
master
wenjy 2 years ago
commit 0234fd583c

@ -74,7 +74,7 @@ public interface ScadaAdsorbDeviceinfoMapper
ScadaAdsorbDeviceinfo getEnergyProductionThisMonth();
List<ScadaAdsorbDeviceinfo> getEnergyProduction();
List<ScadaAdsorbDeviceinfo> getEnergyProduction(int in_id);
@DataSource(value = DataSourceType.MASTER)
List<AbsorbDeviceUtilOee> getUtilOee(int in_id);

@ -52,7 +52,7 @@ public class KBAdsorbDeviceinfoServiceImpl implements IKBAdsorbDeviceinfoService
@Override
public String getAdsorbDeviceOEE(){
return ScadaAbsorbMapper.selectScadaAdsorbDeviceOEE();
return ScadaAbsorbMapper.selectScadaAdsorbDeviceOEE(this.in_id);
}
@Override

@ -126,7 +126,7 @@ public class ScadaAdsorbDeviceinfoServiceImpl implements IScadaAdsorbDeviceinfoS
@Override
@DataSource(value = DataSourceType.MASTER)
public List<ScadaAdsorbDeviceinfo> getEnergyProduction() {
return scadaAdsorbDeviceinfoMapper.getEnergyProduction();
return scadaAdsorbDeviceinfoMapper.getEnergyProduction(this.in_id);
}
@Override

@ -125,8 +125,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT * FROM TABLE( scada_absorb_device_eptm_q() )
</select>
<select id="getEnergyProduction" resultMap="ScadaAdsorbDeviceinfoResult">
SELECT * FROM TABLE( scada_absorb_device_ep_q() )
<select id="getEnergyProduction" parameterType="integer" resultMap="ScadaAdsorbDeviceinfoResult">
SELECT * FROM TABLE( scada_absorb_device_ep_q2(#{in_id}) )
</select>
<select id="getUtilOee" parameterType="integer" resultMap="ScadaAbsorbUtilOee">

Loading…
Cancel
Save