drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwDefenseSceneManageController.java
New file @@ -0,0 +1,124 @@ /* * 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.sxkj.fw.area.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.secure.BladeUser; 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.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.sxkj.fw.area.dto.FwDefenseSceneManageDTO; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import org.sxkj.fw.area.vo.FwDefenseSceneManageVO; import org.sxkj.fw.area.excel.FwDefenseSceneManageExcel; import org.sxkj.fw.area.wrapper.FwDefenseSceneManageWrapper; import org.sxkj.fw.area.service.IFwDefenseSceneManageService; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.tool.utils.DateUtil; import org.springblade.core.excel.util.ExcelUtil; import org.springblade.core.tool.constant.BladeConstant; import org.sxkj.fw.common.GenericConverter; import org.sxkj.fw.common.IdParam; import springfox.documentation.annotations.ApiIgnore; import java.util.Map; import java.util.List; import javax.servlet.http.HttpServletResponse; /** * 场景管理表 控制器 * * @author Aix * @since 2026-01-30 */ @RestController @AllArgsConstructor @RequestMapping("area/fwDefenseSceneManage") @Api(value = "场景管理表", tags = "场景管理表接口") public class FwDefenseSceneManageController extends BladeController { private final IFwDefenseSceneManageService fwDefenseSceneManageService; /** * 场景管理表 详情 */ @GetMapping("/detail") @ApiOperationSupport(order = 1) @ApiOperation(value = "详情", notes = "传入fwDefenseSceneManage") public R<FwDefenseSceneManageVO> detail(IdParam idParam) { FwDefenseSceneManageEntity detail = fwDefenseSceneManageService.getOne( Condition.getQueryWrapper( GenericConverter.convert(idParam, FwDefenseSceneManageEntity.class))); return R.data(FwDefenseSceneManageWrapper.build().entityVO(detail)); } /** * 场景管理表 自定义分页 */ @GetMapping("/page") @ApiOperationSupport(order = 3) @ApiOperation(value = "分页", notes = "传入fwDefenseSceneManage") public R<IPage<FwDefenseSceneManageVO>> page(FwDefenseSceneManageDTO fwDefenseSceneManage, Query query) { IPage<FwDefenseSceneManageVO> pages = fwDefenseSceneManageService.selectFwDefenseSceneManagePage(Condition.getPage(query), fwDefenseSceneManage); return R.data(pages); } /** * 场景管理表 新增或修改 */ @PostMapping("/submit") @ApiOperationSupport(order = 6) @ApiOperation(value = "新增或修改", notes = "传入fwDefenseSceneManage") public R submit(@Valid @RequestBody FwDefenseSceneManageDTO fwDefenseSceneManage) { return R.status(fwDefenseSceneManageService.saveOrUpdate( GenericConverter.convert(fwDefenseSceneManage, FwDefenseSceneManageEntity.class))); } /** * 场景管理表 删除 */ @PostMapping("/remove") @ApiOperationSupport(order = 7) @ApiOperation(value = "逻辑删除", notes = "传入ids") public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { return R.status(fwDefenseSceneManageService.deleteLogic(Func.toLongList(ids))); } /** * 导出数据 */ @GetMapping("/export-fwDefenseSceneManage") @ApiOperationSupport(order = 9) @ApiOperation(value = "导出数据", notes = "传入fwDefenseSceneManage") @ApiIgnore public void exportFwDefenseSceneManage(@ApiIgnore @RequestParam Map<String, Object> fwDefenseSceneManage, BladeUser bladeUser, HttpServletResponse response) { QueryWrapper<FwDefenseSceneManageEntity> queryWrapper = Condition.getQueryWrapper(fwDefenseSceneManage, FwDefenseSceneManageEntity.class); queryWrapper.lambda().eq(FwDefenseSceneManageEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); List<FwDefenseSceneManageExcel> list = fwDefenseSceneManageService.exportFwDefenseSceneManage(queryWrapper); ExcelUtil.export(response, "场景管理表数据" + DateUtil.time(), "场景管理表数据表", list, FwDefenseSceneManageExcel.class); } } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/dto/FwDefenseSceneManageDTO.java
New file @@ -0,0 +1,95 @@ /* * 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.sxkj.fw.area.dto; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.Date; /** * 场景管理表 数据传输对象实体类 * * @author Aix * @since 2026-01-30 */ @Data public class FwDefenseSceneManageDTO implements Serializable { private static final long serialVersionUID = 1L; @JsonSerialize( using = ToStringSerializer.class ) private Long id; /** * 关联场景配置ID */ @ApiModelProperty(value = "关联场景配置ID") @NotNull private Long defenseSceneId; /** * 场景名称 */ @ApiModelProperty(value = "场景名称") private String sceneName; /** * 指挥点经度 */ @ApiModelProperty(value = "指挥点经度") private Double longitude; /** * 指挥点纬度 */ @ApiModelProperty(value = "指挥点纬度") private Double latitude; /** * 防控负责人 */ @ApiModelProperty(value = "防控负责人") private String defenseLeader; /** * 防控负责人电话 */ @ApiModelProperty(value = "防控负责人电话") private String leaderPhone; /** * 有效时间-开始 */ @ApiModelProperty(value = "有效时间-开始") private Date effectiveDateStart; /** * 有效时间-结束 */ @ApiModelProperty(value = "有效时间-结束") private Date effectiveDateEnd; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/entity/FwDefenseSceneManageEntity.java
New file @@ -0,0 +1,86 @@ /* * 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.sxkj.fw.area.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.BaseEntity; import java.util.Date; /** * 场景管理表 实体类 * * @author Aix * @since 2026-01-30 */ @Data @TableName("ja_fw_defense_scene_manage") @ApiModel(value = "FwDefenseSceneManage对象", description = "场景管理表") @EqualsAndHashCode(callSuper = true) public class FwDefenseSceneManageEntity extends BaseEntity { /** * 关联场景配置ID */ @ApiModelProperty(value = "关联场景配置ID") private Long defenseSceneId; /** * 场景名称 */ @ApiModelProperty(value = "场景名称") private String sceneName; /** * 指挥点经度 */ @ApiModelProperty(value = "指挥点经度") private Double longitude; /** * 指挥点纬度 */ @ApiModelProperty(value = "指挥点纬度") private Double latitude; /** * 防控负责人 */ @ApiModelProperty(value = "防控负责人") private String defenseLeader; /** * 防控负责人电话 */ @ApiModelProperty(value = "防控负责人电话") private String leaderPhone; /** * 有效时间-开始 */ @ApiModelProperty(value = "有效时间-开始") private Date effectiveDateStart; /** * 有效时间-结束 */ @ApiModelProperty(value = "有效时间-结束") private Date effectiveDateEnd; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/excel/FwDefenseSceneManageExcel.java
New file @@ -0,0 +1,105 @@ /* * 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.sxkj.fw.area.excel; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ContentRowHeight; import com.alibaba.excel.annotation.write.style.HeadRowHeight; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 场景管理表 Excel实体类 * * @author Aix * @since 2026-01-30 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class FwDefenseSceneManageExcel implements Serializable { private static final long serialVersionUID = 1L; /** * 关联场景配置ID */ @ColumnWidth(20) @ExcelProperty("关联场景配置ID") private Long defenseSceneId; /** * 场景名称 */ @ColumnWidth(20) @ExcelProperty("场景名称") private String sceneName; /** * 指挥点经度 */ @ColumnWidth(20) @ExcelProperty("指挥点经度") private Double longitude; /** * 指挥点纬度 */ @ColumnWidth(20) @ExcelProperty("指挥点纬度") private Double latitude; /** * 防控负责人 */ @ColumnWidth(20) @ExcelProperty("防控负责人") private String defenseLeader; /** * 防控负责人电话 */ @ColumnWidth(20) @ExcelProperty("防控负责人电话") private String leaderPhone; /** * 有效时间-开始 */ @ColumnWidth(20) @ExcelProperty("有效时间-开始") private Date effectiveDateStart; /** * 有效时间-结束 */ @ColumnWidth(20) @ExcelProperty("有效时间-结束") private Date effectiveDateEnd; /** * 区域编码 */ @ColumnWidth(20) @ExcelProperty("区域编码") private String areaCode; /** * 删除标志(0存在 1删除) */ @ColumnWidth(20) @ExcelProperty("删除标志(0存在 1删除)") private Byte isDeleted; } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/mapper/FwDefenseSceneManageMapper.java
New file @@ -0,0 +1,55 @@ /* * 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.sxkj.fw.area.mapper; import org.sxkj.fw.area.dto.FwDefenseSceneManageDTO; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import org.sxkj.fw.area.vo.FwDefenseSceneManageVO; import org.sxkj.fw.area.excel.FwDefenseSceneManageExcel; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 场景管理表 Mapper 接口 * * @author Aix * @since 2026-01-30 */ public interface FwDefenseSceneManageMapper extends BaseMapper<FwDefenseSceneManageEntity> { /** * 自定义分页 * * @param page * @param fwDefenseSceneManage * @return */ List<FwDefenseSceneManageVO> selectFwDefenseSceneManagePage(IPage page, FwDefenseSceneManageDTO fwDefenseSceneManage); /** * 获取导出数据 * * @param queryWrapper * @return */ List<FwDefenseSceneManageExcel> exportFwDefenseSceneManage(@Param("ew") Wrapper<FwDefenseSceneManageEntity> queryWrapper); } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/mapper/FwDefenseSceneManageMapper.xml
New file @@ -0,0 +1,29 @@ <?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.sxkj.fw.area.mapper.FwDefenseSceneManageMapper"> <!-- 通用查询映射结果 --> <resultMap id="fwDefenseSceneManageResultMap" type="org.sxkj.fw.area.vo.FwDefenseSceneManageVO"> <result column="id" property="id"/> <result column="defense_scene_id" property="defenseSceneId"/> <result column="scene_name" property="sceneName"/> <result column="longitude" property="longitude"/> <result column="latitude" property="latitude"/> <result column="defense_leader" property="defenseLeader"/> <result column="leader_phone" property="leaderPhone"/> <result column="effective_date_start" property="effectiveDateStart"/> <result column="effective_date_end" property="effectiveDateEnd"/> <result column="area_code" property="areaCode"/> </resultMap> <select id="selectFwDefenseSceneManagePage" resultMap="fwDefenseSceneManageResultMap"> select * from ja_fw_defense_scene_manage where is_deleted = 0 </select> <select id="exportFwDefenseSceneManage" resultType="org.sxkj.fw.area.excel.FwDefenseSceneManageExcel"> SELECT * FROM ja_fw_defense_scene_manage ${ew.customSqlSegment} </select> </mapper> drone-service/drone-fw/src/main/java/org/sxkj/fw/area/service/IFwDefenseSceneManageService.java
New file @@ -0,0 +1,53 @@ /* * 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.sxkj.fw.area.service; import com.baomidou.mybatisplus.core.conditions.Wrapper; import org.sxkj.fw.area.dto.FwDefenseSceneManageDTO; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import org.sxkj.fw.area.vo.FwDefenseSceneManageVO; import org.sxkj.fw.area.excel.FwDefenseSceneManageExcel; import com.baomidou.mybatisplus.core.metadata.IPage; import org.springblade.core.mp.base.BaseService; import java.util.List; /** * 场景管理表 服务类 * * @author Aix * @since 2026-01-30 */ public interface IFwDefenseSceneManageService extends BaseService<FwDefenseSceneManageEntity> { /** * 自定义分页 * * @param page * @param fwDefenseSceneManage * @return */ IPage<FwDefenseSceneManageVO> selectFwDefenseSceneManagePage(IPage<FwDefenseSceneManageVO> page, FwDefenseSceneManageDTO fwDefenseSceneManage); /** * 导出数据 * * @param queryWrapper * @return */ List<FwDefenseSceneManageExcel> exportFwDefenseSceneManage(Wrapper<FwDefenseSceneManageEntity> queryWrapper); } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/service/impl/FwDefenseSceneManageServiceImpl.java
New file @@ -0,0 +1,55 @@ /* * 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.sxkj.fw.area.service.impl; import org.sxkj.fw.area.dto.FwDefenseSceneManageDTO; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import org.sxkj.fw.area.vo.FwDefenseSceneManageVO; import org.sxkj.fw.area.excel.FwDefenseSceneManageExcel; import org.sxkj.fw.area.mapper.FwDefenseSceneManageMapper; import org.sxkj.fw.area.service.IFwDefenseSceneManageService; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.springblade.core.mp.base.BaseServiceImpl; import java.util.List; /** * 场景管理表 服务实现类 * * @author Aix * @since 2026-01-30 */ @Service public class FwDefenseSceneManageServiceImpl extends BaseServiceImpl<FwDefenseSceneManageMapper, FwDefenseSceneManageEntity> implements IFwDefenseSceneManageService { @Override public IPage<FwDefenseSceneManageVO> selectFwDefenseSceneManagePage(IPage<FwDefenseSceneManageVO> page, FwDefenseSceneManageDTO fwDefenseSceneManage) { return page.setRecords(baseMapper.selectFwDefenseSceneManagePage(page, fwDefenseSceneManage)); } @Override public List<FwDefenseSceneManageExcel> exportFwDefenseSceneManage(Wrapper<FwDefenseSceneManageEntity> queryWrapper) { List<FwDefenseSceneManageExcel> fwDefenseSceneManageList = baseMapper.exportFwDefenseSceneManage(queryWrapper); //fwDefenseSceneManageList.forEach(fwDefenseSceneManage -> { // fwDefenseSceneManage.setTypeName(DictCache.getValue(DictEnum.YES_NO, FwDefenseSceneManage.getType())); //}); return fwDefenseSceneManageList; } } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/vo/FwDefenseSceneManageVO.java
New file @@ -0,0 +1,91 @@ /* * 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.sxkj.fw.area.vo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 场景管理表 视图实体类 * * @author Aix * @since 2026-01-30 */ @Data public class FwDefenseSceneManageVO implements Serializable { private static final long serialVersionUID = 1L; @JsonSerialize( using = ToStringSerializer.class ) private Long id; /** * 关联场景配置ID */ @ApiModelProperty(value = "关联场景配置ID") private Long defenseSceneId; /** * 场景名称 */ @ApiModelProperty(value = "场景名称") private String sceneName; /** * 指挥点经度 */ @ApiModelProperty(value = "指挥点经度") private Double longitude; /** * 指挥点纬度 */ @ApiModelProperty(value = "指挥点纬度") private Double latitude; /** * 防控负责人 */ @ApiModelProperty(value = "防控负责人") private String defenseLeader; /** * 防控负责人电话 */ @ApiModelProperty(value = "防控负责人电话") private String leaderPhone; /** * 有效时间-开始 */ @ApiModelProperty(value = "有效时间-开始") private Date effectiveDateStart; /** * 有效时间-结束 */ @ApiModelProperty(value = "有效时间-结束") private Date effectiveDateEnd; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; } drone-service/drone-fw/src/main/java/org/sxkj/fw/area/wrapper/FwDefenseSceneManageWrapper.java
New file @@ -0,0 +1,47 @@ /* * 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.sxkj.fw.area.wrapper; import org.springblade.core.mp.support.BaseEntityWrapper; import org.springblade.core.tool.utils.BeanUtil; import org.sxkj.fw.area.dto.FwDefenseSceneManageDTO; import org.sxkj.fw.area.entity.FwDefenseSceneManageEntity; import org.sxkj.fw.area.vo.FwDefenseSceneManageVO; import java.util.Objects; /** * 场景管理表 包装类,返回视图层所需的字段 * * @author Aix * @since 2026-01-30 */ public class FwDefenseSceneManageWrapper extends BaseEntityWrapper<FwDefenseSceneManageEntity, FwDefenseSceneManageVO> { public static FwDefenseSceneManageWrapper build() { return new FwDefenseSceneManageWrapper(); } @Override public FwDefenseSceneManageVO entityVO(FwDefenseSceneManageEntity fwDefenseSceneManage) { return Objects.requireNonNull(BeanUtil.copy(fwDefenseSceneManage, FwDefenseSceneManageVO.class)); } public FwDefenseSceneManageEntity entityDTO(FwDefenseSceneManageDTO fwDefenseSceneManage) { return Objects.requireNonNull(BeanUtil.copy(fwDefenseSceneManage, FwDefenseSceneManageEntity.class)); } }