便携式设备目录查看
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user