| | |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.uuid.IdUtils; |
| | | import com.ruoyi.sy.domain.ArdAccessFence; |
| | | import com.ruoyi.sy.mapper.ArdTankLockMapper; |
| | | import com.ruoyi.sy.param.ArdSyCarParam; |
| | | import com.ruoyi.sy.vo.ArdSyCarVo; |
| | | import com.ruoyi.system.mapper.SysDeptMapper; |
| | |
| | | |
| | | @Resource |
| | | private SysDeptMapper sysDeptMapper; |
| | | |
| | | @Resource |
| | | private ArdTankLockMapper ardTankLockMapper; |
| | | |
| | | @Value("${minio.endpoint}") |
| | | private String minioEndpoint; |
| | |
| | | } |
| | | } |
| | | MinioUtil.removeObjects("sycar", objectNames); |
| | | return ardSyCarMapper.deleteArdSyCarByIds(ids); |
| | | try{ |
| | | return ardSyCarMapper.deleteArdSyCarByIds(ids); |
| | | }finally { |
| | | List<String> carIds = new ArrayList(); |
| | | for(ArdSyCar ardSyCar : result){ |
| | | carIds.add(ardSyCar.getCarId()); |
| | | } |
| | | ardTankLockMapper.deleteArdTankLockAndWallByCarIds(carIds); |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | |
| | | break; |
| | | } |
| | | } |
| | | if(!isCar){ |
| | | /*if(!isCar){ |
| | | list.remove(list.get(i)); |
| | | } |
| | | }*/ |
| | | } |
| | | return list; |
| | | } |