Browse Source

# 所有服务blade-common包升级

zhongwei
H.X 2 years ago
parent
commit
64f0ccb2db
  1. 5
      hzims-service/assets/pom.xml
  2. 2
      hzims-service/equipment/pom.xml
  3. 5
      hzims-service/inspect/pom.xml
  4. 1
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotTaskServiceImpl.java
  5. 4
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/config/XxlJobConfig.java
  6. 3
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/EventServiceImpl.java
  7. 7
      hzims-service/message/pom.xml
  8. 3
      hzims-service/operational/pom.xml
  9. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/ControlUsersController.java
  10. 2
      hzims-service/pom.xml
  11. 5
      hzims-service/safeproduct/pom.xml
  12. 5
      hzims-service/ticket/pom.xml
  13. 5
      hzims-service/topvision/pom.xml
  14. 10
      hzims-service/weather/pom.xml

5
hzims-service/assets/pom.xml

@ -15,6 +15,11 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.projet.common.version}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-core-boot</artifactId> <artifactId>blade-core-boot</artifactId>
</dependency> </dependency>
<dependency> <dependency>

2
hzims-service/equipment/pom.xml

@ -118,7 +118,7 @@
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId> <artifactId>blade-common</artifactId>
<version>${bladex.project.version}</version> <version>${bladex.projet.common.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.hnac.hzims</groupId> <groupId>com.hnac.hzims</groupId>

5
hzims-service/inspect/pom.xml

@ -26,6 +26,11 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>4.5.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-starter-datascope</artifactId> <artifactId>blade-starter-datascope</artifactId>
<version>${bladex.project.version}</version> <version>${bladex.project.version}</version>
</dependency> </dependency>

1
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotTaskServiceImpl.java

@ -544,6 +544,7 @@ public class RobotTaskServiceImpl extends BaseServiceImpl<RobotTaskMapper, Robot
* @param object * @param object
*/ */
public void handleThermalData(MultipartFile file,JSONObject object){ public void handleThermalData(MultipartFile file,JSONObject object){
//logger.info("inspect:handleThermalData:object",JSON.toJSONString(object));
if(!file.getContentType().equals(DAT_TYPE)){ if(!file.getContentType().equals(DAT_TYPE)){
throw new ServiceException("机器人巡检热成像返回文件格式不正确 —— " + file.getOriginalFilename()); throw new ServiceException("机器人巡检热成像返回文件格式不正确 —— " + file.getOriginalFilename());
} }

4
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/config/XxlJobConfig.java

@ -24,8 +24,8 @@ public class XxlJobConfig {
@Value("${xxl.job.executor.ip}") @Value("${xxl.job.executor.ip}")
private String ip; private String ip;
// @Value("${xxl.job.executor.port}") @Value("${xxl.job.executor.port}")
private int port = 28121; private int port;
@Value("${xxl.job.accessToken}") @Value("${xxl.job.accessToken}")
private String accessToken; private String accessToken;

3
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/EventServiceImpl.java

@ -1,5 +1,6 @@
package com.hnac.hzinfo.inspect.task.service.impl; package com.hnac.hzinfo.inspect.task.service.impl;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.hnac.hzims.operational.defect.constants.DefectConstant; import com.hnac.hzims.operational.defect.constants.DefectConstant;
@ -180,6 +181,7 @@ public class EventServiceImpl extends BaseServiceImpl<TaskEventMapper, EventEnti
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public boolean addTaskEventAuto(EventAddVO eventVO){ public boolean addTaskEventAuto(EventAddVO eventVO){
//logger.info("addTaskEventAuto:eventVO:"+eventVO.getProjectId(),"传参为:"+ JSON.toJSONString(eventVO));
BladeUser user = AuthUtil.getUser(); BladeUser user = AuthUtil.getUser();
//第一次登记时,需领用任务 //第一次登记时,需领用任务
@ -251,6 +253,7 @@ public class EventServiceImpl extends BaseServiceImpl<TaskEventMapper, EventEnti
} }
if(success && list.size()>0){ if(success && list.size()>0){
//logger.info("addTaskEventAuto:EventRecordEntityList:list","传参为:"+ JSON.toJSONString(list));
success = eventRecordService.saveBatch(list); success = eventRecordService.saveBatch(list);
} }
if(success && taskObjectProjectContentEntityList.size()>0){ if(success && taskObjectProjectContentEntityList.size()>0){

7
hzims-service/message/pom.xml

@ -32,6 +32,13 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<!-- <version>${bladex.project.version}</version>-->
<version>${bladex.projet.common.version}</version>
</dependency>
<dependency>
<groupId>ognl</groupId> <groupId>ognl</groupId>
<artifactId>ognl</artifactId> <artifactId>ognl</artifactId>
<version>3.1.12</version> <version>3.1.12</version>

3
hzims-service/operational/pom.xml

@ -47,7 +47,8 @@
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId> <artifactId>blade-common</artifactId>
<version>${bladex.project.version}</version> <!-- <version>${bladex.project.version}</version>-->
<version>${bladex.projet.common.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/ControlUsersController.java

@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/station/controlUsers") @RequestMapping("/station/controlUsers")
@AllArgsConstructor @AllArgsConstructor
@Api("遥控权限管理") @Api(value="遥控权限管理",tags = "遥控权限管理")
public class ControlUsersController extends BladeController { public class ControlUsersController extends BladeController {
private final IControlUsersService controlUsersService; private final IControlUsersService controlUsersService;
@ -31,7 +31,7 @@ public class ControlUsersController extends BladeController {
return R.status(controlUsersService.save(req)); return R.status(controlUsersService.save(req));
} }
@GetMapping("/listPage") @GetMapping("/listPage")
@ApiOperation("分页查询") @ApiOperation("分页查询")
@ApiOperationSupport(order = 2) @ApiOperationSupport(order = 2)
public R<IPage<ControlUsersEntity>> listPage(ControlUsersEntity req, Query query) { public R<IPage<ControlUsersEntity>> listPage(ControlUsersEntity req, Query query) {

2
hzims-service/pom.xml

@ -24,7 +24,7 @@
<module>equipment</module> <module>equipment</module>
<module>safeproduct</module> <module>safeproduct</module>
<module>operational</module> <module>operational</module>
<!-- <module>inspect</module>--> <module>inspect</module>
<module>message</module> <module>message</module>
<module>ticket</module> <module>ticket</module>
<module>weather</module> <module>weather</module>

5
hzims-service/safeproduct/pom.xml

@ -17,6 +17,11 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.projet.common.version}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-core-boot</artifactId> <artifactId>blade-core-boot</artifactId>
</dependency> </dependency>
<dependency> <dependency>

5
hzims-service/ticket/pom.xml

@ -25,6 +25,11 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.projet.common.version}</version>
</dependency>
<!--转pdf--> <!--转pdf-->
<dependency> <dependency>

5
hzims-service/topvision/pom.xml

@ -19,6 +19,11 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.projet.common.version}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-core-boot</artifactId> <artifactId>blade-core-boot</artifactId>
</dependency> </dependency>
<dependency> <dependency>

10
hzims-service/weather/pom.xml

@ -25,6 +25,11 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.projet.common.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
@ -50,11 +55,6 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springblade</groupId> <groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${bladex.project.version}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-starter-swagger</artifactId> <artifactId>blade-starter-swagger</artifactId>
</dependency> </dependency>
<dependency> <dependency>

Loading…
Cancel
Save