一,四,五楼仓储和生产的看板

master
maxw@mesnac.com 2 months ago
parent a4ee30d7b6
commit 1ce9d133f1

@ -40,11 +40,11 @@ public class DmsBaseDeviceSuplierController extends BaseController
*/
@RequiresPermissions("dms:suplier:list")
@GetMapping("/list")
public List<DmsBaseDeviceSuplier> list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier)
public TableDataInfo list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier)
{
// startPage();
startPage();
List<DmsBaseDeviceSuplier> list = dmsBaseDeviceSuplierService.selectDmsBaseDeviceSuplierList(dmsBaseDeviceSuplier);
return list;
return getDataTable(list);
}
//todo 新加一个con 拿掉分页

@ -582,7 +582,7 @@ public class RecordAlarmDataServiceImpl implements IRecordAlarmDataService {
if (triggerNumber == 0){
triggerNumber = 1L;
}
if (rule.getEnergyType() == 4){
if (rule.getEnergyType() == 6){
List<RecordAlarmData> records = recordDnbInstantMapper.selectNoiseCount(time,rule.getNoise());
for (RecordAlarmData record : records) {
if (record.getAlarmCount()>triggerNumber){
@ -597,7 +597,7 @@ public class RecordAlarmDataServiceImpl implements IRecordAlarmDataService {
continue;
}
}
}else if (rule.getEnergyType() == 6){
}else if (rule.getEnergyType() == 4){
List<RecordAlarmData> records = recordDnbInstantMapper.selectDustCount(time,rule.getPm1());
for (RecordAlarmData record : records) {
if (record.getAlarmCount()>triggerNumber){

@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where objId = #{objId}
</select>
<select id="selectEnergyTypes" resultType="com.hw.ems.record.domain.RecordAlarmRule">
select objId, rule_id, rule_name,monitor_id monitorId, collect_time, energy_type energyType, trigger_rule triggerRule, trigger_number triggerNumber, time_range timeRange, device_offline_time, notify_user, cause, create_by, create_time, update_by, update_time, dept_id, user_id FROM `hwjy-cloud`.record_alarm_rule where energy_type != 2 and trigger_rule = 0
select objId, rule_id, rule_name,monitor_id monitorId, collect_time, energy_type energyType, trigger_rule triggerRule, trigger_number triggerNumber, time_range timeRange, device_offline_time, notify_user, cause, create_by, create_time, update_by, update_time, dept_id, user_id,pm1,pm2,pm10,temperature,humidity,noise FROM `hwjy-cloud`.record_alarm_rule where energy_type != 2 and trigger_rule = 0
</select>
<insert id="insertRecordAlarmRule" parameterType="RecordAlarmRule" useGeneratedKeys="true" keyProperty="objId">

@ -20,7 +20,7 @@
<!-- </el-col>-->
<el-col :span="8" :offset="2">
<el-form-item label="工单状态" >
<el-input placeholder="维修" disabled />
<el-input placeholder="维修完成" disabled />
</el-form-item>
</el-col>
<el-col :span="8" :offset="2">

@ -350,6 +350,7 @@ export default {
handlePictureSuccess(res, file) {
//访
const imgObjectUrl = this.imgUpload.url2 + file.response.imgUrl;
console.log(process.env.VUE_APP_BASE_API)
//JSON
let currentFile = { name: '', url: '' };
currentFile.name = file.name;

Loading…
Cancel
Save