| | |
| | | List<AlarmVO> listAll(); |
| | | List<AlarmVO> selectList(String jtype, String district, String waringType, String beginTime, String endTime); |
| | | List<AlarmVO> getLimit(); |
| | | List<AlarmVO> selectListSe(String beginTime, String endTime); |
| | | List<AlarmVO> selectInfo(String id); |
| | | List<AlarmVO> selecttx(String id); |
| | | void deletejj(String id); |
| | |
| | | update sys_alarm SET vaddress=#{vaddress} where id=#{jid} |
| | | </update> |
| | | |
| | | <update id="updateAaddress"> |
| | | update sys_alarm SET aaddress=#{aaddress} where id=#{jid} |
| | | </update> |
| | | |
| | | |
| | | <select id="selectEq" resultType="java.util.HashMap"> |
| | | SELECT COUNT(deviceNumber) as cou,deviceNumber FROM `sys_alarm` WHERE alarmTime like concat(concat('%', #{time}), '%') and waringType NOT IN("系统测试","主机重新上电") group by deviceNumber |
| | |
| | | @PostMapping("put-objecty") |
| | | public R puty(@RequestParam MultipartFile file,String jid) throws InvalidPortException, InvalidEndpointException, IOException, XmlPullParserException, NoSuchAlgorithmException, InvalidKeyException, InvalidArgumentException, InternalException, NoResponseException, InvalidBucketNameException, InsufficientDataException, ErrorResponseException, RegionConflictException { |
| | | MinioClient minioClient = new MinioClient("http://web.byisf.com:9000","adminminio","adminminio"); |
| | | if (!minioClient.bucketExists("jfpt")) { //是否存在名为“test”的bucket |
| | | if (!minioClient.bucketExists("jfpt")) { |
| | | minioClient.makeBucket("jfpt"); |
| | | } |
| | | String fileName = file.getOriginalFilename(); |