commit
a8d7f52f5f
@ -0,0 +1,39 @@
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**/target/
|
||||
!**/src/test/**/target/
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea/modules.xml
|
||||
.idea/jarRepositories.xml
|
||||
.idea/compiler.xml
|
||||
.idea/libraries/
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
/.idea
|
||||
|
||||
### Eclipse ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
!**/src/main/**/build/
|
||||
!**/src/test/**/build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
||||
|
||||
### Mac OS ###
|
||||
.DS_Store
|
@ -0,0 +1,100 @@
|
||||
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.mudu</groupId>
|
||||
<artifactId>mudu</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>mudu</name>
|
||||
<description>木渎数据同步中间服务</description>
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<spring-boot.version>2.7.6</spring-boot.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
<version>3.5.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
|
||||
<version>4.4.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.8.16</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<mainClass>com.mudu.mudu.MuduApplication</mainClass>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
@ -0,0 +1,19 @@
|
||||
package com.mudu;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* @author wu
|
||||
* @since 2024/2/26 10:24
|
||||
*/
|
||||
|
||||
@SpringBootApplication
|
||||
@MapperScan("com.mudu.mapper")
|
||||
public class MuduApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(MuduApplication.class, args);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package com.mudu.base.controller;
|
||||
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* web层通用数据处理
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public class BaseController {
|
||||
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
|
||||
/**
|
||||
* 返回成功
|
||||
*/
|
||||
public AjaxResult success() {
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回失败消息
|
||||
*/
|
||||
public AjaxResult error() {
|
||||
return AjaxResult.error();
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回成功消息
|
||||
*/
|
||||
public AjaxResult success(String message) {
|
||||
return AjaxResult.success(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回成功消息
|
||||
*/
|
||||
public AjaxResult success(Object data) {
|
||||
return AjaxResult.success(data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回失败消息
|
||||
*/
|
||||
public AjaxResult error(String message) {
|
||||
return AjaxResult.error(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回警告消息
|
||||
*/
|
||||
public AjaxResult warn(String message) {
|
||||
return AjaxResult.warn(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* 响应返回结果
|
||||
*
|
||||
* @param rows 影响行数
|
||||
* @return 操作结果
|
||||
*/
|
||||
protected AjaxResult toAjax(int rows) {
|
||||
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
|
||||
}
|
||||
|
||||
/**
|
||||
* 响应返回结果
|
||||
*
|
||||
* @param result 结果
|
||||
* @return 操作结果
|
||||
*/
|
||||
protected AjaxResult toAjax(boolean result) {
|
||||
return result ? success() : error();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.mudu.config;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.DbType;
|
||||
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
||||
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* @author wu
|
||||
* @since 2024/2/26 11:28
|
||||
*/
|
||||
@Configuration
|
||||
public class MybatisPlusConfig {
|
||||
|
||||
/**
|
||||
* 添加分页插件
|
||||
*/
|
||||
@Bean
|
||||
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
||||
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
||||
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));//如果配置多个插件,切记分页最后添加
|
||||
//interceptor.addInnerInterceptor(new PaginationInnerInterceptor()); 如果有多数据源可以不配具体类型 否则都建议配上具体的DbType
|
||||
return interceptor;
|
||||
}
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeBmxx;
|
||||
import com.mudu.service.ASafeBmxxService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 风险库部门信息表(ASafeBmxx)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:21
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeBmxx")
|
||||
@Api(tags = "风险库部门信息表")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeBmxxController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeBmxxService aSafeBmxxService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeBmxx 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询风险库部门信息表", response = ASafeBmxx.class)
|
||||
public AjaxResult page(Page<ASafeBmxx> page, ASafeBmxx aSafeBmxx) {
|
||||
return success(aSafeBmxxService.page(page, new QueryWrapper<>(aSafeBmxx)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条风险库部门信息表", response = ASafeBmxx.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeBmxxService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeBmxx 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增风险库部门信息表", response = ASafeBmxx.class)
|
||||
public AjaxResult insert(@RequestBody ASafeBmxx aSafeBmxx) {
|
||||
return success(aSafeBmxxService.save(aSafeBmxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeBmxx 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改风险库部门信息表")
|
||||
public AjaxResult update(@RequestBody ASafeBmxx aSafeBmxx) {
|
||||
return success(aSafeBmxxService.updateById(aSafeBmxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除风险库部门信息表")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeBmxxService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,50 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeFxd;
|
||||
import com.mudu.service.ASafeFxdService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* (ASafeFxd)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeFxd")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeFxdController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeFxdService aSafeFxdService;
|
||||
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeFxd.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeFxdService.getById(id));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeFxdwz;
|
||||
import com.mudu.service.ASafeFxdwzService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeFxdwz)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeFxdwz")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeFxdwzController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeFxdwzService aSafeFxdwzService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeFxdwz 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeFxdwz.class)
|
||||
public AjaxResult page(Page<ASafeFxdwz> page, ASafeFxdwz aSafeFxdwz) {
|
||||
return success(aSafeFxdwzService.page(page, new QueryWrapper<>(aSafeFxdwz)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeFxdwz.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeFxdwzService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeFxdwz 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeFxdwz.class)
|
||||
public AjaxResult insert(@RequestBody ASafeFxdwz aSafeFxdwz) {
|
||||
return success(aSafeFxdwzService.save(aSafeFxdwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeFxdwz 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeFxdwz aSafeFxdwz) {
|
||||
return success(aSafeFxdwzService.updateById(aSafeFxdwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeFxdwzService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeFxk;
|
||||
import com.mudu.service.ASafeFxkService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeFxk)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeFxk")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeFxkController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeFxkService aSafeFxkService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeFxk 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeFxk.class)
|
||||
public AjaxResult page(Page<ASafeFxk> page, ASafeFxk aSafeFxk) {
|
||||
return success(aSafeFxkService.page(page, new QueryWrapper<>(aSafeFxk)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeFxk.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeFxkService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeFxk 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeFxk.class)
|
||||
public AjaxResult insert(@RequestBody ASafeFxk aSafeFxk) {
|
||||
return success(aSafeFxkService.save(aSafeFxk));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeFxk 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeFxk aSafeFxk) {
|
||||
return success(aSafeFxkService.updateById(aSafeFxk));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeFxkService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeGllb;
|
||||
import com.mudu.service.ASafeGllbService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeGllb)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeGllb")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeGllbController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeGllbService aSafeGllbService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeGllb 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeGllb.class)
|
||||
public AjaxResult page(Page<ASafeGllb> page, ASafeGllb aSafeGllb) {
|
||||
return success(aSafeGllbService.page(page, new QueryWrapper<>(aSafeGllb)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeGllb.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeGllbService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeGllb 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeGllb.class)
|
||||
public AjaxResult insert(@RequestBody ASafeGllb aSafeGllb) {
|
||||
return success(aSafeGllbService.save(aSafeGllb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeGllb 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeGllb aSafeGllb) {
|
||||
return success(aSafeGllbService.updateById(aSafeGllb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeGllbService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeJcyd;
|
||||
import com.mudu.service.ASafeJcydService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeJcyd)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeJcyd")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeJcydController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeJcydService aSafeJcydService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeJcyd 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeJcyd.class)
|
||||
public AjaxResult page(Page<ASafeJcyd> page, ASafeJcyd aSafeJcyd) {
|
||||
return success(aSafeJcydService.page(page, new QueryWrapper<>(aSafeJcyd)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeJcyd.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeJcydService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeJcyd 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeJcyd.class)
|
||||
public AjaxResult insert(@RequestBody ASafeJcyd aSafeJcyd) {
|
||||
return success(aSafeJcydService.save(aSafeJcyd));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeJcyd 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeJcyd aSafeJcyd) {
|
||||
return success(aSafeJcydService.updateById(aSafeJcyd));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeJcydService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeQybhysb;
|
||||
import com.mudu.service.ASafeQybhysbService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 企业编号映射表(ASafeQybhysb)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeQybhysb")
|
||||
@Api(tags = "企业编号映射表")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeQybhysbController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeQybhysbService aSafeQybhysbService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeQybhysb 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询企业编号映射表", response = ASafeQybhysb.class)
|
||||
public AjaxResult page(Page<ASafeQybhysb> page, ASafeQybhysb aSafeQybhysb) {
|
||||
return success(aSafeQybhysbService.page(page, new QueryWrapper<>(aSafeQybhysb)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条企业编号映射表", response = ASafeQybhysb.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeQybhysbService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeQybhysb 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增企业编号映射表", response = ASafeQybhysb.class)
|
||||
public AjaxResult insert(@RequestBody ASafeQybhysb aSafeQybhysb) {
|
||||
return success(aSafeQybhysbService.save(aSafeQybhysb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeQybhysb 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改企业编号映射表")
|
||||
public AjaxResult update(@RequestBody ASafeQybhysb aSafeQybhysb) {
|
||||
return success(aSafeQybhysbService.updateById(aSafeQybhysb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除企业编号映射表")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeQybhysbService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeQyfxwz;
|
||||
import com.mudu.service.ASafeQyfxwzService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeQyfxwz)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeQyfxwz")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeQyfxwzController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeQyfxwzService aSafeQyfxwzService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeQyfxwz 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeQyfxwz.class)
|
||||
public AjaxResult page(Page<ASafeQyfxwz> page, ASafeQyfxwz aSafeQyfxwz) {
|
||||
return success(aSafeQyfxwzService.page(page, new QueryWrapper<>(aSafeQyfxwz)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeQyfxwz.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeQyfxwzService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeQyfxwz 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeQyfxwz.class)
|
||||
public AjaxResult insert(@RequestBody ASafeQyfxwz aSafeQyfxwz) {
|
||||
return success(aSafeQyfxwzService.save(aSafeQyfxwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeQyfxwz 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeQyfxwz aSafeQyfxwz) {
|
||||
return success(aSafeQyfxwzService.updateById(aSafeQyfxwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeQyfxwzService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,117 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeQyjcxx;
|
||||
import com.mudu.service.ASafeQyjcxxService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeQyjcxx)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeQyjcxx")
|
||||
@Api(tags = "企业信息")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeQyjcxxController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeQyjcxxService aSafeQyjcxxService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeQyjcxx 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeQyjcxx.class)
|
||||
public AjaxResult page(Page<ASafeQyjcxx> page, ASafeQyjcxx aSafeQyjcxx) {
|
||||
return success(aSafeQyjcxxService.page(page, new QueryWrapper<>(aSafeQyjcxx)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeQyjcxx.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeQyjcxxService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeQyjcxx 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeQyjcxx.class)
|
||||
public AjaxResult insert(@RequestBody ASafeQyjcxx aSafeQyjcxx) {
|
||||
return success(aSafeQyjcxxService.save(aSafeQyjcxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeQyjcxx 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeQyjcxx aSafeQyjcxx) {
|
||||
return success(aSafeQyjcxxService.updateById(aSafeQyjcxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeQyjcxxService.removeByIds(idList));
|
||||
}
|
||||
|
||||
/**
|
||||
* 数据同步
|
||||
*
|
||||
* @return 响应类
|
||||
*/
|
||||
@GetMapping("/dataSynchronous")
|
||||
@ApiOperation(value = "数据同步")
|
||||
public AjaxResult dataSynchronous() {
|
||||
aSafeQyjcxxService.dataSynchronous();
|
||||
return success();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeXcrw;
|
||||
import com.mudu.service.ASafeXcrwService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeXcrw)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeXcrw")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeXcrwController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeXcrwService aSafeXcrwService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeXcrw 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeXcrw.class)
|
||||
public AjaxResult page(Page<ASafeXcrw> page, ASafeXcrw aSafeXcrw) {
|
||||
return success(aSafeXcrwService.page(page, new QueryWrapper<>(aSafeXcrw)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeXcrw.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeXcrwService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeXcrw 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeXcrw.class)
|
||||
public AjaxResult insert(@RequestBody ASafeXcrw aSafeXcrw) {
|
||||
return success(aSafeXcrwService.save(aSafeXcrw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeXcrw 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeXcrw aSafeXcrw) {
|
||||
return success(aSafeXcrwService.updateById(aSafeXcrw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeXcrwService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeXcrwjcx;
|
||||
import com.mudu.service.ASafeXcrwjcxService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcx)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeXcrwjcx")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeXcrwjcxController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeXcrwjcxService aSafeXcrwjcxService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeXcrwjcx 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeXcrwjcx.class)
|
||||
public AjaxResult page(Page<ASafeXcrwjcx> page, ASafeXcrwjcx aSafeXcrwjcx) {
|
||||
return success(aSafeXcrwjcxService.page(page, new QueryWrapper<>(aSafeXcrwjcx)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeXcrwjcx.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeXcrwjcxService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeXcrwjcx 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeXcrwjcx.class)
|
||||
public AjaxResult insert(@RequestBody ASafeXcrwjcx aSafeXcrwjcx) {
|
||||
return success(aSafeXcrwjcxService.save(aSafeXcrwjcx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeXcrwjcx 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeXcrwjcx aSafeXcrwjcx) {
|
||||
return success(aSafeXcrwjcxService.updateById(aSafeXcrwjcx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeXcrwjcxService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeXcrwjcxzgxx;
|
||||
import com.mudu.service.ASafeXcrwjcxzgxxService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcxzgxx)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeXcrwjcxzgxx")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeXcrwjcxzgxxController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeXcrwjcxzgxxService aSafeXcrwjcxzgxxService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeXcrwjcxzgxx 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeXcrwjcxzgxx.class)
|
||||
public AjaxResult page(Page<ASafeXcrwjcxzgxx> page, ASafeXcrwjcxzgxx aSafeXcrwjcxzgxx) {
|
||||
return success(aSafeXcrwjcxzgxxService.page(page, new QueryWrapper<>(aSafeXcrwjcxzgxx)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeXcrwjcxzgxx.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeXcrwjcxzgxxService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeXcrwjcxzgxx 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeXcrwjcxzgxx.class)
|
||||
public AjaxResult insert(@RequestBody ASafeXcrwjcxzgxx aSafeXcrwjcxzgxx) {
|
||||
return success(aSafeXcrwjcxzgxxService.save(aSafeXcrwjcxzgxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeXcrwjcxzgxx 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeXcrwjcxzgxx aSafeXcrwjcxzgxx) {
|
||||
return success(aSafeXcrwjcxzgxxService.updateById(aSafeXcrwjcxzgxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeXcrwjcxzgxxService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeYhzgxx;
|
||||
import com.mudu.service.ASafeYhzgxxService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeYhzgxx)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeYhzgxx")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeYhzgxxController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeYhzgxxService aSafeYhzgxxService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeYhzgxx 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeYhzgxx.class)
|
||||
public AjaxResult page(Page<ASafeYhzgxx> page, ASafeYhzgxx aSafeYhzgxx) {
|
||||
return success(aSafeYhzgxxService.page(page, new QueryWrapper<>(aSafeYhzgxx)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeYhzgxx.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeYhzgxxService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeYhzgxx 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeYhzgxx.class)
|
||||
public AjaxResult insert(@RequestBody ASafeYhzgxx aSafeYhzgxx) {
|
||||
return success(aSafeYhzgxxService.save(aSafeYhzgxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeYhzgxx 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeYhzgxx aSafeYhzgxx) {
|
||||
return success(aSafeYhzgxxService.updateById(aSafeYhzgxx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeYhzgxxService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeZcrw;
|
||||
import com.mudu.service.ASafeZcrwService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeZcrw)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeZcrw")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeZcrwController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeZcrwService aSafeZcrwService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeZcrw 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeZcrw.class)
|
||||
public AjaxResult page(Page<ASafeZcrw> page, ASafeZcrw aSafeZcrw) {
|
||||
return success(aSafeZcrwService.page(page, new QueryWrapper<>(aSafeZcrw)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeZcrw.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeZcrwService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeZcrw 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeZcrw.class)
|
||||
public AjaxResult insert(@RequestBody ASafeZcrw aSafeZcrw) {
|
||||
return success(aSafeZcrwService.save(aSafeZcrw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeZcrw 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeZcrw aSafeZcrw) {
|
||||
return success(aSafeZcrwService.updateById(aSafeZcrw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeZcrwService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,105 @@
|
||||
package com.mudu.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mudu.base.controller.BaseController;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.mudu.base.domain.AjaxResult;
|
||||
import com.mudu.entity.ASafeZcrwjl;
|
||||
import com.mudu.service.ASafeZcrwjlService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (ASafeZcrwjl)表控制层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("pharmaceuticals/aSafeZcrwjl")
|
||||
@Api(tags = "")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class ASafeZcrwjlController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private ASafeZcrwjlService aSafeZcrwjlService;
|
||||
|
||||
/**
|
||||
* 分页条件查询所有数据
|
||||
*
|
||||
* @param page 分页条件
|
||||
* @param aSafeZcrwjl 查询条件
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
@ApiOperation(value = "分页条件查询", response = ASafeZcrwjl.class)
|
||||
public AjaxResult page(Page<ASafeZcrwjl> page, ASafeZcrwjl aSafeZcrwjl) {
|
||||
return success(aSafeZcrwjlService.page(page, new QueryWrapper<>(aSafeZcrwjl)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条", response = ASafeZcrwjl.class)
|
||||
public AjaxResult getById(@PathVariable Serializable id) {
|
||||
return success(aSafeZcrwjlService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param aSafeZcrwjl 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping
|
||||
@ApiOperation(value = "新增", response = ASafeZcrwjl.class)
|
||||
public AjaxResult insert(@RequestBody ASafeZcrwjl aSafeZcrwjl) {
|
||||
return success(aSafeZcrwjlService.save(aSafeZcrwjl));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param aSafeZcrwjl 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PutMapping
|
||||
@ApiOperation(value = "修改")
|
||||
public AjaxResult update(@RequestBody ASafeZcrwjl aSafeZcrwjl) {
|
||||
return success(aSafeZcrwjlService.updateById(aSafeZcrwjl));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键集合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
@ApiOperation(value = "删除")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(aSafeZcrwjlService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,69 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 风险库部门信息表(ASafeBmxx)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("风险库部门信息表实体类")
|
||||
@TableName(value = "a_safe_bmxx")
|
||||
public class ASafeBmxx implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -12700076800046848L;
|
||||
/**
|
||||
* 信息编号
|
||||
*/
|
||||
@ApiModelProperty(value = "信息编号")
|
||||
private String xxbh;
|
||||
/**
|
||||
* 部门编号
|
||||
*/
|
||||
@ApiModelProperty(value = "部门编号")
|
||||
private String bmbh;
|
||||
/**
|
||||
* 部门名称
|
||||
*/
|
||||
@ApiModelProperty(value = "部门名称")
|
||||
private String bmmc;
|
||||
/**
|
||||
* 父级编号
|
||||
*/
|
||||
@ApiModelProperty(value = "父级编号")
|
||||
private String pid;
|
||||
/**
|
||||
* 记录状态 0弃用 1正常
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态 0弃用 1正常")
|
||||
private Integer jlzt;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
private String gxry;
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
@ApiModelProperty(value = "顺序")
|
||||
private Integer xssx;
|
||||
}
|
||||
|
@ -0,0 +1,129 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeFxd)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_fxd")
|
||||
public class ASafeFxd implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 524412765206425836L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
private String sfxdbh;
|
||||
/**
|
||||
* 风险点
|
||||
*/
|
||||
@ApiModelProperty(value = "风险点")
|
||||
private String fxd;
|
||||
/**
|
||||
* 风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "风险点编号")
|
||||
private String fxdbh;
|
||||
/**
|
||||
* 风险名称
|
||||
*/
|
||||
@ApiModelProperty(value = "风险名称")
|
||||
private String fxmc;
|
||||
/**
|
||||
* 管理类别ID
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别ID")
|
||||
private String gllbbh;
|
||||
/**
|
||||
* 管理类别VALUE
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别VALUE")
|
||||
private String gllbvalue;
|
||||
/**
|
||||
* 风险等级ID
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级ID")
|
||||
private String fxdjid;
|
||||
/**
|
||||
* 风险等级VALUE
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级VALUE")
|
||||
private String fxdjvalue;
|
||||
/**
|
||||
* 事故类型
|
||||
*/
|
||||
@ApiModelProperty(value = "事故类型")
|
||||
private String sglx;
|
||||
/**
|
||||
* 具体管控措施
|
||||
*/
|
||||
@ApiModelProperty(value = "具体管控措施")
|
||||
private String jtgkcs;
|
||||
/**
|
||||
* 能否编辑
|
||||
*/
|
||||
@ApiModelProperty(value = "能否编辑")
|
||||
private Integer nfbj;
|
||||
/**
|
||||
* 能否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "能否删除")
|
||||
private Integer nfsc;
|
||||
/**
|
||||
* 是否基础库
|
||||
*/
|
||||
@ApiModelProperty(value = "是否基础库")
|
||||
private Integer sfjck;
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
@ApiModelProperty(value = "启用状态")
|
||||
private Integer qyzt;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String bz;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,128 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeFxd20231220)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_fxd20231220")
|
||||
public class ASafeFxd20231220 implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -22890239996510742L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 风险点
|
||||
*/
|
||||
@ApiModelProperty(value = "风险点")
|
||||
private String fxd;
|
||||
/**
|
||||
* 风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "风险点编号")
|
||||
private String fxdbh;
|
||||
/**
|
||||
* 风险名称
|
||||
*/
|
||||
@ApiModelProperty(value = "风险名称")
|
||||
private String fxmc;
|
||||
/**
|
||||
* 管理类别ID
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别ID")
|
||||
private String gllbbh;
|
||||
/**
|
||||
* 管理类别VALUE
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别VALUE")
|
||||
private String gllbvalue;
|
||||
/**
|
||||
* 风险等级ID
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级ID")
|
||||
private String fxdjid;
|
||||
/**
|
||||
* 风险等级VALUE
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级VALUE")
|
||||
private String fxdjvalue;
|
||||
/**
|
||||
* 事故类型
|
||||
*/
|
||||
@ApiModelProperty(value = "事故类型")
|
||||
private String sglx;
|
||||
/**
|
||||
* 具体管控措施
|
||||
*/
|
||||
@ApiModelProperty(value = "具体管控措施")
|
||||
private String jtgkcs;
|
||||
/**
|
||||
* 能否编辑
|
||||
*/
|
||||
@ApiModelProperty(value = "能否编辑")
|
||||
private Integer nfbj;
|
||||
/**
|
||||
* 能否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "能否删除")
|
||||
private Integer nfsc;
|
||||
/**
|
||||
* 是否基础库
|
||||
*/
|
||||
@ApiModelProperty(value = "是否基础库")
|
||||
private Integer sfjck;
|
||||
/**
|
||||
* 启用状态
|
||||
*/
|
||||
@ApiModelProperty(value = "启用状态")
|
||||
private Integer qyzt;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String bz;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,73 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeFxdwz)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_fxdwz")
|
||||
public class ASafeFxdwz implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -84222585664561710L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业风险点编号")
|
||||
private String qyfxdbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "位置编号")
|
||||
private String wzbh;
|
||||
/**
|
||||
* 设备数量
|
||||
*/
|
||||
@ApiModelProperty(value = "设备数量")
|
||||
private Integer sbsl;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,133 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeFxk)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_fxk")
|
||||
public class ASafeFxk implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 822617077832817726L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 管理类别
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别")
|
||||
private String gllbbh;
|
||||
/**
|
||||
* 市风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "市风险点编号")
|
||||
private String sfxdbh;
|
||||
/**
|
||||
* 风险名称
|
||||
*/
|
||||
@ApiModelProperty(value = "风险名称")
|
||||
private String fxd;
|
||||
/**
|
||||
* 风险点
|
||||
*/
|
||||
@ApiModelProperty(value = "风险点")
|
||||
private String fxdm;
|
||||
/**
|
||||
* 风险等级ID
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级ID")
|
||||
private String fxdjid;
|
||||
/**
|
||||
* 风险等级VALUE
|
||||
*/
|
||||
@ApiModelProperty(value = "风险等级VALUE")
|
||||
private String fxdjvalue;
|
||||
/**
|
||||
* 事故类型
|
||||
*/
|
||||
@ApiModelProperty(value = "事故类型")
|
||||
private String sglx;
|
||||
/**
|
||||
* 整改期限
|
||||
*/
|
||||
@ApiModelProperty(value = "整改期限")
|
||||
private String zgqx;
|
||||
/**
|
||||
* 关联企业类型id
|
||||
*/
|
||||
@ApiModelProperty(value = "关联企业类型id")
|
||||
private String glqylxid;
|
||||
/**
|
||||
* 关联企业类型value
|
||||
*/
|
||||
@ApiModelProperty(value = "关联企业类型value")
|
||||
private String glqylxvalue;
|
||||
/**
|
||||
* 工程技术
|
||||
*/
|
||||
@ApiModelProperty(value = "工程技术")
|
||||
private String gcjs;
|
||||
/**
|
||||
* 安全管理
|
||||
*/
|
||||
@ApiModelProperty(value = "安全管理")
|
||||
private String aqgl;
|
||||
/**
|
||||
* 培训教育
|
||||
*/
|
||||
@ApiModelProperty(value = "培训教育")
|
||||
private String pxjy;
|
||||
/**
|
||||
* 应急处置
|
||||
*/
|
||||
@ApiModelProperty(value = "应急处置")
|
||||
private String yjcz;
|
||||
/**
|
||||
* 个体防护
|
||||
*/
|
||||
@ApiModelProperty(value = "个体防护")
|
||||
private String gtfh;
|
||||
/**
|
||||
* 法律依据
|
||||
*/
|
||||
@ApiModelProperty(value = "法律依据")
|
||||
private String flyj;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 人性人员
|
||||
*/
|
||||
@ApiModelProperty(value = "人性人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,63 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeGllb)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_gllb")
|
||||
public class ASafeGllb implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -76274677396325303L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 管理类别编号
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别编号")
|
||||
private String gllbbh;
|
||||
/**
|
||||
* 管理类别
|
||||
*/
|
||||
@ApiModelProperty(value = "管理类别")
|
||||
private String gllb;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 跟新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
}
|
||||
|
@ -0,0 +1,85 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeJcyd)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_jcyd")
|
||||
public class ASafeJcyd implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 878793166022196007L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 检查要点
|
||||
*/
|
||||
@ApiModelProperty(value = "检查要点")
|
||||
private String jcyd;
|
||||
/**
|
||||
* 检查要点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "检查要点编号")
|
||||
private String jcydbh;
|
||||
/**
|
||||
* 是否重点检查项 0否 1是
|
||||
*/
|
||||
@ApiModelProperty(value = "是否重点检查项 0否 1是")
|
||||
private Object sfzdjcx;
|
||||
/**
|
||||
* 整改期限
|
||||
*/
|
||||
@ApiModelProperty(value = "整改期限")
|
||||
private String zgqx;
|
||||
/**
|
||||
* 检查依据
|
||||
*/
|
||||
@ApiModelProperty(value = "检查依据")
|
||||
private String jcyj;
|
||||
/**
|
||||
* 违法条款
|
||||
*/
|
||||
@ApiModelProperty(value = "违法条款")
|
||||
private String wftk;
|
||||
/**
|
||||
* 父级编号
|
||||
*/
|
||||
@ApiModelProperty(value = "父级编号")
|
||||
private String pid;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
private String rkry;
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
@ApiModelProperty(value = "顺序")
|
||||
private Integer xssx;
|
||||
}
|
||||
|
@ -0,0 +1,63 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 企业编号映射表(ASafeQybhysb)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("企业编号映射表实体类")
|
||||
@TableName(value = "a_safe_qybhysb")
|
||||
public class ASafeQybhysb implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 167333084636450946L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String qymc;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,68 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeQyfxwz)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_qyfxwz")
|
||||
public class ASafeQyfxwz implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 816018157701927273L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 位置名称
|
||||
*/
|
||||
@ApiModelProperty(value = "位置名称")
|
||||
private String wzmc;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 显示顺序
|
||||
*/
|
||||
@ApiModelProperty(value = "显示顺序")
|
||||
private Integer xssx;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private String gxry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private Date gxsj;
|
||||
}
|
||||
|
@ -0,0 +1,103 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeXcrw)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_xcrw")
|
||||
public class ASafeXcrw implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -36857779780957488L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 巡查项
|
||||
*/
|
||||
@ApiModelProperty(value = "巡查项")
|
||||
private Integer xcx;
|
||||
/**
|
||||
* 完成项
|
||||
*/
|
||||
@ApiModelProperty(value = "完成项")
|
||||
private Integer wcx;
|
||||
/**
|
||||
* 发现隐患树
|
||||
*/
|
||||
@ApiModelProperty(value = "发现隐患树")
|
||||
private Integer fxyhs;
|
||||
/**
|
||||
* 完成状态
|
||||
*/
|
||||
@ApiModelProperty(value = "完成状态")
|
||||
private Integer wczt;
|
||||
/**
|
||||
* 检查时间
|
||||
*/
|
||||
@ApiModelProperty(value = "检查时间")
|
||||
private Date jcsj;
|
||||
/**
|
||||
* 其他人员
|
||||
*/
|
||||
@ApiModelProperty(value = "其他人员")
|
||||
private String qtry;
|
||||
/**
|
||||
* 专家意见
|
||||
*/
|
||||
@ApiModelProperty(value = "专家意见")
|
||||
private String zjyj;
|
||||
/**
|
||||
* 任务类型
|
||||
*/
|
||||
@ApiModelProperty(value = "任务类型")
|
||||
private String rwlx;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,217 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcx)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_xcrwjcx")
|
||||
public class ASafeXcrwjcx implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 253429016629233219L;
|
||||
/**
|
||||
* 信息编号
|
||||
*/
|
||||
@ApiModelProperty(value = "信息编号")
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 企业风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业风险点编号")
|
||||
private String qyfxdbh;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 任务编号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务编号")
|
||||
private String rwbh;
|
||||
/**
|
||||
* 检查时间
|
||||
*/
|
||||
@ApiModelProperty(value = "检查时间")
|
||||
private Date jcsj;
|
||||
/**
|
||||
* 检查项结果
|
||||
*/
|
||||
@ApiModelProperty(value = "检查项结果")
|
||||
private String jcxjg;
|
||||
/**
|
||||
* 检查要点
|
||||
*/
|
||||
@ApiModelProperty(value = "检查要点")
|
||||
private String jcyd;
|
||||
/**
|
||||
* 检查要点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "检查要点编号")
|
||||
private String jcydbh;
|
||||
/**
|
||||
* 是否重点检查项 0否 1 是
|
||||
*/
|
||||
@ApiModelProperty(value = "是否重点检查项 0否 1 是")
|
||||
private Integer sfzdjcx;
|
||||
/**
|
||||
* 整改期限
|
||||
*/
|
||||
@ApiModelProperty(value = "整改期限")
|
||||
private Date zgqx;
|
||||
/**
|
||||
* 整改状态
|
||||
*/
|
||||
@ApiModelProperty(value = "整改状态")
|
||||
private Integer zgzt;
|
||||
/**
|
||||
* 完成状态
|
||||
*/
|
||||
@ApiModelProperty(value = "完成状态")
|
||||
private Integer wczt;
|
||||
/**
|
||||
* 整改时间
|
||||
*/
|
||||
@ApiModelProperty(value = "整改时间")
|
||||
private Date zgsj;
|
||||
/**
|
||||
* 整改描述
|
||||
*/
|
||||
@ApiModelProperty(value = "整改描述")
|
||||
private String zgms;
|
||||
/**
|
||||
* 整改逾期
|
||||
*/
|
||||
@ApiModelProperty(value = "整改逾期")
|
||||
private Integer zgyq;
|
||||
/**
|
||||
* 历史整改逾期
|
||||
*/
|
||||
@ApiModelProperty(value = "历史整改逾期")
|
||||
private Integer lszgyq;
|
||||
/**
|
||||
* 复查状态
|
||||
*/
|
||||
@ApiModelProperty(value = "复查状态")
|
||||
private Integer fczt;
|
||||
/**
|
||||
* 复查历史逾期
|
||||
*/
|
||||
@ApiModelProperty(value = "复查历史逾期")
|
||||
private Integer fclsyq;
|
||||
/**
|
||||
* 复查信息
|
||||
*/
|
||||
@ApiModelProperty(value = "复查信息")
|
||||
private String fcxx;
|
||||
/**
|
||||
* 复查逾期
|
||||
*/
|
||||
@ApiModelProperty(value = "复查逾期")
|
||||
private Integer fcyq;
|
||||
/**
|
||||
* 复查时间
|
||||
*/
|
||||
@ApiModelProperty(value = "复查时间")
|
||||
private Date fcsj;
|
||||
/**
|
||||
* 复查期限
|
||||
*/
|
||||
@ApiModelProperty(value = "复查期限")
|
||||
private Date fcqx;
|
||||
/**
|
||||
* 复查是否合格
|
||||
*/
|
||||
@ApiModelProperty(value = "复查是否合格")
|
||||
private Integer fcsfhg;
|
||||
/**
|
||||
* 复查不合格
|
||||
*/
|
||||
@ApiModelProperty(value = "复查不合格")
|
||||
private Integer fcbhg;
|
||||
/**
|
||||
* 位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "位置编号")
|
||||
private String wzbh;
|
||||
/**
|
||||
* 隐患描述
|
||||
*/
|
||||
@ApiModelProperty(value = "隐患描述")
|
||||
private String yhms;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String bz;
|
||||
/**
|
||||
* 是否多次发生隐患
|
||||
*/
|
||||
@ApiModelProperty(value = "是否多次发生隐患")
|
||||
private Integer sfdcfsyh;
|
||||
/**
|
||||
* 是否展示
|
||||
*/
|
||||
@ApiModelProperty(value = "是否展示")
|
||||
private Integer sfzs;
|
||||
/**
|
||||
* 巡查位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "巡查位置编号")
|
||||
private String xcwzbh;
|
||||
/**
|
||||
* 巡查风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "巡查风险点编号")
|
||||
private String xcfxdbh;
|
||||
/**
|
||||
* 任务类型
|
||||
*/
|
||||
@ApiModelProperty(value = "任务类型")
|
||||
private Integer rwlx;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,93 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcxzgxx)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_xcrwjcxzgxx")
|
||||
public class ASafeXcrwjcxzgxx implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 973627969644943727L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 任务编号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务编号")
|
||||
private String rwbh;
|
||||
/**
|
||||
* 巡查检查项编号
|
||||
*/
|
||||
@ApiModelProperty(value = "巡查检查项编号")
|
||||
private String xcjcxbh;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String ms;
|
||||
/**
|
||||
* 数据来源
|
||||
*/
|
||||
@ApiModelProperty(value = "数据来源")
|
||||
private String sjlx;
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
@ApiModelProperty(value = "时间")
|
||||
private Date sj;
|
||||
/**
|
||||
* 是否合格
|
||||
*/
|
||||
@ApiModelProperty(value = "是否合格")
|
||||
private Integer sfhg;
|
||||
/**
|
||||
* 到期日期
|
||||
*/
|
||||
@ApiModelProperty(value = "到期日期")
|
||||
private Date dqrq;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 跟新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 跟新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新人员")
|
||||
private String gxry;
|
||||
}
|
||||
|
@ -0,0 +1,148 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeYhzgxx)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_yhzgxx")
|
||||
public class ASafeYhzgxx implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -41863728980427289L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 企业风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业风险点编号")
|
||||
private String qyfxdbh;
|
||||
/**
|
||||
* 位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "位置编号")
|
||||
private String wzbh;
|
||||
/**
|
||||
* 隐患来源
|
||||
*/
|
||||
@ApiModelProperty(value = "隐患来源")
|
||||
private String yhly;
|
||||
/**
|
||||
* 检查时间
|
||||
*/
|
||||
@ApiModelProperty(value = "检查时间")
|
||||
private Date jcsj;
|
||||
/**
|
||||
* 整改期限
|
||||
*/
|
||||
@ApiModelProperty(value = "整改期限")
|
||||
private Date zgqx;
|
||||
/**
|
||||
* 不合格检查项
|
||||
*/
|
||||
@ApiModelProperty(value = "不合格检查项")
|
||||
private Integer bhgjcx;
|
||||
/**
|
||||
* 整改状态
|
||||
*/
|
||||
@ApiModelProperty(value = "整改状态")
|
||||
private Integer zgzt;
|
||||
/**
|
||||
* 是否展示
|
||||
*/
|
||||
@ApiModelProperty(value = "是否展示")
|
||||
private Integer sfzs;
|
||||
/**
|
||||
* 自查记录编号
|
||||
*/
|
||||
@ApiModelProperty(value = "自查记录编号")
|
||||
private String zcjlbh;
|
||||
/**
|
||||
* 任务编号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务编号")
|
||||
private String rwbh;
|
||||
/**
|
||||
* 巡查位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "巡查位置编号")
|
||||
private String xcwzbh;
|
||||
/**
|
||||
* 复查是否合格
|
||||
*/
|
||||
@ApiModelProperty(value = "复查是否合格")
|
||||
private Integer fcsfhg;
|
||||
/**
|
||||
* 隐患描述
|
||||
*/
|
||||
@ApiModelProperty(value = "隐患描述")
|
||||
private String yhms;
|
||||
/**
|
||||
* 整改结果
|
||||
*/
|
||||
@ApiModelProperty(value = "整改结果")
|
||||
private String zgjg;
|
||||
/**
|
||||
* 整改时间
|
||||
*/
|
||||
@ApiModelProperty(value = "整改时间")
|
||||
private Date zgsj;
|
||||
/**
|
||||
* 历史逾期
|
||||
*/
|
||||
@ApiModelProperty(value = "历史逾期")
|
||||
private Integer lsyq;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 完成状态
|
||||
*/
|
||||
@ApiModelProperty(value = "完成状态")
|
||||
private Integer wczt;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 跟新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,83 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeZcrw)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_zcrw")
|
||||
public class ASafeZcrw implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 958781896969860908L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 自查项
|
||||
*/
|
||||
@ApiModelProperty(value = "自查项")
|
||||
private Integer zcx;
|
||||
/**
|
||||
* 完成项
|
||||
*/
|
||||
@ApiModelProperty(value = "完成项")
|
||||
private Integer wcx;
|
||||
/**
|
||||
* 发现隐患数
|
||||
*/
|
||||
@ApiModelProperty(value = "发现隐患数")
|
||||
private Integer fxyhs;
|
||||
/**
|
||||
* 完成状态
|
||||
*/
|
||||
@ApiModelProperty(value = "完成状态")
|
||||
private Integer wczt;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 更新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "更新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,133 @@
|
||||
package com.mudu.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* (ASafeZcrwjl)表实体类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("实体类")
|
||||
@TableName(value = "a_safe_zcrwjl")
|
||||
public class ASafeZcrwjl implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -25715805175164681L;
|
||||
private String xxbh;
|
||||
/**
|
||||
* 周期编号
|
||||
*/
|
||||
@ApiModelProperty(value = "周期编号")
|
||||
private String zqbh;
|
||||
/**
|
||||
* 任务编号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务编号")
|
||||
private String rwbh;
|
||||
/**
|
||||
* 企业编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String qybh;
|
||||
/**
|
||||
* 企业风险点编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业风险点编号")
|
||||
private String qyfxdbh;
|
||||
/**
|
||||
* 企业风险点位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "企业风险点位置编号")
|
||||
private String qyfxdwzbh;
|
||||
/**
|
||||
* 位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "位置编号")
|
||||
private String wzbh;
|
||||
/**
|
||||
* 自查任务位置编号
|
||||
*/
|
||||
@ApiModelProperty(value = "自查任务位置编号")
|
||||
private String zcrwwzbh;
|
||||
/**
|
||||
* 设备数量
|
||||
*/
|
||||
@ApiModelProperty(value = "设备数量")
|
||||
private Integer sbsl;
|
||||
/**
|
||||
* 检查状态
|
||||
*/
|
||||
@ApiModelProperty(value = "检查状态")
|
||||
private Integer jczt;
|
||||
/**
|
||||
* 完成状态
|
||||
*/
|
||||
@ApiModelProperty(value = "完成状态")
|
||||
private Integer wczt;
|
||||
/**
|
||||
* 是否检查
|
||||
*/
|
||||
@ApiModelProperty(value = "是否检查")
|
||||
private Integer sfjc;
|
||||
/**
|
||||
* 检查时间
|
||||
*/
|
||||
@ApiModelProperty(value = "检查时间")
|
||||
private Date jcsj;
|
||||
/**
|
||||
* 是否采取有限管控措施
|
||||
*/
|
||||
@ApiModelProperty(value = "是否采取有限管控措施")
|
||||
private Integer sfcqyxgkcs;
|
||||
/**
|
||||
* 具体管控措施
|
||||
*/
|
||||
@ApiModelProperty(value = "具体管控措施")
|
||||
private String jtgkcs;
|
||||
/**
|
||||
* 是否发现隐患
|
||||
*/
|
||||
@ApiModelProperty(value = "是否发现隐患")
|
||||
private Integer sffxyh;
|
||||
/**
|
||||
* 隐患描述
|
||||
*/
|
||||
@ApiModelProperty(value = "隐患描述")
|
||||
private String yhms;
|
||||
/**
|
||||
* 入库时间
|
||||
*/
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
private Date rksj;
|
||||
/**
|
||||
* 入库人员
|
||||
*/
|
||||
@ApiModelProperty(value = "入库人员")
|
||||
private String rkry;
|
||||
/**
|
||||
* 跟新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新时间")
|
||||
private Date gxsj;
|
||||
/**
|
||||
* 跟新人员
|
||||
*/
|
||||
@ApiModelProperty(value = "跟新人员")
|
||||
private String gxry;
|
||||
/**
|
||||
* 记录状态
|
||||
*/
|
||||
@ApiModelProperty(value = "记录状态")
|
||||
private Integer jlzt;
|
||||
}
|
||||
|
@ -0,0 +1,145 @@
|
||||
package com.mudu.entity.dto.response;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 企业信息响应类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024/2/22 16:48
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "企业信息响应类")
|
||||
public class EnterpriseResponse implements Serializable {
|
||||
private static final long serialVersionUID = -2964947748678034353L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 机构代码证
|
||||
*/
|
||||
@ApiModelProperty(value = "机构代码证")
|
||||
private String certificateCode;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "经度")
|
||||
private String longitude;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@ApiModelProperty(value = "维度")
|
||||
private String latitude;
|
||||
|
||||
/**
|
||||
* 注册地
|
||||
*/
|
||||
@ApiModelProperty(value = "注册地")
|
||||
private String registerAddress;
|
||||
|
||||
/**
|
||||
* 经营地
|
||||
*/
|
||||
@ApiModelProperty(value = "经营地")
|
||||
private String businessAddress;
|
||||
|
||||
/**
|
||||
* 所属园区
|
||||
*/
|
||||
@ApiModelProperty(value = "所属园区")
|
||||
private String parkName;
|
||||
|
||||
/**
|
||||
* 房东企业联系人
|
||||
*/
|
||||
@ApiModelProperty(value = "房东企业联系人")
|
||||
private String personInCharge;
|
||||
|
||||
/**
|
||||
* 房东企业联系电话
|
||||
*/
|
||||
@ApiModelProperty(value = "房东企业联系电话")
|
||||
private String personInChargePhone;
|
||||
|
||||
/**
|
||||
* 网格编号
|
||||
*/
|
||||
@ApiModelProperty(value = "网格编号")
|
||||
private String locationID;
|
||||
|
||||
/**
|
||||
* 网格名称
|
||||
*/
|
||||
@ApiModelProperty(value = "网格名称")
|
||||
private String locationName;
|
||||
|
||||
/**
|
||||
* 企业性质类别
|
||||
*/
|
||||
@ApiModelProperty(value = "企业性质类别")
|
||||
private String typeID;
|
||||
|
||||
/**
|
||||
* 企业性质
|
||||
*/
|
||||
@ApiModelProperty(value = "企业性质")
|
||||
private String typeName;
|
||||
|
||||
/**
|
||||
* 行业列表代码
|
||||
*/
|
||||
@ApiModelProperty(value = "行业列表代码")
|
||||
private String industryID;
|
||||
|
||||
/**
|
||||
* 行业类别门类
|
||||
*/
|
||||
@ApiModelProperty(value = "行业类别门类")
|
||||
private String industryName;
|
||||
|
||||
/**
|
||||
* 从业人员数量
|
||||
*/
|
||||
@ApiModelProperty(value = "从业人员数量")
|
||||
private Integer person;
|
||||
|
||||
/**
|
||||
* 主营产品
|
||||
*/
|
||||
@ApiModelProperty(value = "主营产品")
|
||||
private String businessScope;
|
||||
|
||||
/**
|
||||
* 企业状态
|
||||
*/
|
||||
@ApiModelProperty(value = "企业状态")
|
||||
private String Status;
|
||||
|
||||
/**
|
||||
* 法人代表
|
||||
*/
|
||||
@ApiModelProperty(value = "法人代表")
|
||||
private String personName;
|
||||
|
||||
/**
|
||||
* 法人电话
|
||||
*/
|
||||
@ApiModelProperty(value = "法人电话")
|
||||
private String phone;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.mudu.entity.dto.response;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 通用响应类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024/2/26 14:23
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "通用响应类")
|
||||
public class GeneralResponse implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6094594534125452950L;
|
||||
/**
|
||||
* 接口响应消息
|
||||
*/
|
||||
@ApiModelProperty(value = "接口响应消息")
|
||||
private String msg;
|
||||
|
||||
/**
|
||||
* 响应数据
|
||||
*/
|
||||
@ApiModelProperty(value = "响应数据")
|
||||
private Object data;
|
||||
|
||||
/**
|
||||
* 响应代码
|
||||
*/
|
||||
@ApiModelProperty(value = "响应代码")
|
||||
private String code;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeBmxx;
|
||||
|
||||
/**
|
||||
* 风险库部门信息表(ASafeBmxx)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeBmxxMapper extends BaseMapper<ASafeBmxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeFxd;
|
||||
|
||||
/**
|
||||
* (ASafeFxd)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeFxdMapper extends BaseMapper<ASafeFxd> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeFxdwz;
|
||||
|
||||
/**
|
||||
* (ASafeFxdwz)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeFxdwzMapper extends BaseMapper<ASafeFxdwz> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeFxk;
|
||||
|
||||
/**
|
||||
* (ASafeFxk)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeFxkMapper extends BaseMapper<ASafeFxk> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeGllb;
|
||||
|
||||
/**
|
||||
* (ASafeGllb)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeGllbMapper extends BaseMapper<ASafeGllb> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeJcyd;
|
||||
|
||||
/**
|
||||
* (ASafeJcyd)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeJcydMapper extends BaseMapper<ASafeJcyd> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeQybhysb;
|
||||
|
||||
/**
|
||||
* 企业编号映射表(ASafeQybhysb)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeQybhysbMapper extends BaseMapper<ASafeQybhysb> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeQyfxwz;
|
||||
|
||||
/**
|
||||
* (ASafeQyfxwz)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeQyfxwzMapper extends BaseMapper<ASafeQyfxwz> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,24 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeQyjcxx;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* (ASafeQyjcxx)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeQyjcxxMapper extends BaseMapper<ASafeQyjcxx> {
|
||||
|
||||
/**
|
||||
* 根据企业名称或信用代码查询数据
|
||||
*
|
||||
* @param qymc 企业名称
|
||||
* @param xybm 信用代码
|
||||
* @return 数据
|
||||
*/
|
||||
ASafeQyjcxx findOneByqymcOrXybm(@Param("qymc") String qymc, @Param("xybm") String xybm);
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeXcrw;
|
||||
|
||||
/**
|
||||
* (ASafeXcrw)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeXcrwMapper extends BaseMapper<ASafeXcrw> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeXcrwjcx;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcx)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeXcrwjcxMapper extends BaseMapper<ASafeXcrwjcx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeXcrwjcxzgxx;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcxzgxx)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeXcrwjcxzgxxMapper extends BaseMapper<ASafeXcrwjcxzgxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeYhzgxx;
|
||||
|
||||
/**
|
||||
* (ASafeYhzgxx)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeYhzgxxMapper extends BaseMapper<ASafeYhzgxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeZcrw;
|
||||
|
||||
/**
|
||||
* (ASafeZcrw)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeZcrwMapper extends BaseMapper<ASafeZcrw> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mudu.entity.ASafeZcrwjl;
|
||||
|
||||
/**
|
||||
* (ASafeZcrwjl)表数据库访问层
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeZcrwjlMapper extends BaseMapper<ASafeZcrwjl> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeBmxx;
|
||||
|
||||
/**
|
||||
* 风险库部门信息表(ASafeBmxx)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeBmxxService extends IService<ASafeBmxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeFxd;
|
||||
|
||||
/**
|
||||
* (ASafeFxd)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeFxdService extends IService<ASafeFxd> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeFxdwz;
|
||||
|
||||
/**
|
||||
* (ASafeFxdwz)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
public interface ASafeFxdwzService extends IService<ASafeFxdwz> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeFxk;
|
||||
|
||||
/**
|
||||
* (ASafeFxk)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeFxkService extends IService<ASafeFxk> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeGllb;
|
||||
|
||||
/**
|
||||
* (ASafeGllb)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeGllbService extends IService<ASafeGllb> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeJcyd;
|
||||
|
||||
/**
|
||||
* (ASafeJcyd)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeJcydService extends IService<ASafeJcyd> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeQybhysb;
|
||||
|
||||
/**
|
||||
* 企业编号映射表(ASafeQybhysb)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
public interface ASafeQybhysbService extends IService<ASafeQybhysb> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeQyfxwz;
|
||||
|
||||
/**
|
||||
* (ASafeQyfxwz)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeQyfxwzService extends IService<ASafeQyfxwz> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,28 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeQyjcxx;
|
||||
|
||||
/**
|
||||
* (ASafeQyjcxx)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeQyjcxxService extends IService<ASafeQyjcxx> {
|
||||
|
||||
/**
|
||||
* 数据同步
|
||||
*/
|
||||
void dataSynchronous();
|
||||
|
||||
/**
|
||||
* 根据企业名称或信用代码查询数据
|
||||
*
|
||||
* @param qymc 企业名称
|
||||
* @param xybm 信用代码
|
||||
* @return 数据
|
||||
*/
|
||||
ASafeQyjcxx findOneByqymcOrXybm(String qymc, String xybm);
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeXcrw;
|
||||
|
||||
/**
|
||||
* (ASafeXcrw)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeXcrwService extends IService<ASafeXcrw> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeXcrwjcx;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcx)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
public interface ASafeXcrwjcxService extends IService<ASafeXcrwjcx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeXcrwjcxzgxx;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcxzgxx)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeXcrwjcxzgxxService extends IService<ASafeXcrwjcxzgxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeYhzgxx;
|
||||
|
||||
/**
|
||||
* (ASafeYhzgxx)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeYhzgxxService extends IService<ASafeYhzgxx> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeZcrw;
|
||||
|
||||
/**
|
||||
* (ASafeZcrw)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeZcrwService extends IService<ASafeZcrw> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.mudu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mudu.entity.ASafeZcrwjl;
|
||||
|
||||
/**
|
||||
* (ASafeZcrwjl)表服务接口
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
public interface ASafeZcrwjlService extends IService<ASafeZcrwjl> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeBmxxMapper;
|
||||
import com.mudu.entity.ASafeBmxx;
|
||||
import com.mudu.service.ASafeBmxxService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 风险库部门信息表(ASafeBmxx)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Service("aSafeBmxxService")
|
||||
public class ASafeBmxxServiceImpl extends ServiceImpl<ASafeBmxxMapper, ASafeBmxx> implements ASafeBmxxService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeFxdMapper;
|
||||
import com.mudu.entity.ASafeFxd;
|
||||
import com.mudu.service.ASafeFxdService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeFxd)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Service("aSafeFxdService")
|
||||
public class ASafeFxdServiceImpl extends ServiceImpl<ASafeFxdMapper, ASafeFxd> implements ASafeFxdService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeFxdwzMapper;
|
||||
import com.mudu.entity.ASafeFxdwz;
|
||||
import com.mudu.service.ASafeFxdwzService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeFxdwz)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:22
|
||||
*/
|
||||
@Service("aSafeFxdwzService")
|
||||
public class ASafeFxdwzServiceImpl extends ServiceImpl<ASafeFxdwzMapper, ASafeFxdwz> implements ASafeFxdwzService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeFxkMapper;
|
||||
import com.mudu.entity.ASafeFxk;
|
||||
import com.mudu.service.ASafeFxkService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeFxk)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Service("aSafeFxkService")
|
||||
public class ASafeFxkServiceImpl extends ServiceImpl<ASafeFxkMapper, ASafeFxk> implements ASafeFxkService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeGllbMapper;
|
||||
import com.mudu.entity.ASafeGllb;
|
||||
import com.mudu.service.ASafeGllbService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeGllb)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Service("aSafeGllbService")
|
||||
public class ASafeGllbServiceImpl extends ServiceImpl<ASafeGllbMapper, ASafeGllb> implements ASafeGllbService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeJcydMapper;
|
||||
import com.mudu.entity.ASafeJcyd;
|
||||
import com.mudu.service.ASafeJcydService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeJcyd)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Service("aSafeJcydService")
|
||||
public class ASafeJcydServiceImpl extends ServiceImpl<ASafeJcydMapper, ASafeJcyd> implements ASafeJcydService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeQybhysbMapper;
|
||||
import com.mudu.entity.ASafeQybhysb;
|
||||
import com.mudu.service.ASafeQybhysbService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 企业编号映射表(ASafeQybhysb)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:23
|
||||
*/
|
||||
@Service("aSafeQybhysbService")
|
||||
public class ASafeQybhysbServiceImpl extends ServiceImpl<ASafeQybhysbMapper, ASafeQybhysb> implements ASafeQybhysbService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeQyfxwzMapper;
|
||||
import com.mudu.entity.ASafeQyfxwz;
|
||||
import com.mudu.service.ASafeQyfxwzService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeQyfxwz)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@Service("aSafeQyfxwzService")
|
||||
public class ASafeQyfxwzServiceImpl extends ServiceImpl<ASafeQyfxwzMapper, ASafeQyfxwz> implements ASafeQyfxwzService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeXcrwMapper;
|
||||
import com.mudu.entity.ASafeXcrw;
|
||||
import com.mudu.service.ASafeXcrwService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeXcrw)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@Service("aSafeXcrwService")
|
||||
public class ASafeXcrwServiceImpl extends ServiceImpl<ASafeXcrwMapper, ASafeXcrw> implements ASafeXcrwService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeXcrwjcxMapper;
|
||||
import com.mudu.entity.ASafeXcrwjcx;
|
||||
import com.mudu.service.ASafeXcrwjcxService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcx)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:24
|
||||
*/
|
||||
@Service("aSafeXcrwjcxService")
|
||||
public class ASafeXcrwjcxServiceImpl extends ServiceImpl<ASafeXcrwjcxMapper, ASafeXcrwjcx> implements ASafeXcrwjcxService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeXcrwjcxzgxxMapper;
|
||||
import com.mudu.entity.ASafeXcrwjcxzgxx;
|
||||
import com.mudu.service.ASafeXcrwjcxzgxxService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeXcrwjcxzgxx)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Service("aSafeXcrwjcxzgxxService")
|
||||
public class ASafeXcrwjcxzgxxServiceImpl extends ServiceImpl<ASafeXcrwjcxzgxxMapper, ASafeXcrwjcxzgxx> implements ASafeXcrwjcxzgxxService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeYhzgxxMapper;
|
||||
import com.mudu.entity.ASafeYhzgxx;
|
||||
import com.mudu.service.ASafeYhzgxxService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeYhzgxx)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Service("aSafeYhzgxxService")
|
||||
public class ASafeYhzgxxServiceImpl extends ServiceImpl<ASafeYhzgxxMapper, ASafeYhzgxx> implements ASafeYhzgxxService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeZcrwMapper;
|
||||
import com.mudu.entity.ASafeZcrw;
|
||||
import com.mudu.service.ASafeZcrwService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeZcrw)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Service("aSafeZcrwService")
|
||||
public class ASafeZcrwServiceImpl extends ServiceImpl<ASafeZcrwMapper, ASafeZcrw> implements ASafeZcrwService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.mudu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.mudu.mapper.ASafeZcrwjlMapper;
|
||||
import com.mudu.entity.ASafeZcrwjl;
|
||||
import com.mudu.service.ASafeZcrwjlService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (ASafeZcrwjl)表服务实现类
|
||||
*
|
||||
* @author wu
|
||||
* @since 2024-02-26 10:43:25
|
||||
*/
|
||||
@Service("aSafeZcrwjlService")
|
||||
public class ASafeZcrwjlServiceImpl extends ServiceImpl<ASafeZcrwjlMapper, ASafeZcrwjl> implements ASafeZcrwjlService {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in new issue