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(); ScadaAdsorbDeviceinfo getEnergyProductionThisMonth();
List<ScadaAdsorbDeviceinfo> getEnergyProduction(); List<ScadaAdsorbDeviceinfo> getEnergyProduction(int in_id);
@DataSource(value = DataSourceType.MASTER) @DataSource(value = DataSourceType.MASTER)
List<AbsorbDeviceUtilOee> getUtilOee(int in_id); List<AbsorbDeviceUtilOee> getUtilOee(int in_id);

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

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

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

Loading…
Cancel
Save