新增园区、风险源、企业物资仓库,应急物资,救援队伍、保护目标、应急空间基础接口
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.EmergencySpaceEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySpaceVO; |
| | | import org.springblade.modules.yw.service.IEmergencySpaceService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 应急空间表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-emergencySpace/emergencySpace") |
| | | @Api(value = "应急空间表", tags = "应急空间表接口") |
| | | public class EmergencySpaceController { |
| | | |
| | | private final IEmergencySpaceService emergencySpaceService; |
| | | |
| | | /** |
| | | * 应急空间表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入emergencySpace") |
| | | public R detail(EmergencySpaceEntity emergencySpace) { |
| | | EmergencySpaceEntity detail = emergencySpaceService.getOne(Condition.getQueryWrapper(emergencySpace)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 应急空间表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入emergencySpace") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> emergencySpace, Query query) { |
| | | IPage<EmergencySpaceEntity> pages = emergencySpaceService.page(Condition.getPage(query), Condition.getQueryWrapper(emergencySpace, EmergencySpaceEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 应急空间表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入emergencySpace") |
| | | public R<IPage<EmergencySpaceVO>> page(EmergencySpaceVO emergencySpace, Query query) { |
| | | IPage<EmergencySpaceVO> pages = emergencySpaceService.selectEmergencySpacePage(Condition.getPage(query), emergencySpace); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 应急空间表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入emergencySpace") |
| | | public R save(@Valid @RequestBody EmergencySpaceEntity emergencySpace) { |
| | | return R.status(emergencySpaceService.save(emergencySpace)); |
| | | } |
| | | |
| | | /** |
| | | * 应急空间表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入emergencySpace") |
| | | public R update(@Valid @RequestBody EmergencySpaceEntity emergencySpace) { |
| | | return R.status(emergencySpaceService.updateById(emergencySpace)); |
| | | } |
| | | |
| | | /** |
| | | * 应急空间表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入emergencySpace") |
| | | public R submit(@Valid @RequestBody EmergencySpaceEntity emergencySpace) { |
| | | return R.status(emergencySpaceService.saveOrUpdate(emergencySpace)); |
| | | } |
| | | |
| | | /** |
| | | * 应急空间表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(emergencySpaceService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySuppliesVO; |
| | | import org.springblade.modules.yw.service.IEmergencySuppliesService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 应急物资表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-emergencySupplies/emergencySupplies") |
| | | @Api(value = "应急物资表", tags = "应急物资表接口") |
| | | public class EmergencySuppliesController{ |
| | | |
| | | private final IEmergencySuppliesService emergencySuppliesService; |
| | | |
| | | /** |
| | | * 应急物资表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入emergencySupplies") |
| | | public R detail(EmergencySuppliesEntity emergencySupplies) { |
| | | EmergencySuppliesEntity detail = emergencySuppliesService.getOne(Condition.getQueryWrapper(emergencySupplies)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 应急物资表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入emergencySupplies") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> emergencySupplies, Query query) { |
| | | IPage<EmergencySuppliesEntity> pages = emergencySuppliesService.page(Condition.getPage(query), Condition.getQueryWrapper(emergencySupplies, EmergencySuppliesEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 应急物资表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入emergencySupplies") |
| | | public R<IPage<EmergencySuppliesVO>> page(EmergencySuppliesVO emergencySupplies, Query query) { |
| | | IPage<EmergencySuppliesVO> pages = emergencySuppliesService.selectEmergencySuppliesPage(Condition.getPage(query), emergencySupplies); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 应急物资表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入emergencySupplies") |
| | | public R save(@Valid @RequestBody EmergencySuppliesEntity emergencySupplies) { |
| | | return R.status(emergencySuppliesService.save(emergencySupplies)); |
| | | } |
| | | |
| | | /** |
| | | * 应急物资表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入emergencySupplies") |
| | | public R update(@Valid @RequestBody EmergencySuppliesEntity emergencySupplies) { |
| | | return R.status(emergencySuppliesService.updateById(emergencySupplies)); |
| | | } |
| | | |
| | | /** |
| | | * 应急物资表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入emergencySupplies") |
| | | public R submit(@Valid @RequestBody EmergencySuppliesEntity emergencySupplies) { |
| | | return R.status(emergencySuppliesService.saveOrUpdate(emergencySupplies)); |
| | | } |
| | | |
| | | /** |
| | | * 应急物资表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(emergencySuppliesService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.IndParkInfoEntity; |
| | | import org.springblade.modules.yw.vo.IndParkInfoVO; |
| | | import org.springblade.modules.yw.service.IIndParkInfoService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 园区基本信息表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-indParkInfo/indParkInfo") |
| | | @Api(value = "园区基本信息表", tags = "园区基本信息表接口") |
| | | public class IndParkInfoController { |
| | | |
| | | private final IIndParkInfoService indParkInfoService; |
| | | |
| | | /** |
| | | * 园区基本信息表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入indParkInfo") |
| | | public R detail(IndParkInfoEntity indParkInfo) { |
| | | IndParkInfoEntity detail = indParkInfoService.getOne(Condition.getQueryWrapper(indParkInfo)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 园区基本信息表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入indParkInfo") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> indParkInfo, Query query) { |
| | | IPage<IndParkInfoEntity> pages = indParkInfoService.page(Condition.getPage(query), Condition.getQueryWrapper(indParkInfo, IndParkInfoEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 园区基本信息表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入indParkInfo") |
| | | public R<IPage<IndParkInfoVO>> page(IndParkInfoVO indParkInfo, Query query) { |
| | | IPage<IndParkInfoVO> pages = indParkInfoService.selectIndParkInfoPage(Condition.getPage(query), indParkInfo); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 园区基本信息表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入indParkInfo") |
| | | public R save(@Valid @RequestBody IndParkInfoEntity indParkInfo) { |
| | | return R.status(indParkInfoService.save(indParkInfo)); |
| | | } |
| | | |
| | | /** |
| | | * 园区基本信息表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入indParkInfo") |
| | | public R update(@Valid @RequestBody IndParkInfoEntity indParkInfo) { |
| | | return R.status(indParkInfoService.updateById(indParkInfo)); |
| | | } |
| | | |
| | | /** |
| | | * 园区基本信息表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入indParkInfo") |
| | | public R submit(@Valid @RequestBody IndParkInfoEntity indParkInfo) { |
| | | return R.status(indParkInfoService.saveOrUpdate(indParkInfo)); |
| | | } |
| | | |
| | | /** |
| | | * 园区基本信息表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(indParkInfoService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.ProTarEntity; |
| | | import org.springblade.modules.yw.vo.ProTarVO; |
| | | import org.springblade.modules.yw.service.IProTarService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 保护目标表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-proTar/proTar") |
| | | @Api(value = "保护目标表", tags = "保护目标表接口") |
| | | public class ProTarController { |
| | | |
| | | private final IProTarService proTarService; |
| | | |
| | | /** |
| | | * 保护目标表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入proTar") |
| | | public R detail(ProTarEntity proTar) { |
| | | ProTarEntity detail = proTarService.getOne(Condition.getQueryWrapper(proTar)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 保护目标表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入proTar") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> proTar, Query query) { |
| | | IPage<ProTarEntity> pages = proTarService.page(Condition.getPage(query), Condition.getQueryWrapper(proTar, ProTarEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 保护目标表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入proTar") |
| | | public R<IPage<ProTarVO>> page(ProTarVO proTar, Query query) { |
| | | IPage<ProTarVO> pages = proTarService.selectProTarPage(Condition.getPage(query), proTar); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 保护目标表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入proTar") |
| | | public R save(@Valid @RequestBody ProTarEntity proTar) { |
| | | return R.status(proTarService.save(proTar)); |
| | | } |
| | | |
| | | /** |
| | | * 保护目标表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入proTar") |
| | | public R update(@Valid @RequestBody ProTarEntity proTar) { |
| | | return R.status(proTarService.updateById(proTar)); |
| | | } |
| | | |
| | | /** |
| | | * 保护目标表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入proTar") |
| | | public R submit(@Valid @RequestBody ProTarEntity proTar) { |
| | | return R.status(proTarService.saveOrUpdate(proTar)); |
| | | } |
| | | |
| | | /** |
| | | * 保护目标表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(proTarService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | | import org.springblade.modules.yw.vo.RescueTeamVO; |
| | | import org.springblade.modules.yw.service.IRescueTeamService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 救援队伍表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-rescueTeam/rescueTeam") |
| | | @Api(value = "救援队伍表", tags = "救援队伍表接口") |
| | | public class RescueTeamController { |
| | | |
| | | private final IRescueTeamService rescueTeamService; |
| | | |
| | | /** |
| | | * 救援队伍表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入rescueTeam") |
| | | public R detail(RescueTeamEntity rescueTeam) { |
| | | RescueTeamEntity detail = rescueTeamService.getOne(Condition.getQueryWrapper(rescueTeam)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 救援队伍表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入rescueTeam") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> rescueTeam, Query query) { |
| | | IPage<RescueTeamEntity> pages = rescueTeamService.page(Condition.getPage(query), Condition.getQueryWrapper(rescueTeam, RescueTeamEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入rescueTeam") |
| | | public R<IPage<RescueTeamVO>> page(RescueTeamVO rescueTeam, Query query) { |
| | | IPage<RescueTeamVO> pages = rescueTeamService.selectRescueTeamPage(Condition.getPage(query), rescueTeam); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入rescueTeam") |
| | | public R save(@Valid @RequestBody RescueTeamEntity rescueTeam) { |
| | | return R.status(rescueTeamService.save(rescueTeam)); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入rescueTeam") |
| | | public R update(@Valid @RequestBody RescueTeamEntity rescueTeam) { |
| | | return R.status(rescueTeamService.updateById(rescueTeam)); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入rescueTeam") |
| | | public R submit(@Valid @RequestBody RescueTeamEntity rescueTeam) { |
| | | return R.status(rescueTeamService.saveOrUpdate(rescueTeam)); |
| | | } |
| | | |
| | | /** |
| | | * 救援队伍表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(rescueTeamService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.RiskSourceEntity; |
| | | import org.springblade.modules.yw.vo.RiskSourceVO; |
| | | import org.springblade.modules.yw.service.IRiskSourceService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 风险源表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-riskSource/riskSource") |
| | | @Api(value = "风险源表", tags = "风险源表接口") |
| | | public class RiskSourceController { |
| | | |
| | | private final IRiskSourceService riskSourceService; |
| | | |
| | | /** |
| | | * 风险源表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入riskSource") |
| | | public R detail(RiskSourceEntity riskSource) { |
| | | RiskSourceEntity detail = riskSourceService.getOne(Condition.getQueryWrapper(riskSource)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 风险源表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入riskSource") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> riskSource, Query query) { |
| | | IPage<RiskSourceEntity> pages = riskSourceService.page(Condition.getPage(query), Condition.getQueryWrapper(riskSource, RiskSourceEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 风险源表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入riskSource") |
| | | public R<IPage<RiskSourceVO>> page(RiskSourceVO riskSource, Query query) { |
| | | IPage<RiskSourceVO> pages = riskSourceService.selectRiskSourcePage(Condition.getPage(query), riskSource); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 风险源表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入riskSource") |
| | | public R save(@Valid @RequestBody RiskSourceEntity riskSource) { |
| | | return R.status(riskSourceService.save(riskSource)); |
| | | } |
| | | |
| | | /** |
| | | * 风险源表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入riskSource") |
| | | public R update(@Valid @RequestBody RiskSourceEntity riskSource) { |
| | | return R.status(riskSourceService.updateById(riskSource)); |
| | | } |
| | | |
| | | /** |
| | | * 风险源表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入riskSource") |
| | | public R submit(@Valid @RequestBody RiskSourceEntity riskSource) { |
| | | return R.status(riskSourceService.saveOrUpdate(riskSource)); |
| | | } |
| | | |
| | | /** |
| | | * 风险源表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(riskSourceService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.controller; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.SuppliesEntity; |
| | | import org.springblade.modules.yw.vo.SuppliesVO; |
| | | import org.springblade.modules.yw.service.ISuppliesService; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 物资库表 控制器 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("blade-supplies/supplies") |
| | | @Api(value = "物资库表", tags = "物资库表接口") |
| | | public class SuppliesController { |
| | | |
| | | private final ISuppliesService suppliesService; |
| | | |
| | | /** |
| | | * 物资库表 详情 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详情", notes = "传入supplies") |
| | | public R detail(SuppliesEntity supplies) { |
| | | SuppliesEntity detail = suppliesService.getOne(Condition.getQueryWrapper(supplies)); |
| | | return R.data(detail); |
| | | } |
| | | /** |
| | | * 物资库表 分页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "分页", notes = "传入supplies") |
| | | public R<IPage> list(@ApiIgnore @RequestParam Map<String, Object> supplies, Query query) { |
| | | IPage<SuppliesEntity> pages = suppliesService.page(Condition.getPage(query), Condition.getQueryWrapper(supplies, SuppliesEntity.class)); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 物资库表 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入supplies") |
| | | public R<IPage<SuppliesVO>> page(SuppliesVO supplies, Query query) { |
| | | IPage<SuppliesVO> pages = suppliesService.selectSuppliesPage(Condition.getPage(query), supplies); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 物资库表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入supplies") |
| | | public R save(@Valid @RequestBody SuppliesEntity supplies) { |
| | | return R.status(suppliesService.save(supplies)); |
| | | } |
| | | |
| | | /** |
| | | * 物资库表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入supplies") |
| | | public R update(@Valid @RequestBody SuppliesEntity supplies) { |
| | | return R.status(suppliesService.updateById(supplies)); |
| | | } |
| | | |
| | | /** |
| | | * 物资库表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入supplies") |
| | | public R submit(@Valid @RequestBody SuppliesEntity supplies) { |
| | | return R.status(suppliesService.saveOrUpdate(supplies)); |
| | | } |
| | | |
| | | /** |
| | | * 物资库表 删除 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(suppliesService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.lang.Double; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 应急空间表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_emergency_space") |
| | | @ApiModel(value = "EmergencySpace对象", description = "应急空间表") |
| | | public class EmergencySpaceEntity implements Serializable { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 应急空间名称 |
| | | */ |
| | | @ApiModelProperty(value = "应急空间名称") |
| | | private String name; |
| | | /** |
| | | * 类型 见字典 |
| | | */ |
| | | @ApiModelProperty(value = "类型 见字典") |
| | | private Integer type; |
| | | /** |
| | | * 主要功能 见字典 |
| | | */ |
| | | @ApiModelProperty(value = "主要功能 见字典") |
| | | private Integer mainFunc; |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty(value = "经度") |
| | | private String lng; |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty(value = "纬度") |
| | | private String lat; |
| | | /** |
| | | * 防控级别 见字典 |
| | | */ |
| | | @ApiModelProperty(value = "防控级别 见字典") |
| | | private Integer preLevel; |
| | | /** |
| | | * 可用容量(立方米)或转输(处置)能力(立方米/小时) |
| | | */ |
| | | @ApiModelProperty(value = "可用容量(立方米)或转输(处置)能力(立方米/小时)") |
| | | private Double capacity; |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @ApiModelProperty(value = "描述") |
| | | private String remark; |
| | | /** |
| | | * 所属企业id |
| | | */ |
| | | @ApiModelProperty(value = "所属企业id") |
| | | private Long firmId; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springblade.core.tenant.mp.TenantEntity; |
| | | |
| | | /** |
| | | * 应急物资表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_emergency_supplies") |
| | | @ApiModel(value = "EmergencySupplies对象", description = "应急物资表") |
| | | public class EmergencySuppliesEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 应急物资名称 |
| | | */ |
| | | @ApiModelProperty(value = "应急物资名称") |
| | | private String name; |
| | | /** |
| | | * 数量 |
| | | */ |
| | | @ApiModelProperty(value = "数量") |
| | | private Integer number; |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @ApiModelProperty(value = "单位") |
| | | private String unit; |
| | | /** |
| | | * 位置 |
| | | */ |
| | | @ApiModelProperty(value = "位置") |
| | | private String address; |
| | | /** |
| | | * 物资库id |
| | | */ |
| | | @ApiModelProperty(value = "物资库id") |
| | | private Long suppliesId; |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @ApiModelProperty(value = "描述") |
| | | private String remark; |
| | | /** |
| | | * 所属企业id |
| | | */ |
| | | @ApiModelProperty(value = "所属企业id") |
| | | private Long firmId; |
| | | /** |
| | | * 责任人姓名 |
| | | */ |
| | | @ApiModelProperty(value = "责任人姓名") |
| | | private String personInCha; |
| | | /** |
| | | * 责任人电话 |
| | | */ |
| | | @ApiModelProperty(value = "责任人电话") |
| | | private String personInChaPhone; |
| | | |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 园区基本信息表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_ind_park_info") |
| | | @ApiModel(value = "IndParkInfo对象", description = "园区基本信息表") |
| | | public class IndParkInfoEntity implements Serializable { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 园区名称 |
| | | */ |
| | | @ApiModelProperty(value = "园区名称") |
| | | private String name; |
| | | /** |
| | | * 园区级别 1:国家级、2:省级、3:市级、4:县级 |
| | | */ |
| | | @ApiModelProperty(value = "园区级别 1:国家级、2:省级、3:市级、4:县级") |
| | | private Integer level; |
| | | /** |
| | | * 园区位置:经度 |
| | | */ |
| | | @ApiModelProperty(value = "园区位置:经度") |
| | | private String lng; |
| | | /** |
| | | * 园区位置:纬度 |
| | | */ |
| | | @ApiModelProperty(value = "园区位置:纬度") |
| | | private String lat; |
| | | /** |
| | | * 行政区域编号 |
| | | */ |
| | | @ApiModelProperty(value = "行政区域编号") |
| | | private String areaCode; |
| | | /** |
| | | * 园区地址 |
| | | */ |
| | | @ApiModelProperty(value = "园区地址") |
| | | private String address; |
| | | /** |
| | | * 园区描述 |
| | | */ |
| | | @ApiModelProperty(value = "园区描述") |
| | | private String remark; |
| | | /** |
| | | * 主导产业 -见字典 |
| | | */ |
| | | @ApiModelProperty(value = "主导产业 -见字典") |
| | | private String leaInd; |
| | | /** |
| | | * 通过认定年份 |
| | | */ |
| | | @ApiModelProperty(value = "通过认定年份") |
| | | private Integer accSureYear; |
| | | /** |
| | | * 规划面积(平方公里) |
| | | */ |
| | | @ApiModelProperty(value = "规划面积(平方公里)") |
| | | private String plaArea; |
| | | /** |
| | | * 突发环境事件应急预案备案时间 |
| | | */ |
| | | @ApiModelProperty(value = "突发环境事件应急预案备案时间") |
| | | private Date filTime; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.lang.Double; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 保护目标表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_pro_tar") |
| | | @ApiModel(value = "ProTar对象", description = "保护目标表") |
| | | public class ProTarEntity implements Serializable { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 名称 |
| | | */ |
| | | @ApiModelProperty(value = "名称") |
| | | private String name; |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty(value = "经度") |
| | | private String lng; |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty(value = "纬度") |
| | | private String lat; |
| | | /** |
| | | * 位置 |
| | | */ |
| | | @ApiModelProperty(value = "位置") |
| | | private String address; |
| | | /** |
| | | * 功能 |
| | | */ |
| | | @ApiModelProperty(value = "功能") |
| | | private String feature; |
| | | /** |
| | | * 容积(万立方米) |
| | | */ |
| | | @ApiModelProperty(value = "容积(万立方米)") |
| | | private Double vol; |
| | | /** |
| | | * 排入河流 |
| | | */ |
| | | @ApiModelProperty(value = "排入河流") |
| | | private String inRiver; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 救援队伍表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_rescue_team") |
| | | @ApiModel(value = "RescueTeam对象", description = "救援队伍表") |
| | | public class RescueTeamEntity implements Serializable { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 所属企业id |
| | | */ |
| | | @ApiModelProperty(value = "所属企业id") |
| | | private Long firmId; |
| | | /** |
| | | * 责任人姓名 |
| | | */ |
| | | @ApiModelProperty(value = "责任人姓名") |
| | | private String perInCha; |
| | | /** |
| | | * 责任人联系电话 |
| | | */ |
| | | @ApiModelProperty(value = "责任人联系电话") |
| | | private String perInChaPho; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 风险源表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_risk_source") |
| | | @ApiModel(value = "RiskSource对象", description = "风险源表") |
| | | public class RiskSourceEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 企业id |
| | | */ |
| | | @ApiModelProperty(value = "企业id") |
| | | private Long firmId; |
| | | /** |
| | | * 风险源名称 |
| | | */ |
| | | @ApiModelProperty(value = "风险源名称") |
| | | private String name; |
| | | /** |
| | | * 环境风险等级 1:一般 2:较大 |
| | | */ |
| | | @ApiModelProperty(value = "环境风险等级 1:一般 2:较大") |
| | | private Integer riskLevel; |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 物资库表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @TableName("yw_supplies") |
| | | @ApiModel(value = "Supplies对象", description = "物资库表") |
| | | public class SuppliesEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 所属企业id |
| | | */ |
| | | @ApiModelProperty(value = "所属企业id") |
| | | private Long firmId; |
| | | /** |
| | | * 物资库名称 |
| | | */ |
| | | @ApiModelProperty(value = "物资库名称") |
| | | private String name; |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty(value = "经度") |
| | | private String lng; |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty(value = "纬度") |
| | | private String lat; |
| | | /** |
| | | * 位置 |
| | | */ |
| | | @ApiModelProperty(value = "位置") |
| | | private String address; |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @ApiModelProperty(value = "描述") |
| | | private String remark; |
| | | /** |
| | | * 责任人姓名 |
| | | */ |
| | | @ApiModelProperty(value = "责任人姓名") |
| | | private String perInCha; |
| | | /** |
| | | * 责任人电话 |
| | | */ |
| | | @ApiModelProperty(value = "责任人电话") |
| | | private String perInChaPho; |
| | | /** |
| | | * 联系人姓名 |
| | | */ |
| | | @ApiModelProperty(value = "联系人姓名") |
| | | private String conPers; |
| | | /** |
| | | * 联系人电话 |
| | | */ |
| | | @ApiModelProperty(value = "联系人电话") |
| | | private String conPersPho; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField(value = "create_user", fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人", example = "") |
| | | @TableField("update_user") |
| | | private Long updateUser; |
| | | |
| | | /** |
| | | * 更新人时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新人时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT) |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.yw.entity.EmergencySpaceEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySpaceVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 应急空间表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface EmergencySpaceMapper extends BaseMapper<EmergencySpaceEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param emergencySpace |
| | | * @return |
| | | */ |
| | | List<EmergencySpaceVO> selectEmergencySpacePage(IPage page,@Param("emergencySpace") EmergencySpaceVO emergencySpace); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.EmergencySpaceMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="emergencySpaceResultMap" type="org.springblade.modules.yw.entity.EmergencySpaceEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="name" property="name"/> |
| | | <result column="type" property="type"/> |
| | | <result column="main_func" property="mainFunc"/> |
| | | <result column="lng" property="lng"/> |
| | | <result column="lat" property="lat"/> |
| | | <result column="pre_level" property="preLevel"/> |
| | | <result column="capacity" property="capacity"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="firm_id" property="firmId"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectEmergencySpacePage" resultMap="emergencySpaceResultMap"> |
| | | select * from yw_emergency_space where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySuppliesVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 应急物资表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface EmergencySuppliesMapper extends BaseMapper<EmergencySuppliesEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param emergencySupplies |
| | | * @return |
| | | */ |
| | | List<EmergencySuppliesVO> selectEmergencySuppliesPage(IPage page, EmergencySuppliesVO emergencySupplies); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.EmergencySuppliesMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="emergencySuppliesResultMap" type="org.springblade.modules.yw.entity.EmergencySuppliesEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="name" property="name"/> |
| | | <result column="number" property="number"/> |
| | | <result column="unit" property="unit"/> |
| | | <result column="address" property="address"/> |
| | | <result column="supplies_id" property="suppliesId"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="firm_id" property="firmId"/> |
| | | <result column="person_in_cha" property="personInCha"/> |
| | | <result column="person_in_cha_phone" property="personInChaPhone"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectEmergencySuppliesPage" resultMap="emergencySuppliesResultMap"> |
| | | select * from yw_emergency_supplies where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.IndParkInfoEntity; |
| | | import org.springblade.modules.yw.vo.IndParkInfoVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 园区基本信息表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IndParkInfoMapper extends BaseMapper<IndParkInfoEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param indParkInfo |
| | | * @return |
| | | */ |
| | | List<IndParkInfoVO> selectIndParkInfoPage(IPage page, IndParkInfoVO indParkInfo); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.IndParkInfoMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="indParkInfoResultMap" type="org.springblade.modules.yw.entity.IndParkInfoEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="name" property="name"/> |
| | | <result column="level" property="level"/> |
| | | <result column="lng" property="lng"/> |
| | | <result column="lat" property="lat"/> |
| | | <result column="area_code" property="areaCode"/> |
| | | <result column="address" property="address"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="lea_ind" property="leaInd"/> |
| | | <result column="acc_sure_year" property="accSureYear"/> |
| | | <result column="pla_area" property="plaArea"/> |
| | | <result column="fil_time" property="filTime"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectIndParkInfoPage" resultMap="indParkInfoResultMap"> |
| | | select * from yw_ind_park_info where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.ProTarEntity; |
| | | import org.springblade.modules.yw.vo.ProTarVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 保护目标表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface ProTarMapper extends BaseMapper<ProTarEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param proTar |
| | | * @return |
| | | */ |
| | | List<ProTarVO> selectProTarPage(IPage page, ProTarVO proTar); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.ProTarMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="proTarResultMap" type="org.springblade.modules.yw.entity.ProTarEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="name" property="name"/> |
| | | <result column="lng" property="lng"/> |
| | | <result column="lat" property="lat"/> |
| | | <result column="address" property="address"/> |
| | | <result column="feature" property="feature"/> |
| | | <result column="vol" property="vol"/> |
| | | <result column="in_river" property="inRiver"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectProTarPage" resultMap="proTarResultMap"> |
| | | select * from yw_pro_tar where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | | import org.springblade.modules.yw.vo.RescueTeamVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 救援队伍表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface RescueTeamMapper extends BaseMapper<RescueTeamEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param rescueTeam |
| | | * @return |
| | | */ |
| | | List<RescueTeamVO> selectRescueTeamPage(IPage page, RescueTeamVO rescueTeam); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.RescueTeamMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="rescueTeamResultMap" type="org.springblade.modules.yw.entity.RescueTeamEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="firm_id" property="firmId"/> |
| | | <result column="per_in_cha" property="perInCha"/> |
| | | <result column="per_in_cha_pho" property="perInChaPho"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectRescueTeamPage" resultMap="rescueTeamResultMap"> |
| | | select * from yw_rescue_team where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.RiskSourceEntity; |
| | | import org.springblade.modules.yw.vo.RiskSourceVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 风险源表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface RiskSourceMapper extends BaseMapper<RiskSourceEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param riskSource |
| | | * @return |
| | | */ |
| | | List<RiskSourceVO> selectRiskSourcePage(IPage page, RiskSourceVO riskSource); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.RiskSourceMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="riskSourceResultMap" type="org.springblade.modules.yw.entity.RiskSourceEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="firm_id" property="firmId"/> |
| | | <result column="name" property="name"/> |
| | | <result column="risk_level" property="riskLevel"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectRiskSourcePage" resultMap="riskSourceResultMap"> |
| | | select * from yw_risk_source where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.mapper; |
| | | |
| | | import org.springblade.modules.yw.entity.SuppliesEntity; |
| | | import org.springblade.modules.yw.vo.SuppliesVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 物资库表 Mapper 接口 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface SuppliesMapper extends BaseMapper<SuppliesEntity> { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param supplies |
| | | * @return |
| | | */ |
| | | List<SuppliesVO> selectSuppliesPage(IPage page, SuppliesVO supplies); |
| | | |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.yw.mapper.SuppliesMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="suppliesResultMap" type="org.springblade.modules.yw.entity.SuppliesEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="firm_id" property="firmId"/> |
| | | <result column="name" property="name"/> |
| | | <result column="lng" property="lng"/> |
| | | <result column="lat" property="lat"/> |
| | | <result column="address" property="address"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="per_in_cha" property="perInCha"/> |
| | | <result column="per_in_cha_pho" property="perInChaPho"/> |
| | | <result column="con_pers" property="conPers"/> |
| | | <result column="con_pers_pho" property="conPersPho"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectSuppliesPage" resultMap="suppliesResultMap"> |
| | | select * from yw_supplies where is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.EmergencySpaceEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySpaceVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 应急空间表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IEmergencySpaceService extends IService<EmergencySpaceEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param emergencySpace |
| | | * @return |
| | | */ |
| | | IPage<EmergencySpaceVO> selectEmergencySpacePage(IPage<EmergencySpaceVO> page, EmergencySpaceVO emergencySpace); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySuppliesVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 应急物资表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IEmergencySuppliesService extends IService<EmergencySuppliesEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param emergencySupplies |
| | | * @return |
| | | */ |
| | | IPage<EmergencySuppliesVO> selectEmergencySuppliesPage(IPage<EmergencySuppliesVO> page, EmergencySuppliesVO emergencySupplies); |
| | | |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.IndParkInfoEntity; |
| | | import org.springblade.modules.yw.vo.IndParkInfoVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 园区基本信息表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IIndParkInfoService extends IService<IndParkInfoEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param indParkInfo |
| | | * @return |
| | | */ |
| | | IPage<IndParkInfoVO> selectIndParkInfoPage(IPage<IndParkInfoVO> page, IndParkInfoVO indParkInfo); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.ProTarEntity; |
| | | import org.springblade.modules.yw.vo.ProTarVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 保护目标表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IProTarService extends IService<ProTarEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param proTar |
| | | * @return |
| | | */ |
| | | IPage<ProTarVO> selectProTarPage(IPage<ProTarVO> page, ProTarVO proTar); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | | import org.springblade.modules.yw.vo.RescueTeamVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 救援队伍表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IRescueTeamService extends IService<RescueTeamEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param rescueTeam |
| | | * @return |
| | | */ |
| | | IPage<RescueTeamVO> selectRescueTeamPage(IPage<RescueTeamVO> page, RescueTeamVO rescueTeam); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.RiskSourceEntity; |
| | | import org.springblade.modules.yw.vo.RiskSourceVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 风险源表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface IRiskSourceService extends IService<RiskSourceEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param riskSource |
| | | * @return |
| | | */ |
| | | IPage<RiskSourceVO> selectRiskSourcePage(IPage<RiskSourceVO> page, RiskSourceVO riskSource); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.modules.yw.entity.SuppliesEntity; |
| | | import org.springblade.modules.yw.vo.SuppliesVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 物资库表 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | public interface ISuppliesService extends IService<SuppliesEntity> { |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param supplies |
| | | * @return |
| | | */ |
| | | IPage<SuppliesVO> selectSuppliesPage(IPage<SuppliesVO> page, SuppliesVO supplies); |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.EmergencySpaceEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySpaceVO; |
| | | import org.springblade.modules.yw.mapper.EmergencySpaceMapper; |
| | | import org.springblade.modules.yw.service.IEmergencySpaceService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 应急空间表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class EmergencySpaceServiceImpl extends ServiceImpl<EmergencySpaceMapper, EmergencySpaceEntity> implements IEmergencySpaceService { |
| | | |
| | | @Override |
| | | public IPage<EmergencySpaceVO> selectEmergencySpacePage(IPage<EmergencySpaceVO> page, EmergencySpaceVO emergencySpace) { |
| | | return page.setRecords(baseMapper.selectEmergencySpacePage(page, emergencySpace)); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | | import org.springblade.modules.yw.vo.EmergencySuppliesVO; |
| | | import org.springblade.modules.yw.mapper.EmergencySuppliesMapper; |
| | | import org.springblade.modules.yw.service.IEmergencySuppliesService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 应急物资表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class EmergencySuppliesServiceImpl extends ServiceImpl<EmergencySuppliesMapper, EmergencySuppliesEntity> implements IEmergencySuppliesService { |
| | | |
| | | @Override |
| | | public IPage<EmergencySuppliesVO> selectEmergencySuppliesPage(IPage<EmergencySuppliesVO> page, EmergencySuppliesVO emergencySupplies) { |
| | | return page.setRecords(baseMapper.selectEmergencySuppliesPage(page, emergencySupplies)); |
| | | } |
| | | |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.IndParkInfoEntity; |
| | | import org.springblade.modules.yw.vo.IndParkInfoVO; |
| | | import org.springblade.modules.yw.mapper.IndParkInfoMapper; |
| | | import org.springblade.modules.yw.service.IIndParkInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 园区基本信息表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class IndParkInfoServiceImpl extends ServiceImpl<IndParkInfoMapper, IndParkInfoEntity> implements IIndParkInfoService { |
| | | |
| | | @Override |
| | | public IPage<IndParkInfoVO> selectIndParkInfoPage(IPage<IndParkInfoVO> page, IndParkInfoVO indParkInfo) { |
| | | return page.setRecords(baseMapper.selectIndParkInfoPage(page, indParkInfo)); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.ProTarEntity; |
| | | import org.springblade.modules.yw.vo.ProTarVO; |
| | | import org.springblade.modules.yw.mapper.ProTarMapper; |
| | | import org.springblade.modules.yw.service.IProTarService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 保护目标表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class ProTarServiceImpl extends ServiceImpl<ProTarMapper, ProTarEntity> implements IProTarService { |
| | | |
| | | @Override |
| | | public IPage<ProTarVO> selectProTarPage(IPage<ProTarVO> page, ProTarVO proTar) { |
| | | return page.setRecords(baseMapper.selectProTarPage(page, proTar)); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | | import org.springblade.modules.yw.vo.RescueTeamVO; |
| | | import org.springblade.modules.yw.mapper.RescueTeamMapper; |
| | | import org.springblade.modules.yw.service.IRescueTeamService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 救援队伍表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class RescueTeamServiceImpl extends ServiceImpl<RescueTeamMapper, RescueTeamEntity> implements IRescueTeamService { |
| | | |
| | | @Override |
| | | public IPage<RescueTeamVO> selectRescueTeamPage(IPage<RescueTeamVO> page, RescueTeamVO rescueTeam) { |
| | | return page.setRecords(baseMapper.selectRescueTeamPage(page, rescueTeam)); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.RiskSourceEntity; |
| | | import org.springblade.modules.yw.vo.RiskSourceVO; |
| | | import org.springblade.modules.yw.mapper.RiskSourceMapper; |
| | | import org.springblade.modules.yw.service.IRiskSourceService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 风险源表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class RiskSourceServiceImpl extends ServiceImpl<RiskSourceMapper, RiskSourceEntity> implements IRiskSourceService { |
| | | |
| | | @Override |
| | | public IPage<RiskSourceVO> selectRiskSourcePage(IPage<RiskSourceVO> page, RiskSourceVO riskSource) { |
| | | return page.setRecords(baseMapper.selectRiskSourcePage(page, riskSource)); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package org.springblade.modules.yw.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.yw.entity.SuppliesEntity; |
| | | import org.springblade.modules.yw.vo.SuppliesVO; |
| | | import org.springblade.modules.yw.mapper.SuppliesMapper; |
| | | import org.springblade.modules.yw.service.ISuppliesService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * 物资库表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Service |
| | | public class SuppliesServiceImpl extends ServiceImpl<SuppliesMapper, SuppliesEntity> implements ISuppliesService { |
| | | |
| | | @Override |
| | | public IPage<SuppliesVO> selectSuppliesPage(IPage<SuppliesVO> page, SuppliesVO supplies) { |
| | | return page.setRecords(baseMapper.selectSuppliesPage(page, supplies)); |
| | | } |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.EmergencySpaceEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 应急空间表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class EmergencySpaceVO extends EmergencySpaceEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 应急物资表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class EmergencySuppliesVO extends EmergencySuppliesEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.IndParkInfoEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 园区基本信息表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class IndParkInfoVO extends IndParkInfoEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.ProTarEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 保护目标表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class ProTarVO extends ProTarEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.RescueTeamEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 救援队伍表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class RescueTeamVO extends RescueTeamEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.RiskSourceEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 风险源表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class RiskSourceVO extends RiskSourceEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.yw.vo; |
| | | |
| | | import org.springblade.modules.yw.entity.SuppliesEntity; |
| | | import org.springblade.core.tool.node.INode; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * 物资库表 视图实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-10-28 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class SuppliesVO extends SuppliesEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |