commit
0dc7ddd119
|
@ -0,0 +1,33 @@
|
|||
*.class
|
||||
*/logs
|
||||
.mvn/
|
||||
*.md
|
||||
|
||||
#package files
|
||||
|
||||
*.war
|
||||
*.ear
|
||||
|
||||
#kdiff3 ignore
|
||||
target/
|
||||
|
||||
#eclipse ignore
|
||||
.settings/
|
||||
.project
|
||||
.classpath
|
||||
|
||||
#idea
|
||||
.idea/
|
||||
/idea/
|
||||
*.ipr
|
||||
*.iml
|
||||
*.iws
|
||||
|
||||
# temp file
|
||||
|
||||
*.log
|
||||
*.cache
|
||||
*.diff
|
||||
*.patch
|
||||
*.tmp
|
||||
*.versionsBackup
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.hbt.sass</groupId>
|
||||
<artifactId>hbt-work-ticket</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>hbt-work-ticket-api</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!-- hbt Common Security -->
|
||||
<dependency>
|
||||
<groupId>com.hbt.onreal</groupId>
|
||||
<artifactId>hbt-onreal-common-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>joda-time</groupId>
|
||||
<artifactId>joda-time</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.work.ticket.api;
|
||||
|
||||
import com.hbt.common.core.domain.R;
|
||||
import com.hbt.work.ticket.api.factory.RemoteWorkTicketFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
/**
|
||||
* hbt-work-ticket服务
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@FeignClient(contextId = "remoteWorkTicketService", value = "hbt-work-ticket", fallbackFactory = RemoteWorkTicketFallbackFactory.class)
|
||||
public interface RemoteWorkTicketService
|
||||
{
|
||||
/**
|
||||
* 接口示例
|
||||
*
|
||||
* @return 结果
|
||||
*/
|
||||
@GetMapping(value = "/workticket/action")
|
||||
R<String> action() ;
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.api.factory;
|
||||
|
||||
import com.hbt.common.core.domain.R;
|
||||
import com.hbt.work.ticket.api.RemoteWorkTicketService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* WorkTicket服务降级处理
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class RemoteWorkTicketFallbackFactory implements FallbackFactory<RemoteWorkTicketService>
|
||||
{
|
||||
|
||||
@Override
|
||||
public RemoteWorkTicketService create(Throwable throwable)
|
||||
{
|
||||
log.error("WorkTicket服务调用失败:{}", throwable.getMessage());
|
||||
return () -> R.fail("调用失败:" + throwable.getMessage());
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
FROM 119.45.158.12:5000/mini-java8:latest
|
||||
COPY target/hbt-work-ticket-biz-1.0-SNAPSHOT.jar /app/app.jar
|
||||
ENV NACOSIP=""
|
||||
ENTRYPOINT ["sh","-c","java -Dnacos.ip=$NACOSIP -jar /app/app.jar"]
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.hbt.sass</groupId>
|
||||
<artifactId>hbt-work-ticket</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>hbt-work-ticket-biz</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<dependencies>
|
||||
<!-- SpringCloud Ailibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Ailibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Ailibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- hbt Common DataSource -->
|
||||
<dependency>
|
||||
<groupId>com.hbt.onreal</groupId>
|
||||
<artifactId>hbt-onreal-common-datasource</artifactId>
|
||||
</dependency>
|
||||
<!-- hbt Common Security -->
|
||||
<dependency>
|
||||
<groupId>com.hbt.onreal</groupId>
|
||||
<artifactId>hbt-onreal-common-security</artifactId>
|
||||
</dependency>
|
||||
<!-- hbt Common Swagger -->
|
||||
<dependency>
|
||||
<groupId>com.hbt.onreal</groupId>
|
||||
<artifactId>hbt-onreal-common-swagger</artifactId>
|
||||
</dependency>
|
||||
<!-- hbt Common log -->
|
||||
<dependency>
|
||||
<groupId>com.hbt.onreal</groupId>
|
||||
<artifactId>hbt-onreal-common-log</artifactId>
|
||||
</dependency>
|
||||
<!-- Swagger -->
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger-ui</artifactId>
|
||||
</dependency>
|
||||
<!-- Mysql Connector -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket;
|
||||
|
||||
import com.hbt.common.security.annotation.EnableCustomConfig;
|
||||
import com.hbt.common.security.annotation.EnableRyFeignClients;
|
||||
import com.hbt.common.swagger.annotation.EnableCustomSwagger2;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||
import org.springframework.cloud.client.SpringCloudApplication;
|
||||
|
||||
/**
|
||||
* 入口类, 扫描并注入其他配置类和服务
|
||||
*/
|
||||
@EnableCustomConfig
|
||||
@SpringCloudApplication
|
||||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
@ServletComponentScan(basePackages = "com.hbt.work.ticket")
|
||||
public class WorkTicketApplication {
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
SpringApplication.run(com.hbt.work.ticket.WorkTicketApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 服务启动成功 ლ(´ڡ`ლ)゙ ");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 盲板信息Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/blind_plate")
|
||||
@Api(tags = "ticket-blind_plate-controller", description = "盲板信息")
|
||||
public class BlindPlateController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 企业信息Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/company")
|
||||
@Api(tags = "ticket-company-controller", description = "企业信息")
|
||||
public class CompanyController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 个体防护设备Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/defend_equipment")
|
||||
@Api(tags = "ticket-defend_equipment-controller", description = "个体防护设备")
|
||||
public class DefendEquipmentController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 设备设施清单Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/device_info")
|
||||
@Api(tags = "ticket-device_info-controller", description = "设备设施清单")
|
||||
public class DeviceInfoController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 委托记录Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/entrust_record")
|
||||
@Api(tags = "ticket-entrust_record-controller", description = "委托记录")
|
||||
public class EntrustRecordController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 委托规则Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/entrust_rule")
|
||||
@Api(tags = "ticket-entrust_rule-controller", description = "委托规则")
|
||||
public class EntrustRuleController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 固定动火区Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fire_area")
|
||||
@Api(tags = "ticket-fire_area-controller", description = "固定动火区")
|
||||
public class FireAreaController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 首次气体分析(审批流程节点)Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/gas_analyse_first")
|
||||
@Api(tags = "ticket-gas_analyse_first-controller", description = "首次气体分析(审批流程节点)")
|
||||
public class GasAnalyseFirstController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 气体检测库Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/gas_detect_table")
|
||||
@Api(tags = "ticket-gas_detect_table-controller", description = "气体检测库")
|
||||
public class GasDetectTableController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 更换监护人Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/guardian_replace")
|
||||
@Api(tags = "ticket-guardian_replace-controller", description = "更换监护人")
|
||||
public class GuardianReplaceController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 危险有害因素信息Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/hazard_factor")
|
||||
@Api(tags = "ticket-hazard_factor-controller", description = "危险有害因素信息")
|
||||
public class HazardFactorController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业票JSAController
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jsa")
|
||||
@Api(tags = "ticket-jsa-controller", description = "作业票JSA")
|
||||
public class JsaController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业票JSA详情Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jsa_detail")
|
||||
@Api(tags = "ticket-jsa_detail-controller", description = "作业票JSA详情")
|
||||
public class JsaDetailController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* jsa模板库详情Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jsa_detail_template")
|
||||
@Api(tags = "ticket-jsa_detail_template-controller", description = "jsa模板库详情")
|
||||
public class JsaDetailTemplateController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* JSA模板库Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jsa_template")
|
||||
@Api(tags = "ticket-jsa_template-controller", description = "JSA模板库")
|
||||
public class JsaTemplateController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 移动布控球Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/mobile_ball")
|
||||
@Api(tags = "ticket-mobile_ball-controller", description = "移动布控球")
|
||||
public class MobileBallController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 移动布控球使用记录Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/mobile_ball_record")
|
||||
@Api(tags = "ticket-mobile_ball_record-controller", description = "移动布控球使用记录")
|
||||
public class MobileBallRecordController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 便携式检测仪Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/portable_detector")
|
||||
@Api(tags = "ticket-portable_detector-controller", description = "便携式检测仪")
|
||||
public class PortableDetectorController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 便携式检测仪使用记录Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/portable_detector_record")
|
||||
@Api(tags = "ticket-portable_detector_record-controller", description = "便携式检测仪使用记录")
|
||||
public class PortableDetectorRecordController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 安全措施确认Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/safety_measure_confirm")
|
||||
@Api(tags = "ticket-safety_measure_confirm-controller", description = "安全措施确认")
|
||||
public class SafetyMeasureConfirmController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 安全措施库Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/safety_measure")
|
||||
@Api(tags = "ticket-safety_measure-controller", description = "安全措施库")
|
||||
public class SafetyMeasureController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 安全技术交底Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/safety_tech_confirm")
|
||||
@Api(tags = "ticket-safety_tech_confirm-controller", description = "安全技术交底")
|
||||
public class SafetyTechConfirmController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 安全技术交底内容Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/safety_tech_content")
|
||||
@Api(tags = "ticket-safety_tech_content-controller", description = "安全技术交底内容")
|
||||
public class SafetyTechContentController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 安全技术交底内容模板库Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/safety_tech_template")
|
||||
@Api(tags = "ticket-safety_tech_template-controller", description = "安全技术交底内容模板库")
|
||||
public class SafetyTechTemplateController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 会签表Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/sign")
|
||||
@Api(tags = "ticket-sign-controller", description = "会签表")
|
||||
public class SignController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 受限空间台账Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/space_book")
|
||||
@Api(tags = "ticket-space_book-controller", description = "受限空间台账")
|
||||
public class SpaceBookController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 受限空间防护用品Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/space_defend_equipment")
|
||||
@Api(tags = "ticket-space_defend_equipment-controller", description = "受限空间防护用品")
|
||||
public class SpaceDefendEquipmentController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 受限空间应急物资Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/space_emergency_material")
|
||||
@Api(tags = "ticket-space_emergency_material-controller", description = "受限空间应急物资")
|
||||
public class SpaceEmergencyMaterialController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业区域Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_area")
|
||||
@Api(tags = "ticket-work_area-controller", description = "作业区域")
|
||||
public class WorkAreaController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 登高作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_ascended")
|
||||
@Api(tags = "ticket-work_ascended-controller", description = "登高作业")
|
||||
public class WorkAscendedController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 盲板抽堵作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_blind_plate")
|
||||
@Api(tags = "ticket-work_blind_plate-controller", description = "盲板抽堵作业")
|
||||
public class WorkBlindPlateController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业预约Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_booking")
|
||||
@Api(tags = "ticket-work_booking-controller", description = "作业预约")
|
||||
public class WorkBookingController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业稽查Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_check")
|
||||
@Api(tags = "ticket-work_check-controller", description = "作业稽查")
|
||||
public class WorkCheckController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 动土作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_dig")
|
||||
@Api(tags = "ticket-work_dig-controller", description = "动土作业")
|
||||
public class WorkDigController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 临电作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_electricity")
|
||||
@Api(tags = "ticket-work_electricity-controller", description = "临电作业")
|
||||
public class WorkElectricityController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 动火作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_fire")
|
||||
@Api(tags = "ticket-work_fire-controller", description = "动火作业")
|
||||
public class WorkFireController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 一般作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_general")
|
||||
@Api(tags = "ticket-work_general-controller", description = "一般作业")
|
||||
public class WorkGeneralController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 吊装作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_lift")
|
||||
@Api(tags = "ticket-work_lift-controller", description = "吊装作业")
|
||||
public class WorkLiftController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业恢复Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_recover")
|
||||
@Api(tags = "ticket-work_recover-controller", description = "作业恢复")
|
||||
public class WorkRecoverController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作息表Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_rest_table")
|
||||
@Api(tags = "ticket-work_rest_table-controller", description = "作息表")
|
||||
public class WorkRestTableController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 断路作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_road_break")
|
||||
@Api(tags = "ticket-work_road_break-controller", description = "断路作业")
|
||||
public class WorkRoadBreakController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 受限空间作业Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/work_space")
|
||||
@Api(tags = "ticket-work_space-controller", description = "受限空间作业")
|
||||
public class WorkSpaceController {
|
||||
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 作业人员信息Controller
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/worker")
|
||||
@Api(tags = "ticket-worker-controller", description = "作业人员信息")
|
||||
public class WorkerController {
|
||||
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.BlindPlate;
|
||||
import com.hbt.work.ticket.po.BlindPlatePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class BlindPlateConvert {
|
||||
public static BlindPlatePo getBlindPlatePo(BlindPlate blindPlate) {
|
||||
return BlindPlatePo.builder()
|
||||
.id(blindPlate.getId())
|
||||
.blindPlateNumber(blindPlate.getBlindPlateNumber())
|
||||
.pipelineNumber(blindPlate.getPipelineNumber())
|
||||
.pidIndex(blindPlate.getPidIndex())
|
||||
.locationMap(blindPlate.getLocationMap())
|
||||
.type(blindPlate.getType())
|
||||
.specs(blindPlate.getSpecs())
|
||||
.thick(blindPlate.getThick())
|
||||
.material(blindPlate.getMaterial())
|
||||
.pressureLevel(blindPlate.getPressureLevel())
|
||||
.normalStatus(blindPlate.getNormalStatus())
|
||||
.medium(blindPlate.getMedium())
|
||||
.mediumTemp(blindPlate.getMediumTemp())
|
||||
.mediumPressure(blindPlate.getMediumPressure())
|
||||
.installPlace(blindPlate.getInstallPlace())
|
||||
.belongPlace(blindPlate.getBelongPlace())
|
||||
.status(blindPlate.getStatus())
|
||||
.chargerId(blindPlate.getChargerId())
|
||||
.chargerName(blindPlate.getChargerName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.Company;
|
||||
import com.hbt.work.ticket.po.CompanyPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class CompanyConvert {
|
||||
public static CompanyPo getCompanyPo(Company company) {
|
||||
return CompanyPo.builder()
|
||||
.id(company.getId())
|
||||
.name(company.getName())
|
||||
.usci(company.getUsci())
|
||||
.charger(company.getCharger())
|
||||
.phone(company.getPhone())
|
||||
.address(company.getAddress())
|
||||
.black(company.getBlack())
|
||||
.cert(company.getCert())
|
||||
.industry(company.getIndustry())
|
||||
.register(company.getRegister())
|
||||
.annex(company.getAnnex())
|
||||
.annexName(company.getAnnexName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.DefendEquipment;
|
||||
import com.hbt.work.ticket.po.DefendEquipmentPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class DefendEquipmentConvert {
|
||||
public static DefendEquipmentPo getDefendEquipmentPo(DefendEquipment defendEquipment) {
|
||||
return DefendEquipmentPo.builder()
|
||||
.id(defendEquipment.getId())
|
||||
.name(defendEquipment.getName())
|
||||
.specs(defendEquipment.getSpecs())
|
||||
.type(defendEquipment.getType())
|
||||
.location(defendEquipment.getLocation())
|
||||
.status(defendEquipment.getStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.DeviceInfo;
|
||||
import com.hbt.work.ticket.po.DeviceInfoPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class DeviceInfoConvert {
|
||||
public static DeviceInfoPo getDeviceInfoPo(DeviceInfo deviceInfo) {
|
||||
return DeviceInfoPo.builder()
|
||||
.id(deviceInfo.getId())
|
||||
.name(deviceInfo.getName())
|
||||
.number(deviceInfo.getNumber())
|
||||
.specs(deviceInfo.getSpecs())
|
||||
.importLevel(deviceInfo.getImportLevel())
|
||||
.classify(deviceInfo.getClassify())
|
||||
.type(deviceInfo.getType())
|
||||
.deptId(deviceInfo.getDeptId())
|
||||
.deptName(deviceInfo.getDeptName())
|
||||
.workSection(deviceInfo.getWorkSection())
|
||||
.belongDevice(deviceInfo.getBelongDevice())
|
||||
.status(deviceInfo.getStatus())
|
||||
.usage(deviceInfo.getUsage())
|
||||
.medium(deviceInfo.getMedium())
|
||||
.mediumMax(deviceInfo.getMediumMax())
|
||||
.mediumUnit(deviceInfo.getMediumUnit())
|
||||
.character(deviceInfo.getCharacter())
|
||||
.assetNumber(deviceInfo.getAssetNumber())
|
||||
.timeInUse(deviceInfo.getTimeInUse())
|
||||
.useDeadline(deviceInfo.getUseDeadline())
|
||||
.weight(deviceInfo.getWeight())
|
||||
.weightUnit(deviceInfo.getWeightUnit())
|
||||
.chargeDeptId(deviceInfo.getChargeDeptId())
|
||||
.chargeDeptName(deviceInfo.getChargeDeptName())
|
||||
.charger(deviceInfo.getCharger())
|
||||
.chargerName(deviceInfo.getChargerName())
|
||||
.workTemp(deviceInfo.getWorkTemp())
|
||||
.workPressure(deviceInfo.getWorkPressure())
|
||||
.vender(deviceInfo.getVender())
|
||||
.exitNumber(deviceInfo.getExitNumber())
|
||||
.exitTime(deviceInfo.getExitTime())
|
||||
.installTime(deviceInfo.getInstallTime())
|
||||
.installUnit(deviceInfo.getInstallUnit())
|
||||
.acceptReport(deviceInfo.getAcceptReport())
|
||||
.acceptReportName(deviceInfo.getAcceptReportName())
|
||||
.debugReport(deviceInfo.getDebugReport())
|
||||
.debugReportName(deviceInfo.getDebugReportName())
|
||||
.annex(deviceInfo.getAnnex())
|
||||
.annexName(deviceInfo.getAnnexName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.EntrustRecord;
|
||||
import com.hbt.work.ticket.po.EntrustRecordPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class EntrustRecordConvert {
|
||||
public static EntrustRecordPo getEntrustRecordPo(EntrustRecord entrustRecord) {
|
||||
return EntrustRecordPo.builder()
|
||||
.id(entrustRecord.getId())
|
||||
.entrustRuleId(entrustRecord.getEntrustRuleId())
|
||||
.workId(entrustRecord.getWorkId())
|
||||
.workNumber(entrustRecord.getWorkNumber())
|
||||
.workClassify(entrustRecord.getWorkClassify())
|
||||
.workContent(entrustRecord.getWorkContent())
|
||||
.workLevel(entrustRecord.getWorkLevel())
|
||||
.entrustName(entrustRecord.getEntrustName())
|
||||
.entrustSignId(entrustRecord.getEntrustSignId())
|
||||
.entrustSignName(entrustRecord.getEntrustSignName())
|
||||
.entrustType(entrustRecord.getEntrustType())
|
||||
.signTime(entrustRecord.getSignTime())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.EntrustRule;
|
||||
import com.hbt.work.ticket.po.EntrustRulePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class EntrustRuleConvert {
|
||||
public static EntrustRulePo getEntrustRulePo(EntrustRule entrustRule) {
|
||||
return EntrustRulePo.builder()
|
||||
.id(entrustRule.getId())
|
||||
.number(entrustRule.getNumber())
|
||||
.name(entrustRule.getName())
|
||||
.entrustId(entrustRule.getEntrustId())
|
||||
.entrustName(entrustRule.getEntrustName())
|
||||
.entrustPostId(entrustRule.getEntrustPostId())
|
||||
.entrustPostName(entrustRule.getEntrustPostName())
|
||||
.trusteeId(entrustRule.getTrusteeId())
|
||||
.trusteeName(entrustRule.getTrusteeName())
|
||||
.trusteePostId(entrustRule.getTrusteePostId())
|
||||
.trusteePostName(entrustRule.getTrusteePostName())
|
||||
.entrustItem(entrustRule.getEntrustItem())
|
||||
.status(entrustRule.getStatus())
|
||||
.applyDeptId(entrustRule.getApplyDeptId())
|
||||
.applyDeptName(entrustRule.getApplyDeptName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.FireArea;
|
||||
import com.hbt.work.ticket.po.FireAreaPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class FireAreaConvert {
|
||||
public static FireAreaPo getFireAreaPo(FireArea fireArea) {
|
||||
return FireAreaPo.builder()
|
||||
.id(fireArea.getId())
|
||||
.name(fireArea.getName())
|
||||
.size(fireArea.getSize())
|
||||
.fireproofChargerId(fireArea.getFireproofChargerId())
|
||||
.fireproofChargerName(fireArea.getFireproofChargerName())
|
||||
.approvalId(fireArea.getApprovalId())
|
||||
.approvalName(fireArea.getApprovalName())
|
||||
.minWind(fireArea.getMinWind())
|
||||
.alarm(fireArea.getAlarm())
|
||||
.ric(fireArea.getRic())
|
||||
.identifyTime(fireArea.getIdentifyTime())
|
||||
.areaJson(fireArea.getAreaJson())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.GasAnalyseFirst;
|
||||
import com.hbt.work.ticket.po.GasAnalyseFirstPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class GasAnalyseFirstConvert {
|
||||
public static GasAnalyseFirstPo getGasAnalyseFirstPo(GasAnalyseFirst gasAnalyseFirst) {
|
||||
return GasAnalyseFirstPo.builder()
|
||||
.id(gasAnalyseFirst.getId())
|
||||
.workId(gasAnalyseFirst.getWorkId())
|
||||
.workNumber(gasAnalyseFirst.getWorkNumber())
|
||||
.workClassify(gasAnalyseFirst.getWorkClassify())
|
||||
.gasDetectId(gasAnalyseFirst.getGasDetectId())
|
||||
.detectValue(gasAnalyseFirst.getDetectValue())
|
||||
.detectResult(gasAnalyseFirst.getDetectResult())
|
||||
.detector(gasAnalyseFirst.getDetector())
|
||||
.detectTime(gasAnalyseFirst.getDetectTime())
|
||||
.analysePart(gasAnalyseFirst.getAnalysePart())
|
||||
.detectWay(gasAnalyseFirst.getDetectWay())
|
||||
.sign(gasAnalyseFirst.getSign())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.GasDetectTable;
|
||||
import com.hbt.work.ticket.po.GasDetectTablePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class GasDetectTableConvert {
|
||||
public static GasDetectTablePo getGasDetectTablePo(GasDetectTable gasDetectTable) {
|
||||
return GasDetectTablePo.builder()
|
||||
.id(gasDetectTable.getId())
|
||||
.name(gasDetectTable.getName())
|
||||
.nameEn(gasDetectTable.getNameEn())
|
||||
.type(gasDetectTable.getType())
|
||||
.roe(gasDetectTable.getRoe())
|
||||
.densityMax(gasDetectTable.getDensityMax())
|
||||
.densityMin(gasDetectTable.getDensityMin())
|
||||
.unit(gasDetectTable.getUnit())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.GuardianReplace;
|
||||
import com.hbt.work.ticket.po.GuardianReplacePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class GuardianReplaceConvert {
|
||||
public static GuardianReplacePo getGuardianReplacePo(GuardianReplace guardianReplace) {
|
||||
return GuardianReplacePo.builder()
|
||||
.id(guardianReplace.getId())
|
||||
.workId(guardianReplace.getWorkId())
|
||||
.workNumber(guardianReplace.getWorkNumber())
|
||||
.workClassify(guardianReplace.getWorkClassify())
|
||||
.workPlace(guardianReplace.getWorkPlace())
|
||||
.reason(guardianReplace.getReason())
|
||||
.applicantId(guardianReplace.getApplicantId())
|
||||
.applicantName(guardianReplace.getApplicantName())
|
||||
.auditorId(guardianReplace.getAuditorId())
|
||||
.auditorName(guardianReplace.getAuditorName())
|
||||
.successorId(guardianReplace.getSuccessorId())
|
||||
.successorName(guardianReplace.getSuccessorName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.HazardFactor;
|
||||
import com.hbt.work.ticket.po.HazardFactorPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class HazardFactorConvert {
|
||||
public static HazardFactorPo getHazardFactorPo(HazardFactor hazardFactor) {
|
||||
return HazardFactorPo.builder()
|
||||
.id(hazardFactor.getId())
|
||||
.workClassify(hazardFactor.getWorkClassify())
|
||||
.workPlace(hazardFactor.getWorkPlace())
|
||||
.deviceGroupName(hazardFactor.getDeviceGroupName())
|
||||
.deviceName(hazardFactor.getDeviceName())
|
||||
.hazardFactor(hazardFactor.getHazardFactor())
|
||||
.preventMeasure(hazardFactor.getPreventMeasure())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.Jsa;
|
||||
import com.hbt.work.ticket.po.JsaPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class JsaConvert {
|
||||
public static JsaPo getJsaPo(Jsa jsa) {
|
||||
return JsaPo.builder()
|
||||
.id(jsa.getId())
|
||||
.workId(jsa.getWorkId())
|
||||
.workNumber(jsa.getWorkNumber())
|
||||
.workClassify(jsa.getWorkClassify())
|
||||
.name(jsa.getName())
|
||||
.compilerId(jsa.getCompilerId())
|
||||
.compilerName(jsa.getCompilerName())
|
||||
.useRang(jsa.getUseRang())
|
||||
.accidentResult(jsa.getAccidentResult())
|
||||
.riskLevel(jsa.getRiskLevel())
|
||||
.revisedRiskLevel(jsa.getRevisedRiskLevel())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.JsaDetail;
|
||||
import com.hbt.work.ticket.po.JsaDetailPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class JsaDetailConvert {
|
||||
public static JsaDetailPo getJsaDetailPo(JsaDetail jsaDetail) {
|
||||
return JsaDetailPo.builder()
|
||||
.id(jsaDetail.getId())
|
||||
.jsaId(jsaDetail.getJsaId())
|
||||
.step(jsaDetail.getStep())
|
||||
.stepInfo(jsaDetail.getStepInfo())
|
||||
.hazardFactors(jsaDetail.getHazardFactors())
|
||||
.accidentType(jsaDetail.getAccidentType())
|
||||
.accidentResult(jsaDetail.getAccidentResult())
|
||||
.lec(jsaDetail.getLec())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.JsaDetailTemplate;
|
||||
import com.hbt.work.ticket.po.JsaDetailTemplatePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class JsaDetailTemplateConvert {
|
||||
public static JsaDetailTemplatePo getJsaDetailTemplatePo(JsaDetailTemplate jsaDetailTemplate) {
|
||||
return JsaDetailTemplatePo.builder()
|
||||
.id(jsaDetailTemplate.getId())
|
||||
.jsaTemplateId(jsaDetailTemplate.getJsaTemplateId())
|
||||
.step(jsaDetailTemplate.getStep())
|
||||
.stepInfo(jsaDetailTemplate.getStepInfo())
|
||||
.hazardFactors(jsaDetailTemplate.getHazardFactors())
|
||||
.accidentType(jsaDetailTemplate.getAccidentType())
|
||||
.accidentResult(jsaDetailTemplate.getAccidentResult())
|
||||
.lec(jsaDetailTemplate.getLec())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.JsaTemplate;
|
||||
import com.hbt.work.ticket.po.JsaTemplatePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class JsaTemplateConvert {
|
||||
public static JsaTemplatePo getJsaTemplatePo(JsaTemplate jsaTemplate) {
|
||||
return JsaTemplatePo.builder()
|
||||
.id(jsaTemplate.getId())
|
||||
.name(jsaTemplate.getName())
|
||||
.compilerId(jsaTemplate.getCompilerId())
|
||||
.compilerName(jsaTemplate.getCompilerName())
|
||||
.useRang(jsaTemplate.getUseRang())
|
||||
.accidentResult(jsaTemplate.getAccidentResult())
|
||||
.riskLevel(jsaTemplate.getRiskLevel())
|
||||
.revisedRiskLevel(jsaTemplate.getRevisedRiskLevel())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.MobileBall;
|
||||
import com.hbt.work.ticket.po.MobileBallPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class MobileBallConvert {
|
||||
public static MobileBallPo getMobileBallPo(MobileBall mobileBall) {
|
||||
return MobileBallPo.builder()
|
||||
.id(mobileBall.getId())
|
||||
.name(mobileBall.getName())
|
||||
.number(mobileBall.getNumber())
|
||||
.videoPath(mobileBall.getVideoPath())
|
||||
.atexLevel(mobileBall.getAtexLevel())
|
||||
.preserveUnit(mobileBall.getPreserveUnit())
|
||||
.status(mobileBall.getStatus())
|
||||
.innerNumber(mobileBall.getInnerNumber())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.MobileBallRecord;
|
||||
import com.hbt.work.ticket.po.MobileBallRecordPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class MobileBallRecordConvert {
|
||||
public static MobileBallRecordPo getMobileBallRecordPo(MobileBallRecord mobileBallRecord) {
|
||||
return MobileBallRecordPo.builder()
|
||||
.id(mobileBallRecord.getId())
|
||||
.mobileBallId(mobileBallRecord.getMobileBallId())
|
||||
.workId(mobileBallRecord.getWorkId())
|
||||
.workNumber(mobileBallRecord.getWorkNumber())
|
||||
.workClassify(mobileBallRecord.getWorkClassify())
|
||||
.workContent(mobileBallRecord.getWorkContent())
|
||||
.startTime(mobileBallRecord.getStartTime())
|
||||
.endTime(mobileBallRecord.getEndTime())
|
||||
.workPlace(mobileBallRecord.getWorkPlace())
|
||||
.worker(mobileBallRecord.getWorker())
|
||||
.workerName(mobileBallRecord.getWorkerName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.PortableDetector;
|
||||
import com.hbt.work.ticket.po.PortableDetectorPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class PortableDetectorConvert {
|
||||
public static PortableDetectorPo getPortableDetectorPo(PortableDetector portableDetector) {
|
||||
return PortableDetectorPo.builder()
|
||||
.id(portableDetector.getId())
|
||||
.name(portableDetector.getName())
|
||||
.number(portableDetector.getNumber())
|
||||
.specs(portableDetector.getSpecs())
|
||||
.atexLevel(portableDetector.getAtexLevel())
|
||||
.preserveUnit(portableDetector.getPreserveUnit())
|
||||
.status(portableDetector.getStatus())
|
||||
.innerNumber(portableDetector.getInnerNumber())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.PortableDetectorRecord;
|
||||
import com.hbt.work.ticket.po.PortableDetectorRecordPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class PortableDetectorRecordConvert {
|
||||
public static PortableDetectorRecordPo getPortableDetectorRecordPo(PortableDetectorRecord portableDetectorRecord) {
|
||||
return PortableDetectorRecordPo.builder()
|
||||
.id(portableDetectorRecord.getId())
|
||||
.portableDetectorId(portableDetectorRecord.getPortableDetectorId())
|
||||
.workId(portableDetectorRecord.getWorkId())
|
||||
.workNumber(portableDetectorRecord.getWorkNumber())
|
||||
.workClassify(portableDetectorRecord.getWorkClassify())
|
||||
.workContent(portableDetectorRecord.getWorkContent())
|
||||
.startTime(portableDetectorRecord.getStartTime())
|
||||
.endTime(portableDetectorRecord.getEndTime())
|
||||
.workPlace(portableDetectorRecord.getWorkPlace())
|
||||
.worker(portableDetectorRecord.getWorker())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SafetyMeasureConfirm;
|
||||
import com.hbt.work.ticket.po.SafetyMeasureConfirmPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SafetyMeasureConfirmConvert {
|
||||
public static SafetyMeasureConfirmPo getSafetyMeasureConfirmPo(SafetyMeasureConfirm safetyMeasureConfirm) {
|
||||
return SafetyMeasureConfirmPo.builder()
|
||||
.id(safetyMeasureConfirm.getId())
|
||||
.measureContent(safetyMeasureConfirm.getMeasureContent())
|
||||
.workId(safetyMeasureConfirm.getWorkId())
|
||||
.workNumber(safetyMeasureConfirm.getWorkNumber())
|
||||
.workClassify(safetyMeasureConfirm.getWorkClassify())
|
||||
.relate(safetyMeasureConfirm.getRelate())
|
||||
.fulfil(safetyMeasureConfirm.getFulfil())
|
||||
.photosId(safetyMeasureConfirm.getPhotosId())
|
||||
.photosName(safetyMeasureConfirm.getPhotosName())
|
||||
.confirmer(safetyMeasureConfirm.getConfirmer())
|
||||
.sigin(safetyMeasureConfirm.getSigin())
|
||||
.place(safetyMeasureConfirm.getPlace())
|
||||
.compilerId(safetyMeasureConfirm.getCompilerId())
|
||||
.compilerName(safetyMeasureConfirm.getCompilerName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SafetyMeasure;
|
||||
import com.hbt.work.ticket.po.SafetyMeasurePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SafetyMeasureConvert {
|
||||
public static SafetyMeasurePo getSafetyMeasurePo(SafetyMeasure safetyMeasure) {
|
||||
return SafetyMeasurePo.builder()
|
||||
.id(safetyMeasure.getId())
|
||||
.type(safetyMeasure.getType())
|
||||
.rang(safetyMeasure.getRang())
|
||||
.useDeptId(safetyMeasure.getUseDeptId())
|
||||
.useDeptName(safetyMeasure.getUseDeptName())
|
||||
.content(safetyMeasure.getContent())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SafetyTechConfirm;
|
||||
import com.hbt.work.ticket.po.SafetyTechConfirmPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SafetyTechConfirmConvert {
|
||||
public static SafetyTechConfirmPo getSafetyTechConfirmPo(SafetyTechConfirm safetyTechConfirm) {
|
||||
return SafetyTechConfirmPo.builder()
|
||||
.id(safetyTechConfirm.getId())
|
||||
.workId(safetyTechConfirm.getWorkId())
|
||||
.workNumber(safetyTechConfirm.getWorkNumber())
|
||||
.workClassify(safetyTechConfirm.getWorkClassify())
|
||||
.precondition(safetyTechConfirm.getPrecondition())
|
||||
.relatedWork(safetyTechConfirm.getRelatedWork())
|
||||
.firstDangerSource(safetyTechConfirm.getFirstDangerSource())
|
||||
.hazardFactor(safetyTechConfirm.getHazardFactor())
|
||||
.baseMan(safetyTechConfirm.getBaseMan())
|
||||
.baseManSign(safetyTechConfirm.getBaseManSign())
|
||||
.acceptMan(safetyTechConfirm.getAcceptMan())
|
||||
.acceptManSign(safetyTechConfirm.getAcceptManSign())
|
||||
.annex(safetyTechConfirm.getAnnex())
|
||||
.annexName(safetyTechConfirm.getAnnexName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SafetyTechContent;
|
||||
import com.hbt.work.ticket.po.SafetyTechContentPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SafetyTechContentConvert {
|
||||
public static SafetyTechContentPo getSafetyTechContentPo(SafetyTechContent safetyTechContent) {
|
||||
return SafetyTechContentPo.builder()
|
||||
.id(safetyTechContent.getId())
|
||||
.workId(safetyTechContent.getWorkId())
|
||||
.workNumber(safetyTechContent.getWorkNumber())
|
||||
.workClassify(safetyTechContent.getWorkClassify())
|
||||
.safetyBaseId(safetyTechContent.getSafetyBaseId())
|
||||
.content(safetyTechContent.getContent())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SafetyTechTemplate;
|
||||
import com.hbt.work.ticket.po.SafetyTechTemplatePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SafetyTechTemplateConvert {
|
||||
public static SafetyTechTemplatePo getSafetyTechTemplatePo(SafetyTechTemplate safetyTechTemplate) {
|
||||
return SafetyTechTemplatePo.builder()
|
||||
.id(safetyTechTemplate.getId())
|
||||
.content(safetyTechTemplate.getContent())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.Sign;
|
||||
import com.hbt.work.ticket.po.SignPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SignConvert {
|
||||
public static SignPo getSignPo(Sign sign) {
|
||||
return SignPo.builder()
|
||||
.id(sign.getId())
|
||||
.workNumber(sign.getWorkNumber())
|
||||
.workClassify(sign.getWorkClassify())
|
||||
.name(sign.getName())
|
||||
.dept(sign.getDept())
|
||||
.post(sign.getPost())
|
||||
.result(sign.getResult())
|
||||
.sign(sign.getSign())
|
||||
.idea(sign.getIdea())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SpaceBook;
|
||||
import com.hbt.work.ticket.po.SpaceBookPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SpaceBookConvert {
|
||||
public static SpaceBookPo getSpaceBookPo(SpaceBook spaceBook) {
|
||||
return SpaceBookPo.builder()
|
||||
.id(spaceBook.getId())
|
||||
.spaceName(spaceBook.getSpaceName())
|
||||
.number(spaceBook.getNumber())
|
||||
.type(spaceBook.getType())
|
||||
.location(spaceBook.getLocation())
|
||||
.hazardFactor(spaceBook.getHazardFactor())
|
||||
.accidentResultMaybe(spaceBook.getAccidentResultMaybe())
|
||||
.defendRequire(spaceBook.getDefendRequire())
|
||||
.manageMeasure(spaceBook.getManageMeasure())
|
||||
.workMax(spaceBook.getWorkMax())
|
||||
.workIntersect(spaceBook.getWorkIntersect())
|
||||
.chargeDeptId(spaceBook.getChargeDeptId())
|
||||
.chargeDeptName(spaceBook.getChargeDeptName())
|
||||
.chargerId(spaceBook.getChargerId())
|
||||
.chargerName(spaceBook.getChargerName())
|
||||
.warningMark(spaceBook.getWarningMark())
|
||||
.warningMarkName(spaceBook.getWarningMarkName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SpaceDefendEquipment;
|
||||
import com.hbt.work.ticket.po.SpaceDefendEquipmentPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SpaceDefendEquipmentConvert {
|
||||
public static SpaceDefendEquipmentPo getSpaceDefendEquipmentPo(SpaceDefendEquipment spaceDefendEquipment) {
|
||||
return SpaceDefendEquipmentPo.builder()
|
||||
.id(spaceDefendEquipment.getId())
|
||||
.spaceBookId(spaceDefendEquipment.getSpaceBookId())
|
||||
.name(spaceDefendEquipment.getName())
|
||||
.specs(spaceDefendEquipment.getSpecs())
|
||||
.num(spaceDefendEquipment.getNum())
|
||||
.unit(spaceDefendEquipment.getUnit())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.SpaceEmergencyMaterial;
|
||||
import com.hbt.work.ticket.po.SpaceEmergencyMaterialPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class SpaceEmergencyMaterialConvert {
|
||||
public static SpaceEmergencyMaterialPo getSpaceEmergencyMaterialPo(SpaceEmergencyMaterial spaceEmergencyMaterial) {
|
||||
return SpaceEmergencyMaterialPo.builder()
|
||||
.id(spaceEmergencyMaterial.getId())
|
||||
.spaceBookId(spaceEmergencyMaterial.getSpaceBookId())
|
||||
.type(spaceEmergencyMaterial.getType())
|
||||
.name(spaceEmergencyMaterial.getName())
|
||||
.specs(spaceEmergencyMaterial.getSpecs())
|
||||
.num(spaceEmergencyMaterial.getNum())
|
||||
.unit(spaceEmergencyMaterial.getUnit())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkArea;
|
||||
import com.hbt.work.ticket.po.WorkAreaPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkAreaConvert {
|
||||
public static WorkAreaPo getWorkAreaPo(WorkArea workArea) {
|
||||
return WorkAreaPo.builder()
|
||||
.id(workArea.getId())
|
||||
.areaId(workArea.getAreaId())
|
||||
.areaName(workArea.getAreaName())
|
||||
.unitId(workArea.getUnitId())
|
||||
.unitName(workArea.getUnitName())
|
||||
.chargerId(workArea.getChargerId())
|
||||
.chargerName(workArea.getChargerName())
|
||||
.deptId(workArea.getDeptId())
|
||||
.deptName(workArea.getDeptName())
|
||||
.riskLevel(workArea.getRiskLevel())
|
||||
.workMax(workArea.getWorkMax())
|
||||
.manMax(workArea.getManMax())
|
||||
.camera(workArea.getCamera())
|
||||
.sensor(workArea.getSensor())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkAscended;
|
||||
import com.hbt.work.ticket.po.WorkAscendedPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkAscendedConvert {
|
||||
public static WorkAscendedPo getWorkAscendedPo(WorkAscended workAscended) {
|
||||
return WorkAscendedPo.builder()
|
||||
.id(workAscended.getId())
|
||||
.workNumber(workAscended.getWorkNumber())
|
||||
.workBookingId(workAscended.getWorkBookingId())
|
||||
.workChargerId(workAscended.getWorkChargerId())
|
||||
.workChargerName(workAscended.getWorkChargerName())
|
||||
.belongDeptChargerId(workAscended.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workAscended.getBelongDeptChargerName())
|
||||
.workHeight(workAscended.getWorkHeight())
|
||||
.workStartTime(workAscended.getWorkStartTime())
|
||||
.workEndTime(workAscended.getWorkEndTime())
|
||||
.workLevel(workAscended.getWorkLevel())
|
||||
.workContent(workAscended.getWorkContent())
|
||||
.workScheme(workAscended.getWorkScheme())
|
||||
.relateDevice(workAscended.getRelateDevice())
|
||||
.relateDeviceNumber(workAscended.getRelateDeviceNumber())
|
||||
.riskIdentify(workAscended.getRiskIdentify())
|
||||
.objectiveFactor(workAscended.getObjectiveFactor())
|
||||
.worker(workAscended.getWorker())
|
||||
.guardian(workAscended.getGuardian())
|
||||
.entrust(workAscended.getEntrust())
|
||||
.entrustRuleId(workAscended.getEntrustRuleId())
|
||||
.safetyBaseId(workAscended.getSafetyBaseId())
|
||||
.status(workAscended.getStatus())
|
||||
.processStatus(workAscended.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkBlindPlate;
|
||||
import com.hbt.work.ticket.po.WorkBlindPlatePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkBlindPlateConvert {
|
||||
public static WorkBlindPlatePo getWorkBlindPlatePo(WorkBlindPlate workBlindPlate) {
|
||||
return WorkBlindPlatePo.builder()
|
||||
.id(workBlindPlate.getId())
|
||||
.workNumber(workBlindPlate.getWorkNumber())
|
||||
.workBookingId(workBlindPlate.getWorkBookingId())
|
||||
.workChargerId(workBlindPlate.getWorkChargerId())
|
||||
.workChargerName(workBlindPlate.getWorkChargerName())
|
||||
.belongDeptChargerId(workBlindPlate.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workBlindPlate.getBelongDeptChargerName())
|
||||
.workKind(workBlindPlate.getWorkKind())
|
||||
.blindPlateNumber(workBlindPlate.getBlindPlateNumber())
|
||||
.mediaName(workBlindPlate.getMediaName())
|
||||
.mediaTemperature(workBlindPlate.getMediaTemperature())
|
||||
.mediaPressure(workBlindPlate.getMediaPressure())
|
||||
.material(workBlindPlate.getMaterial())
|
||||
.model(workBlindPlate.getModel())
|
||||
.pipingNumber(workBlindPlate.getPipingNumber())
|
||||
.location(workBlindPlate.getLocation())
|
||||
.locationMap(workBlindPlate.getLocationMap())
|
||||
.locationMapName(workBlindPlate.getLocationMapName())
|
||||
.workStartTime(workBlindPlate.getWorkStartTime())
|
||||
.workEndTime(workBlindPlate.getWorkEndTime())
|
||||
.workLevel(workBlindPlate.getWorkLevel())
|
||||
.workContent(workBlindPlate.getWorkContent())
|
||||
.riskIdentify(workBlindPlate.getRiskIdentify())
|
||||
.mobileBall(workBlindPlate.getMobileBall())
|
||||
.portableDetector(workBlindPlate.getPortableDetector())
|
||||
.worker(workBlindPlate.getWorker())
|
||||
.guardian(workBlindPlate.getGuardian())
|
||||
.entrust(workBlindPlate.getEntrust())
|
||||
.entrustRuleId(workBlindPlate.getEntrustRuleId())
|
||||
.safetyBaseId(workBlindPlate.getSafetyBaseId())
|
||||
.status(workBlindPlate.getStatus())
|
||||
.processStatus(workBlindPlate.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkBooking;
|
||||
import com.hbt.work.ticket.po.WorkBookingPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkBookingConvert {
|
||||
public static WorkBookingPo getWorkBookingPo(WorkBooking workBooking) {
|
||||
return WorkBookingPo.builder()
|
||||
.id(workBooking.getId())
|
||||
.workAreaId(workBooking.getWorkAreaId())
|
||||
.workPlace(workBooking.getWorkPlace())
|
||||
.deptId(workBooking.getDeptId())
|
||||
.deptName(workBooking.getDeptName())
|
||||
.applicantId(workBooking.getApplicantId())
|
||||
.applicantName(workBooking.getApplicantName())
|
||||
.workOrganizationId(workBooking.getWorkOrganizationId())
|
||||
.workType(workBooking.getWorkType())
|
||||
.workHistory(workBooking.getWorkHistory())
|
||||
.workPlanTime(workBooking.getWorkPlanTime())
|
||||
.workContent(workBooking.getWorkContent())
|
||||
.workClassify(workBooking.getWorkClassify())
|
||||
.bookingTime(workBooking.getBookingTime())
|
||||
.planType(workBooking.getPlanType())
|
||||
.applyOrganizationId(workBooking.getApplyOrganizationId())
|
||||
.applyOrganizationName(workBooking.getApplyOrganizationName())
|
||||
.mobileVetting(workBooking.getMobileVetting())
|
||||
.riskAnalyzerId(workBooking.getRiskAnalyzerId())
|
||||
.riskAnalyzerName(workBooking.getRiskAnalyzerName())
|
||||
.sign(workBooking.getSign())
|
||||
.signName(workBooking.getSignName())
|
||||
.analyzeTime(workBooking.getAnalyzeTime())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkCheck;
|
||||
import com.hbt.work.ticket.po.WorkCheckPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkCheckConvert {
|
||||
public static WorkCheckPo getWorkCheckPo(WorkCheck workCheck) {
|
||||
return WorkCheckPo.builder()
|
||||
.id(workCheck.getId())
|
||||
.workId(workCheck.getWorkId())
|
||||
.workNumber(workCheck.getWorkNumber())
|
||||
.workClassify(workCheck.getWorkClassify())
|
||||
.workPlace(workCheck.getWorkPlace())
|
||||
.result(workCheck.getResult())
|
||||
.sign(workCheck.getSign())
|
||||
.checkTime(workCheck.getCheckTime())
|
||||
.content(workCheck.getContent())
|
||||
.peccantType(workCheck.getPeccantType())
|
||||
.peccantMan(workCheck.getPeccantMan())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkDig;
|
||||
import com.hbt.work.ticket.po.WorkDigPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkDigConvert {
|
||||
public static WorkDigPo getWorkDigPo(WorkDig workDig) {
|
||||
return WorkDigPo.builder()
|
||||
.id(workDig.getId())
|
||||
.workNumber(workDig.getWorkNumber())
|
||||
.workBookingId(workDig.getWorkBookingId())
|
||||
.workChargerId(workDig.getWorkChargerId())
|
||||
.workChargerName(workDig.getWorkChargerName())
|
||||
.belongDeptChargerId(workDig.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workDig.getBelongDeptChargerName())
|
||||
.productArea(workDig.getProductArea())
|
||||
.underLine(workDig.getUnderLine())
|
||||
.workDrawing(workDig.getWorkDrawing())
|
||||
.deptRelate(workDig.getDeptRelate())
|
||||
.workDeep(workDig.getWorkDeep())
|
||||
.workStartTime(workDig.getWorkStartTime())
|
||||
.workEndTime(workDig.getWorkEndTime())
|
||||
.workLevel(workDig.getWorkLevel())
|
||||
.workContent(workDig.getWorkContent())
|
||||
.workWay(workDig.getWorkWay())
|
||||
.workRang(workDig.getWorkRang())
|
||||
.riskIdentify(workDig.getRiskIdentify())
|
||||
.mobileBall(workDig.getMobileBall())
|
||||
.portableDetector(workDig.getPortableDetector())
|
||||
.worker(workDig.getWorker())
|
||||
.guardian(workDig.getGuardian())
|
||||
.entrust(workDig.getEntrust())
|
||||
.entrustRuleId(workDig.getEntrustRuleId())
|
||||
.safetyBaseId(workDig.getSafetyBaseId())
|
||||
.status(workDig.getStatus())
|
||||
.processStatus(workDig.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkElectricity;
|
||||
import com.hbt.work.ticket.po.WorkElectricityPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkElectricityConvert {
|
||||
public static WorkElectricityPo getWorkElectricityPo(WorkElectricity workElectricity) {
|
||||
return WorkElectricityPo.builder()
|
||||
.id(workElectricity.getId())
|
||||
.workNumber(workElectricity.getWorkNumber())
|
||||
.workBookingId(workElectricity.getWorkBookingId())
|
||||
.workChargerId(workElectricity.getWorkChargerId())
|
||||
.workChargerName(workElectricity.getWorkChargerName())
|
||||
.belongDeptChargerId(workElectricity.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workElectricity.getBelongDeptChargerName())
|
||||
.powerFrom(workElectricity.getPowerFrom())
|
||||
.voltage(workElectricity.getVoltage())
|
||||
.power(workElectricity.getPower())
|
||||
.workStartTime(workElectricity.getWorkStartTime())
|
||||
.workEndTime(workElectricity.getWorkEndTime())
|
||||
.workLevel(workElectricity.getWorkLevel())
|
||||
.workContent(workElectricity.getWorkContent())
|
||||
.relateDevice(workElectricity.getRelateDevice())
|
||||
.relateDeviceNumber(workElectricity.getRelateDeviceNumber())
|
||||
.electricityUser(workElectricity.getElectricityUser())
|
||||
.mobileBall(workElectricity.getMobileBall())
|
||||
.portableDetector(workElectricity.getPortableDetector())
|
||||
.worker(workElectricity.getWorker())
|
||||
.guardian(workElectricity.getGuardian())
|
||||
.entrust(workElectricity.getEntrust())
|
||||
.entrustRuleId(workElectricity.getEntrustRuleId())
|
||||
.tool(workElectricity.getTool())
|
||||
.totalPower(workElectricity.getTotalPower())
|
||||
.safetyBaseId(workElectricity.getSafetyBaseId())
|
||||
.status(workElectricity.getStatus())
|
||||
.processStatus(workElectricity.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkFire;
|
||||
import com.hbt.work.ticket.po.WorkFirePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkFireConvert {
|
||||
public static WorkFirePo getWorkFirePo(WorkFire workFire) {
|
||||
return WorkFirePo.builder()
|
||||
.id(workFire.getId())
|
||||
.workNumber(workFire.getWorkNumber())
|
||||
.workBookingId(workFire.getWorkBookingId())
|
||||
.workChargerId(workFire.getWorkChargerId())
|
||||
.workChargerName(workFire.getWorkChargerName())
|
||||
.belongDeptChargerId(workFire.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workFire.getBelongDeptChargerName())
|
||||
.workStartTime(workFire.getWorkStartTime())
|
||||
.workEndTime(workFire.getWorkEndTime())
|
||||
.workLevel(workFire.getWorkLevel())
|
||||
.workContent(workFire.getWorkContent())
|
||||
.workScheme(workFire.getWorkScheme())
|
||||
.workSchemeName(workFire.getWorkSchemeName())
|
||||
.relateDevice(workFire.getRelateDevice())
|
||||
.workTool(workFire.getWorkTool())
|
||||
.workWay(workFire.getWorkWay())
|
||||
.riskIdentify(workFire.getRiskIdentify())
|
||||
.mobileBall(workFire.getMobileBall())
|
||||
.portableDetector(workFire.getPortableDetector())
|
||||
.applicantId(workFire.getApplicantId())
|
||||
.guardianId(workFire.getGuardianId())
|
||||
.entrust(workFire.getEntrust())
|
||||
.entrustRuleId(workFire.getEntrustRuleId())
|
||||
.safetyBaseId(workFire.getSafetyBaseId())
|
||||
.status(workFire.getStatus())
|
||||
.processStatus(workFire.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkGeneral;
|
||||
import com.hbt.work.ticket.po.WorkGeneralPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkGeneralConvert {
|
||||
public static WorkGeneralPo getWorkGeneralPo(WorkGeneral workGeneral) {
|
||||
return WorkGeneralPo.builder()
|
||||
.id(workGeneral.getId())
|
||||
.workNumber(workGeneral.getWorkNumber())
|
||||
.workBookingId(workGeneral.getWorkBookingId())
|
||||
.workChargerId(workGeneral.getWorkChargerId())
|
||||
.workChargerName(workGeneral.getWorkChargerName())
|
||||
.belongDeptChargerId(workGeneral.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workGeneral.getBelongDeptChargerName())
|
||||
.workKind(workGeneral.getWorkKind())
|
||||
.workStartTime(workGeneral.getWorkStartTime())
|
||||
.workEndTime(workGeneral.getWorkEndTime())
|
||||
.workLevel(workGeneral.getWorkLevel())
|
||||
.workContent(workGeneral.getWorkContent())
|
||||
.riskIdentify(workGeneral.getRiskIdentify())
|
||||
.mobileBall(workGeneral.getMobileBall())
|
||||
.portableDetector(workGeneral.getPortableDetector())
|
||||
.worker(workGeneral.getWorker())
|
||||
.safetyBaseId(workGeneral.getSafetyBaseId())
|
||||
.status(workGeneral.getStatus())
|
||||
.processStatus(workGeneral.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkLift;
|
||||
import com.hbt.work.ticket.po.WorkLiftPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkLiftConvert {
|
||||
public static WorkLiftPo getWorkLiftPo(WorkLift workLift) {
|
||||
return WorkLiftPo.builder()
|
||||
.id(workLift.getId())
|
||||
.workNumber(workLift.getWorkNumber())
|
||||
.workBookingId(workLift.getWorkBookingId())
|
||||
.workChargerId(workLift.getWorkChargerId())
|
||||
.workChargerName(workLift.getWorkChargerName())
|
||||
.belongDeptChargerId(workLift.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workLift.getBelongDeptChargerName())
|
||||
.liftToolName(workLift.getLiftToolName())
|
||||
.liftToolPower(workLift.getLiftToolPower())
|
||||
.liftObjName(workLift.getLiftObjName())
|
||||
.liftObjWeight(workLift.getLiftObjWeight())
|
||||
.workStartTime(workLift.getWorkStartTime())
|
||||
.workEndTime(workLift.getWorkEndTime())
|
||||
.workLevel(workLift.getWorkLevel())
|
||||
.workContent(workLift.getWorkContent())
|
||||
.workScheme(workLift.getWorkScheme())
|
||||
.relateDevice(workLift.getRelateDevice())
|
||||
.relateDeviceNumber(workLift.getRelateDeviceNumber())
|
||||
.riskIdentify(workLift.getRiskIdentify())
|
||||
.worker(workLift.getWorker())
|
||||
.guardian(workLift.getGuardian())
|
||||
.sisuo(workLift.getSisuo())
|
||||
.directMan(workLift.getDirectMan())
|
||||
.entrust(workLift.getEntrust())
|
||||
.entrustRuleId(workLift.getEntrustRuleId())
|
||||
.safetyBaseId(workLift.getSafetyBaseId())
|
||||
.status(workLift.getStatus())
|
||||
.processStatus(workLift.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkRecover;
|
||||
import com.hbt.work.ticket.po.WorkRecoverPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkRecoverConvert {
|
||||
public static WorkRecoverPo getWorkRecoverPo(WorkRecover workRecover) {
|
||||
return WorkRecoverPo.builder()
|
||||
.id(workRecover.getId())
|
||||
.workId(workRecover.getWorkId())
|
||||
.workNumber(workRecover.getWorkNumber())
|
||||
.workClassify(workRecover.getWorkClassify())
|
||||
.workPlace(workRecover.getWorkPlace())
|
||||
.reason(workRecover.getReason())
|
||||
.applicantId(workRecover.getApplicantId())
|
||||
.applicantName(workRecover.getApplicantName())
|
||||
.auditorId(workRecover.getAuditorId())
|
||||
.auditorName(workRecover.getAuditorName())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkRestTable;
|
||||
import com.hbt.work.ticket.po.WorkRestTablePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkRestTableConvert {
|
||||
public static WorkRestTablePo getWorkRestTablePo(WorkRestTable workRestTable) {
|
||||
return WorkRestTablePo.builder()
|
||||
.id(workRestTable.getId())
|
||||
.applyRang(workRestTable.getApplyRang())
|
||||
.applyName(workRestTable.getApplyName())
|
||||
.workDay(workRestTable.getWorkDay())
|
||||
.restDay(workRestTable.getRestDay())
|
||||
.restTurnsRule(workRestTable.getRestTurnsRule())
|
||||
.holidaysRest(workRestTable.getHolidaysRest())
|
||||
.dayShiftStartTime(workRestTable.getDayShiftStartTime())
|
||||
.dayShiftEndTime(workRestTable.getDayShiftEndTime())
|
||||
.graveyardShiftStartTime(workRestTable.getGraveyardShiftStartTime())
|
||||
.graveyardShiftEndTime(workRestTable.getGraveyardShiftEndTime())
|
||||
.executeTime(workRestTable.getExecuteTime())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkRoadBreak;
|
||||
import com.hbt.work.ticket.po.WorkRoadBreakPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkRoadBreakConvert {
|
||||
public static WorkRoadBreakPo getWorkRoadBreakPo(WorkRoadBreak workRoadBreak) {
|
||||
return WorkRoadBreakPo.builder()
|
||||
.id(workRoadBreak.getId())
|
||||
.workNumber(workRoadBreak.getWorkNumber())
|
||||
.workBookingId(workRoadBreak.getWorkBookingId())
|
||||
.workChargerId(workRoadBreak.getWorkChargerId())
|
||||
.workChargerName(workRoadBreak.getWorkChargerName())
|
||||
.belongDeptChargerId(workRoadBreak.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workRoadBreak.getBelongDeptChargerName())
|
||||
.occupiedRang(workRoadBreak.getOccupiedRang())
|
||||
.occupiedDuration(workRoadBreak.getOccupiedDuration())
|
||||
.fireEscapeMap(workRoadBreak.getFireEscapeMap())
|
||||
.deptRelate(workRoadBreak.getDeptRelate())
|
||||
.workStartTime(workRoadBreak.getWorkStartTime())
|
||||
.workEndTime(workRoadBreak.getWorkEndTime())
|
||||
.workLevel(workRoadBreak.getWorkLevel())
|
||||
.workContent(workRoadBreak.getWorkContent())
|
||||
.workScheme(workRoadBreak.getWorkScheme())
|
||||
.riskIdentify(workRoadBreak.getRiskIdentify())
|
||||
.mobileBall(workRoadBreak.getMobileBall())
|
||||
.portableDetector(workRoadBreak.getPortableDetector())
|
||||
.worker(workRoadBreak.getWorker())
|
||||
.guardian(workRoadBreak.getGuardian())
|
||||
.entrust(workRoadBreak.getEntrust())
|
||||
.entrustRuleId(workRoadBreak.getEntrustRuleId())
|
||||
.safetyBaseId(workRoadBreak.getSafetyBaseId())
|
||||
.status(workRoadBreak.getStatus())
|
||||
.processStatus(workRoadBreak.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.WorkSpace;
|
||||
import com.hbt.work.ticket.po.WorkSpacePo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkSpaceConvert {
|
||||
public static WorkSpacePo getWorkSpacePo(WorkSpace workSpace) {
|
||||
return WorkSpacePo.builder()
|
||||
.id(workSpace.getId())
|
||||
.workNumber(workSpace.getWorkNumber())
|
||||
.workBookingId(workSpace.getWorkBookingId())
|
||||
.workChargerId(workSpace.getWorkChargerId())
|
||||
.workChargerName(workSpace.getWorkChargerName())
|
||||
.belongDeptChargerId(workSpace.getBelongDeptChargerId())
|
||||
.belongDeptChargerName(workSpace.getBelongDeptChargerName())
|
||||
.spaceName(workSpace.getSpaceName())
|
||||
.oldMedia(workSpace.getOldMedia())
|
||||
.workStartTime(workSpace.getWorkStartTime())
|
||||
.workEndTime(workSpace.getWorkEndTime())
|
||||
.workLevel(workSpace.getWorkLevel())
|
||||
.workContent(workSpace.getWorkContent())
|
||||
.relateDevice(workSpace.getRelateDevice())
|
||||
.relateDeviceNumber(workSpace.getRelateDeviceNumber())
|
||||
.riskIdentify(workSpace.getRiskIdentify())
|
||||
.mobileBall(workSpace.getMobileBall())
|
||||
.portableDetector(workSpace.getPortableDetector())
|
||||
.worker(workSpace.getWorker())
|
||||
.guardian(workSpace.getGuardian())
|
||||
.entrust(workSpace.getEntrust())
|
||||
.entrustRuleId(workSpace.getEntrustRuleId())
|
||||
.tool(workSpace.getTool())
|
||||
.safetyBaseId(workSpace.getSafetyBaseId())
|
||||
.status(workSpace.getStatus())
|
||||
.processStatus(workSpace.getProcessStatus())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.hbt.work.ticket.convert;
|
||||
|
||||
import com.hbt.work.ticket.entity.Worker;
|
||||
import com.hbt.work.ticket.po.WorkerPo;
|
||||
|
||||
/**
|
||||
* 数据库实体转换为业务实体
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
public class WorkerConvert {
|
||||
public static WorkerPo getWorkerPo(Worker worker) {
|
||||
return WorkerPo.builder()
|
||||
.id(worker.getId())
|
||||
.type(worker.getType())
|
||||
.name(worker.getName())
|
||||
.companyId(worker.getCompanyId())
|
||||
.companyName(worker.getCompanyName())
|
||||
.deptId(worker.getDeptId())
|
||||
.deptName(worker.getDeptName())
|
||||
.certType(worker.getCertType())
|
||||
.vaildTime(worker.getVaildTime())
|
||||
.trainResult(worker.getTrainResult())
|
||||
.phone(worker.getPhone())
|
||||
.jobType(worker.getJobType())
|
||||
.certAnnex(worker.getCertAnnex())
|
||||
.build();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 盲板信息对象 blind_plate
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "盲板信息对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class BlindPlate extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 盲板编号 */
|
||||
@ApiModelProperty(value = "盲板编号")
|
||||
private String blindPlateNumber;
|
||||
|
||||
/** 所在管线编号 */
|
||||
@ApiModelProperty(value = "所在管线编号")
|
||||
private String pipelineNumber;
|
||||
|
||||
/** 盲板PID图页码 */
|
||||
@ApiModelProperty(value = "盲板PID图页码")
|
||||
private String pidIndex;
|
||||
|
||||
/** 盲板位置图 */
|
||||
@ApiModelProperty(value = "盲板位置图")
|
||||
private Long locationMap;
|
||||
|
||||
/** 盲板类型;字典key */
|
||||
@ApiModelProperty(value = "盲板类型;字典key")
|
||||
private Integer type;
|
||||
|
||||
/** 规格型号 */
|
||||
@ApiModelProperty(value = "规格型号")
|
||||
private String specs;
|
||||
|
||||
/** 厚度/mm */
|
||||
@ApiModelProperty(value = "厚度/mm")
|
||||
private Integer thick;
|
||||
|
||||
/** 材质 */
|
||||
@ApiModelProperty(value = "材质")
|
||||
private String material;
|
||||
|
||||
/** 压力等级/MPa */
|
||||
@ApiModelProperty(value = "压力等级/MPa")
|
||||
private String pressureLevel;
|
||||
|
||||
/** 正常状态;0-盲1-通 */
|
||||
@ApiModelProperty(value = "正常状态;0-盲1-通")
|
||||
private Integer normalStatus;
|
||||
|
||||
/** 工艺介质 */
|
||||
@ApiModelProperty(value = "工艺介质")
|
||||
private String medium;
|
||||
|
||||
/** 工艺介质温度/℃ */
|
||||
@ApiModelProperty(value = "工艺介质温度/℃")
|
||||
private String mediumTemp;
|
||||
|
||||
/** 工艺介质压力/MPa */
|
||||
@ApiModelProperty(value = "工艺介质压力/MPa")
|
||||
private String mediumPressure;
|
||||
|
||||
/** 安装位置 */
|
||||
@ApiModelProperty(value = "安装位置")
|
||||
private String installPlace;
|
||||
|
||||
/** 属地位置 */
|
||||
@ApiModelProperty(value = "属地位置")
|
||||
private String belongPlace;
|
||||
|
||||
/** 当前状态;0-盲1-通 */
|
||||
@ApiModelProperty(value = "当前状态;0-盲1-通")
|
||||
private Integer status;
|
||||
|
||||
/** 负责人id */
|
||||
@ApiModelProperty(value = "负责人id")
|
||||
private Long chargerId;
|
||||
|
||||
/** 负责人名称 */
|
||||
@ApiModelProperty(value = "负责人名称")
|
||||
private String chargerName;
|
||||
|
||||
}
|
|
@ -0,0 +1,73 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 企业信息对象 company
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "企业信息对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class Company extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 名称 */
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
/** 统一社会信用代码 */
|
||||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String usci;
|
||||
|
||||
/** 负责人 */
|
||||
@ApiModelProperty(value = "负责人")
|
||||
private String charger;
|
||||
|
||||
/** 联系方式 */
|
||||
@ApiModelProperty(value = "联系方式")
|
||||
private String phone;
|
||||
|
||||
/** 地址 */
|
||||
@ApiModelProperty(value = "地址")
|
||||
private String address;
|
||||
|
||||
/** 黑名单;0-否1-是 */
|
||||
@ApiModelProperty(value = "黑名单;0-否1-是")
|
||||
private Integer black;
|
||||
|
||||
/** 资质 */
|
||||
@ApiModelProperty(value = "资质")
|
||||
private String cert;
|
||||
|
||||
/** 行业 */
|
||||
@ApiModelProperty(value = "行业")
|
||||
private String industry;
|
||||
|
||||
/** 登记机关 */
|
||||
@ApiModelProperty(value = "登记机关")
|
||||
private String register;
|
||||
|
||||
/** 附件;逗号分割 */
|
||||
@ApiModelProperty(value = "附件;逗号分割")
|
||||
private String annex;
|
||||
|
||||
/** 附件名称 */
|
||||
@ApiModelProperty(value = "附件名称")
|
||||
private String annexName;
|
||||
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 个体防护设备对象 defend_equipment
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "个体防护设备对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DefendEquipment extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 防护品名称 */
|
||||
@ApiModelProperty(value = "防护品名称")
|
||||
private String name;
|
||||
|
||||
/** 型号/规格 */
|
||||
@ApiModelProperty(value = "型号/规格")
|
||||
private String specs;
|
||||
|
||||
/** 类型;字典key */
|
||||
@ApiModelProperty(value = "类型;字典key")
|
||||
private Integer type;
|
||||
|
||||
/** 存放位置 */
|
||||
@ApiModelProperty(value = "存放位置")
|
||||
private String location;
|
||||
|
||||
/** 状态;1-完好2-损坏3-丢失 */
|
||||
@ApiModelProperty(value = "状态;1-完好2-损坏3-丢失")
|
||||
private Integer status;
|
||||
|
||||
}
|
|
@ -0,0 +1,187 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 设备设施清单对象 device_info
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "设备设施清单对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DeviceInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 设备名称 */
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
private String name;
|
||||
|
||||
/** 设备位号 */
|
||||
@ApiModelProperty(value = "设备位号")
|
||||
private String number;
|
||||
|
||||
/** 规格型号 */
|
||||
@ApiModelProperty(value = "规格型号")
|
||||
private String specs;
|
||||
|
||||
/** 关键性;1-重要2-关键3-普通 */
|
||||
@ApiModelProperty(value = "关键性;1-重要2-关键3-普通")
|
||||
private Integer importLevel;
|
||||
|
||||
/** 设备种类;字典key */
|
||||
@ApiModelProperty(value = "设备种类;字典key")
|
||||
private Integer classify;
|
||||
|
||||
/** 设备类型 */
|
||||
@ApiModelProperty(value = "设备类型")
|
||||
private String type;
|
||||
|
||||
/** 属地部门;部门id */
|
||||
@ApiModelProperty(value = "属地部门;部门id")
|
||||
private Long deptId;
|
||||
|
||||
/** 属地部门名称 */
|
||||
@ApiModelProperty(value = "属地部门名称")
|
||||
private String deptName;
|
||||
|
||||
/** 工段 */
|
||||
@ApiModelProperty(value = "工段")
|
||||
private String workSection;
|
||||
|
||||
/** 所属装置 */
|
||||
@ApiModelProperty(value = "所属装置")
|
||||
private String belongDevice;
|
||||
|
||||
/** 设备状态;字典key */
|
||||
@ApiModelProperty(value = "设备状态;字典key")
|
||||
private Integer status;
|
||||
|
||||
/** 设备用途 */
|
||||
@ApiModelProperty(value = "设备用途")
|
||||
private String usage;
|
||||
|
||||
/** 设备涉及介质 */
|
||||
@ApiModelProperty(value = "设备涉及介质")
|
||||
private String medium;
|
||||
|
||||
/** 介质最大储量 */
|
||||
@ApiModelProperty(value = "介质最大储量")
|
||||
private String mediumMax;
|
||||
|
||||
/** 介质储量单位;字典key */
|
||||
@ApiModelProperty(value = "介质储量单位;字典key")
|
||||
private Integer mediumUnit;
|
||||
|
||||
/** 设备特性 */
|
||||
@ApiModelProperty(value = "设备特性")
|
||||
private String character;
|
||||
|
||||
/** 资产编号 */
|
||||
@ApiModelProperty(value = "资产编号")
|
||||
private String assetNumber;
|
||||
|
||||
/** 投用时间;年月日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "投用时间;年月日")
|
||||
private Date timeInUse;
|
||||
|
||||
/** 使用期限;年月日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "使用期限;年月日")
|
||||
private Date useDeadline;
|
||||
|
||||
/** 设备重量 */
|
||||
@ApiModelProperty(value = "设备重量")
|
||||
private String weight;
|
||||
|
||||
/** 重量单位 */
|
||||
@ApiModelProperty(value = "重量单位")
|
||||
private Integer weightUnit;
|
||||
|
||||
/** 负责部门 */
|
||||
@ApiModelProperty(value = "负责部门")
|
||||
private Long chargeDeptId;
|
||||
|
||||
/** 负责部门名称 */
|
||||
@ApiModelProperty(value = "负责部门名称")
|
||||
private String chargeDeptName;
|
||||
|
||||
/** 负责人 */
|
||||
@ApiModelProperty(value = "负责人")
|
||||
private Long charger;
|
||||
|
||||
/** 负责人名 */
|
||||
@ApiModelProperty(value = "负责人名")
|
||||
private String chargerName;
|
||||
|
||||
/** 工作温度/℃ */
|
||||
@ApiModelProperty(value = "工作温度/℃")
|
||||
private String workTemp;
|
||||
|
||||
/** 工作压力/MPa */
|
||||
@ApiModelProperty(value = "工作压力/MPa")
|
||||
private String workPressure;
|
||||
|
||||
/** 厂家 */
|
||||
@ApiModelProperty(value = "厂家")
|
||||
private String vender;
|
||||
|
||||
/** 出场序号 */
|
||||
@ApiModelProperty(value = "出场序号")
|
||||
private String exitNumber;
|
||||
|
||||
/** 出场日期;年月日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "出场日期;年月日")
|
||||
private Date exitTime;
|
||||
|
||||
/** 安装日期;年月日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "安装日期;年月日")
|
||||
private Date installTime;
|
||||
|
||||
/** 安装单位 */
|
||||
@ApiModelProperty(value = "安装单位")
|
||||
private String installUnit;
|
||||
|
||||
/** 安装验收报告;逗号分隔附件id */
|
||||
@ApiModelProperty(value = "安装验收报告;逗号分隔附件id")
|
||||
private String acceptReport;
|
||||
|
||||
/** 安装验收报告名称 */
|
||||
@ApiModelProperty(value = "安装验收报告名称")
|
||||
private String acceptReportName;
|
||||
|
||||
/** 调试报告;逗号分隔附件id */
|
||||
@ApiModelProperty(value = "调试报告;逗号分隔附件id")
|
||||
private String debugReport;
|
||||
|
||||
/** 调试报告名称 */
|
||||
@ApiModelProperty(value = "调试报告名称")
|
||||
private String debugReportName;
|
||||
|
||||
/** 随机附件;逗号分隔附件id */
|
||||
@ApiModelProperty(value = "随机附件;逗号分隔附件id")
|
||||
private String annex;
|
||||
|
||||
/** 随机附件名称 */
|
||||
@ApiModelProperty(value = "随机附件名称")
|
||||
private String annexName;
|
||||
|
||||
}
|
|
@ -0,0 +1,76 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 委托记录对象 entrust_record
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "委托记录对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class EntrustRecord extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 委托规则id */
|
||||
@ApiModelProperty(value = "委托规则id")
|
||||
private Long entrustRuleId;
|
||||
|
||||
/** 作业票id */
|
||||
@ApiModelProperty(value = "作业票id")
|
||||
private Long workId;
|
||||
|
||||
/** 作业票编号 */
|
||||
@ApiModelProperty(value = "作业票编号")
|
||||
private String workNumber;
|
||||
|
||||
/** 作业分类 */
|
||||
@ApiModelProperty(value = "作业分类")
|
||||
private Integer workClassify;
|
||||
|
||||
/** 作业内容 */
|
||||
@ApiModelProperty(value = "作业内容")
|
||||
private String workContent;
|
||||
|
||||
/** 作业等级 */
|
||||
@ApiModelProperty(value = "作业等级")
|
||||
private Integer workLevel;
|
||||
|
||||
/** 委托人姓名 */
|
||||
@ApiModelProperty(value = "委托人姓名")
|
||||
private String entrustName;
|
||||
|
||||
/** 委托人签字 */
|
||||
@ApiModelProperty(value = "委托人签字")
|
||||
private Long entrustSignId;
|
||||
|
||||
/** 委托人签字名称 */
|
||||
@ApiModelProperty(value = "委托人签字名称")
|
||||
private String entrustSignName;
|
||||
|
||||
/** 委托类型 */
|
||||
@ApiModelProperty(value = "委托类型")
|
||||
private Integer entrustType;
|
||||
|
||||
/** 签字时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "签字时间")
|
||||
private Date signTime;
|
||||
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 委托规则对象 entrust_rule
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "委托规则对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class EntrustRule extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 规则编号 */
|
||||
@ApiModelProperty(value = "规则编号")
|
||||
private String number;
|
||||
|
||||
/** 规则名称 */
|
||||
@ApiModelProperty(value = "规则名称")
|
||||
private String name;
|
||||
|
||||
/** 委托人 */
|
||||
@ApiModelProperty(value = "委托人")
|
||||
private Long entrustId;
|
||||
|
||||
/** 委托人 */
|
||||
@ApiModelProperty(value = "委托人")
|
||||
private String entrustName;
|
||||
|
||||
/** 委托人岗位 */
|
||||
@ApiModelProperty(value = "委托人岗位")
|
||||
private Long entrustPostId;
|
||||
|
||||
/** 委托人岗位名称 */
|
||||
@ApiModelProperty(value = "委托人岗位名称")
|
||||
private String entrustPostName;
|
||||
|
||||
/** 受托人 */
|
||||
@ApiModelProperty(value = "受托人")
|
||||
private Long trusteeId;
|
||||
|
||||
/** 受托人名字 */
|
||||
@ApiModelProperty(value = "受托人名字")
|
||||
private String trusteeName;
|
||||
|
||||
/** 受托人岗位 */
|
||||
@ApiModelProperty(value = "受托人岗位")
|
||||
private Long trusteePostId;
|
||||
|
||||
/** 受托人岗位名称 */
|
||||
@ApiModelProperty(value = "受托人岗位名称")
|
||||
private String trusteePostName;
|
||||
|
||||
/** 委托事项;富文本 */
|
||||
@ApiModelProperty(value = "委托事项;富文本")
|
||||
private String entrustItem;
|
||||
|
||||
/** 受托状态;0-关闭1-开启 */
|
||||
@ApiModelProperty(value = "受托状态;0-关闭1-开启")
|
||||
private Integer status;
|
||||
|
||||
/** 适用部门 */
|
||||
@ApiModelProperty(value = "适用部门")
|
||||
private String applyDeptId;
|
||||
|
||||
/** 适用部门名称 */
|
||||
@ApiModelProperty(value = "适用部门名称")
|
||||
private String applyDeptName;
|
||||
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
package com.hbt.work.ticket.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
/**
|
||||
* 固定动火区对象 fire_area
|
||||
*
|
||||
* @author generation
|
||||
* @date 2024-01-25
|
||||
*/
|
||||
@ApiModel(description = "固定动火区对象")
|
||||
@SuperBuilder
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class FireArea extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 区域名称 */
|
||||
@ApiModelProperty(value = "区域名称")
|
||||
private String name;
|
||||
|
||||
/** 区域面积/㎡ */
|
||||
@ApiModelProperty(value = "区域面积/㎡")
|
||||
private BigDecimal size;
|
||||
|
||||
/** 防火责任人 */
|
||||
@ApiModelProperty(value = "防火责任人")
|
||||
private Long fireproofChargerId;
|
||||
|
||||
/** 防火责任人名 */
|
||||
@ApiModelProperty(value = "防火责任人名")
|
||||
private String fireproofChargerName;
|
||||
|
||||
/** 审批人 */
|
||||
@ApiModelProperty(value = "审批人")
|
||||
private Long approvalId;
|
||||
|
||||
/** 审批人名 */
|
||||
@ApiModelProperty(value = "审批人名")
|
||||
private String approvalName;
|
||||
|
||||
/** 最小频率风向 */
|
||||
@ApiModelProperty(value = "最小频率风向")
|
||||
private String minWind;
|
||||
|
||||
/** 声光报警;0-否1-是 */
|
||||
@ApiModelProperty(value = "声光报警;0-否1-是")
|
||||
private Integer alarm;
|
||||
|
||||
/** 风险辨识与管控 */
|
||||
@ApiModelProperty(value = "风险辨识与管控")
|
||||
private String ric;
|
||||
|
||||
/** 辨识时间;最近辨识年月日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "辨识时间;最近辨识年月日")
|
||||
private Date identifyTime;
|
||||
|
||||
/** 区域绘制 */
|
||||
@ApiModelProperty(value = "区域绘制")
|
||||
private String areaJson;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue