便携式设备目录查看

This commit is contained in:
xy
2024-09-09 09:54:24 +08:00
parent 26e45ddbc5
commit 3d9acfe95b
5 changed files with 224 additions and 4 deletions

View File

@@ -65,7 +65,7 @@
</select>
<select id="getAll" resultType="com.njcn.csdevice.pojo.vo.CsLedgerVO">
select a.dev_id as id,b.name as name ,2 as level from wl_record a
select a.dev_id as id,b.name as name ,2 as level,b.ndid nDid from wl_record a
left join cs_equipment_delivery b on a.dev_id = b.id
where a.type=1 and a.state =1
group by a.dev_id,b.name having a.dev_id is not null and b.name is not null

View File

@@ -169,7 +169,7 @@ public class PortableOfflLogServiceImpl extends ServiceImpl<PortableOfflLogMappe
portableOfflLog.setRealCount(pqdData.size());
if(minFlag){
log.info("类型min,插入infulxDb的pqdData");
//pqdDataMapper.insertBatch(pqdData);
pqdDataMapper.insertBatch(pqdData);
//min结果集解析入库后就不需要在解析了
minFlag = false;
}
@@ -293,10 +293,10 @@ public class PortableOfflLogServiceImpl extends ServiceImpl<PortableOfflLogMappe
}
}
log.info("类型log,插入infulxDb的evtData");
//evtDataMapper.insertOne(entData);
evtDataMapper.insertOne(entData);
}
log.info("类型log,插入mysql事件表cs_event");
//eventFeignClient.saveBatchEventList(csEventPOS);
eventFeignClient.saveBatchEventList(csEventPOS);
}
}
}