+ * 施工报告 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-construction-report") +public class IConstructionReportController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IEngineerLogController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IEngineerLogController.java new file mode 100644 index 0000000..5f8bf86 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IEngineerLogController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 工程日志 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-engineer-log") +public class IEngineerLogController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IManpowerController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IManpowerController.java new file mode 100644 index 0000000..ae2d195 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IManpowerController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 人力信息表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-manpower") +public class IManpowerController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IMaterialsController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IMaterialsController.java new file mode 100644 index 0000000..ae6752e --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IMaterialsController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 材料信息表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-materials") +public class IMaterialsController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProductionPlanController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProductionPlanController.java new file mode 100644 index 0000000..f6d3f28 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProductionPlanController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 生产计划表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-production-plan") +public class IProductionPlanController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProgressController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProgressController.java new file mode 100644 index 0000000..55dcee6 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IProgressController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 进度跟踪表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-progress") +public class IProgressController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IResourceScheduleController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IResourceScheduleController.java new file mode 100644 index 0000000..94f2af1 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IResourceScheduleController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 资源调度表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-resource-schedule") +public class IResourceScheduleController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/ISafeController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/ISafeController.java new file mode 100644 index 0000000..06c9f77 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/ISafeController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 安全教育 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-safe") +public class ISafeController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IUserController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IUserController.java new file mode 100644 index 0000000..9458117 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IUserController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 实名制与信息管理 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-user") +public class IUserController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IWarnController.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IWarnController.java new file mode 100644 index 0000000..dded1f5 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/controller/IWarnController.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 预警表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/i-warn") +public class IWarnController { + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IConstructionReport.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IConstructionReport.java new file mode 100644 index 0000000..57dcad7 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IConstructionReport.java @@ -0,0 +1,71 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 施工报告 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_construction_report") +@ApiModel(value="IConstructionReport对象", description="施工报告") +public class IConstructionReport implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "报告日期") + private LocalDateTime date; + + @ApiModelProperty(value = "报告周期") + private String cycle; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "总体进度") + private String totalProgress; + + @ApiModelProperty(value = "人力投入") + private String manpower; + + @ApiModelProperty(value = "材料使用") + private String materialsUse; + + @ApiModelProperty(value = "机械设备运行") + private String equipmentOperation; + + @ApiModelProperty(value = "质量安全") + private String qs; + + @ApiModelProperty(value = "建议") + private String advise; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java new file mode 100644 index 0000000..af036dd --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java @@ -0,0 +1,68 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 工程日志 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_engineer_log") +@ApiModel(value="IEngineerLog对象", description="工程日志") +public class IEngineerLog implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "日期") + private LocalDateTime date; + + @ApiModelProperty(value = "天气") + private String +weather; + + @ApiModelProperty(value = "温度") + private String temperature; + + @ApiModelProperty(value = "风力") + private String wind; + + @ApiModelProperty(value = "现场负责人姓名") + private String +principalName; + + @ApiModelProperty(value = "现场负责人联系方式") + private String +principalTel; + + @ApiModelProperty(value = "施工情况") + private String constructionSituation; + + @ApiModelProperty(value = "其他事项") + private String otherBusiness; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java new file mode 100644 index 0000000..6ff63a5 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java @@ -0,0 +1,60 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 人力信息表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_manpower") +@ApiModel(value="IManpower对象", description="人力信息表") +public class IManpower implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "工种") + private String workType; + + @ApiModelProperty(value = "数量") + private Integer +quantity; + + @ApiModelProperty(value = "计划投入时间") + private Integer planDevoteTime; + + @ApiModelProperty(value = "实际投入时间") + private Integer actualDevoteTime; + + @ApiModelProperty(value = "预计离场时间") + private LocalDateTime leaveTime; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java new file mode 100644 index 0000000..cdf68ca --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java @@ -0,0 +1,68 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 材料信息表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_materials") +@ApiModel(value="IMaterials对象", description="材料信息表") +public class IMaterials implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "材料名称") + private String name; + + @ApiModelProperty(value = "规格型号") + private String specification; + + @ApiModelProperty(value = "单位") + private String unit; + + @ApiModelProperty(value = "计划需求量") + private Integer planNeed; + + @ApiModelProperty(value = "实际进厂量") + private Integer actualIn; + + @ApiModelProperty(value = "剩余量") + private Integer surplus; + + @ApiModelProperty(value = "供应商名称") + private String supplierName; + + @ApiModelProperty(value = "采购时间") + private LocalDateTime purchaseTime; + + @ApiModelProperty(value = "预计使用时间") + private LocalDateTime planUseTime; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java new file mode 100644 index 0000000..e7de429 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java @@ -0,0 +1,65 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 生产计划表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_production_plan") +@ApiModel(value="IProductionPlan对象", description="生产计划表") +public class IProductionPlan implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "所属项目阶段") + private String projectStage; + + @ApiModelProperty(value = "计划描述") + private String description; + + @ApiModelProperty(value = "计划开始时间") + private LocalDateTime startTime; + + @ApiModelProperty(value = "计划结束时间") + private LocalDateTime endTime; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + @ApiModelProperty(value = "总工期天数") + private Integer duration; + + @ApiModelProperty(value = "关键节点时间") + private LocalDateTime keystageTime; + + @ApiModelProperty(value = "计划负责人") + private String principal; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java new file mode 100644 index 0000000..e902792 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java @@ -0,0 +1,53 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 进度跟踪表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_progress") +@ApiModel(value="IProgress对象", description="进度跟踪表") +public class IProgress implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "当日完成进度") + private Integer dayProgress; + + @ApiModelProperty(value = "累计完成进度") + private Integer accumulativeProgress; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java new file mode 100644 index 0000000..d726a30 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java @@ -0,0 +1,59 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 资源调度表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_resource_schedule") +@ApiModel(value="IResourceSchedule对象", description="资源调度表") +public class IResourceSchedule implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "计划开始时间") + private LocalDateTime startTime; + + @ApiModelProperty(value = "计划结束时间") + private LocalDateTime endTime; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + @ApiModelProperty(value = "当前进度") + private Integer currentProgress; + + @ApiModelProperty(value = "建议") + private String advise; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java new file mode 100644 index 0000000..2d83b19 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java @@ -0,0 +1,47 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import java.time.LocalDateTime; +import com.baomidou.mybatisplus.annotation.TableId; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 安全教育 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_safe") +@ApiModel(value="ISafe对象", description="安全教育") +public class ISafe implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "进项安全教育啥时间") + private LocalDateTime date; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java new file mode 100644 index 0000000..c6d1f66 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java @@ -0,0 +1,53 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 实名制与信息管理 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_user") +@ApiModel(value="IUser对象", description="实名制与信息管理") +public class IUser implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "联系方式") + private String tel; + + @ApiModelProperty(value = "身份证") + private String idCard; + + @ApiModelProperty(value = "工种") + private String workType; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java new file mode 100644 index 0000000..31bb5c2 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java @@ -0,0 +1,56 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *+ * 预警表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_warn") +@ApiModel(value="IWarn对象", description="预警表") +public class IWarn implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "偏差类型1提前2滞后") + private Integer deviationType; + + @ApiModelProperty(value = "偏差天数") + private Integer deviationDays; + + @ApiModelProperty(value = "预警信息") + private String warnInfo; + + @ApiModelProperty(value = "创建时间") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java new file mode 100644 index 0000000..3eadd67 --- /dev/null +++ b/intelligencesite/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java @@ -0,0 +1,16 @@ +package com.zilber.boot.intelligencesite.mapper; + +import com.zilber.boot.intelligencesite.entity.IConstructionReport; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *+ * 施工报告 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IConstructionReportMapper extends BaseMapper+ * 工程日志 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IEngineerLogMapper extends BaseMapper+ * 人力信息表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IManpowerMapper extends BaseMapper+ * 材料信息表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IMaterialsMapper extends BaseMapper+ * 生产计划表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IProductionPlanMapper extends BaseMapper+ * 进度跟踪表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IProgressMapper extends BaseMapper+ * 资源调度表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IResourceScheduleMapper extends BaseMapper+ * 安全教育 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface ISafeMapper extends BaseMapper+ * 实名制与信息管理 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IUserMapper extends BaseMapper+ * 预警表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IWarnMapper extends BaseMapper+ * 施工报告 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIConstructionReportService extends IService+ * 工程日志 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIEngineerLogService extends IService+ * 人力信息表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIManpowerService extends IService+ * 材料信息表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIMaterialsService extends IService+ * 生产计划表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIProductionPlanService extends IService+ * 进度跟踪表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIProgressService extends IService+ * 资源调度表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIResourceScheduleService extends IService+ * 安全教育 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IISafeService extends IService+ * 实名制与信息管理 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIUserService extends IService+ * 预警表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIWarnService extends IService+ * 施工报告 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IConstructionReportServiceImpl extends ServiceImpl+ * 工程日志 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IEngineerLogServiceImpl extends ServiceImpl+ * 人力信息表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IManpowerServiceImpl extends ServiceImpl+ * 材料信息表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IMaterialsServiceImpl extends ServiceImpl+ * 生产计划表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IProductionPlanServiceImpl extends ServiceImpl+ * 进度跟踪表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IProgressServiceImpl extends ServiceImpl+ * 资源调度表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IResourceScheduleServiceImpl extends ServiceImpl+ * 安全教育 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class ISafeServiceImpl extends ServiceImpl+ * 实名制与信息管理 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IUserServiceImpl extends ServiceImpl+ * 预警表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IWarnServiceImpl extends ServiceImpl+ * 施工报告 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iconstructionreport") +@Api(tags = "施工报告") +public class IConstructionReportController { + + + @Resource + private IIConstructionReportService iiConstructionReportService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IConstructionReport iConstructionReport, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 工程日志 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iengineerlog") +@Api(tags = "工程日志") +public class IEngineerLogController { + + @Resource + private IIEngineerLogService iiEngineerLogService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IEngineerLog iEngineerLog, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 人力信息表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/imanpower") +@Api(tags = "人力信息") +public class IManpowerController { + + @Resource + private IIManpowerService iiManpowerService; + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IManpower iManpower, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 材料信息表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/imaterials") +@Api(tags = "材料信息") +public class IMaterialsController { + + @Resource + private IIMaterialsService iiMaterialsService; + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IMaterials iMaterials, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 生产计划表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iproductionplan") +@Api(tags = "生产计划") +public class IProductionPlanController { + + @Resource + private IIProductionPlanService iiProductionPlanService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IProductionPlan iProductionPlan, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 进度跟踪表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iprogress") +@Api(tags = "进度跟踪") +public class IProgressController { + + @Resource + private IIProgressService iiProgressService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IProgress iProgress, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 资源调度表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iresourceschedule") +@Api(tags = "资源调度") +public class IResourceScheduleController { + @Resource + private IIResourceScheduleService iiResourceScheduleService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IResourceSchedule iResourceSchedule, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 安全教育 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/isafe") +@Api(tags = "安全教育") +public class ISafeController { + + @Resource + private IISafeService IISafeService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(ISafe iSafe, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 实名制与信息管理 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iuser") +@Api(tags = "实名制与信息管理") +public class IUserController { + + @Resource + private IIUserService iiUserService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IUser iUser, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 预警表 前端控制器 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@RestController +@RequestMapping("/iwarn") +@Api(tags = "预警") +public class IWarnController { + + @Resource + private IIWarnService iiWarnService; + + + @GetMapping("/list") + @ApiOperation(value="分页查询",notes="分页查询") + @ResponseBody + public AjaxResult queryList(IWarn iWarn, @RequestParam(defaultValue = "1") Integer pageNo, + @RequestParam(defaultValue = "10") Integer pageSize) { + PageHelper.startPage(pageNo, pageSize); + List+ * 施工报告 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_construction_report") +@ApiModel(value="IConstructionReport对象", description="施工报告") +public class IConstructionReport implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "报告日期") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime date; + + @ApiModelProperty(value = "报告周期") + private String cycle; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "总体进度") + private String totalProgress; + + @ApiModelProperty(value = "人力投入") + private String manpower; + + @ApiModelProperty(value = "材料使用") + private String materialsUse; + + @ApiModelProperty(value = "机械设备运行") + private String equipmentOperation; + + @ApiModelProperty(value = "质量安全") + private String qs; + + @ApiModelProperty(value = "建议") + private String advise; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java new file mode 100644 index 0000000..6a882f4 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IEngineerLog.java @@ -0,0 +1,75 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 工程日志 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_engineer_log") +@ApiModel(value="IEngineerLog对象", description="工程日志") +public class IEngineerLog implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "日期") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime date; + + @ApiModelProperty(value = "天气") + private String weather; + + + @ApiModelProperty(value = "温度") + private String temperature; + + @ApiModelProperty(value = "风力") + private String wind; + + @ApiModelProperty(value = "现场负责人姓名") + private String principalName; + + + @ApiModelProperty(value = "现场负责人联系方式") + private String principalTel; + + + @ApiModelProperty(value = "施工情况") + private String constructionSituation; + + @ApiModelProperty(value = "其他事项") + private String otherBusiness; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java new file mode 100644 index 0000000..c3ec382 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IManpower.java @@ -0,0 +1,67 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 人力信息表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_manpower") +@ApiModel(value="IManpower对象", description="人力信息表") +public class IManpower implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "工种") + private String workType; + + @ApiModelProperty(value = "数量") + private Integer quantity; + + + @ApiModelProperty(value = "计划投入时间") + private Integer planDevoteTime; + + @ApiModelProperty(value = "实际投入时间") + private Integer actualDevoteTime; + + @ApiModelProperty(value = "预计离场时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime leaveTime; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java new file mode 100644 index 0000000..2c1d6cb --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IMaterials.java @@ -0,0 +1,77 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 材料信息表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_materials") +@ApiModel(value="IMaterials对象", description="材料信息表") +public class IMaterials implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "材料名称") + private String name; + + @ApiModelProperty(value = "规格型号") + private String specification; + + @ApiModelProperty(value = "单位") + private String unit; + + @ApiModelProperty(value = "计划需求量") + private Integer planNeed; + + @ApiModelProperty(value = "实际进厂量") + private Integer actualIn; + + @ApiModelProperty(value = "剩余量") + private Integer surplus; + + @ApiModelProperty(value = "供应商名称") + private String supplierName; + + @ApiModelProperty(value = "采购时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime purchaseTime; + + @ApiModelProperty(value = "预计使用时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime planUseTime; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java new file mode 100644 index 0000000..42abb85 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IProductionPlan.java @@ -0,0 +1,77 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; +import java.util.Date; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 生产计划表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_production_plan") +@ApiModel(value="IProductionPlan对象", description="生产计划表") +public class IProductionPlan implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "所属项目阶段") + private String projectStage; + + @ApiModelProperty(value = "计划描述") + private String description; + + @ApiModelProperty(value = "计划开始时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date startTime; + + @ApiModelProperty(value = "计划结束时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date endTime; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + @ApiModelProperty(value = "总工期天数") + private Integer duration; + + @ApiModelProperty(value = "关键节点时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime keystageTime; + + @ApiModelProperty(value = "计划负责人") + private String principal; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java new file mode 100644 index 0000000..32938b3 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IProgress.java @@ -0,0 +1,58 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 进度跟踪表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_progress") +@ApiModel(value="IProgress对象", description="进度跟踪表") +public class IProgress implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "当日完成进度") + private Integer dayProgress; + + @ApiModelProperty(value = "累计完成进度") + private Integer accumulativeProgress; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java new file mode 100644 index 0000000..88f5294 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IResourceSchedule.java @@ -0,0 +1,68 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 资源调度表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_resource_schedule") +@ApiModel(value="IResourceSchedule对象", description="资源调度表") +public class IResourceSchedule implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "计划开始时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime startTime; + + @ApiModelProperty(value = "计划结束时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime endTime; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + @ApiModelProperty(value = "当前进度") + private Integer currentProgress; + + @ApiModelProperty(value = "建议") + private String advise; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java b/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java new file mode 100644 index 0000000..e7def42 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/ISafe.java @@ -0,0 +1,54 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import java.time.LocalDateTime; +import com.baomidou.mybatisplus.annotation.TableId; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 安全教育 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_safe") +@ApiModel(value="ISafe对象", description="安全教育") +public class ISafe implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "进项安全教育啥时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime date; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java new file mode 100644 index 0000000..5e41f41 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IUser.java @@ -0,0 +1,58 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 实名制与信息管理 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_user") +@ApiModel(value="IUser对象", description="实名制与信息管理") +public class IUser implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "姓名") + private String name; + + @ApiModelProperty(value = "联系方式") + private String tel; + + @ApiModelProperty(value = "身份证") + private String idCard; + + @ApiModelProperty(value = "工种") + private String workType; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java b/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java new file mode 100644 index 0000000..a9fe2f5 --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/entity/IWarn.java @@ -0,0 +1,61 @@ +package com.zilber.boot.intelligencesite.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import java.io.Serializable; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; + +/** + *+ * 预警表 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("i_warn") +@ApiModel(value="IWarn对象", description="预警表") +public class IWarn implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @ApiModelProperty(value = "计划id") + private Long planId; + + @ApiModelProperty(value = "计划名称") + private String planName; + + @ApiModelProperty(value = "偏差类型1提前2滞后") + private Integer deviationType; + + @ApiModelProperty(value = "偏差天数") + private Integer deviationDays; + + @ApiModelProperty(value = "预警信息") + private String warnInfo; + + @ApiModelProperty(value = "创建时间") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @ApiModelProperty(value = "创建人") + private String creator; + + +} diff --git a/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java b/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java new file mode 100644 index 0000000..a08b10d --- /dev/null +++ b/src/main/java/com/zilber/boot/intelligencesite/mapper/IConstructionReportMapper.java @@ -0,0 +1,20 @@ +package com.zilber.boot.intelligencesite.mapper; + +import com.zilber.boot.intelligencesite.entity.IConstructionReport; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +import java.util.List; + +/** + *+ * 施工报告 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IConstructionReportMapper extends BaseMapper+ * 工程日志 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IEngineerLogMapper extends BaseMapper+ * 人力信息表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IManpowerMapper extends BaseMapper+ * 材料信息表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IMaterialsMapper extends BaseMapper+ * 生产计划表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IProductionPlanMapper extends BaseMapper+ * 进度跟踪表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IProgressMapper extends BaseMapper+ * 资源调度表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IResourceScheduleMapper extends BaseMapper+ * 安全教育 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface ISafeMapper extends BaseMapper+ * 实名制与信息管理 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IUserMapper extends BaseMapper+ * 预警表 Mapper 接口 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IWarnMapper extends BaseMapper+ * 施工报告 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIConstructionReportService extends IService+ * 工程日志 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIEngineerLogService extends IService+ * 人力信息表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIManpowerService extends IService+ * 材料信息表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIMaterialsService extends IService+ * 生产计划表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIProductionPlanService extends IService+ * 进度跟踪表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIProgressService extends IService+ * 资源调度表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIResourceScheduleService extends IService+ * 安全教育 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IISafeService extends IService+ * 实名制与信息管理 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIUserService extends IService+ * 预警表 服务类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +public interface IIWarnService extends IService+ * 施工报告 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IConstructionReportServiceImpl extends ServiceImpl+ * 工程日志 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IEngineerLogServiceImpl extends ServiceImpl+ * 人力信息表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IManpowerServiceImpl extends ServiceImpl+ * 材料信息表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IMaterialsServiceImpl extends ServiceImpl+ * 生产计划表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IProductionPlanServiceImpl extends ServiceImpl+ * 进度跟踪表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IProgressServiceImpl extends ServiceImpl+ * 资源调度表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IResourceScheduleServiceImpl extends ServiceImpl+ * 安全教育 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class ISafeServiceImpl extends ServiceImpl+ * 实名制与信息管理 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IUserServiceImpl extends ServiceImpl+ * 预警表 服务实现类 + *
+ * + * @author lsc + * @since 2025-05-06 + */ +@Service +public class IWarnServiceImpl extends ServiceImpl