Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 651270ea
authored
May 08, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.代码规范整理(应用结构规范修改)
1 parent
80a62ea5
Hide whitespace changes
Inline
Side-by-side
Showing
181 changed files
with
685 additions
and
664 deletions
pom.xml
src/main/java/com/glsx/smart/SmartServiceApplication.java → src/main/java/cn/com/glsx/SmartServiceApplication.java
src/main/java/com/glsx/smart/constant/Constants.java → src/main/java/cn/com/glsx/smart/common/constant/Constants.java
src/main/java/com/glsx/smart/enums/DeviceChannelEnum.java → src/main/java/cn/com/glsx/smart/common/enums/DeviceChannelEnum.java
src/main/java/com/glsx/smart/exception/BusinessException.java → src/main/java/cn/com/glsx/smart/common/exception/BusinessException.java
src/main/java/com/glsx/smart/exception/CarKeyException.java → src/main/java/cn/com/glsx/smart/common/exception/CarKeyException.java
src/main/java/com/glsx/smart/exception/GlobalExceptionHandler.java → src/main/java/cn/com/glsx/smart/common/exception/ChejiaSmartExceptionHandler.java
src/main/java/com/glsx/smart/exception/ResultEnum.java → src/main/java/cn/com/glsx/smart/common/exception/ResultEnum.java
src/main/java/com/glsx/smart/filter/CorsFilter.java → src/main/java/cn/com/glsx/smart/common/filter/ChejiaCorsFilter.java
src/main/java/com/glsx/smart/redis/RedisService.java → src/main/java/cn/com/glsx/smart/common/redis/RedisService.java
src/main/java/com/glsx/smart/utils/AesEncryptUtils.java → src/main/java/cn/com/glsx/smart/common/utils/AesEncryptUtils.java
src/main/java/com/glsx/smart/utils/DjApiInvoker.java → src/main/java/cn/com/glsx/smart/common/utils/DjApiInvoker.java
src/main/java/com/glsx/smart/utils/GCJ2WGS.java → src/main/java/cn/com/glsx/smart/common/utils/GCJ2WGS.java
src/main/java/com/glsx/smart/utils/HttpUtil.java → src/main/java/cn/com/glsx/smart/common/utils/HttpUtil.java
src/main/java/com/glsx/smart/utils/JwtUtil.java → src/main/java/cn/com/glsx/smart/common/utils/JwtUtil.java
src/main/java/com/glsx/smart/utils/SignUtil.java → src/main/java/cn/com/glsx/smart/common/utils/SignUtil.java
src/main/java/com/glsx/smart/utils/SnowflakeWorker.java → src/main/java/cn/com/glsx/smart/common/utils/SnowflakeWorker.java
src/main/java/com/glsx/smart/config/DeviceAddressProducer.java → src/main/java/cn/com/glsx/smart/config/DeviceAddressProducer.java
src/main/java/com/glsx/smart/config/KafkaConfig.java → src/main/java/cn/com/glsx/smart/config/KafkaConfig.java
src/main/java/com/glsx/smart/config/KafkaProducerConfig.java → src/main/java/cn/com/glsx/smart/config/KafkaProducerConfig.java
src/main/java/com/glsx/smart/config/SnowFlakeConfig.java → src/main/java/cn/com/glsx/smart/config/SnowFlakeConfig.java
src/main/java/com/glsx/smart/config/SnowWorkerConfig.java → src/main/java/cn/com/glsx/smart/config/SnowWorkerConfig.java
src/main/java/com/glsx/smart/controller/AiLockingkeyController.java → src/main/java/cn/com/glsx/smart/modules/controller/AiLockingkeyController.java
src/main/java/com/glsx/smart/controller/AiLockingkeyShareController.java → src/main/java/cn/com/glsx/smart/modules/controller/AiLockingkeyShareController.java
src/main/java/com/glsx/smart/controller/ConditionController.java → src/main/java/cn/com/glsx/smart/modules/controller/ConditionController.java
src/main/java/com/glsx/smart/controller/ContentController.java → src/main/java/cn/com/glsx/smart/modules/controller/ContentController.java
src/main/java/com/glsx/smart/controller/IndexController.java → src/main/java/cn/com/glsx/smart/modules/controller/IndexController.java
src/main/java/com/glsx/smart/controller/OrderValueController.java → src/main/java/cn/com/glsx/smart/modules/controller/OrderValueController.java
src/main/java/com/glsx/smart/controller/ProductController.java → src/main/java/cn/com/glsx/smart/modules/controller/ProductController.java
src/main/java/com/glsx/smart/controller/ProductTypeController.java → src/main/java/cn/com/glsx/smart/modules/controller/ProductTypeController.java
src/main/java/com/glsx/smart/controller/RemoteProductController.java → src/main/java/cn/com/glsx/smart/modules/controller/RemoteProductController.java
src/main/java/com/glsx/smart/controller/SceneController.java → src/main/java/cn/com/glsx/smart/modules/controller/SceneController.java
src/main/java/com/glsx/smart/controller/SceneTemplateController.java → src/main/java/cn/com/glsx/smart/modules/controller/SceneTemplateController.java
src/main/java/com/glsx/smart/controller/SysCodeController.java → src/main/java/cn/com/glsx/smart/modules/controller/SysCodeController.java
src/main/java/com/glsx/smart/controller/SysFileController.java → src/main/java/cn/com/glsx/smart/modules/controller/SysFileController.java
src/main/java/com/glsx/smart/controller/UserDeviceController.java → src/main/java/cn/com/glsx/smart/modules/controller/UserDeviceController.java
src/main/java/com/glsx/smart/controller/UserKafkaController.java → src/main/java/cn/com/glsx/smart/modules/controller/UserKafkaController.java
src/main/java/com/glsx/smart/controller/UserRelationController.java → src/main/java/cn/com/glsx/smart/modules/controller/UserRelationController.java
src/main/java/com/glsx/smart/dao/entity/SmartDeviceOrder.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartDeviceOrder.java
src/main/java/com/glsx/smart/dao/entity/SmartDeviceOrdervalue.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartDeviceOrdervalue.java
src/main/java/com/glsx/smart/dao/entity/SmartDeviceStatus.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartDeviceStatus.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyBlueSense.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyBlueSense.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyBlueSenseExample.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyBlueSenseExample.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyCommandLog.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyCommandLog.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyCommandLogExample.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyCommandLogExample.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyCommandShareLog.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyCommandShareLog.java
src/main/java/com/glsx/smart/dao/entity/SmartKeyCommandShareLogExample.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartKeyCommandShareLogExample.java
src/main/java/com/glsx/smart/dao/entity/SmartProduct.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartProduct.java
src/main/java/com/glsx/smart/dao/entity/SmartProductType.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartProductType.java
src/main/java/com/glsx/smart/dao/entity/SmartScenceSupstatus.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartScenceSupstatus.java
src/main/java/com/glsx/smart/dao/entity/SmartScene.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartScene.java
src/main/java/com/glsx/smart/dao/entity/SmartSceneData.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartSceneData.java
src/main/java/com/glsx/smart/dao/entity/SmartSceneLog.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartSceneLog.java
src/main/java/com/glsx/smart/dao/entity/SmartSceneTemplate.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartSceneTemplate.java
src/main/java/com/glsx/smart/dao/entity/SmartShareKeyBlueKey.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartShareKeyBlueKey.java
src/main/java/com/glsx/smart/dao/entity/SmartSysCode.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartSysCode.java
src/main/java/com/glsx/smart/dao/entity/SmartSysFile.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartSysFile.java
src/main/java/com/glsx/smart/dao/entity/SmartTemplateParam.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartTemplateParam.java
src/main/java/com/glsx/smart/dao/entity/SmartUserChannel.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartUserChannel.java
src/main/java/com/glsx/smart/dao/entity/SmartUserDevice.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartUserDevice.java
src/main/java/com/glsx/smart/dao/entity/SmartUserRelation.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartUserRelation.java
src/main/java/com/glsx/smart/dao/entity/SmartVehicleBlueKey.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartVehicleBlueKey.java
src/main/java/com/glsx/smart/dao/entity/SmartVehicleBlueKeyExample.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartVehicleBlueKeyExample.java
src/main/java/com/glsx/smart/dao/entity/SmartVehicleBlueShareKey.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartVehicleBlueShareKey.java
src/main/java/com/glsx/smart/dao/entity/SmartVehicleBlueShareKeyExample.java → src/main/java/cn/com/glsx/smart/modules/entity/SmartVehicleBlueShareKeyExample.java
src/main/java/com/glsx/smart/dao/mapper/SmartDeviceOrderMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartDeviceOrderMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartDeviceOrdervalueMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartDeviceOrdervalueMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartDeviceStatusMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartDeviceStatusMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartKeyBlueSenseMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartKeyBlueSenseMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartKeyCommandLogMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartKeyCommandLogMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartKeyCommandShareLogMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartKeyCommandShareLogMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartProductMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartProductMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartProductTypeMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartProductTypeMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartScenceSupstatusMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartScenceSupstatusMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSceneDataMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSceneDataMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSceneLogMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSceneLogMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSceneMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSceneMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSceneTemplateMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSceneTemplateMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSysCodeMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSysCodeMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartSysFileMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartSysFileMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartTemplateParamMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartTemplateParamMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartUserChannelMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartUserChannelMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartUserDeviceMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartUserDeviceMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartUserRelationMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartUserRelationMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartVehicleBlueKeyMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartVehicleBlueKeyMapper.java
src/main/java/com/glsx/smart/dao/mapper/SmartVehicleBlueShareKeyMapper.java → src/main/java/cn/com/glsx/smart/modules/mapper/SmartVehicleBlueShareKeyMapper.java
src/main/java/com/glsx/smart/pojo/BaseDTO.java → src/main/java/cn/com/glsx/smart/modules/model/BaseDTO.java
src/main/java/com/glsx/smart/pojo/DjApiDTO.java → src/main/java/cn/com/glsx/smart/modules/model/DjApiDTO.java
src/main/java/com/glsx/smart/pojo/ExecuteTaskVo.java → src/main/java/cn/com/glsx/smart/modules/model/ExecuteTaskVo.java
src/main/java/com/glsx/smart/pojo/FileDTO.java → src/main/java/cn/com/glsx/smart/modules/model/FileDTO.java
src/main/java/com/glsx/smart/pojo/OrderResponse.java → src/main/java/cn/com/glsx/smart/modules/model/OrderResponse.java
src/main/java/com/glsx/smart/pojo/ResponseVo.java → src/main/java/cn/com/glsx/smart/modules/model/ResponseVo.java
src/main/java/com/glsx/smart/pojo/pb/InstanceFence/Fence.java → src/main/java/cn/com/glsx/smart/modules/model/pb/InstanceFence/Fence.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyActionLogBatchRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyActionLogBatchRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyAutoSenseRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyAutoSenseRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyCommandRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyCommandRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyNameRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyNameRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyReceiveRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyReceiveRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyRegisterRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyRegisterRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyShareActionLogBatchRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyShareActionLogBatchRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyShareLogRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyShareLogRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyTokenRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyTokenRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyUserRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartCarKeyUserRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartKeyPrimaryShareEditReq.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartKeyPrimaryShareEditReq.java
src/main/java/com/glsx/smart/pojo/request/SmartShareCarKeyPageRequest.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartShareCarKeyPageRequest.java
src/main/java/com/glsx/smart/pojo/request/SmartShareKeyEditReq.java → src/main/java/cn/com/glsx/smart/modules/model/request/SmartShareKeyEditReq.java
src/main/java/com/glsx/smart/pojo/response/RemoteDeviceResp.java → src/main/java/cn/com/glsx/smart/modules/model/response/RemoteDeviceResp.java
src/main/java/com/glsx/smart/pojo/response/SmartCarKeyResponse.java → src/main/java/cn/com/glsx/smart/modules/model/response/SmartCarKeyResponse.java
src/main/java/com/glsx/smart/service/AiLockingKeyService.java → src/main/java/cn/com/glsx/smart/modules/service/AiLockingKeyService.java
src/main/java/com/glsx/smart/service/AiLockingKeyShareService.java → src/main/java/cn/com/glsx/smart/modules/service/AiLockingKeyShareService.java
src/main/java/com/glsx/smart/service/BaseService.java → src/main/java/cn/com/glsx/smart/modules/service/BaseService.java
src/main/java/com/glsx/smart/service/SmartDeviceOrderService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartDeviceOrderService.java
src/main/java/com/glsx/smart/service/SmartDeviceOrdervalueService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartDeviceOrdervalueService.java
src/main/java/com/glsx/smart/service/SmartDeviceStatusService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartDeviceStatusService.java
src/main/java/com/glsx/smart/service/SmartKeyBlueSenseService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartKeyBlueSenseService.java
src/main/java/com/glsx/smart/service/SmartKeyCommandLogService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartKeyCommandLogService.java
src/main/java/com/glsx/smart/service/SmartKeyCommandShareLogService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartKeyCommandShareLogService.java
src/main/java/com/glsx/smart/service/SmartProductService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartProductService.java
src/main/java/com/glsx/smart/service/SmartProductTypeService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartProductTypeService.java
src/main/java/com/glsx/smart/service/SmartScenceSupstatusService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartScenceSupstatusService.java
src/main/java/com/glsx/smart/service/SmartSceneDataService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSceneDataService.java
src/main/java/com/glsx/smart/service/SmartSceneLogService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSceneLogService.java
src/main/java/com/glsx/smart/service/SmartSceneService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSceneService.java
src/main/java/com/glsx/smart/service/SmartSceneTemplateService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSceneTemplateService.java
src/main/java/com/glsx/smart/service/SmartSysCodeService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSysCodeService.java
src/main/java/com/glsx/smart/service/SmartSysFileService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartSysFileService.java
src/main/java/com/glsx/smart/service/SmartTemplateParamService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartTemplateParamService.java
src/main/java/com/glsx/smart/service/SmartUserChannelService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartUserChannelService.java
src/main/java/com/glsx/smart/service/SmartUserDeviceService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartUserDeviceService.java
src/main/java/com/glsx/smart/service/SmartUserRelationService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartUserRelationService.java
src/main/java/com/glsx/smart/service/SmartVehicleBlueKeyService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartVehicleBlueKeyService.java
src/main/java/com/glsx/smart/service/SmartVehicleBlueShareKeyService.java → src/main/java/cn/com/glsx/smart/modules/service/SmartVehicleBlueShareKeyService.java
src/main/java/com/glsx/smart/service/UserKafkaService.java → src/main/java/cn/com/glsx/smart/modules/service/UserKafkaService.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/AiLockingKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyShareServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/AiLockingKeyShareServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartDeviceOrderServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartDeviceOrderServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartDeviceOrdervalueServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartDeviceOrdervalueServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartDeviceStatusServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartDeviceStatusServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartKeyBlueSenseServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartKeyBlueSenseServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartKeyCommandLogServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartKeyCommandLogServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartKeyCommandShareLogServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartKeyCommandShareLogServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartProductServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartProductTypeServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartScenceSupstatusServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartScenceSupstatusServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneDataServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSceneDataServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneLogServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSceneLogServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSceneServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSceneTemplateServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSceneTemplateServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSysCodeServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSysCodeServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSysFileServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartSysFileServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartTemplateParamServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartTemplateParamServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartUserChannelServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartUserChannelServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartUserDeviceServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartUserDeviceServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartUserRelationServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartUserRelationServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartVehicleBlueKeyServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartVehicleBlueKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartVehicleBlueShareKeyServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/SmartVehicleBlueShareKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/UserKafkaServiceImpl.java → src/main/java/cn/com/glsx/smart/modules/service/impl/UserKafkaServiceImpl.java
src/main/resources/mapper/SmartDeviceOrderMapper.xml
src/main/resources/mapper/SmartDeviceOrdervalueMapper.xml
src/main/resources/mapper/SmartDeviceStatusMapper.xml
src/main/resources/mapper/SmartKeyBlueSenseMapper.xml
src/main/resources/mapper/SmartKeyCommandLogMapper.xml
src/main/resources/mapper/SmartKeyCommandShareLogMapper.xml
src/main/resources/mapper/SmartProductMapper.xml
src/main/resources/mapper/SmartProductTypeMapper.xml
src/main/resources/mapper/SmartScenceSupstatusMapper.xml
src/main/resources/mapper/SmartSceneDataMapper.xml
src/main/resources/mapper/SmartSceneLogMapper.xml
src/main/resources/mapper/SmartSceneMapper.xml
src/main/resources/mapper/SmartSceneTemplateMapper.xml
src/main/resources/mapper/SmartSysCodeMapper.xml
src/main/resources/mapper/SmartSysFileMapper.xml
src/main/resources/mapper/SmartTemplateParamMapper.xml
src/main/resources/mapper/SmartUserChannelMapper.xml
src/main/resources/mapper/SmartUserDeviceMapper.xml
src/main/resources/mapper/SmartUserRelationMapper.xml
src/main/resources/mapper/SmartVehicleBlueKeyMapper.xml
src/main/resources/mapper/SmartVehicleBlueShareKeyMapper.xml
src/main/webapp/WEB-INF/bin/start.sh
src/test/java/com/glsx/smart/service/TestDubboService.java
pom.xml
View file @
651270e
...
@@ -19,6 +19,11 @@
...
@@ -19,6 +19,11 @@
</properties>
</properties>
<dependencies>
<dependencies>
<!-- 运行环境上下文 -->
<dependency>
<groupId>
com.glsx
</groupId>
<artifactId>
rest-admin-context
</artifactId>
</dependency>
<!-- nacos 服务管理和配置中心-->
<!-- nacos 服务管理和配置中心-->
<dependency>
<dependency>
<groupId>
com.glsx
</groupId>
<groupId>
com.glsx
</groupId>
...
...
src/main/java/c
om/glsx/smart
/SmartServiceApplication.java
→
src/main/java/c
n/com/glsx
/SmartServiceApplication.java
View file @
651270e
package
c
om
.
glsx
.
smart
;
package
c
n
.
com
.
glsx
;
import
com.glsx.plat.context.EnableRestAdmin
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.dubbo.config.spring.context.annotation.EnableDubbo
;
import
org.apache.dubbo.config.spring.context.annotation.EnableDubbo
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
...
@@ -19,13 +20,14 @@ import tk.mybatis.spring.annotation.MapperScan;
...
@@ -19,13 +20,14 @@ import tk.mybatis.spring.annotation.MapperScan;
* @Copyright Copyright (c) 2015
* @Copyright Copyright (c) 2015
*/
*/
@Slf4j
@Slf4j
@EnableRestAdmin
@EnableDubbo
@EnableDubbo
@SpringBootApplication
(
scanBasePackages
=
{
"com.glsx"
})
@SpringBootApplication
(
scanBasePackages
=
{
"c
n.c
om.glsx"
})
@EnableDiscoveryClient
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableTransactionManagement
@ServletComponentScan
@ServletComponentScan
// 使用通用 Mapper 的注解
// 使用通用 Mapper 的注解
@MapperScan
(
basePackages
={
"c
om.glsx.smart.dao
.mapper"
})
@MapperScan
(
basePackages
={
"c
n.com.glsx.smart.modules
.mapper"
})
public
class
SmartServiceApplication
extends
SpringBootServletInitializer
{
public
class
SmartServiceApplication
extends
SpringBootServletInitializer
{
/**
/**
* 本地启动 ,内嵌tomcat方式
* 本地启动 ,内嵌tomcat方式
...
...
src/main/java/c
om/glsx/smart
/constant/Constants.java
→
src/main/java/c
n/com/glsx/smart/common
/constant/Constants.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
constant
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
constant
;
/**
/**
* @Title: Constants.java
* @Title: Constants.java
* @Description: 常量
* @Description: 常量
...
...
src/main/java/c
om/glsx/smart
/enums/DeviceChannelEnum.java
→
src/main/java/c
n/com/glsx/smart/common
/enums/DeviceChannelEnum.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
enums
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
enums
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/exception/BusinessException.java
→
src/main/java/c
n/com/glsx/smart/common
/exception/BusinessException.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
exception
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
exception
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/exception/CarKeyException.java
→
src/main/java/c
n/com/glsx/smart/common
/exception/CarKeyException.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
exception
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
exception
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart/exception/Global
ExceptionHandler.java
→
src/main/java/c
n/com/glsx/smart/common/exception/ChejiaSmart
ExceptionHandler.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
exception
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
exception
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.exception.GlobalExceptionHandler
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.validation.BindException
;
import
org.springframework.validation.BindException
;
import
org.springframework.web.bind.MethodArgumentNotValidException
;
import
org.springframework.web.bind.MethodArgumentNotValidException
;
...
@@ -18,8 +19,7 @@ import org.springframework.web.bind.annotation.RestControllerAdvice;
...
@@ -18,8 +19,7 @@ import org.springframework.web.bind.annotation.RestControllerAdvice;
*/
*/
@Slf4j
@Slf4j
@RestControllerAdvice
@RestControllerAdvice
@Deprecated
public
class
ChejiaSmartExceptionHandler
extends
GlobalExceptionHandler
{
public
class
GlobalExceptionHandler
{
@ExceptionHandler
({
BusinessException
.
class
})
@ExceptionHandler
({
BusinessException
.
class
})
public
R
handleBusinessException
(
BusinessException
e
)
{
public
R
handleBusinessException
(
BusinessException
e
)
{
log
.
error
(
"业务异常"
,
e
);
log
.
error
(
"业务异常"
,
e
);
...
@@ -32,16 +32,16 @@ public class GlobalExceptionHandler {
...
@@ -32,16 +32,16 @@ public class GlobalExceptionHandler {
return
R
.
error
(
e
.
getCode
(),
e
.
getMessage
());
return
R
.
error
(
e
.
getCode
(),
e
.
getMessage
());
}
}
@ExceptionHandler
({
ServletRequestBindingException
.
class
,
MethodArgumentNotValidException
.
class
,
//
@ExceptionHandler({ServletRequestBindingException.class, MethodArgumentNotValidException.class,
BindException
.
class
})
//
BindException.class})
public
R
handleBindException
(
Exception
e
)
{
//
public R handleBindException(Exception e) {
log
.
error
(
"参数错误"
,
e
);
//
log.error("参数错误", e);
return
R
.
error
(
ResultEnum
.
PARAM_ERROR
.
getCode
(),
ResultEnum
.
PARAM_ERROR
.
getMessage
());
//
return R.error(ResultEnum.PARAM_ERROR.getCode(), ResultEnum.PARAM_ERROR.getMessage());
}
//
}
@ExceptionHandler
(
Exception
.
class
)
//
@ExceptionHandler(Exception.class)
public
R
handleException
(
Exception
e
)
{
//
public R handleException(Exception e) {
log
.
error
(
"未知异常"
,
e
);
//
log.error("未知异常", e);
return
R
.
error
(
e
.
getMessage
());
//
return R.error(e.getMessage());
}
//
}
}
}
src/main/java/c
om/glsx/smart
/exception/ResultEnum.java
→
src/main/java/c
n/com/glsx/smart/common
/exception/ResultEnum.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
exception
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
exception
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart/filter/
CorsFilter.java
→
src/main/java/c
n/com/glsx/smart/common/filter/Chejia
CorsFilter.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
filter
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
filter
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.HttpHeaders
;
...
@@ -18,8 +18,9 @@ import java.util.Enumeration;
...
@@ -18,8 +18,9 @@ import java.util.Enumeration;
* @author wbh
* @author wbh
* @date 2021-03-18
* @date 2021-03-18
*/
*/
//TODO 跨域有默认的拦截器,请对比后处理 宝辉 已存在com.glsx.plat.web.filter.CorsFilter
@Component
@Component
public
class
CorsFilter
implements
Filter
{
public
class
C
hejiaC
orsFilter
implements
Filter
{
@Override
@Override
public
void
doFilter
(
ServletRequest
request
,
ServletResponse
response
,
FilterChain
chain
)
public
void
doFilter
(
ServletRequest
request
,
ServletResponse
response
,
FilterChain
chain
)
throws
IOException
,
ServletException
{
throws
IOException
,
ServletException
{
...
...
src/main/java/c
om/glsx/smart
/redis/RedisService.java
→
src/main/java/c
n/com/glsx/smart/common
/redis/RedisService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
redis
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
redis
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
...
...
src/main/java/c
om/glsx/smart
/utils/AesEncryptUtils.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/AesEncryptUtils.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
org.apache.commons.codec.binary.Base64
;
import
org.apache.commons.codec.binary.Base64
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
...
...
src/main/java/c
om/glsx/smart
/utils/DjApiInvoker.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/DjApiInvoker.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
cn.com.glsx.smart.modules.model.DjApiDTO
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.pojo.DjApiDTO
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.DisposableBean
;
import
org.springframework.beans.factory.DisposableBean
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/java/c
om/glsx/smart
/utils/GCJ2WGS.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/GCJ2WGS.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
org.apache.log4j.Logger
;
import
org.apache.log4j.Logger
;
...
...
src/main/java/c
om/glsx/smart
/utils/HttpUtil.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/HttpUtil.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.lang.ObjectUtils
;
import
org.apache.commons.lang.ObjectUtils
;
...
...
src/main/java/c
om/glsx/smart
/utils/JwtUtil.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/JwtUtil.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
io.jsonwebtoken.Claims
;
import
io.jsonwebtoken.Claims
;
import
io.jsonwebtoken.Jwts
;
import
io.jsonwebtoken.Jwts
;
...
@@ -6,6 +6,7 @@ import io.jsonwebtoken.SignatureAlgorithm;
...
@@ -6,6 +6,7 @@ import io.jsonwebtoken.SignatureAlgorithm;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.Map
;
import
java.util.Map
;
...
...
src/main/java/c
om/glsx/smart
/utils/SignUtil.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/SignUtil.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
...
src/main/java/c
om/glsx/smart
/utils/SnowflakeWorker.java
→
src/main/java/c
n/com/glsx/smart/common
/utils/SnowflakeWorker.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
utils
;
package
c
n
.
com
.
glsx
.
smart
.
common
.
utils
;
/**
/**
* @Title: SnowflakeWorker.java
* @Title: SnowflakeWorker.java
...
...
src/main/java/com/glsx/smart/config/DeviceAddressProducer.java
→
src/main/java/c
n/c
om/glsx/smart/config/DeviceAddressProducer.java
View file @
651270e
package
com
.
glsx
.
smart
.
config
;
package
c
n
.
c
om
.
glsx
.
smart
.
config
;
import
cn.com.glsx.smart.common.utils.GCJ2WGS
;
import
cn.com.glsx.smart.modules.model.pb.InstanceFence.Fence
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.pojo.pb.InstanceFence.Fence
;
import
com.glsx.smart.utils.GCJ2WGS
;
import
kafka.javaapi.producer.Producer
;
import
kafka.javaapi.producer.Producer
;
import
kafka.producer.KeyedMessage
;
import
kafka.producer.KeyedMessage
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
...
src/main/java/com/glsx/smart/config/KafkaConfig.java
→
src/main/java/c
n/c
om/glsx/smart/config/KafkaConfig.java
View file @
651270e
package
com
.
glsx
.
smart
.
config
;
package
c
n
.
c
om
.
glsx
.
smart
.
config
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
...
...
src/main/java/com/glsx/smart/config/KafkaProducerConfig.java
→
src/main/java/c
n/c
om/glsx/smart/config/KafkaProducerConfig.java
View file @
651270e
package
com
.
glsx
.
smart
.
config
;
package
c
n
.
c
om
.
glsx
.
smart
.
config
;
import
kafka.javaapi.producer.Producer
;
import
kafka.javaapi.producer.Producer
;
import
kafka.producer.ProducerConfig
;
import
kafka.producer.ProducerConfig
;
...
...
src/main/java/com/glsx/smart/config/SnowFlakeConfig.java
→
src/main/java/c
n/c
om/glsx/smart/config/SnowFlakeConfig.java
View file @
651270e
package
com
.
glsx
.
smart
.
config
;
package
c
n
.
c
om
.
glsx
.
smart
.
config
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
...
...
src/main/java/com/glsx/smart/config/SnowWorkerConfig.java
→
src/main/java/c
n/c
om/glsx/smart/config/SnowWorkerConfig.java
View file @
651270e
package
com
.
glsx
.
smart
.
config
;
package
c
n
.
c
om
.
glsx
.
smart
.
config
;
import
com.glsx.smart.utils.SnowflakeWorker
;
import
cn.com.glsx.smart.common.utils.SnowflakeWorker
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
...
...
src/main/java/c
om/glsx/smart
/controller/AiLockingkeyController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/AiLockingkeyController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
com.glsx.cloudframework.core.util.Assert
;
import
cn.com.glsx.smart.modules.model.request.*
;
import
cn.com.glsx.smart.modules.service.AiLockingKeyService
;
import
cn.com.glsx.smart.modules.service.AiLockingKeyShareService
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.pojo.request.*
;
import
com.glsx.smart.service.AiLockingKeyService
;
import
com.glsx.smart.service.AiLockingKeyShareService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
/**
/**
* @Title: ConditionController.java
* @Title: ConditionController.java
* @Description: 提供给gop-accounts(车钥匙app)使用的接口
* @Description: 提供给gop-accounts(车钥匙app)使用的接口
...
...
src/main/java/c
om/glsx/smart
/controller/AiLockingkeyShareController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/AiLockingkeyShareController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyReceiveRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareActionLogBatchRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareLogRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartShareKeyEditReq
;
import
cn.com.glsx.smart.modules.service.AiLockingKeyShareService
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.pojo.request.*
;
import
com.glsx.smart.service.AiLockingKeyShareService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/ConditionController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/ConditionController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartScenceSupstatus
;
import
cn.com.glsx.smart.modules.service.SmartScenceSupstatusService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.dao.entity.SmartScenceSupstatus
;
import
com.glsx.smart.service.SmartScenceSupstatusService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/ContentController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/ContentController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
cn.com.glsx.smart.modules.service.SmartDeviceOrderService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.service.SmartDeviceOrderService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/IndexController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/IndexController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
com.glsx.smart.config.DeviceAddressProducer
;
import
c
n.c
om.glsx.smart.config.DeviceAddressProducer
;
import
c
om.glsx.smart.dao
.entity.SmartProduct
;
import
c
n.com.glsx.smart.modules
.entity.SmartProduct
;
import
c
om.glsx.smart.pojo
.pb.InstanceFence.Fence
;
import
c
n.com.glsx.smart.modules.model
.pb.InstanceFence.Fence
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/OrderValueController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/OrderValueController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrdervalue
;
import
cn.com.glsx.smart.modules.service.SmartDeviceOrdervalueService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.dao.entity.SmartDeviceOrdervalue
;
import
com.glsx.smart.service.SmartDeviceOrdervalueService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/ProductController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/ProductController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
cn.com.glsx.smart.modules.entity.SmartProduct
;
import
cn.com.glsx.smart.modules.service.SmartProductService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.dao.entity.SmartProduct
;
import
com.glsx.smart.service.SmartProductService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -14,6 +13,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -14,6 +13,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
/**
* <p>Description: 产品列表业务
* <p>Description: 产品列表业务
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart
/controller/ProductTypeController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/ProductTypeController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartProductType
;
import
cn.com.glsx.smart.modules.service.SmartProductTypeService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.dao.entity.SmartProductType
;
import
com.glsx.smart.service.SmartProductTypeService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
src/main/java/c
om/glsx/smart
/controller/RemoteProductController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/RemoteProductController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.model.response.RemoteDeviceResp
;
import
cn.com.glsx.smart.modules.service.SmartProductTypeService
;
import
cn.com.glsx.smart.modules.service.SmartUserDeviceService
;
import
cn.com.glsx.smart.modules.service.SmartUserRelationService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.pojo.response.RemoteDeviceResp
;
import
com.glsx.smart.service.SmartProductTypeService
;
import
com.glsx.smart.service.SmartUserDeviceService
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
...
src/main/java/c
om/glsx/smart
/controller/SceneController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/SceneController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.model.OrderResponse
;
import
cn.com.glsx.smart.modules.service.*
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.pojo.OrderResponse
;
import
com.glsx.smart.service.*
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/java/c
om/glsx/smart
/controller/SceneTemplateController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/SceneTemplateController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.entity.SmartSceneTemplate
;
import
cn.com.glsx.smart.modules.service.SmartSceneTemplateService
;
import
cn.com.glsx.smart.modules.service.SmartTemplateParamService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.dao.entity.SmartSceneTemplate
;
import
com.glsx.smart.service.SmartSceneTemplateService
;
import
com.glsx.smart.service.SmartTemplateParamService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
src/main/java/c
om/glsx/smart
/controller/SysCodeController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/SysCodeController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.entity.SmartSysCode
;
import
cn.com.glsx.smart.modules.service.SmartSysCodeService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.dao.entity.SmartSysCode
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.SmartSysCodeService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
src/main/java/c
om/glsx/smart
/controller/SysFileController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/SysFileController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.modules.model.FileDTO
;
import
cn.com.glsx.smart.modules.service.SmartSysFileService
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.pojo.FileDTO
;
import
com.glsx.smart.service.SmartSysFileService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
...
src/main/java/c
om/glsx/smart
/controller/UserDeviceController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/UserDeviceController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
java.util.List
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
cn.com.glsx.smart.modules.service.SmartUserDeviceService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.SmartUserDeviceService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -15,6 +14,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -15,6 +14,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
/**
* <p>Description: 用户设备业务
* <p>Description: 用户设备业务
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart
/controller/UserKafkaController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/UserKafkaController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.config.DeviceAddressProducer
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.model.pb.InstanceFence.Fence
;
import
cn.com.glsx.smart.modules.service.*
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.smart.config.DeviceAddressProducer
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.pojo.pb.InstanceFence.Fence
;
import
com.glsx.smart.service.*
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/java/c
om/glsx/smart
/controller/UserRelationController.java
→
src/main/java/c
n/com/glsx/smart/modules
/controller/UserRelationController.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
controller
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
controller
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartUserChannel
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.service.SmartUserRelationService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.nacos.common.utils.MD5Utils
;
import
com.alibaba.nacos.common.utils.MD5Utils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.redis.utils.RedisUtils
;
import
com.glsx.plat.redis.utils.RedisUtils
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartUserChannel
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartDeviceOrder.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartDeviceOrder.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartDeviceOrdervalue.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartDeviceOrdervalue.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartDeviceStatus.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartDeviceStatus.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyBlueSense.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyBlueSense.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyBlueSenseExample.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyBlueSenseExample.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyCommandLog.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyCommandLog.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyCommandLogExample.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyCommandLogExample.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyCommandShareLog.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyCommandShareLog.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartKeyCommandShareLogExample.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartKeyCommandShareLogExample.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartProduct.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartProduct.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
c
om.glsx.smart.pojo
.BaseDTO
;
import
c
n.com.glsx.smart.modules.model
.BaseDTO
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.*
;
import
javax.persistence.*
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartProductType.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartProductType.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
c
om.glsx.smart.pojo
.BaseDTO
;
import
c
n.com.glsx.smart.modules.model
.BaseDTO
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.*
;
import
javax.persistence.*
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartScenceSupstatus.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartScenceSupstatus.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartScene.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartScene.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartSceneData.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartSceneData.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartSceneLog.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartSceneLog.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartSceneTemplate.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartSceneTemplate.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
c
om.glsx.smart.pojo
.BaseDTO
;
import
c
n.com.glsx.smart.modules.model
.BaseDTO
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GeneratedValue
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartShareKeyBlueKey.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartShareKeyBlueKey.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
@@ -7,10 +7,6 @@ import lombok.Data;
...
@@ -7,10 +7,6 @@ import lombok.Data;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartSysCode.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartSysCode.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
c
om.glsx.smart.pojo
.BaseDTO
;
import
c
n.com.glsx.smart.modules.model
.BaseDTO
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.*
;
import
javax.persistence.*
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartSysFile.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartSysFile.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartTemplateParam.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartTemplateParam.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartUserChannel.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartUserChannel.java
View file @
651270e
package
com
.
glsx
.
smart
.
dao
.
entity
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
import
java.util.Date
;
import
java.util.Date
;
import
lombok.Data
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartUserDevice.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartUserDevice.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
javax.persistence.Column
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
java.util.Date
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.*
;
import
java.util.Date
;
/**
/**
* 车家智能用户设备表
* 车家智能用户设备表
*/
*/
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartUserRelation.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartUserRelation.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartVehicleBlueKey.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartVehicleBlueKey.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartVehicleBlueKeyExample.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartVehicleBlueKeyExample.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartVehicleBlueShareKey.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartVehicleBlueShareKey.java
View file @
651270e
package
com
.
glsx
.
smart
.
dao
.
entity
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
@@ -13,6 +11,7 @@ import javax.persistence.GeneratedValue;
...
@@ -13,6 +11,7 @@ import javax.persistence.GeneratedValue;
import
javax.persistence.GenerationType
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
import
java.util.Date
;
/**
/**
* 分享智能蓝牙车钥匙表
* 分享智能蓝牙车钥匙表
...
@@ -93,7 +92,7 @@ public class SmartVehicleBlueShareKey implements Comparable<SmartVehicleBlueShar
...
@@ -93,7 +92,7 @@ public class SmartVehicleBlueShareKey implements Comparable<SmartVehicleBlueShar
private
Date
stopTime
;
private
Date
stopTime
;
@Override
@Override
public
int
compareTo
(
com
.
glsx
.
smart
.
dao
.
entity
.
SmartVehicleBlueShareKey
o
)
{
public
int
compareTo
(
SmartVehicleBlueShareKey
o
)
{
Integer
data
=
this
.
getShareStatus
();
Integer
data
=
this
.
getShareStatus
();
Integer
data2
=
o
.
getShareStatus
();
Integer
data2
=
o
.
getShareStatus
();
if
(
null
==
data
)
if
(
null
==
data
)
...
...
src/main/java/c
om/glsx/smart/dao
/entity/SmartVehicleBlueShareKeyExample.java
→
src/main/java/c
n/com/glsx/smart/modules
/entity/SmartVehicleBlueShareKeyExample.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
entity
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
entity
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartDeviceOrderMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartDeviceOrderMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrder
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrder
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartDeviceOrdervalueMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartDeviceOrdervalueMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrdervalue
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrdervalue
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartDeviceStatusMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartDeviceStatusMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceStatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartKeyBlueSenseMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartKeyBlueSenseMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartKeyBlueSense
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense
;
import
c
om.glsx.smart.dao
.entity.SmartKeyBlueSenseExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSenseExample
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartKeyCommandLogMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartKeyCommandLogMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyCommandRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyCommandRequest
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -32,5 +32,5 @@ public interface SmartKeyCommandLogMapper {
...
@@ -32,5 +32,5 @@ public interface SmartKeyCommandLogMapper {
int
updateByPrimaryKey
(
SmartKeyCommandLog
record
);
int
updateByPrimaryKey
(
SmartKeyCommandLog
record
);
int
insertBatch
(
@Param
(
"lockingkeyActLogList"
)
List
<
SmartCarKeyCommandRequest
>
lockingkeyActLogList
);
int
insertBatch
(
@Param
(
"lockingkeyActLogList"
)
List
<
SmartCarKeyCommandRequest
>
lockingkeyActLogList
);
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/c
om/glsx/smart/dao
/mapper/SmartKeyCommandShareLogMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartKeyCommandShareLogMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyShareLogRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyShareLogRequest
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -62,5 +62,5 @@ public interface SmartKeyCommandShareLogMapper {
...
@@ -62,5 +62,5 @@ public interface SmartKeyCommandShareLogMapper {
*/
*/
int
updateByPrimaryKey
(
SmartKeyCommandShareLog
record
);
int
updateByPrimaryKey
(
SmartKeyCommandShareLog
record
);
int
insertBatch
(
@Param
(
"lockingkeyActLogList"
)
List
<
SmartCarKeyShareLogRequest
>
lockingkeyActLogList
);
int
insertBatch
(
@Param
(
"lockingkeyActLogList"
)
List
<
SmartCarKeyShareLogRequest
>
lockingkeyActLogList
);
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/c
om/glsx/smart/dao
/mapper/SmartProductMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartProductMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
java.util.List
;
import
c
om.glsx.smart.dao
.entity.SmartProduct
;
import
c
n.com.glsx.smart.modules
.entity.SmartProduct
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartProductTypeMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartProductTypeMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartProductType
;
import
c
n.com.glsx.smart.modules
.entity.SmartProductType
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartScenceSupstatusMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartScenceSupstatusMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartScenceSupstatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartScenceSupstatus
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSceneDataMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSceneDataMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSceneLogMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSceneLogMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartSceneLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneLog
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
/**
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSceneMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSceneMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSceneTemplateMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSceneTemplateMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartSceneTemplate
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSysCodeMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSysCodeMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartSysCode
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysCode
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartSysFileMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartSysFileMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartSysFile
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysFile
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartTemplateParamMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartTemplateParamMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartTemplateParam
;
import
c
n.com.glsx.smart.modules
.entity.SmartTemplateParam
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartUserChannelMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartUserChannelMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartUserChannel
;
import
c
n.com.glsx.smart.modules
.entity.SmartUserChannel
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartUserDeviceMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartUserDeviceMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
java.util.List
;
import
c
om.glsx.smart.dao
.entity.SmartUserDevice
;
import
c
n.com.glsx.smart.modules
.entity.SmartUserDevice
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartUserRelationMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartUserRelationMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartUserRelation
;
import
c
n.com.glsx.smart.modules
.entity.SmartUserRelation
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartVehicleBlueKeyMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartVehicleBlueKeyMapper.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
dao
.
mapper
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
src/main/java/c
om/glsx/smart/dao
/mapper/SmartVehicleBlueShareKeyMapper.java
→
src/main/java/c
n/com/glsx/smart/modules
/mapper/SmartVehicleBlueShareKeyMapper.java
View file @
651270e
package
com
.
glsx
.
smart
.
dao
.
mapper
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
mapper
;
import
com.glsx.smart.dao.entity.SmartShareKeyBlueKey
;
import
com.glsx.smart.dao.entity.SmartVehicleBlueShareKey
;
import
com.glsx.smart.dao.entity.SmartVehicleBlueShareKeyExample
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.entity.SmartShareKeyBlueKey
;
import
cn.com.glsx.smart.modules.entity.SmartVehicleBlueShareKey
;
import
cn.com.glsx.smart.modules.entity.SmartVehicleBlueShareKeyExample
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
@Mapper
@Mapper
public
interface
SmartVehicleBlueShareKeyMapper
{
public
interface
SmartVehicleBlueShareKeyMapper
{
long
countByExample
(
SmartVehicleBlueShareKeyExample
example
);
long
countByExample
(
SmartVehicleBlueShareKeyExample
example
);
...
...
src/main/java/c
om/glsx/smart/pojo
/BaseDTO.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/BaseDTO.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/DjApiDTO.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/DjApiDTO.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/ExecuteTaskVo.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/ExecuteTaskVo.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
com.alibaba.nacos.common.utils.MD5Utils
;
import
lombok.Data
;
import
lombok.Data
;
import
scala.Byte
;
import
sun.security.provider.MD5
;
/**
/**
* @author zhouhaibao
* @author zhouhaibao
...
...
src/main/java/c
om/glsx/smart/pojo
/FileDTO.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/FileDTO.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/OrderResponse.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/OrderResponse.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/ResponseVo.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/ResponseVo.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/pb/InstanceFence/Fence.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/pb/InstanceFence/Fence.java
View file @
651270e
// Generated by the protocol buffer compiler. DO NOT EDIT!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: fence.proto
// source: fence.proto
package
c
om
.
glsx
.
smart
.
pojo
.
pb
.
InstanceFence
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
pb
.
InstanceFence
;
public
final
class
Fence
{
public
final
class
Fence
{
private
Fence
()
{}
private
Fence
()
{}
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyActionLogBatchRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyActionLogBatchRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyAutoSenseRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyAutoSenseRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyCommandRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyCommandRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyNameRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyNameRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyReceiveRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyReceiveRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyRegisterRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyRegisterRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyShareActionLogBatchRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyShareActionLogBatchRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyShareLogRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyShareLogRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyTokenRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyTokenRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartCarKeyUserRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartCarKeyUserRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartKeyPrimaryShareEditReq.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartKeyPrimaryShareEditReq.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartShareCarKeyPageRequest.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartShareCarKeyPageRequest.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/request/SmartShareKeyEditReq.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/request/SmartShareKeyEditReq.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
request
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
request
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/response/RemoteDeviceResp.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/response/RemoteDeviceResp.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
response
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
response
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart/pojo
/response/SmartCarKeyResponse.java
→
src/main/java/c
n/com/glsx/smart/modules/model
/response/SmartCarKeyResponse.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
pojo
.
response
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
model
.
response
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/c
om/glsx/smart
/service/AiLockingKeyService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/AiLockingKeyService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
cn.com.glsx.smart.modules.model.request.*
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.pojo.request.*
;
/**
/**
* <p>Description:智能车钥匙接口
* <p>Description:智能车钥匙接口
...
...
src/main/java/c
om/glsx/smart
/service/AiLockingKeyShareService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/AiLockingKeyShareService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyReceiveRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareActionLogBatchRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareLogRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartShareKeyEditReq
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.pojo.request.*
;
public
interface
AiLockingKeyShareService
{
public
interface
AiLockingKeyShareService
{
...
...
src/main/java/c
om/glsx/smart
/service/BaseService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/BaseService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
cn.com.glsx.smart.modules.model.BaseDTO
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.glsx.smart.pojo.BaseDTO
;
/**
/**
* <p>Description: 公共 Service 业务
* <p>Description: 公共 Service 业务
...
...
src/main/java/c
om/glsx/smart
/service/SmartDeviceOrderService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartDeviceOrderService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrder
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrder
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartDeviceOrdervalueService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartDeviceOrdervalueService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrdervalue
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrdervalue
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartDeviceStatusService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartDeviceStatusService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceStatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartKeyBlueSenseService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartKeyBlueSenseService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartKeyBlueSense
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense
;
import
c
om.glsx.smart.dao
.entity.SmartKeyBlueSenseExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSenseExample
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartKeyCommandLogService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartKeyCommandLogService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyCommandRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyCommandRequest
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartKeyCommandShareLogService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartKeyCommandShareLogService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyShareLogRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyShareLogRequest
;
import
java.util.List
;
import
java.util.List
;
public
interface
SmartKeyCommandShareLogService
{
public
interface
SmartKeyCommandShareLogService
{
...
@@ -22,9 +23,9 @@ public interface SmartKeyCommandShareLogService{
...
@@ -22,9 +23,9 @@ public interface SmartKeyCommandShareLogService{
SmartKeyCommandShareLog
selectByPrimaryKey
(
Long
id
);
SmartKeyCommandShareLog
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
);
int
updateByExampleSelective
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
);
int
updateByExample
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
);
int
updateByExample
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
);
int
updateByPrimaryKeySelective
(
SmartKeyCommandShareLog
record
);
int
updateByPrimaryKeySelective
(
SmartKeyCommandShareLog
record
);
...
...
src/main/java/c
om/glsx/smart
/service/SmartProductService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartProductService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
cn.com.glsx.smart.modules.entity.SmartProduct
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.dao.entity.SmartProduc
t
;
import
java.util.Lis
t
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/service/SmartProductTypeService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartProductTypeService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
cn.com.glsx.smart.modules.entity.SmartProductType
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
cn.com.glsx.smart.modules.model.response.RemoteDeviceResp
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.dao.entity.SmartProductType
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
com.glsx.smart.pojo.response.RemoteDeviceResp
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartScenceSupstatusService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartScenceSupstatusService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartScenceSupstatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartScenceSupstatus
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartSceneDataService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSceneDataService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartSceneData
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneData
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartSceneLogService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSceneLogService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartSceneLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneLog
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/service/SmartSceneService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSceneService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartScene
;
import
c
n.com.glsx.smart.modules
.entity.SmartScene
;
import
c
om.glsx.smart.pojo
.OrderResponse
;
import
c
n.com.glsx.smart.modules.model
.OrderResponse
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartSceneTemplateService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSceneTemplateService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartSceneTemplate
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartSysCodeService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSysCodeService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartSysCode
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysCode
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartSysFileService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartSysFileService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartSysFile
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysFile
;
import
c
om.glsx.smart.pojo
.FileDTO
;
import
c
n.com.glsx.smart.modules.model
.FileDTO
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartTemplateParamService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartTemplateParamService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartTemplateParam
;
import
c
n.com.glsx.smart.modules
.entity.SmartTemplateParam
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartUserChannelService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartUserChannelService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/service/SmartUserDeviceService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartUserDeviceService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
java.util.List
;
/**
/**
* <p>Description:
* <p>Description:
...
...
src/main/java/c
om/glsx/smart
/service/SmartUserRelationService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartUserRelationService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartUserRelation
;
import
c
n.com.glsx.smart.modules
.entity.SmartUserRelation
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartVehicleBlueKeyService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartVehicleBlueKeyService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/SmartVehicleBlueShareKeyService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/SmartVehicleBlueShareKeyService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
c
om.glsx.smart.dao
.entity.SmartShareKeyBlueKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartShareKeyBlueKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKeyExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKeyExample
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/UserKafkaService.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/UserKafkaService.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
com.glsx.platform.user.entity.UserAddressSmart
;
import
com.glsx.platform.user.entity.UserAddressSmart
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/AiLockingKeyServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/AiLockingKeyServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.modules.entity.*
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.model.request.*
;
import
cn.com.glsx.smart.modules.model.response.SmartCarKeyResponse
;
import
cn.com.glsx.smart.modules.service.*
;
import
cn.com.glsx.smart.common.utils.AesEncryptUtils
;
import
cn.com.glsx.smart.common.utils.JwtUtil
;
import
cn.com.glsx.smart.common.utils.SnowflakeWorker
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.nacos.common.utils.CollectionUtils
;
import
com.alibaba.nacos.common.utils.CollectionUtils
;
...
@@ -7,25 +16,13 @@ import com.alibaba.nacos.common.utils.StringUtils;
...
@@ -7,25 +16,13 @@ import com.alibaba.nacos.common.utils.StringUtils;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.dao.entity.*
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.pojo.request.*
;
import
com.glsx.smart.pojo.response.SmartCarKeyResponse
;
import
com.glsx.smart.service.*
;
import
com.glsx.smart.utils.AesEncryptUtils
;
import
com.glsx.smart.utils.JwtUtil
;
import
com.glsx.smart.utils.SnowflakeWorker
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.text.StrBuilder
;
import
org.apache.commons.lang.text.StrBuilder
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
...
src/main/java/c
om/glsx/smart
/service/impl/AiLockingKeyShareServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/AiLockingKeyShareServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.modules.entity.*
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyReceiveRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareActionLogBatchRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartCarKeyShareLogRequest
;
import
cn.com.glsx.smart.modules.model.request.SmartShareKeyEditReq
;
import
cn.com.glsx.smart.common.redis.RedisService
;
import
cn.com.glsx.smart.modules.service.AiLockingKeyShareService
;
import
cn.com.glsx.smart.modules.service.SmartKeyCommandShareLogService
;
import
cn.com.glsx.smart.modules.service.SmartVehicleBlueKeyService
;
import
cn.com.glsx.smart.modules.service.SmartVehicleBlueShareKeyService
;
import
cn.com.glsx.smart.common.utils.AesEncryptUtils
;
import
cn.com.glsx.smart.common.utils.JwtUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.nacos.common.utils.StringUtils
;
import
com.alibaba.nacos.common.utils.StringUtils
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.plat.core.web.R
;
import
com.glsx.smart.dao.entity.*
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.pojo.request.*
;
import
com.glsx.smart.redis.RedisService
;
import
com.glsx.smart.service.AiLockingKeyShareService
;
import
com.glsx.smart.service.SmartKeyCommandShareLogService
;
import
com.glsx.smart.service.SmartVehicleBlueKeyService
;
import
com.glsx.smart.service.SmartVehicleBlueShareKeyService
;
import
com.glsx.smart.utils.AesEncryptUtils
;
import
com.glsx.smart.utils.JwtUtil
;
import
io.jsonwebtoken.Claims
;
import
io.jsonwebtoken.Claims
;
import
io.jsonwebtoken.ExpiredJwtException
;
import
io.jsonwebtoken.ExpiredJwtException
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
@@ -28,7 +29,6 @@ import org.springframework.stereotype.Service;
...
@@ -28,7 +29,6 @@ import org.springframework.stereotype.Service;
import
java.text.ParseException
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
/**
* <p>Description:智能车钥匙service
* <p>Description:智能车钥匙service
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartDeviceOrderServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartDeviceOrderServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrder
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrder
;
import
c
om.glsx.smart.dao
.mapper.SmartDeviceOrderMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartDeviceOrderMapper
;
import
c
om.glsx.smart
.service.SmartDeviceOrderService
;
import
c
n.com.glsx.smart.modules
.service.SmartDeviceOrderService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -17,7 +17,7 @@ import java.util.List;
...
@@ -17,7 +17,7 @@ import java.util.List;
*/
*/
@Service
@Service
public
class
SmartDeviceOrderServiceImpl
implements
SmartDeviceOrderService
{
public
class
SmartDeviceOrderServiceImpl
implements
SmartDeviceOrderService
{
@Resource
@Resource
private
SmartDeviceOrderMapper
deviceOrderMapper
;
private
SmartDeviceOrderMapper
deviceOrderMapper
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartDeviceOrdervalueServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartDeviceOrdervalueServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceOrdervalue
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceOrdervalue
;
import
c
om.glsx.smart.dao
.mapper.SmartDeviceOrdervalueMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartDeviceOrdervalueMapper
;
import
c
om.glsx.smart
.service.SmartDeviceOrdervalueService
;
import
c
n.com.glsx.smart.modules
.service.SmartDeviceOrdervalueService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartDeviceStatusServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartDeviceStatusServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartDeviceStatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus
;
import
c
om.glsx.smart.dao
.mapper.SmartDeviceStatusMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartDeviceStatusMapper
;
import
c
om.glsx.smart
.service.SmartDeviceStatusService
;
import
c
n.com.glsx.smart.modules
.service.SmartDeviceStatusService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartKeyBlueSenseServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartKeyBlueSenseServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.modules.entity.SmartKeyBlueSense
;
import
cn.com.glsx.smart.modules.entity.SmartKeyBlueSenseExample
;
import
cn.com.glsx.smart.modules.mapper.SmartKeyBlueSenseMapper
;
import
cn.com.glsx.smart.modules.service.SmartKeyBlueSenseService
;
import
com.alibaba.nacos.common.utils.CollectionUtils
;
import
com.alibaba.nacos.common.utils.CollectionUtils
;
import
com.glsx.smart.dao.entity.SmartKeyBlueSense
;
import
com.glsx.smart.dao.entity.SmartKeyBlueSenseExample
;
import
com.glsx.smart.dao.mapper.SmartKeyBlueSenseMapper
;
import
com.glsx.smart.service.SmartKeyBlueSenseService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartKeyCommandLogServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartKeyCommandLogServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample
;
import
c
om.glsx.smart.dao
.mapper.SmartKeyCommandLogMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartKeyCommandLogMapper
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyCommandRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyCommandRequest
;
import
c
om.glsx.smart
.service.SmartKeyCommandLogService
;
import
c
n.com.glsx.smart.modules
.service.SmartKeyCommandLogService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartKeyCommandShareLogServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartKeyCommandShareLogServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog
;
import
c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample
;
import
c
om.glsx.smart.dao
.mapper.SmartKeyCommandShareLogMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartKeyCommandShareLogMapper
;
import
c
om.glsx.smart.pojo
.request.SmartCarKeyShareLogRequest
;
import
c
n.com.glsx.smart.modules.model
.request.SmartCarKeyShareLogRequest
;
import
c
om.glsx.smart
.service.SmartKeyCommandShareLogService
;
import
c
n.com.glsx.smart.modules
.service.SmartKeyCommandShareLogService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
@Service
@Service
public
class
SmartKeyCommandShareLogServiceImpl
implements
SmartKeyCommandShareLogService
{
public
class
SmartKeyCommandShareLogServiceImpl
implements
SmartKeyCommandShareLogService
{
@Resource
@Resource
private
SmartKeyCommandShareLogMapper
smartKeyCommandShareLogMapper
;
private
SmartKeyCommandShareLogMapper
smartKeyCommandShareLogMapper
;
...
@@ -51,12 +52,12 @@ public class SmartKeyCommandShareLogServiceImpl implements SmartKeyCommandShareL
...
@@ -51,12 +52,12 @@ public class SmartKeyCommandShareLogServiceImpl implements SmartKeyCommandShareL
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
)
{
public
int
updateByExampleSelective
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
)
{
return
smartKeyCommandShareLogMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartKeyCommandShareLogMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
)
{
public
int
updateByExample
(
SmartKeyCommandShareLog
record
,
SmartKeyCommandShareLogExample
example
)
{
return
smartKeyCommandShareLogMapper
.
updateByExample
(
record
,
example
);
return
smartKeyCommandShareLogMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartProductServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartProductServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
javax.annotation.Resource
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
java.util.ArrayList
;
import
cn.com.glsx.smart.common.enums.DeviceChannelEnum
;
import
java.util.Date
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.entity.SmartProduct
;
import
java.util.stream.Collectors
;
import
cn.com.glsx.smart.modules.entity.SmartSysCode
;
import
cn.com.glsx.smart.modules.mapper.SmartDeviceOrderMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartProductMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartSysCodeMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.service.BaseService
;
import
cn.com.glsx.smart.modules.service.SmartProductService
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.dao.entity.SmartProduct
;
import
com.glsx.smart.dao.entity.SmartSysCode
;
import
com.glsx.smart.dao.mapper.SmartDeviceOrderMapper
;
import
com.glsx.smart.dao.mapper.SmartProductMapper
;
import
com.glsx.smart.dao.mapper.SmartSysCodeMapper
;
import
com.glsx.smart.enums.DeviceChannelEnum
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.BaseService
;
import
com.glsx.smart.service.SmartProductService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
/**
* <p>Description: 产品列表业务
* <p>Description: 产品列表业务
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartProductTypeServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartProductTypeServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
com.alibaba.fastjson.JSON
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartProduct
;
import
cn.com.glsx.smart.modules.entity.SmartProductType
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
cn.com.glsx.smart.modules.mapper.SmartProductMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartProductTypeMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartUserDeviceMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.model.response.RemoteDeviceResp
;
import
cn.com.glsx.smart.modules.service.BaseService
;
import
cn.com.glsx.smart.modules.service.SmartProductTypeService
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartProduct
;
import
com.glsx.smart.dao.entity.SmartProductType
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
com.glsx.smart.dao.mapper.SmartProductMapper
;
import
com.glsx.smart.dao.mapper.SmartProductTypeMapper
;
import
com.glsx.smart.dao.mapper.SmartUserDeviceMapper
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.pojo.response.RemoteDeviceResp
;
import
com.glsx.smart.service.BaseService
;
import
com.glsx.smart.service.SmartProductTypeService
;
import
com.glsx.smart.utils.HttpUtil
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
...
@@ -24,7 +22,6 @@ import org.springframework.stereotype.Service;
...
@@ -24,7 +22,6 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.io.IOException
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartScenceSupstatusServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartScenceSupstatusServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartScenceSupstatus
;
import
c
n.com.glsx.smart.modules
.entity.SmartScenceSupstatus
;
import
c
om.glsx.smart.dao
.mapper.SmartScenceSupstatusMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartScenceSupstatusMapper
;
import
c
om.glsx.smart
.service.SmartScenceSupstatusService
;
import
c
n.com.glsx.smart.modules
.service.SmartScenceSupstatusService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSceneDataServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSceneDataServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrdervalue
;
import
cn.com.glsx.smart.modules.entity.SmartScenceSupstatus
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
cn.com.glsx.smart.modules.mapper.SmartDeviceOrderMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartDeviceOrdervalueMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartScenceSupstatusMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartSceneDataMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.service.SmartSceneDataService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.dao.entity.SmartDeviceOrdervalue
;
import
com.glsx.smart.dao.entity.SmartScenceSupstatus
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
com.glsx.smart.dao.mapper.SmartDeviceOrderMapper
;
import
com.glsx.smart.dao.mapper.SmartDeviceOrdervalueMapper
;
import
com.glsx.smart.dao.mapper.SmartScenceSupstatusMapper
;
import
com.glsx.smart.dao.mapper.SmartSceneDataMapper
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.SmartSceneDataService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSceneLogServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSceneLogServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartSceneLog
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneLog
;
import
c
om.glsx.smart.dao
.mapper.SmartSceneLogMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartSceneLogMapper
;
import
c
om.glsx.smart
.service.SmartSceneLogService
;
import
c
n.com.glsx.smart.modules
.service.SmartSceneLogService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSceneServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSceneServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.didicb.app.enums.MessageTypeEnum
;
import
cn.com.glsx.didicb.app.enums.MessageTypeEnum
;
import
cn.com.glsx.didicb.app.model.CarAssistantInfo
;
import
cn.com.glsx.didicb.app.model.CarAssistantInfo
;
import
cn.com.glsx.didicb.app.remote.CarAssistantInfoRemote
;
import
cn.com.glsx.didicb.app.remote.CarAssistantInfoRemote
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceStatus
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
cn.com.glsx.smart.modules.mapper.SmartDeviceStatusMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartSceneDataMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartSceneMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.model.ExecuteTaskVo
;
import
cn.com.glsx.smart.modules.model.OrderResponse
;
import
cn.com.glsx.smart.modules.model.ResponseVo
;
import
cn.com.glsx.smart.common.redis.RedisService
;
import
cn.com.glsx.smart.modules.service.BaseService
;
import
cn.com.glsx.smart.modules.service.SmartSceneService
;
import
cn.com.glsx.smart.common.utils.HttpUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartDeviceStatus
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
com.glsx.smart.dao.mapper.SmartDeviceStatusMapper
;
import
com.glsx.smart.dao.mapper.SmartSceneDataMapper
;
import
com.glsx.smart.dao.mapper.SmartSceneMapper
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.pojo.ExecuteTaskVo
;
import
com.glsx.smart.pojo.OrderResponse
;
import
com.glsx.smart.pojo.ResponseVo
;
import
com.glsx.smart.redis.RedisService
;
import
com.glsx.smart.service.BaseService
;
import
com.glsx.smart.service.SmartSceneService
;
import
com.glsx.smart.utils.HttpUtil
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
...
@@ -265,14 +265,14 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
...
@@ -265,14 +265,14 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
int
channel
=
executeTaskVo
.
getChannel
();
int
channel
=
executeTaskVo
.
getChannel
();
Map
<
String
,
Object
>
requestMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
requestMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
datamap
=
new
HashMap
<>();
Map
<
String
,
Object
>
datamap
=
new
HashMap
<>();
if
(
channel
==
Constants
.
USER_CHANNEL_TUYA
)
{
if
(
channel
==
Constants
.
USER_CHANNEL_TUYA
)
{
datamap
.
put
(
"key"
,
executeTaskVo
.
getOrderVal
());
datamap
.
put
(
"key"
,
executeTaskVo
.
getOrderVal
());
requestMap
.
put
(
"data"
,
datamap
);
requestMap
.
put
(
"data"
,
datamap
);
requestMap
.
put
(
"channel"
,
executeTaskVo
.
getChannel
());
requestMap
.
put
(
"channel"
,
executeTaskVo
.
getChannel
());
requestMap
.
put
(
"deviceId"
,
executeTaskVo
.
getSelect
());
requestMap
.
put
(
"deviceId"
,
executeTaskVo
.
getSelect
());
requestMap
.
put
(
"remoteId"
,
executeTaskVo
.
getRemoteId
());
requestMap
.
put
(
"remoteId"
,
executeTaskVo
.
getRemoteId
());
log
.
info
(
"涂鸦发送的红外指令{}"
,
JSON
.
toJSONString
(
requestMap
));
log
.
info
(
"涂鸦发送的红外指令{}"
,
JSON
.
toJSONString
(
requestMap
));
}
else
if
(
channel
==
Constants
.
USER_CHANNEL_AQARA
){
}
else
if
(
channel
==
Constants
.
USER_CHANNEL_AQARA
){
datamap
.
put
(
"keyId"
,
executeTaskVo
.
getOrderVal
());
datamap
.
put
(
"keyId"
,
executeTaskVo
.
getOrderVal
());
datamap
.
put
(
"acKey"
,
executeTaskVo
.
getOrderVal
());
datamap
.
put
(
"acKey"
,
executeTaskVo
.
getOrderVal
());
datamap
.
put
(
"did"
,
executeTaskVo
.
getRemoteId
());
datamap
.
put
(
"did"
,
executeTaskVo
.
getRemoteId
());
...
@@ -298,7 +298,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
...
@@ -298,7 +298,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
Map
<
String
,
Object
>
ordermaps
=
new
HashMap
<>();
Map
<
String
,
Object
>
ordermaps
=
new
HashMap
<>();
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
Map
<
String
,
Object
>
ordermap
=
new
HashMap
<>();
Map
<
String
,
Object
>
ordermap
=
new
HashMap
<>();
if
(
channel
==
Constants
.
USER_CHANNEL_TUYA
)
{
if
(
channel
==
Constants
.
USER_CHANNEL_TUYA
)
{
ordermap
.
put
(
"code"
,
executeTaskVo
.
getOrder
());
ordermap
.
put
(
"code"
,
executeTaskVo
.
getOrder
());
ordermap
.
put
(
"value"
,
revertType
(
valueType
,
order_value
));
ordermap
.
put
(
"value"
,
revertType
(
valueType
,
order_value
));
maps
.
add
(
ordermap
);
maps
.
add
(
ordermap
);
...
@@ -307,7 +307,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
...
@@ -307,7 +307,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
mapMap
.
put
(
"channel"
,
executeTaskVo
.
getChannel
());
mapMap
.
put
(
"channel"
,
executeTaskVo
.
getChannel
());
mapMap
.
put
(
"deviceId"
,
executeTaskVo
.
getSelect
());
mapMap
.
put
(
"deviceId"
,
executeTaskVo
.
getSelect
());
log
.
info
(
"涂鸦发送的指令{}"
,
JSON
.
toJSONString
(
mapMap
));
log
.
info
(
"涂鸦发送的指令{}"
,
JSON
.
toJSONString
(
mapMap
));
}
else
if
(
channel
==
Constants
.
USER_CHANNEL_AQARA
)
{
}
else
if
(
channel
==
Constants
.
USER_CHANNEL_AQARA
)
{
ordermap
.
put
(
executeTaskVo
.
getOrder
(),
revertType
(
valueType
,
order_value
));
ordermap
.
put
(
executeTaskVo
.
getOrder
(),
revertType
(
valueType
,
order_value
));
ordermaps
.
put
(
"attrs"
,
ordermap
);
ordermaps
.
put
(
"attrs"
,
ordermap
);
ordermaps
.
put
(
"did"
,
executeTaskVo
.
getSelect
());
ordermaps
.
put
(
"did"
,
executeTaskVo
.
getSelect
());
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSceneTemplateServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSceneTemplateServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartSceneTemplate
;
import
c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate
;
import
c
om.glsx.smart.dao
.entity.SmartTemplateParam
;
import
c
n.com.glsx.smart.modules
.entity.SmartTemplateParam
;
import
c
om.glsx.smart.dao
.mapper.SmartSceneTemplateMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartSceneTemplateMapper
;
import
c
om.glsx.smart.dao
.mapper.SmartTemplateParamMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartTemplateParamMapper
;
import
c
om.glsx.smart
.service.BaseService
;
import
c
n.com.glsx.smart.modules
.service.BaseService
;
import
c
om.glsx.smart
.service.SmartSceneTemplateService
;
import
c
n.com.glsx.smart.modules
.service.SmartSceneTemplateService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSysCodeServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSysCodeServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartSysCode
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysCode
;
import
c
om.glsx.smart.dao
.mapper.SmartSysCodeMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartSysCodeMapper
;
import
c
om.glsx.smart
.exception.BusinessException
;
import
c
n.com.glsx.smart.common
.exception.BusinessException
;
import
c
om.glsx.smart
.exception.ResultEnum
;
import
c
n.com.glsx.smart.common
.exception.ResultEnum
;
import
c
om.glsx.smart
.service.BaseService
;
import
c
n.com.glsx.smart.modules
.service.BaseService
;
import
c
om.glsx.smart
.service.SmartSysCodeService
;
import
c
n.com.glsx.smart.modules
.service.SmartSysCodeService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartSysFileServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartSysFileServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartSysFile
;
import
c
n.com.glsx.smart.modules
.entity.SmartSysFile
;
import
c
om.glsx.smart.dao
.mapper.SmartSysFileMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper
;
import
c
om.glsx.smart
.exception.BusinessException
;
import
c
n.com.glsx.smart.common
.exception.BusinessException
;
import
c
om.glsx.smart
.exception.ResultEnum
;
import
c
n.com.glsx.smart.common
.exception.ResultEnum
;
import
c
om.glsx.smart.pojo
.FileDTO
;
import
c
n.com.glsx.smart.modules.model
.FileDTO
;
import
c
om.glsx.smart
.service.SmartSysFileService
;
import
c
n.com.glsx.smart.modules
.service.SmartSysFileService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartTemplateParamServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartTemplateParamServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrder
;
import
cn.com.glsx.smart.modules.entity.SmartDeviceOrdervalue
;
import
cn.com.glsx.smart.modules.entity.SmartScenceSupstatus
;
import
cn.com.glsx.smart.modules.entity.SmartTemplateParam
;
import
cn.com.glsx.smart.modules.mapper.*
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.service.SmartTemplateParamService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
com.glsx.smart.dao.entity.SmartDeviceOrdervalue
;
import
com.glsx.smart.dao.entity.SmartScenceSupstatus
;
import
com.glsx.smart.dao.entity.SmartTemplateParam
;
import
com.glsx.smart.dao.mapper.*
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.SmartTemplateParamService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartUserChannelServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartUserChannelServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
javax.annotation.Resource
;
import
cn.com.glsx.smart.modules.mapper.SmartUserChannelMapper
;
import
com.glsx.smart.dao.mapper.SmartUserChannelMapper
;
import
cn.com.glsx.smart.modules.service.BaseService
;
import
com.glsx.smart.service.BaseService
;
import
cn.com.glsx.smart.modules.service.SmartUserChannelService
;
import
com.glsx.smart.service.SmartUserChannelService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartUserDeviceServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartUserDeviceServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
javax.annotation.Resource
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
javax.transaction.Transactional
;
import
cn.com.glsx.smart.modules.entity.SmartUserChannel
;
import
java.nio.charset.StandardCharsets
;
import
cn.com.glsx.smart.modules.entity.SmartUserDevice
;
import
java.util.Date
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
java.util.HashMap
;
import
cn.com.glsx.smart.modules.mapper.SmartProductMapper
;
import
java.util.List
;
import
cn.com.glsx.smart.modules.mapper.SmartUserChannelMapper
;
import
java.util.Map
;
import
cn.com.glsx.smart.modules.mapper.SmartUserDeviceMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartUserRelationMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.common.redis.RedisService
;
import
cn.com.glsx.smart.modules.service.BaseService
;
import
cn.com.glsx.smart.modules.service.SmartUserDeviceService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartUserChannel
;
import
com.glsx.smart.dao.entity.SmartUserDevice
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.dao.mapper.SmartProductMapper
;
import
com.glsx.smart.dao.mapper.SmartUserChannelMapper
;
import
com.glsx.smart.dao.mapper.SmartUserDeviceMapper
;
import
com.glsx.smart.dao.mapper.SmartUserRelationMapper
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.redis.RedisService
;
import
com.glsx.smart.service.BaseService
;
import
com.glsx.smart.service.SmartUserDeviceService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.transaction.Transactional
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* <p>Description: 用户设备业务
* <p>Description: 用户设备业务
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartUserRelationServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartUserRelationServiceImpl.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
.
impl
;
package
cn
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartUserChannel
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.mapper.SmartUserChannelMapper
;
import
cn.com.glsx.smart.modules.mapper.SmartUserRelationMapper
;
import
cn.com.glsx.smart.common.exception.BusinessException
;
import
cn.com.glsx.smart.common.exception.ResultEnum
;
import
cn.com.glsx.smart.modules.service.SmartUserRelationService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.HttpUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.plat.common.utils.StringUtils
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartUserChannel
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.dao.mapper.SmartUserChannelMapper
;
import
com.glsx.smart.dao.mapper.SmartUserRelationMapper
;
import
com.glsx.smart.exception.BusinessException
;
import
com.glsx.smart.exception.ResultEnum
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -116,7 +116,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -116,7 +116,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
public
String
syncTuYaUser
(
String
mobile
,
String
password
,
Long
userId
)
{
public
String
syncTuYaUser
(
String
mobile
,
String
password
,
Long
userId
)
{
String
thirdId
=
this
.
syncTuYaUser
(
mobile
,
password
);
String
thirdId
=
this
.
syncTuYaUser
(
mobile
,
password
);
if
(
thirdId
!=
null
){
if
(
thirdId
!=
null
){
this
.
saveUserChannel
(
userId
,
thirdId
,
Constants
.
USER_CHANNEL_TUYA
);
this
.
saveUserChannel
(
userId
,
thirdId
,
Constants
.
USER_CHANNEL_TUYA
);
}
}
return
thirdId
;
return
thirdId
;
}
}
...
@@ -128,7 +128,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -128,7 +128,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
if
(
returnMap
!=
null
){
if
(
returnMap
!=
null
){
//保存绿米渠道用户数据
//保存绿米渠道用户数据
thirdId
=
returnMap
.
get
(
"openId"
);
thirdId
=
returnMap
.
get
(
"openId"
);
this
.
saveUserChannel
(
userId
,
thirdId
,
Constants
.
USER_CHANNEL_AQARA
);
this
.
saveUserChannel
(
userId
,
thirdId
,
Constants
.
USER_CHANNEL_AQARA
);
}
}
return
thirdId
;
return
thirdId
;
}
}
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartVehicleBlueKeyServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartVehicleBlueKeyServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample
;
import
c
om.glsx.smart.dao
.mapper.SmartVehicleBlueKeyMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartVehicleBlueKeyMapper
;
import
c
om.glsx.smart
.service.SmartVehicleBlueKeyService
;
import
c
n.com.glsx.smart.modules
.service.SmartVehicleBlueKeyService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/SmartVehicleBlueShareKeyServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/SmartVehicleBlueShareKeyServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
c
om.glsx.smart.dao
.entity.SmartShareKeyBlueKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartShareKeyBlueKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey
;
import
c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKeyExample
;
import
c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKeyExample
;
import
c
om.glsx.smart.dao
.mapper.SmartVehicleBlueShareKeyMapper
;
import
c
n.com.glsx.smart.modules
.mapper.SmartVehicleBlueShareKeyMapper
;
import
c
om.glsx.smart
.service.SmartVehicleBlueShareKeyService
;
import
c
n.com.glsx.smart.modules
.service.SmartVehicleBlueShareKeyService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/c
om/glsx/smart
/service/impl/UserKafkaServiceImpl.java
→
src/main/java/c
n/com/glsx/smart/modules
/service/impl/UserKafkaServiceImpl.java
View file @
651270e
package
c
om
.
glsx
.
smart
.
service
.
impl
;
package
c
n
.
com
.
glsx
.
smart
.
modules
.
service
.
impl
;
import
cn.com.glsx.smart.config.DeviceAddressProducer
;
import
cn.com.glsx.smart.common.constant.Constants
;
import
cn.com.glsx.smart.modules.entity.SmartScene
;
import
cn.com.glsx.smart.modules.entity.SmartSceneData
;
import
cn.com.glsx.smart.modules.entity.SmartUserRelation
;
import
cn.com.glsx.smart.modules.mapper.SmartUserRelationMapper
;
import
cn.com.glsx.smart.modules.model.pb.InstanceFence.Fence
;
import
cn.com.glsx.smart.modules.service.UserKafkaService
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.platform.user.entity.UserAddressSmart
;
import
com.glsx.platform.user.entity.UserAddressSmart
;
import
com.glsx.platform.user.service.UserAddressSmartService
;
import
com.glsx.platform.user.service.UserAddressSmartService
;
import
com.glsx.smart.config.DeviceAddressProducer
;
import
com.glsx.smart.constant.Constants
;
import
com.glsx.smart.dao.entity.SmartScene
;
import
com.glsx.smart.dao.entity.SmartSceneData
;
import
com.glsx.smart.dao.entity.SmartUserRelation
;
import
com.glsx.smart.dao.mapper.SmartUserRelationMapper
;
import
com.glsx.smart.pojo.pb.InstanceFence.Fence
;
import
com.glsx.smart.service.UserKafkaService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.dubbo.config.annotation.DubboReference
;
import
org.apache.dubbo.config.annotation.DubboReference
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/resources/mapper/SmartDeviceOrderMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartDeviceOrderMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartDeviceOrderMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartDeviceOrder"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceOrder"
>
<!--@Table smart_device_order-->
<!--@Table smart_device_order-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"product_id"
jdbcType=
"VARCHAR"
property=
"productId"
/>
<result
column=
"product_id"
jdbcType=
"VARCHAR"
property=
"productId"
/>
...
...
src/main/resources/mapper/SmartDeviceOrdervalueMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartDeviceOrdervalueMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartDeviceOrdervalueMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartDeviceOrdervalue"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceOrdervalue"
>
<!--@mbg.generated generated on Fri Mar 19 17:22:28 CST 2021.-->
<!--@mbg.generated generated on Fri Mar 19 17:22:28 CST 2021.-->
<!--@Table smart_device_ordervalue-->
<!--@Table smart_device_ordervalue-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<!--@mbg.generated generated on Fri Mar 19 17:22:28 CST 2021.-->
<!--@mbg.generated generated on Fri Mar 19 17:22:28 CST 2021.-->
id, order_id, device_status_code, device_status_value
id, order_id, device_status_code, device_status_value
</sql>
</sql>
<select
id=
"getList"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartDeviceOrdervalue"
resultMap=
"BaseResultMap"
>
<select
id=
"getList"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceOrdervalue"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from smart_device_ordervalue
select
<include
refid=
"Base_Column_List"
/>
from smart_device_ordervalue
<where>
<where>
<if
test=
"orderId != null"
>
<if
test=
"orderId != null"
>
...
...
src/main/resources/mapper/SmartDeviceStatusMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartDeviceStatusMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartDeviceStatusMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartDeviceStatus"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_device_status-->
<!--@Table smart_device_status-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartDeviceStatus"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_device_status
insert into smart_device_status
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartDeviceStatus"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartDeviceStatus"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_device_status
insert into smart_device_status
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
src/main/resources/mapper/SmartKeyBlueSenseMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartKeyBlueSenseMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartKeyBlueSenseMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSense"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_key_blue_sense-->
<!--@Table smart_key_blue_sense-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<!--@mbg.generated-->
<!--@mbg.generated-->
id, user_id, sn, auto_sense_status, mobile_blue_mac, create_time, is_delete, car_key_id
id, user_id, sn, auto_sense_status, mobile_blue_mac, create_time, is_delete, car_key_id
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSenseExample"
<select
id=
"selectByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSenseExample"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSenseExample"
>
<delete
id=
"deleteByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSenseExample"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
delete from smart_key_blue_sense
delete from smart_key_blue_sense
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSense"
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense"
useGeneratedKeys=
"true"
>
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_key_blue_sense (user_id, sn, auto_sense_status,
insert into smart_key_blue_sense (user_id, sn, auto_sense_status,
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSense"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_key_blue_sense
insert into smart_key_blue_sense
...
@@ -327,7 +327,7 @@
...
@@ -327,7 +327,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSenseExample"
<select
id=
"countByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSenseExample"
resultType=
"java.lang.Long"
>
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select count(*) from smart_key_blue_sense
select count(*) from smart_key_blue_sense
...
@@ -451,7 +451,7 @@
...
@@ -451,7 +451,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSense"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_key_blue_sense
update smart_key_blue_sense
...
@@ -539,7 +539,7 @@
...
@@ -539,7 +539,7 @@
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyBlueSense"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyBlueSense"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_key_blue_sense
update smart_key_blue_sense
set user_id = #{userId,jdbcType=BIGINT},
set user_id = #{userId,jdbcType=BIGINT},
...
...
src/main/resources/mapper/SmartKeyCommandLogMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartKeyCommandLogMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartKeyCommandLogMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLog"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table cyb_os.smart_key_command_log-->
<!--@Table cyb_os.smart_key_command_log-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<!--@mbg.generated-->
<!--@mbg.generated-->
id, user_id, crep_code, key_command, create_time
id, user_id, crep_code, key_command, create_time
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample"
<select
id=
"selectByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample"
>
<delete
id=
"deleteByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
delete from cyb_os.smart_key_command_log
delete from cyb_os.smart_key_command_log
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLog"
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog"
useGeneratedKeys=
"true"
>
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into cyb_os.smart_key_command_log (user_id, crep_code, key_command,
insert into cyb_os.smart_key_command_log (user_id, crep_code, key_command,
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLog"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into cyb_os.smart_key_command_log
insert into cyb_os.smart_key_command_log
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLogExample"
<select
id=
"countByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLogExample"
resultType=
"java.lang.Long"
>
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select count(*) from cyb_os.smart_key_command_log
select count(*) from cyb_os.smart_key_command_log
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLog"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update cyb_os.smart_key_command_log
update cyb_os.smart_key_command_log
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandLog"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update cyb_os.smart_key_command_log
update cyb_os.smart_key_command_log
set user_id = #{userId,jdbcType=BIGINT},
set user_id = #{userId,jdbcType=BIGINT},
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
</update>
</update>
<insert
id=
"insertBatch"
parameterType=
"c
om.glsx.smart.pojo
.request.SmartCarKeyCommandRequest"
>
<insert
id=
"insertBatch"
parameterType=
"c
n.com.glsx.smart.modules.model
.request.SmartCarKeyCommandRequest"
>
INSERT INTO `smart_key_command_log` (`user_id`, `crep_code`, `key_command`, `create_time`)
INSERT INTO `smart_key_command_log` (`user_id`, `crep_code`, `key_command`, `create_time`)
VALUES
VALUES
<foreach
collection=
"lockingkeyActLogList"
item=
"keyActLog"
separator=
","
>
<foreach
collection=
"lockingkeyActLogList"
item=
"keyActLog"
separator=
","
>
...
...
src/main/resources/mapper/SmartKeyCommandShareLogMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartKeyCommandShareLogMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartKeyCommandShareLogMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_key_command_share_log-->
<!--@Table smart_key_command_share_log-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<!--@mbg.generated-->
<!--@mbg.generated-->
id, share_car_key_id, key_command, create_time
id, share_car_key_id, key_command, create_time
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample"
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
<if
test=
"distinct"
>
<if
test=
"distinct"
>
...
@@ -100,21 +100,21 @@
...
@@ -100,21 +100,21 @@
delete from smart_key_command_share_log
delete from smart_key_command_share_log
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample"
>
<delete
id=
"deleteByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
delete from smart_key_command_share_log
delete from smart_key_command_share_log
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog"
useGeneratedKeys=
"true"
>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_key_command_share_log (share_car_key_id, key_command, create_time
insert into smart_key_command_share_log (share_car_key_id, key_command, create_time
)
)
values (#{shareCarKeyId,jdbcType=BIGINT}, #{keyCommand,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}
values (#{shareCarKeyId,jdbcType=BIGINT}, #{keyCommand,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}
)
)
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog"
useGeneratedKeys=
"true"
>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_key_command_share_log
insert into smart_key_command_share_log
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLogExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLogExample"
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select count(*) from smart_key_command_share_log
select count(*) from smart_key_command_share_log
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_key_command_share_log
update smart_key_command_share_log
<set>
<set>
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
</set>
</set>
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartKeyCommandShareLog"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartKeyCommandShareLog"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_key_command_share_log
update smart_key_command_share_log
set share_car_key_id = #{shareCarKeyId,jdbcType=BIGINT},
set share_car_key_id = #{shareCarKeyId,jdbcType=BIGINT},
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
<insert
id=
"insertBatch"
parameterType=
"c
om.glsx.smart.pojo
.request.SmartCarKeyShareLogRequest"
>
<insert
id=
"insertBatch"
parameterType=
"c
n.com.glsx.smart.modules.model
.request.SmartCarKeyShareLogRequest"
>
INSERT INTO `smart_key_command_share_log` (`share_car_key_id`, `key_command`, `create_time`)
INSERT INTO `smart_key_command_share_log` (`share_car_key_id`, `key_command`, `create_time`)
VALUES
VALUES
<foreach
collection=
"lockingkeyActLogList"
item=
"keyActLog"
separator=
","
>
<foreach
collection=
"lockingkeyActLogList"
item=
"keyActLog"
separator=
","
>
...
...
src/main/resources/mapper/SmartProductMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartProductMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartProductMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartProduct"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartProduct"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_product-->
<!--@Table smart_product-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<resultMap
id=
"DetailResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartProduct"
extends=
"BaseResultMap"
>
<resultMap
id=
"DetailResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartProduct"
extends=
"BaseResultMap"
>
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
om.glsx.smart.dao
.entity.SmartProduct"
fetchType=
"eager"
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartProduct"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
order by sp.create_time desc
order by sp.create_time desc
</select>
</select>
<select
id=
"getByCondition"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartProduct"
resultMap=
"DetailResultMap"
>
<select
id=
"getByCondition"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartProduct"
resultMap=
"DetailResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from smart_product
select
<include
refid=
"Base_Column_List"
/>
from smart_product
<where>
<where>
<if
test=
"platformProductId != null and platformProductId != ''"
>
<if
test=
"platformProductId != null and platformProductId != ''"
>
...
...
src/main/resources/mapper/SmartProductTypeMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartProductTypeMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartProductTypeMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartProductType"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartProductType"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_product_type-->
<!--@Table smart_product_type-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -16,14 +16,14 @@
...
@@ -16,14 +16,14 @@
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"tuya_category_id"
jdbcType=
"INTEGER"
property=
"tuyaCategoryId"
/>
<result
column=
"tuya_category_id"
jdbcType=
"INTEGER"
property=
"tuyaCategoryId"
/>
</resultMap>
</resultMap>
<resultMap
id=
"BaseConditionMap"
type=
"c
om.glsx.smart.dao
.entity.SmartProductType"
extends=
"BaseResultMap"
>
<resultMap
id=
"BaseConditionMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartProductType"
extends=
"BaseResultMap"
>
<collection
property=
"conditionList"
column=
"id"
ofType=
"c
om.glsx.smart.dao
.entity.SmartProductType"
fetchType=
"eager"
<collection
property=
"conditionList"
column=
"id"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartProductType"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartScenceSupstatusMapper.getListByProductId"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartScenceSupstatusMapper.getListByProductId"
>
</collection>
</collection>
</resultMap>
</resultMap>
<resultMap
id=
"BaseContentMap"
type=
"c
om.glsx.smart.dao
.entity.SmartProductType"
extends=
"BaseResultMap"
>
<resultMap
id=
"BaseContentMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartProductType"
extends=
"BaseResultMap"
>
<collection
property=
"contentList"
column=
"id"
ofType=
"c
om.glsx.smart.dao
.entity.SmartProductType"
fetchType=
"eager"
<collection
property=
"contentList"
column=
"id"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartProductType"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartDeviceOrderMapper.getListByProductId"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartDeviceOrderMapper.getListByProductId"
>
</collection>
</collection>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
...
src/main/resources/mapper/SmartScenceSupstatusMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartScenceSupstatusMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartScenceSupstatusMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartScenceSupstatus"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartScenceSupstatus"
>
<!--@mbg.generated generated on Fri Mar 19 17:23:04 CST 2021.-->
<!--@mbg.generated generated on Fri Mar 19 17:23:04 CST 2021.-->
<!--@Table smart_scence_supstatus-->
<!--@Table smart_scence_supstatus-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
...
...
src/main/resources/mapper/SmartSceneDataMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSceneDataMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSceneDataMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSceneData"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSceneData"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_scene_data-->
<!--@Table smart_scene_data-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
where scene_id = #{sceneId,jdbcType=BIGINT}
where scene_id = #{sceneId,jdbcType=BIGINT}
</select>
</select>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSceneData"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneData"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene_data
insert into smart_scene_data
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSceneData"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneData"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene_data
insert into smart_scene_data
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
src/main/resources/mapper/SmartSceneLogMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSceneLogMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSceneLogMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSceneLog"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSceneLog"
>
<!--@mbg.generated generated on Sun Apr 11 11:12:26 CST 2021.-->
<!--@mbg.generated generated on Sun Apr 11 11:12:26 CST 2021.-->
<!--@Table smart_scene_log-->
<!--@Table smart_scene_log-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
...
src/main/resources/mapper/SmartSceneMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSceneMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSceneMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartScene"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_scene-->
<!--@Table smart_scene-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -21,17 +21,17 @@
...
@@ -21,17 +21,17 @@
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<resultMap
id=
"DetailResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartScene"
extends=
"BaseResultMap"
>
<resultMap
id=
"DetailResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
extends=
"BaseResultMap"
>
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
om.glsx.smart.dao
.entity.SmartScene"
fetchType=
"eager"
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
<collection
property=
"backPicUrl"
column=
"back_pic"
ofType=
"c
om.glsx.smart.dao
.entity.SmartScene"
<collection
property=
"backPicUrl"
column=
"back_pic"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
fetchType=
"eager"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
<collection
property=
"pagePicUrl"
column=
"page_pic"
ofType=
"c
om.glsx.smart.dao
.entity.SmartScene"
<collection
property=
"pagePicUrl"
column=
"page_pic"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
fetchType=
"eager"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartScene"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene
insert into smart_scene
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartScene"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene
insert into smart_scene
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -449,7 +449,7 @@
...
@@ -449,7 +449,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"getList"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartScene"
resultMap=
"DetailResultMap"
>
<select
id=
"getList"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartScene"
resultMap=
"DetailResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from smart_scene t
from smart_scene t
...
...
src/main/resources/mapper/SmartSceneTemplateMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSceneTemplateMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSceneTemplateMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_scene_template-->
<!--@Table smart_scene_template-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -23,15 +23,15 @@
...
@@ -23,15 +23,15 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<resultMap
id=
"DetailResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
extends=
"BaseResultMap"
>
<resultMap
id=
"DetailResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
extends=
"BaseResultMap"
>
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
fetchType=
"eager"
<collection
property=
"iconUrl"
column=
"icon"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
<collection
property=
"backPicUrl"
column=
"back_pic"
ofType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
fetchType=
"eager"
<collection
property=
"backPicUrl"
column=
"back_pic"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
<collection
property=
"pagePicUrl"
column=
"page_pic"
ofType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
fetchType=
"eager"
<collection
property=
"pagePicUrl"
column=
"page_pic"
ofType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
fetchType=
"eager"
select=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper.selectUrlById"
>
select=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper.selectUrlById"
>
</collection>
</collection>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene_template
insert into smart_scene_template
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -319,7 +319,7 @@
...
@@ -319,7 +319,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_scene_template
insert into smart_scene_template
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -475,7 +475,7 @@
...
@@ -475,7 +475,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"getList"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSceneTemplate"
resultMap=
"DetailResultMap"
>
<select
id=
"getList"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSceneTemplate"
resultMap=
"DetailResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from smart_scene_template t
from smart_scene_template t
...
...
src/main/resources/mapper/SmartSysCodeMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSysCodeMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSysCodeMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSysCode"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSysCode"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_sys_code-->
<!--@Table smart_sys_code-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<resultMap
id=
"TreeResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSysCode"
<resultMap
id=
"TreeResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSysCode"
extends=
"BaseResultMap"
>
extends=
"BaseResultMap"
>
<!--@Table smart_sys_code-->
<!--@Table smart_sys_code-->
<collection
property=
"subCodeList"
select=
"getTree"
column=
"{parentKey=dict_key}"
/>
<collection
property=
"subCodeList"
select=
"getTree"
column=
"{parentKey=dict_key}"
/>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSysCode"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSysCode"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_sys_code
insert into smart_sys_code
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -316,7 +316,7 @@
...
@@ -316,7 +316,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSysCode"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSysCode"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_sys_code
insert into smart_sys_code
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
src/main/resources/mapper/SmartSysFileMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartSysFileMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartSysFileMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartSysFile"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartSysFile"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_sys_file-->
<!--@Table smart_sys_file-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
#{item.id,jdbcType=BIGINT}
#{item.id,jdbcType=BIGINT}
</foreach>
</foreach>
</update>
</update>
<select
id=
"findByType"
resultType=
"c
om.glsx.smart.dao
.entity.SmartSysFile"
>
<select
id=
"findByType"
resultType=
"c
n.com.glsx.smart.modules
.entity.SmartSysFile"
>
select * from smart_sys_file
select * from smart_sys_file
<if
test=
"type != null"
>
<if
test=
"type != null"
>
where `type` = #{type,jdbcType=TINYINT}
where `type` = #{type,jdbcType=TINYINT}
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSysFile"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSysFile"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_sys_file
insert into smart_sys_file
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartSysFile"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartSysFile"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_sys_file
insert into smart_sys_file
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
src/main/resources/mapper/SmartTemplateParamMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartTemplateParamMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartTemplateParamMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartTemplateParam"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartTemplateParam"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_template_param-->
<!--@Table smart_template_param-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartTemplateParam"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartTemplateParam"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_template_param
insert into smart_template_param
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
where template_id = #{templateId,jdbcType=BIGINT}
where template_id = #{templateId,jdbcType=BIGINT}
</select>
</select>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartTemplateParam"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartTemplateParam"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_template_param
insert into smart_template_param
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
src/main/resources/mapper/SmartUserChannelMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartUserChannelMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartUserChannelMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartUserChannel"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartUserChannel"
>
<!--@mbg.generated generated on Fri Apr 23 15:24:29 CST 2021.-->
<!--@mbg.generated generated on Fri Apr 23 15:24:29 CST 2021.-->
<!--@Table smart_user_channel-->
<!--@Table smart_user_channel-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
...
src/main/resources/mapper/SmartUserDeviceMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartUserDeviceMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartUserDeviceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartUserDevice"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartUserDevice"
>
<!--@mbg.generated generated on Fri Apr 23 15:24:29 CST 2021.-->
<!--@mbg.generated generated on Fri Apr 23 15:24:29 CST 2021.-->
<!--@Table smart_user_device-->
<!--@Table smart_user_device-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
...
src/main/resources/mapper/SmartUserRelationMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartUserRelationMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartUserRelationMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartUserRelation"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartUserRelation"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_user_relation-->
<!--@Table smart_user_relation-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdate"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartUserRelation"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartUserRelation"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_user_relation
insert into smart_user_relation
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertOrUpdateSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartUserRelation"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartUserRelation"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_user_relation
insert into smart_user_relation
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"getSingle"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartUserRelation"
resultMap=
"BaseResultMap"
>
<select
id=
"getSingle"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartUserRelation"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from smart_user_relation
from smart_user_relation
...
...
src/main/resources/mapper/SmartVehicleBlueKeyMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartVehicleBlueKeyMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartVehicleBlueKeyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_vehicle_blue_key-->
<!--@Table smart_vehicle_blue_key-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
id, user_id, sn, crep_code, secret_key, smart_lock_Mac, car_number, key_name, is_delete,
id, user_id, sn, crep_code, secret_key, smart_lock_Mac, car_number, key_name, is_delete,
create_time, mobile_code, peripheral_uuid, auto_sense_status, mobile_blue_mac, share_status
create_time, mobile_code, peripheral_uuid, auto_sense_status, mobile_blue_mac, share_status
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample"
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
<if
test=
"distinct"
>
<if
test=
"distinct"
>
...
@@ -112,14 +112,14 @@
...
@@ -112,14 +112,14 @@
delete from smart_vehicle_blue_key
delete from smart_vehicle_blue_key
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample"
>
<delete
id=
"deleteByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
delete from smart_vehicle_blue_key
delete from smart_vehicle_blue_key
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey"
useGeneratedKeys=
"true"
>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_vehicle_blue_key (user_id, sn, crep_code,
insert into smart_vehicle_blue_key (user_id, sn, crep_code,
secret_key, smart_lock_Mac, car_number,
secret_key, smart_lock_Mac, car_number,
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
#{mobileCode,jdbcType=VARCHAR}, #{peripheralUuid,jdbcType=VARCHAR}, #{autoSenseStatus,jdbcType=TINYINT},
#{mobileCode,jdbcType=VARCHAR}, #{peripheralUuid,jdbcType=VARCHAR}, #{autoSenseStatus,jdbcType=TINYINT},
#{mobileBlueMac,jdbcType=VARCHAR}, #{shareStatus,jdbcType=TINYINT})
#{mobileBlueMac,jdbcType=VARCHAR}, #{shareStatus,jdbcType=TINYINT})
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey"
useGeneratedKeys=
"true"
>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_vehicle_blue_key
insert into smart_vehicle_blue_key
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKeyExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKeyExample"
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select count(*) from smart_vehicle_blue_key
select count(*) from smart_vehicle_blue_key
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_vehicle_blue_key
update smart_vehicle_blue_key
<set>
<set>
...
@@ -356,7 +356,7 @@
...
@@ -356,7 +356,7 @@
</set>
</set>
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueKey"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_vehicle_blue_key
update smart_vehicle_blue_key
set user_id = #{userId,jdbcType=BIGINT},
set user_id = #{userId,jdbcType=BIGINT},
...
...
src/main/resources/mapper/SmartVehicleBlueShareKeyMapper.xml
View file @
651270e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"c
om.glsx.smart.dao
.mapper.SmartVehicleBlueShareKeyMapper"
>
<mapper
namespace=
"c
n.com.glsx.smart.modules
.mapper.SmartVehicleBlueShareKeyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey"
>
<resultMap
id=
"BaseResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_vehicle_blue_share_key-->
<!--@Table smart_vehicle_blue_share_key-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<result
column=
"stop_time"
jdbcType=
"TIMESTAMP"
property=
"stopTime"
/>
<result
column=
"stop_time"
jdbcType=
"TIMESTAMP"
property=
"stopTime"
/>
</resultMap>
</resultMap>
<resultMap
id=
"BaseMultiResultMap"
type=
"c
om.glsx.smart.dao
.entity.SmartShareKeyBlueKey"
>
<resultMap
id=
"BaseMultiResultMap"
type=
"c
n.com.glsx.smart.modules
.entity.SmartShareKeyBlueKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
<!--@Table smart_vehicle_blue_share_key-->
<!--@Table smart_vehicle_blue_share_key-->
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
id, car_key_id, share_key_token, share_pick_status, pick_user_id, share_status, create_time,
id, car_key_id, share_key_token, share_pick_status, pick_user_id, share_status, create_time,
pick_time, expire_time, stop_time
pick_time, expire_time, stop_time
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKeyExample"
<select
id=
"selectByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKeyExample"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKeyExample"
>
<delete
id=
"deleteByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKeyExample"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
delete from smart_vehicle_blue_share_key
delete from smart_vehicle_blue_share_key
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_vehicle_blue_share_key (car_key_id, share_key_token, share_pick_status,
insert into smart_vehicle_blue_share_key (car_key_id, share_key_token, share_pick_status,
pick_user_id, share_status, create_time,
pick_user_id, share_status, create_time,
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
</insert>
</insert>
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"insertSelective"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey"
useGeneratedKeys=
"true"
>
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into smart_vehicle_blue_share_key
insert into smart_vehicle_blue_share_key
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKeyExample"
<select
id=
"countByExample"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKeyExample"
resultType=
"java.lang.Long"
>
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select count(*) from smart_vehicle_blue_share_key
select count(*) from smart_vehicle_blue_share_key
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_vehicle_blue_share_key
update smart_vehicle_blue_share_key
...
@@ -405,7 +405,7 @@
...
@@ -405,7 +405,7 @@
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
om.glsx.smart.dao
.entity.SmartVehicleBlueShareKey"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"c
n.com.glsx.smart.modules
.entity.SmartVehicleBlueShareKey"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_vehicle_blue_share_key
update smart_vehicle_blue_share_key
set car_key_id = #{carKeyId,jdbcType=BIGINT},
set car_key_id = #{carKeyId,jdbcType=BIGINT},
...
...
src/main/webapp/WEB-INF/bin/start.sh
View file @
651270e
...
@@ -71,7 +71,7 @@ else
...
@@ -71,7 +71,7 @@ else
fi
fi
echo
-e
"Starting the
$SERVER_NAME
...
\c
"
echo
-e
"Starting the
$SERVER_NAME
...
\c
"
nohup
$JAVA_HOME
/bin/java
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
c
om.glsx.smart
.SmartServiceApplication
env
=
$ENV
>
$STDOUT_FILE
2>&1 &
nohup
$JAVA_HOME
/bin/java
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
c
n.com.glsx
.SmartServiceApplication
env
=
$ENV
>
$STDOUT_FILE
2>&1 &
COUNT
=
0
COUNT
=
0
while
[
$COUNT
-lt 1
]
;
do
while
[
$COUNT
-lt 1
]
;
do
...
...
src/test/java/com/glsx/smart/service/TestDubboService.java
View file @
651270e
package
com
.
glsx
.
smart
.
service
;
package
com
.
glsx
.
smart
.
service
;
import
com.glsx.smart.service.impl.UserKafkaServiceImpl
;
import
cn.com.glsx.smart.modules.service.impl.UserKafkaServiceImpl
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment