parent
7092374f2c
commit
d533c3a92e
@ -0,0 +1,29 @@
|
|||||||
|
package com.ruoyi.web.controller.carrier;
|
||||||
|
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.web.controller.manager.CarrierManager;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* packageName com.ruoyi.web.controller.carrier
|
||||||
|
*
|
||||||
|
* @author wangxy
|
||||||
|
* @version JDK 8
|
||||||
|
* @className CarrierController
|
||||||
|
* @date 2024/8/21
|
||||||
|
* @description 载体管理
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/carrier")
|
||||||
|
public class CarrierController extends BaseController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private CarrierManager carrierManager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.web.controller.manager;
|
||||||
|
|
||||||
|
import com.ruoyi.system.service.carrier.TdCarrierService;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* packageName com.ruoyi.web.controller.manager
|
||||||
|
*
|
||||||
|
* @author wangxy
|
||||||
|
* @version JDK 8
|
||||||
|
* @className CarrierManager
|
||||||
|
* @date 2024/8/21
|
||||||
|
* @description 载体管理
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class CarrierManager {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private TdCarrierService carrierService;
|
||||||
|
}
|
@ -0,0 +1,174 @@
|
|||||||
|
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
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class TdCarrier extends BaseEntity {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 载体数量
|
||||||
|
*/
|
||||||
|
private String carrierCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 载体类型
|
||||||
|
*/
|
||||||
|
private String carrierLevel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 紧急程度
|
||||||
|
*/
|
||||||
|
private String carrierExtent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 定密依据
|
||||||
|
*/
|
||||||
|
private String carrierAlliance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 密级
|
||||||
|
*/
|
||||||
|
private String carrierSecret;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private String carrierNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保密期限
|
||||||
|
*/
|
||||||
|
private String carrierTerm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发放范围
|
||||||
|
*/
|
||||||
|
private String carrierContent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接收单位
|
||||||
|
*/
|
||||||
|
private String receivingUnits;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接收时间
|
||||||
|
*/
|
||||||
|
private Date receivingTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接收人员
|
||||||
|
*/
|
||||||
|
private String receivingUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发放单位
|
||||||
|
*/
|
||||||
|
private String issuingUnit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发放时间
|
||||||
|
*/
|
||||||
|
private Date issuingTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发放人员
|
||||||
|
*/
|
||||||
|
private String issuingUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 传递方式
|
||||||
|
*/
|
||||||
|
private String deliveryMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 交通工具
|
||||||
|
*/
|
||||||
|
private String carrierVehicle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用要求
|
||||||
|
*/
|
||||||
|
private String mentsUse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用时间
|
||||||
|
*/
|
||||||
|
private Date mentsTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用人员
|
||||||
|
*/
|
||||||
|
private String usageUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保存地点
|
||||||
|
*/
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper.carrier;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.carrier.TdCarrier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【td_carrier(载体下发)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-08-21 09:44:38
|
||||||
|
* @Entity generator.domain.TdCarrier
|
||||||
|
*/
|
||||||
|
public interface TdCarrierMapper extends BaseMapper<TdCarrier> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ruoyi.system.service.carrier;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.carrier.TdCarrier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【td_carrier(载体下发)】的数据库操作Service
|
||||||
|
* @createDate 2024-08-21 09:44:38
|
||||||
|
*/
|
||||||
|
public interface TdCarrierService extends IService<TdCarrier> {
|
||||||
|
|
||||||
|
}
|
@ -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.TdCarrier;
|
||||||
|
import com.ruoyi.system.mapper.carrier.TdCarrierMapper;
|
||||||
|
import com.ruoyi.system.service.carrier.TdCarrierService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【td_carrier(载体下发)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-08-21 09:44:38
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class TdCarrierServiceImpl extends ServiceImpl<TdCarrierMapper, TdCarrier>
|
||||||
|
implements TdCarrierService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,59 @@
|
|||||||
|
<?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="com.ruoyi.system.mapper.carrier.TdCarrierMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.carrier.TdCarrier">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierCount" column="carrier_count" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierLevel" column="carrier_level" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierExtent" column="carrier_extent" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierAlliance" column="carrier_alliance" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierSecret" column="carrier_secret" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierNumber" column="carrier_number" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierTerm" column="carrier_term" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierContent" column="carrier_content" jdbcType="VARCHAR"/>
|
||||||
|
<result property="receivingUnits" column="receiving_units" jdbcType="VARCHAR"/>
|
||||||
|
<result property="receivingTime" column="receiving_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="receivingUser" column="receiving_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="issuingUnit" column="Issuing_unit" jdbcType="VARCHAR"/>
|
||||||
|
<result property="issuingTime" column="Issuing_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="issuingUser" column="Issuing_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deliveryMethod" column="delivery_method" jdbcType="VARCHAR"/>
|
||||||
|
<result property="carrierVehicle" column="carrier_vehicle" jdbcType="VARCHAR"/>
|
||||||
|
<result property="mentsUse" column="ments_use" jdbcType="VARCHAR"/>
|
||||||
|
<result property="mentsTime" column="ments_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="usageUser" column="usage_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="saveLocation" column="save_location" jdbcType="VARCHAR"/>
|
||||||
|
<result property="locationRequire" column="location_ require" jdbcType="VARCHAR"/>
|
||||||
|
<result property="maintainDepart" column="maintain_depart" jdbcType="VARCHAR"/>
|
||||||
|
<result property="maintainUser" column="maintain_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="maintainDate" column="maintain_date" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="destoryDepart" column="destory_depart" jdbcType="VARCHAR"/>
|
||||||
|
<result property="destoryUser" column="destory_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="destoryDate" column="destory_date" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="destoryManner" column="destory_manner" jdbcType="VARCHAR"/>
|
||||||
|
<result property="status" column="status" jdbcType="CHAR"/>
|
||||||
|
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,carrier_count,carrier_level,
|
||||||
|
carrier_extent,carrier_alliance,carrier_secret,
|
||||||
|
carrier_number,carrier_term,carrier_content,
|
||||||
|
receiving_units,receiving_time,receiving_user,
|
||||||
|
Issuing_unit,Issuing_time,Issuing_user,
|
||||||
|
delivery_method,carrier_vehicle,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
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
Loading…
Reference in new issue