1 files renamed
2 files modified
| | |
| | | <maven-shared-incremental.version>1.1</maven-shared-incremental.version> |
| | | <spring-web.version>4.1.6.RELEASE</spring-web.version> |
| | | <com.alibaba.druid.version>1.1.5</com.alibaba.druid.version> |
| | | <org.mybatis-plus.spring.boot.version>3.3.2</org.mybatis-plus.spring.boot.version> |
| | | <org.mybatis-plus.spring.boot.version>3.4.1</org.mybatis-plus.spring.boot.version> |
| | | <org.projectlombok.version>1.16.18</org.projectlombok.version> |
| | | <io.springfox.version>2.7.0</io.springfox.version> |
| | | <swagger-bootstrap-ui.version>1.9.6</swagger-bootstrap-ui.version> |
File was renamed from screen-api/src/main/java/com/moral/api/controller/AlarmController.java |
| | |
| | | @RestController |
| | | @CrossOrigin(origins = "*", maxAge = 3600) |
| | | @RequestMapping("/deviceInfo") |
| | | public class AlarmController { |
| | | public class DeviceController { |
| | | |
| | | @Autowired |
| | | OrganizationUnitAlarmService organizationUnitAlarmService; |
| | |
| | | AlarmLevelVO vo = AlarmLevelVO.convert(sensors); |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), vo); |
| | | } |
| | | |
| | | @GetMapping("queryFiveMinuteData") |
| | | public ResultMessage queryFiveMinuteData(Integer regionCode,String sensorCode){ |
| | | |
| | | return null; |
| | | } |
| | | } |
| | |
| | | public class NullFilterWrapper<T> extends QueryWrapper<T> { |
| | | |
| | | @Override |
| | | protected QueryWrapper<T> likeValue(boolean condition, String column, Object val, SqlLike sqlLike) { |
| | | protected QueryWrapper<T> likeValue(boolean condition, SqlKeyword keyword, String column, Object val, SqlLike sqlLike) { |
| | | if(val==null) |
| | | condition = false; |
| | | return super.likeValue(condition, column, val, sqlLike); |
| | | return super.likeValue(condition, keyword, column, val, sqlLike); |
| | | } |
| | | |
| | | @Override |