新增项目管理

This commit is contained in:
gxwebsoft
2023-06-08 19:30:24 +08:00
parent 6b9d4c4ef8
commit 6e3bd8f55f
45 changed files with 2826 additions and 23 deletions

View File

@@ -0,0 +1,81 @@
package com.gxwebsoft.tower.param;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.gxwebsoft.tower.entity.TowerPlaceStandard;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
/**
* 检查/保养部位记录表查询参数
*
* @author 科技小王子
* @since 2023-06-08 11:00:17
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerPlaceParam对象", description = "检查/保养部位记录表查询参数")
public class TowerPlaceParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "参数ID")
@QueryField(type = QueryType.EQ)
private Integer placeId;
@ApiModelProperty(value = "部位编码")
private String placeCode;
@ApiModelProperty(value = "设备类型")
private String equipmentType;
@ApiModelProperty(value = "部位名称")
private String name;
@ApiModelProperty(value = "检查/保养标准")
@TableField(exist = false)
private List<TowerPlaceStandard> standard;
@ApiModelProperty(value = "部位类型")
private String type;
@ApiModelProperty(value = "推送目标系统")
private String pushSystem;
@ApiModelProperty(value = "其它项目对应值")
private String otherParam;
@ApiModelProperty(value = "附件")
private String files;
@ApiModelProperty(value = "是否默认显示")
@QueryField(type = QueryType.EQ)
private Integer isShow;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@ApiModelProperty(value = "排序(数字越小越靠前)")
@QueryField(type = QueryType.EQ)
private Integer sortNumber;
@ApiModelProperty(value = "备注")
private String comments;
@ApiModelProperty(value = "状态, 0正常, 1冻结")
@QueryField(type = QueryType.EQ)
private Integer status;
@ApiModelProperty(value = "是否删除, 0否, 1是")
@QueryField(type = QueryType.EQ)
private Integer deleted;
}

View File

@@ -0,0 +1,76 @@
package com.gxwebsoft.tower.param;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 安全巡检部位管理表查询参数
*
* @author 科技小王子
* @since 2023-06-08 11:00:17
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerPlaceSafetyParam对象", description = "安全巡检部位管理表查询参数")
public class TowerPlaceSafetyParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "参数ID")
@QueryField(type = QueryType.EQ)
private Integer placeSafetyId;
@ApiModelProperty(value = "部位编码")
private String placeCode;
@ApiModelProperty(value = "设备类型")
private String equipmentType;
@ApiModelProperty(value = "安全巡检部位名称")
private String name;
@ApiModelProperty(value = "检查标准")
private String checkStandard;
@ApiModelProperty(value = "部位类型")
private String type;
@ApiModelProperty(value = "推送目标系统")
private String pushSystem;
@ApiModelProperty(value = "其它项目对应值")
private String otherParam;
@ApiModelProperty(value = "附件")
private String files;
@ApiModelProperty(value = "是否默认显示")
@QueryField(type = QueryType.EQ)
private Integer isShow;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@ApiModelProperty(value = "排序(数字越小越靠前)")
@QueryField(type = QueryType.EQ)
private Integer sortNumber;
@ApiModelProperty(value = "备注")
private String comments;
@ApiModelProperty(value = "状态, 0正常, 1冻结")
@QueryField(type = QueryType.EQ)
private Integer status;
@ApiModelProperty(value = "是否删除, 0否, 1是")
@QueryField(type = QueryType.EQ)
private Integer deleted;
}

View File

@@ -0,0 +1,42 @@
package com.gxwebsoft.tower.param;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 检查标准附件表查询参数
*
* @author 科技小王子
* @since 2023-06-08 15:37:00
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerPlaceStandardParam对象", description = "检查标准附件表查询参数")
public class TowerPlaceStandardParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "参数ID")
@QueryField(type = QueryType.EQ)
private Integer id;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer placeId;
@ApiModelProperty(value = "检查标准")
private String standard;
@ApiModelProperty(value = "附件")
private String files;
@ApiModelProperty(value = "备注")
private String comments;
}

View File

@@ -0,0 +1,87 @@
package com.gxwebsoft.tower.param;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.gxwebsoft.tower.entity.TowerProjectOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
/**
* 合同签订设备清单查询参数
*
* @author 科技小王子
* @since 2023-06-07 18:48:56
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerProjectOrderParam对象", description = "合同签订设备清单查询参数")
public class TowerProjectOrderParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "自增ID")
@QueryField(type = QueryType.EQ)
private Integer projectOrderId;
@ApiModelProperty(value = "项目ID")
private Integer projectId;
@ApiModelProperty(value = "设备名称")
private String equipmentName;
@ApiModelProperty(value = "规格型号")
private String equipmentModel;
@ApiModelProperty(value = "签订数量")
@QueryField(type = QueryType.EQ)
private Integer equipmentNum;
@ApiModelProperty(value = "单位")
private String unit;
@ApiModelProperty(value = "预计进场时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private String startTime;
@ApiModelProperty(value = "预计退场时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private String endTime;
@ApiModelProperty(value = "出厂年限")
private String year;
@ApiModelProperty(value = "对应资料员")
private String documenter;
@ApiModelProperty(value = "状态")
@QueryField(type = QueryType.EQ)
private Integer status;
@ApiModelProperty(value = "备注")
private String comments;
@ApiModelProperty(value = "排序号")
@QueryField(type = QueryType.EQ)
private Integer sortNumber;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@ApiModelProperty(value = "是否删除, 0否, 1是")
@QueryField(type = QueryType.EQ)
private Integer deleted;
@ApiModelProperty(value = "合同预定设备清单")
@TableField(exist = false)
private List<TowerProjectOrder> orders;
}

View File

@@ -29,6 +29,9 @@ public class TowerProjectParam extends BaseParam {
@ApiModelProperty(value = "配件名称")
private String projectName;
@ApiModelProperty(value = "项目图片")
private String projectImage;
@ApiModelProperty(value = "租赁单位")
private String companyName;

View File

@@ -0,0 +1,54 @@
package com.gxwebsoft.tower.param;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 检查/保养部位配置表查询参数
*
* @author 科技小王子
* @since 2023-06-08 17:22:55
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerProjectPlaceParam对象", description = "检查/保养部位配置表查询参数")
public class TowerProjectPlaceParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "自增ID")
@QueryField(type = QueryType.EQ)
private Integer id;
@ApiModelProperty(value = "项目ID")
@QueryField(type = QueryType.EQ)
private Integer projectId;
@ApiModelProperty(value = "部位ID")
@QueryField(type = QueryType.EQ)
private Integer placeId;
@ApiModelProperty(value = "排序号")
@QueryField(type = QueryType.EQ)
private Integer sortNumber;
@ApiModelProperty(value = "部位编码")
@TableField(exist = false)
private String placeCode;
@ApiModelProperty(value = "设备名称")
@TableField(exist = false)
private String name;
@ApiModelProperty(value = "部位类型")
@TableField(exist = false)
private String type;
}

View File

@@ -0,0 +1,66 @@
package com.gxwebsoft.tower.param;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 项目成员查询参数
*
* @author 科技小王子
* @since 2023-06-07 15:00:32
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerProjectUserParam对象", description = "项目成员查询参数")
public class TowerProjectUserParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "自增ID")
@QueryField(type = QueryType.EQ)
private Integer id;
@ApiModelProperty(value = "角色10可见成员 20项目成员 30管理员 ")
@QueryField(type = QueryType.EQ)
private Integer role;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@ApiModelProperty(value = "项目ID")
@QueryField(type = QueryType.EQ)
private Integer projectId;
@ApiModelProperty(value = "状态, 0正常, 1待确认")
@QueryField(type = QueryType.EQ)
private Integer status;
@ApiModelProperty(value = "昵称")
@TableField(exist = false)
private String nickname;
@ApiModelProperty(value = "用户名")
@TableField(exist = false)
private String username;
@ApiModelProperty(value = "手机号码")
@TableField(exist = false)
private String phone;
@ApiModelProperty(value = "邮箱")
@TableField(exist = false)
private String email;
@ApiModelProperty(value = "头像")
@TableField(exist = false)
private String avatar;
}