From 4a160c1b672c2b4b9c60884c7dde58fdb7773cb0 Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Tue, 24 Sep 2024 10:30:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BD=BD=E4=BD=93=E4=B8=8B=E5=8F=91?= =?UTF-8?q?=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issued/CarrierIssuedController.java | 29 +++ .../manager/CarrierIssuedManager.java | 24 +++ .../domain/carrier/TdCarrierIssued.java | 175 ++++++++++++++++++ .../mapper/carrier/TdCarrierIssuedMapper.java | 19 ++ .../carrier/TdCarrierIssuedService.java | 14 ++ .../impl/TdCarrierIssuedServiceImpl.java | 22 +++ .../mapper/system/TdCarrierIssuedMapper.xml | 59 ++++++ 7 files changed, 342 insertions(+) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/carrier/issued/CarrierIssuedController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CarrierIssuedManager.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/carrier/TdCarrierIssued.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/carrier/TdCarrierIssuedMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/TdCarrierIssuedService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/impl/TdCarrierIssuedServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/system/TdCarrierIssuedMapper.xml diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/carrier/issued/CarrierIssuedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/carrier/issued/CarrierIssuedController.java new file mode 100644 index 0000000..cec01ba --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/carrier/issued/CarrierIssuedController.java @@ -0,0 +1,29 @@ +package com.ruoyi.web.controller.carrier.issued; + +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.web.controller.manager.CarrierIssuedManager; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +import javax.annotation.Resource; + +/** + * ClassName: CarrierIssuedController + * Package: com.ruoyi.web.controller.carrier.Issued + * Description:上级下发载体登记 + * + * @Author wangxy + * @Create 2024/9/24 10:23 + * @Version 1.0 + */ +@Controller +@RequestMapping("/system/carrierIssued") +public class CarrierIssuedController extends BaseController { + + private String prefix = "system/carrierIssued"; + + @Resource + private CarrierIssuedManager carrierIssuedManager; + + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CarrierIssuedManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CarrierIssuedManager.java new file mode 100644 index 0000000..12e4609 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CarrierIssuedManager.java @@ -0,0 +1,24 @@ +package com.ruoyi.web.controller.manager; + +import com.ruoyi.system.service.carrier.TdCarrierIssuedService; +import org.springframework.stereotype.Component; + +import javax.annotation.Resource; + +/** + * ClassName: TdCarrierIssuedManager + * Package: com.ruoyi.web.controller.manager + * Description: 上级下发载体 + * + * @Author wangxy + * @Create 2024/9/24 10:21 + * @Version 1.0 + */ +@Component +public class CarrierIssuedManager { + + + @Resource + private TdCarrierIssuedService carrierIssuedService; + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/carrier/TdCarrierIssued.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/carrier/TdCarrierIssued.java new file mode 100644 index 0000000..b132dcf --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/carrier/TdCarrierIssued.java @@ -0,0 +1,175 @@ +package com.ruoyi.system.domain.carrier; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import java.util.Date; + +import com.ruoyi.common.core.domain.BaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * 载体下发 + * @TableName td_carrier_issued + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +public class TdCarrierIssued extends BaseEntity { + /** + * id + */ + @TableId + private String id; + + /** + * 载体数量 + */ + private String carrierCount; + + /** + * 载体类型 + */ + private String carrierLevel; + + /** + * 紧急程度 + */ + private String carrierExtent; + + /** + * 密级 + */ + private String carrierSecret; + + /** + * 编号 + */ + private String carrierNumber; + + /** + * 保密期限 + */ + private String carrierTerm; + + /** + * 发放范围 + */ + private String carrierContent; + + /** + * 使用要求 + */ + private String mentsUse; + + /** + * 使用开始时间 + */ + private Date mentsTime; + + /** + * 使用结束时间 + */ + private Date mentsendTime; + + /** + * 使用期限 + */ + private String expirationTime; + + /** + * 使用人员 + */ + private String usageUser; + + /** + * 回收时间 + */ + private Date reclaimTime; + + /** + * 保存地点 + */ + private String saveLocation; + + /** + * 地点要求 + */ + private String locationRequire; + + /** + * 维护部门 + */ + private String maintainDepart; + + /** + * 维护人员 + */ + private String maintainUser; + + /** + * 维护日期 + */ + private Date maintainDate; + + /** + * 销毁部门 + */ + private String destoryDepart; + + /** + * 销毁人员 + */ + private String destoryUser; + + /** + * 销毁日期 + */ + private Date destoryDate; + + /** + * 销毁方式 + */ + private String destoryManner; + + /** + * 状态 + */ + private String status; + + + /** + * 载体名称 + */ + private String carrierName; + + /** + * 市州 + */ + private String areaCity; + + /** + * 区县 + */ + private String areaDistrict; + + /** + * 维护旁站人员 + */ + private String maintainStand; + + /** + * 销毁旁站人员 + */ + private String destoryStand; + + /** + * 下发单位 + */ + private String issuedDept; + + + @TableField(exist = false) + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/carrier/TdCarrierIssuedMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/carrier/TdCarrierIssuedMapper.java new file mode 100644 index 0000000..72ec28b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/carrier/TdCarrierIssuedMapper.java @@ -0,0 +1,19 @@ +package com.ruoyi.system.mapper.carrier; + + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.domain.carrier.TdCarrierIssued; + +/** +* @author Administrator +* @description 针对表【td_carrier_issued(载体下发)】的数据库操作Mapper +* @createDate 2024-09-24 10:14:48 +* @Entity generator.domain.TdCarrierIssued +*/ +public interface TdCarrierIssuedMapper extends BaseMapper { + +} + + + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/TdCarrierIssuedService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/TdCarrierIssuedService.java new file mode 100644 index 0000000..6cc9093 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/TdCarrierIssuedService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.service.carrier; + + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.domain.carrier.TdCarrierIssued; + +/** +* @author Administrator +* @description 针对表【td_carrier_issued(载体下发)】的数据库操作Service +* @createDate 2024-09-24 10:14:48 +*/ +public interface TdCarrierIssuedService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/impl/TdCarrierIssuedServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/impl/TdCarrierIssuedServiceImpl.java new file mode 100644 index 0000000..c533913 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/carrier/impl/TdCarrierIssuedServiceImpl.java @@ -0,0 +1,22 @@ +package com.ruoyi.system.service.carrier.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.domain.carrier.TdCarrierIssued; +import com.ruoyi.system.mapper.carrier.TdCarrierIssuedMapper; +import com.ruoyi.system.service.carrier.TdCarrierIssuedService; +import org.springframework.stereotype.Service; + +/** +* @author Administrator +* @description 针对表【td_carrier_issued(载体下发)】的数据库操作Service实现 +* @createDate 2024-09-24 10:14:48 +*/ +@Service +public class TdCarrierIssuedServiceImpl extends ServiceImpl + implements TdCarrierIssuedService { + +} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/TdCarrierIssuedMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdCarrierIssuedMapper.xml new file mode 100644 index 0000000..c1616d8 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/TdCarrierIssuedMapper.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id,carrier_count,carrier_level, + carrier_extent,carrier_secret,carrier_number, + carrier_term,carrier_content,ments_use, + ments_time,usage_user,save_location, + location_require,maintain_depart,maintain_user, + maintain_date,destory_depart,destory_user, + destory_date,destory_manner,status, + create_by,create_time,update_by, + update_time,remark,carrier_name, + area_city,area_district,maintain_stand, + destory_stand,issued_dept,expiration_time, + mentSend_time,reclaim_time + +