cjl
2023-10-27 9bf891d878ae6edabc770609350daa60d8c41d8b
fix:管理员登陆
2 files modified
4 ■■■■ changed files
screen-api/src/main/java/com/moral/api/service/impl/HistorySecondUavServiceImpl.java 2 ●●● patch | view | raw | blame | history
screen-api/src/main/resources/mapper/AllocationMapper.xml 2 ●●● patch | view | raw | blame | history
screen-api/src/main/java/com/moral/api/service/impl/HistorySecondUavServiceImpl.java
@@ -366,7 +366,7 @@
        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();
screen-api/src/main/resources/mapper/AllocationMapper.xml
@@ -95,7 +95,7 @@
                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>