| | |
| | | wrapper.select("value,mac,time,organization_id"); |
| | | wrapper.orderByAsc("time"); |
| | | List<HistorySecondUav> datas = historySecondUavMapper.selectList(wrapper); |
| | | Date time =DateUtils.addDays(datas.get(2).getTime(),0); |
| | | Date time = new Date(); |
| | | //String bat = "2023-08-08 14:42:20"; |
| | | for(HistorySecondUav g : datas){ |
| | | HistorySecondUav historySecondUav = new HistorySecondUav(); |
| | |
| | | and allocation.allocation_num LIKE CONCAT('%',#{allocation.allocationNum},'%') |
| | | </if> |
| | | <if test="allocation.unitList != null and allocation.unitList.size !=0"> |
| | | and allocation.state in |
| | | and allocation.unit_id in |
| | | <foreach collection="allocation.unitList" item="id" index="index" open="(" close=")" separator=","> |
| | | #{id} |
| | | </foreach> |