commit
fe544b6c92
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-construction-report") |
||||
public class IConstructionReportController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-engineer-log") |
||||
public class IEngineerLogController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-manpower") |
||||
public class IManpowerController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-materials") |
||||
public class IMaterialsController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-production-plan") |
||||
public class IProductionPlanController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-progress") |
||||
public class IProgressController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-resource-schedule") |
||||
public class IResourceScheduleController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-safe") |
||||
public class ISafeController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-user") |
||||
public class IUserController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/i-warn") |
||||
public class IWarnController { |
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IConstructionReport; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IConstructionReportMapper extends BaseMapper<IConstructionReport> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IEngineerLogMapper extends BaseMapper<IEngineerLog> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IManpowerMapper extends BaseMapper<IManpower> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IMaterialsMapper extends BaseMapper<IMaterials> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProductionPlan; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IProductionPlanMapper extends BaseMapper<IProductionPlan> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProgress; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IProgressMapper extends BaseMapper<IProgress> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IResourceScheduleMapper extends BaseMapper<IResourceSchedule> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface ISafeMapper extends BaseMapper<ISafe> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IUserMapper extends BaseMapper<IUser> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IWarn; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IWarnMapper extends BaseMapper<IWarn> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IConstructionReport; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIConstructionReportService extends IService<IConstructionReport> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIEngineerLogService extends IService<IEngineerLog> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIManpowerService extends IService<IManpower> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIMaterialsService extends IService<IMaterials> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProductionPlan; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIProductionPlanService extends IService<IProductionPlan> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProgress; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIProgressService extends IService<IProgress> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIResourceScheduleService extends IService<IResourceSchedule> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IISafeService extends IService<ISafe> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIUserService extends IService<IUser> { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package com.zilber.boot.intelligencesite.service; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IWarn; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 服务类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IIWarnService extends IService<IWarn> { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IConstructionReport; |
||||
import com.zilber.boot.intelligencesite.mapper.IConstructionReportMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIConstructionReportService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IConstructionReportServiceImpl extends ServiceImpl<IConstructionReportMapper, IConstructionReport> implements IIConstructionReportService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.zilber.boot.intelligencesite.mapper.IEngineerLogMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIEngineerLogService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IEngineerLogServiceImpl extends ServiceImpl<IEngineerLogMapper, IEngineerLog> implements IIEngineerLogService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.zilber.boot.intelligencesite.mapper.IManpowerMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIManpowerService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IManpowerServiceImpl extends ServiceImpl<IManpowerMapper, IManpower> implements IIManpowerService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.zilber.boot.intelligencesite.mapper.IMaterialsMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIMaterialsService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IMaterialsServiceImpl extends ServiceImpl<IMaterialsMapper, IMaterials> implements IIMaterialsService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProductionPlan; |
||||
import com.zilber.boot.intelligencesite.mapper.IProductionPlanMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIProductionPlanService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IProductionPlanServiceImpl extends ServiceImpl<IProductionPlanMapper, IProductionPlan> implements IIProductionPlanService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProgress; |
||||
import com.zilber.boot.intelligencesite.mapper.IProgressMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIProgressService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IProgressServiceImpl extends ServiceImpl<IProgressMapper, IProgress> implements IIProgressService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.zilber.boot.intelligencesite.mapper.IResourceScheduleMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIResourceScheduleService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IResourceScheduleServiceImpl extends ServiceImpl<IResourceScheduleMapper, IResourceSchedule> implements IIResourceScheduleService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.zilber.boot.intelligencesite.mapper.ISafeMapper; |
||||
import com.zilber.boot.intelligencesite.service.IISafeService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class ISafeServiceImpl extends ServiceImpl<ISafeMapper, ISafe> implements IISafeService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.zilber.boot.intelligencesite.mapper.IUserMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIUserService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IUserServiceImpl extends ServiceImpl<IUserMapper, IUser> implements IIUserService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.zilber.boot.intelligencesite.service.impl; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IWarn; |
||||
import com.zilber.boot.intelligencesite.mapper.IWarnMapper; |
||||
import com.zilber.boot.intelligencesite.service.IIWarnService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
@Service |
||||
public class IWarnServiceImpl extends ServiceImpl<IWarnMapper, IWarn> implements IIWarnService { |
||||
|
||||
} |
@ -0,0 +1,27 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IConstructionReportMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IConstructionReport"> |
||||
<id column="id" property="id" /> |
||||
<result column="date" property="date" /> |
||||
<result column="cycle" property="cycle" /> |
||||
<result column="plan_id" property="planId" /> |
||||
<result column="plan_name" property="planName" /> |
||||
<result column="total_progress" property="totalProgress" /> |
||||
<result column="manpower" property="manpower" /> |
||||
<result column="materials_use" property="materialsUse" /> |
||||
<result column="equipment_operation" property="equipmentOperation" /> |
||||
<result column="qs" property="qs" /> |
||||
<result column="advise" property="advise" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, date, cycle, plan_id, plan_name, total_progress, manpower, materials_use, equipment_operation, qs, advise, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,34 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IEngineerLogMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IEngineerLog"> |
||||
<id column="id" property="id" /> |
||||
<result column="date" property="date" /> |
||||
<result column=" |
||||
weather" property=" |
||||
weather" /> |
||||
<result column="temperature" property="temperature" /> |
||||
<result column="wind" property="wind" /> |
||||
<result column=" |
||||
principal_name" property=" |
||||
principalName" /> |
||||
<result column=" |
||||
principal_tel" property=" |
||||
principalTel" /> |
||||
<result column="construction_situation" property="constructionSituation" /> |
||||
<result column="other_business" property="otherBusiness" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, date, |
||||
weather, temperature, wind, |
||||
principal_name, |
||||
principal_tel, construction_situation, other_business, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,26 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IManpowerMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IManpower"> |
||||
<id column="id" property="id" /> |
||||
<result column="name" property="name" /> |
||||
<result column="work_type" property="workType" /> |
||||
<result column=" |
||||
quantity" property=" |
||||
quantity" /> |
||||
<result column="plan_devote_time" property="planDevoteTime" /> |
||||
<result column="actual_devote_time" property="actualDevoteTime" /> |
||||
<result column="leave_time" property="leaveTime" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, name, work_type, |
||||
quantity, plan_devote_time, actual_devote_time, leave_time, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,26 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IMaterialsMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IMaterials"> |
||||
<id column="id" property="id" /> |
||||
<result column="name" property="name" /> |
||||
<result column="specification" property="specification" /> |
||||
<result column="unit" property="unit" /> |
||||
<result column="plan_need" property="planNeed" /> |
||||
<result column="actual_in" property="actualIn" /> |
||||
<result column="surplus" property="surplus" /> |
||||
<result column="supplier_name" property="supplierName" /> |
||||
<result column="purchase_time" property="purchaseTime" /> |
||||
<result column="plan_use_time" property="planUseTime" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, name, specification, unit, plan_need, actual_in, surplus, supplier_name, purchase_time, plan_use_time, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,25 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IProductionPlanMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IProductionPlan"> |
||||
<id column="id" property="id" /> |
||||
<result column="plan_name" property="planName" /> |
||||
<result column="project_stage" property="projectStage" /> |
||||
<result column="description" property="description" /> |
||||
<result column="start_time" property="startTime" /> |
||||
<result column="end_time" property="endTime" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
<result column="duration" property="duration" /> |
||||
<result column="keystage_time" property="keystageTime" /> |
||||
<result column="principal" property="principal" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, plan_name, project_stage, description, start_time, end_time, create_time, creator, duration, keystage_time, principal |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,21 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IProgressMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IProgress"> |
||||
<id column="id" property="id" /> |
||||
<result column="plan_id" property="planId" /> |
||||
<result column="plan_name" property="planName" /> |
||||
<result column="day_progress" property="dayProgress" /> |
||||
<result column="accumulative_progress" property="accumulativeProgress" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, plan_id, plan_name, day_progress, accumulative_progress, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,23 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IResourceScheduleMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IResourceSchedule"> |
||||
<id column="id" property="id" /> |
||||
<result column="plan_id" property="planId" /> |
||||
<result column="plan_name" property="planName" /> |
||||
<result column="start_time" property="startTime" /> |
||||
<result column="end_time" property="endTime" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
<result column="current_progress" property="currentProgress" /> |
||||
<result column="advise" property="advise" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, plan_id, plan_name, start_time, end_time, create_time, creator, current_progress, advise |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,19 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.ISafeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.ISafe"> |
||||
<id column="id" property="id" /> |
||||
<result column="name" property="name" /> |
||||
<result column="date" property="date" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, name, date, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,21 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IUserMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IUser"> |
||||
<id column="id" property="id" /> |
||||
<result column="name" property="name" /> |
||||
<result column="tel" property="tel" /> |
||||
<result column="id_card" property="idCard" /> |
||||
<result column="work_type" property="workType" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, name, tel, id_card, work_type, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,22 @@ |
||||
<?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.zilber.boot.intelligencesite.mapper.IWarnMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.zilber.boot.intelligencesite.entity.IWarn"> |
||||
<id column="id" property="id" /> |
||||
<result column="plan_id" property="planId" /> |
||||
<result column="plan_name" property="planName" /> |
||||
<result column="deviation_type" property="deviationType" /> |
||||
<result column="deviation_days" property="deviationDays" /> |
||||
<result column="warn_info" property="warnInfo" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="creator" property="creator" /> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询结果列 --> |
||||
<sql id="Base_Column_List"> |
||||
id, plan_id, plan_name, deviation_type, deviation_days, warn_info, create_time, creator |
||||
</sql> |
||||
|
||||
</mapper> |
@ -0,0 +1,52 @@ |
||||
package com.zilber.boot.dahua.accesscontrol; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
public class QueryRecordRequest { |
||||
|
||||
/** 页码,正整数 */ |
||||
private Integer pageNum; |
||||
/** 分页大小,正整数 */ |
||||
private Integer pageSize; |
||||
/** 查询开始时间,格式:yyyy-MM-dd HH:mm:ss */ |
||||
private String startSwingTime; |
||||
/** 查询结束时间,格式:yyyy-MM-dd HH:mm:ss */ |
||||
private String endSwingTime; |
||||
/** 入库开始时间,格式:yyyy-MM-dd HH:mm:ss */ |
||||
private String startCreateTime; |
||||
/** 入库结束时间,格式:yyyy-MM-dd HH:mm:ss */ |
||||
private String endCreateTime; |
||||
/** 开门类型 */ |
||||
private Integer openType; |
||||
/** 开门类型多选 */ |
||||
private List<Integer> openTypes; |
||||
/** 卡片类型 */ |
||||
private String category; |
||||
/** 人员名称 */ |
||||
private String personName; |
||||
/** 人员编号 */ |
||||
private String personCode; |
||||
/** 通道编码列表 */ |
||||
private List<String> channelCodes; |
||||
/** 部门ID */ |
||||
private String deptIds; |
||||
/** 卡号 */ |
||||
private String cardNumber; |
||||
/** 事件类型 */ |
||||
private Integer enterOrExit; |
||||
/** 开门结果 */ |
||||
private Integer openResult; |
||||
/** 是否超温 */ |
||||
private Boolean overTemp; |
||||
/** 体温低限 */ |
||||
private Float curTempStart; |
||||
/** 体温高限 */ |
||||
private Float curTempEnd; |
||||
/** 口罩状态 3-带口罩,2—没带口罩,1-未识别 */ |
||||
private Integer maskState; |
||||
/** 访客筛选,1 - 只查询访客记录 2 - 只查询非访客记录 */ |
||||
private Integer visitorFilter; |
||||
} |
@ -0,0 +1,84 @@ |
||||
package com.zilber.boot.dahua.accesscontrol; |
||||
|
||||
import com.dahuatech.icc.oauth.http.IccResponse; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
public class QueryRecordResponse extends IccResponse { |
||||
|
||||
/** */ |
||||
private Data data; |
||||
|
||||
@lombok.Data |
||||
public static class Data { |
||||
/** 当前页 */ |
||||
private Integer currentPage; |
||||
/** 是否启用云数据库,false-不启用,true-启用 */ |
||||
private Boolean enableCloudDB; |
||||
/** 分页大小 */ |
||||
private Integer pageSize; |
||||
/** 总页码 */ |
||||
private Integer totalPage; |
||||
/** 总条数 */ |
||||
private Integer totalRows; |
||||
/** 分页数据 */ |
||||
private List<PageData> pageData; |
||||
|
||||
@lombok.Data |
||||
public static class PageData{ |
||||
/** 卡号 */ |
||||
private String cardNumber; |
||||
/** 卡状态,-1-空白卡,0-正常卡,1-挂失卡,2-注销卡 */ |
||||
private Integer cardStatus; |
||||
/** 卡类型,0-IC卡, 1-有源RFID, 2-CPU卡 */ |
||||
private Integer cardType; |
||||
/** 通道编码 */ |
||||
private String channelCode; |
||||
/** 通道名称 */ |
||||
private String channelName; |
||||
/** 部门名称 */ |
||||
private String deptName; |
||||
/** 设备编码 */ |
||||
private String deviceCode; |
||||
/** 设备名称 */ |
||||
private String deviceName; |
||||
/** 进出门类型,1-进门, 2出门, 3-进/出门 */ |
||||
private Integer enterOrExit; |
||||
/** 记录id */ |
||||
private Long id; |
||||
/** 1-内部人员, 2-访客 */ |
||||
private Integer imageType; |
||||
/** 开门结果,0-失败,1-成功 */ |
||||
private Integer openResult; |
||||
/** 开门类型 */ |
||||
private Integer openType; |
||||
/** 证件号码 */ |
||||
private String paperNumber; |
||||
/** 人员编号 */ |
||||
private String personCode; |
||||
/** 人员ID */ |
||||
private Long personId; |
||||
/** 人员姓名 */ |
||||
private String personName; |
||||
/** 抓图,相对路径 */ |
||||
private String recordImageUrl; |
||||
/** 抓图,绝对路径 */ |
||||
private String recordImage; |
||||
/** 开门失败原因 */ |
||||
private String remark; |
||||
/** 刷卡时间 */ |
||||
private String swingTime; |
||||
/** 入库时间 */ |
||||
private String createTime; |
||||
/** 口罩状态(3-带口罩,2—没带口罩,1-未识别) */ |
||||
private Integer maskState; |
||||
/** 是否超温 */ |
||||
private Boolean overTemp; |
||||
/** 体温 */ |
||||
private Float curTemp; |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,37 @@ |
||||
package com.zilber.boot.dahua.attendance; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* program:java-sdk-demo |
||||
* @Author: 355079 |
||||
* @Date:2024-04-28 14:06 |
||||
* @Description: 打卡记录查询请求参数 |
||||
*/ |
||||
@Data |
||||
public class GetRecordPageRequest { |
||||
/** 当前页 */ |
||||
private Integer pageNum; |
||||
/** 每页记录数 */ |
||||
private Integer pageSize; |
||||
/** 开始时间,格式: yyyy-MM-dd HH:mm:ss */ |
||||
private String actionTimeAfter; |
||||
/** 结束时间,格式: yyyy-MM-dd HH:mm:ss */ |
||||
private String actionTimeBefore; |
||||
/** 卡号 */ |
||||
private String cardNo; |
||||
/** 考勤类型(0:刷卡考勤;1:人像考勤;2:指纹考勤) */ |
||||
private String attendanceType; |
||||
/** 人员id集合 */ |
||||
private List<Long> personIds; |
||||
/** 模糊查询参数(人员姓名) */ |
||||
private String personName; |
||||
/** 模糊查询参数(人员编号) */ |
||||
private String personCode; |
||||
/** 排序字段 */ |
||||
private String sort; |
||||
/** DESC-降序, ASC-升序 */ |
||||
private String sortType; |
||||
} |
@ -0,0 +1,53 @@ |
||||
package com.zilber.boot.dahua.attendance; |
||||
|
||||
import com.dahuatech.icc.oauth.http.IccResponse; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* program:java-sdk-demo |
||||
* @Author: 355079 |
||||
* @Date:2024-04-28 14:13 |
||||
* @Description: 打卡记录查询返回参数 |
||||
*/ |
||||
@Data |
||||
public class GetRecordPageResponse extends IccResponse { |
||||
private Data data; |
||||
@lombok.Data |
||||
public static class Data{ |
||||
/** 当前页 */ |
||||
private Integer currentPage; |
||||
/** 每页条数 */ |
||||
private Integer pageSize; |
||||
/** 总页数 */ |
||||
private Integer totalPage; |
||||
/** 总条数 */ |
||||
private Integer totalRows; |
||||
/** 分页数据 */ |
||||
private List<PageData> pageData; |
||||
@lombok.Data |
||||
public static class PageData{ |
||||
/** 刷卡时间(yyyy-MM-dd HH:mm:ss) */ |
||||
private String actionTime; |
||||
/** 考勤方式 */ |
||||
private String attendanceType; |
||||
/** 卡号 */ |
||||
private String cardNo; |
||||
/** 部门名称 */ |
||||
private String deptName; |
||||
/** 人员编号 */ |
||||
private String personCode; |
||||
/** 人员id */ |
||||
private Integer personId; |
||||
/** 人员姓名 */ |
||||
private String personName; |
||||
/** 上报时间(yyyy-MM-dd HH:mm:ss) */ |
||||
private String reportTime; |
||||
/** 考勤点id */ |
||||
private String siteId; |
||||
/** 考勤点名称 */ |
||||
private String siteName; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,42 @@ |
||||
package com.zilber.boot.dahua.attendance; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* program:java-sdk-demo |
||||
* |
||||
* @Author: 355079 |
||||
* @Date:2024-04-29 13:48 |
||||
* @Description: 分页获取考勤结果请求参数 |
||||
*/ |
||||
@Data |
||||
public class GetResultPageRequest { |
||||
/** 第几页 */ |
||||
private Integer pageNum; |
||||
/** 每页条数 */ |
||||
private Integer pageSize; |
||||
/** 开始时间(yyyy-MM-dd) */ |
||||
private String dutyDateAfter; |
||||
/** 结束时间(yyyy-MM-dd) */ |
||||
private String dutyDateBefore; |
||||
/** 考勤结果(0-异常,1-正常) */ |
||||
private Integer result; |
||||
/** 班次类型: 1-固定班, 2-弹性班, 3-签到班, 4-休班 */ |
||||
private String dailyType; |
||||
/** 单个人员编号 */ |
||||
private String personCode; |
||||
/** 部门id(部门间以逗号隔开) */ |
||||
private String deptIdsString; |
||||
/** 人员id集合 */ |
||||
private List<Long> personIds; |
||||
/** 班次中各时段状态: 0-异常, 1-正常 */ |
||||
private List<Integer> attendanceStatus; |
||||
/** 选择的班次id集合 */ |
||||
private List<Long> classesIds; |
||||
/** 排序字段 */ |
||||
private String sort; |
||||
/** DESC-降序, ASC-升序 */ |
||||
private String sortType; |
||||
} |
@ -0,0 +1,101 @@ |
||||
package com.zilber.boot.dahua.attendance; |
||||
|
||||
import com.dahuatech.icc.oauth.http.IccResponse; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* program:java-sdk-demo |
||||
* |
||||
* @Author: 355079 |
||||
* @Date:2024-04-29 14:21 |
||||
* @Description: 分页获取考勤结果请求参数 |
||||
*/ |
||||
@Data |
||||
public class GetResultPageResponse extends IccResponse { |
||||
private Data data; |
||||
@lombok.Data |
||||
public static class Data{ |
||||
/** 当前页 */ |
||||
private Integer currentPage; |
||||
/** 每页条数 */ |
||||
private Integer pageSize; |
||||
/** 总页数 */ |
||||
private Integer totalPage; |
||||
/** 总条数 */ |
||||
private Integer totalRows; |
||||
/** 分页数据 */ |
||||
private List<PageData> pageData; |
||||
@lombok.Data |
||||
public static class PageData{ |
||||
/** 考勤时间(yyyy-MM-dd) */ |
||||
private String dutyDate; |
||||
/** 员工姓名 */ |
||||
private String personName; |
||||
/** 员工编号 */ |
||||
private String personCode; |
||||
/** 员工id */ |
||||
private Long personId; |
||||
/** 部门id */ |
||||
private Integer departmentId; |
||||
/** 部门名称 */ |
||||
private String deptName; |
||||
/** 班次id */ |
||||
private String dailyId; |
||||
/** 班次名称 */ |
||||
private String dailyName; |
||||
/** 班次类型 */ |
||||
private Integer dailyType; |
||||
/** 考勤结果 */ |
||||
private Integer result; |
||||
/** 时间段1签入情况:0-异常,1-正常 */ |
||||
private Integer timeOneSignIn; |
||||
/** 时间段1签出情况 */ |
||||
private Integer timeOneSignOut; |
||||
/** 时间段2签入情况 */ |
||||
private Integer timeTwoSignIn; |
||||
/** 时间段2签出情况 */ |
||||
private Integer timeTwoSignOut; |
||||
/** 时间段3签入情况 */ |
||||
private Integer timeThreeSignIn; |
||||
/** 时间段3签出情况 */ |
||||
private Integer timeThreeSignOut; |
||||
/** 时间段4签入情况 */ |
||||
private Integer timeFourSignIn; |
||||
/** 时间段4签出情况 */ |
||||
private Integer timeFourSignOut; |
||||
/** 时间段5签入情况 */ |
||||
private Integer timeFiveSignIn; |
||||
/** 时间段5签出情况 */ |
||||
private Integer timeFiveSignOut; |
||||
/** 应勤时长,单位小时 */ |
||||
private Float plannedWorkHours; |
||||
/** 实际时长,单位小时 */ |
||||
private Float actualWorkHours; |
||||
/** 缺勤时长,单位小时 */ |
||||
private Float absenceWorkHours; |
||||
/** 旷工时长,单位小时 */ |
||||
private Float absenteeismWorkHours; |
||||
/** 迟到时长,单位小时 */ |
||||
private Float lateWorkHours; |
||||
/** 早退时长,单位小时 */ |
||||
private Float earlyLeaveWorkHours; |
||||
/** 出差时长,单位小时 */ |
||||
private Float travelWorkHours; |
||||
/** 周内加班时长 ,单位小时 */ |
||||
private Float overtimeWeekday; |
||||
/** 周末加班时长,单位小时 */ |
||||
private Float overtimeWeekend; |
||||
/** 节假日加班时长,单位小时 */ |
||||
private Float overtimeHoliday; |
||||
/** 无薪时长,单位小时 */ |
||||
private Float unpaidWorkHours; |
||||
/** 有薪时长,单位小时 */ |
||||
private Float paidWorkHours; |
||||
/** 单据编号 */ |
||||
private String documentNumber; |
||||
|
||||
} |
||||
} |
||||
} |
@ -0,0 +1,31 @@ |
||||
package com.zilber.boot.dahua.config; |
||||
|
||||
import com.dahuatech.icc.oauth.model.v202010.OauthConfigUserPwdInfo; |
||||
|
||||
/** |
||||
* 公钥加密 |
||||
* 使用RSA加密 |
||||
*/ |
||||
public class OauthConfigUtil { |
||||
/** |
||||
* 获取Oauth配置信息 |
||||
* |
||||
* @return Oauth配置信息 |
||||
*/ |
||||
public static OauthConfigUserPwdInfo getOauthConfig() { |
||||
PlatformConfig platformConfig = new PlatformConfig();//读取配置
|
||||
OauthConfigUserPwdInfo oauthConfigUserPwdInfo = new OauthConfigUserPwdInfo( |
||||
platformConfig.getHost(), |
||||
platformConfig.getClientId(), |
||||
platformConfig.getClientSecret(), |
||||
platformConfig.getUsername(), |
||||
platformConfig.getPassword(), |
||||
false, |
||||
platformConfig.getHttpsPort(), |
||||
platformConfig.getHttpPort() |
||||
); |
||||
oauthConfigUserPwdInfo.getHttpConfigInfo().setReadTimeout(platformConfig.getReadTimeout()); |
||||
oauthConfigUserPwdInfo.getHttpConfigInfo().setConnectionTimeout(platformConfig.getConnectionTimeout()); |
||||
return oauthConfigUserPwdInfo; |
||||
} |
||||
} |
@ -0,0 +1,89 @@ |
||||
package com.zilber.boot.dahua.config; |
||||
|
||||
/** |
||||
* 平台信息配置 |
||||
*/ |
||||
public class PlatformConfig { |
||||
|
||||
private String clientId = "CompanyName";//凭证ID自定义,配合申请凭证流程申请
|
||||
private String clientSecret = "42bec152-8f04-476a-9aec-e7d616ff3cb3";//凭证密钥,参考此地址申请https://open-icc.dahuatech.com/iccdoc/enterprisebase/5.0.15/wiki/common/quickstart.html#%E7%94%B3%E8%AF%B7OpenAPI%E7%94%A8%E6%88%B7
|
||||
private String username = "TEST";//平台登录用户名
|
||||
private String password = "OGR28u6_cc";//平台登录密码
|
||||
private String host = "124.160.33.135";//平台IP,联调环境IP
|
||||
private String httpsPort = "4077";//https默认端口是443,联调环境443映射外网端口为4077
|
||||
private String httpPort = "4078";//http默认端口是83,但不开启,,联调环境83映射外网端口为4078;需运维中心开启http调试模式后才支持;isEnableHttpTest=true时有效,
|
||||
private Long connectionTimeout = -1l;//连接超时
|
||||
private Long readTimeout = -1l;//读取超时
|
||||
|
||||
public String getClientId() { |
||||
return clientId; |
||||
} |
||||
|
||||
public void setClientId(String clientId) { |
||||
this.clientId = clientId; |
||||
} |
||||
|
||||
public String getClientSecret() { |
||||
return clientSecret; |
||||
} |
||||
|
||||
public void setClientSecret(String clientSecret) { |
||||
this.clientSecret = clientSecret; |
||||
} |
||||
|
||||
public String getUsername() { |
||||
return username; |
||||
} |
||||
|
||||
public void setUsername(String username) { |
||||
this.username = username; |
||||
} |
||||
|
||||
public String getPassword() { |
||||
return password; |
||||
} |
||||
|
||||
public void setPassword(String password) { |
||||
this.password = password; |
||||
} |
||||
|
||||
public String getHost() { |
||||
return host; |
||||
} |
||||
|
||||
public void setHost(String host) { |
||||
this.host = host; |
||||
} |
||||
|
||||
public String getHttpsPort() { |
||||
return httpsPort; |
||||
} |
||||
|
||||
public void setHttpsPort(String httpsPort) { |
||||
this.httpsPort = httpsPort; |
||||
} |
||||
|
||||
public String getHttpPort() { |
||||
return httpPort; |
||||
} |
||||
|
||||
public void setHttpPort(String httpPort) { |
||||
this.httpPort = httpPort; |
||||
} |
||||
|
||||
public Long getConnectionTimeout() { |
||||
return connectionTimeout; |
||||
} |
||||
|
||||
public void setConnectionTimeout(Long connectionTimeout) { |
||||
this.connectionTimeout = connectionTimeout; |
||||
} |
||||
|
||||
public Long getReadTimeout() { |
||||
return readTimeout; |
||||
} |
||||
|
||||
public void setReadTimeout(Long readTimeout) { |
||||
this.readTimeout = readTimeout; |
||||
} |
||||
} |
@ -0,0 +1,102 @@ |
||||
package com.zilber.boot.dahua.controller; |
||||
|
||||
import com.dahuatech.hutool.http.Method; |
||||
import com.dahuatech.hutool.json.JSONUtil; |
||||
import com.dahuatech.icc.exception.ClientException; |
||||
import com.dahuatech.icc.oauth.model.v202010.OauthConfigUserPwdInfo; |
||||
import com.dahuatech.icc.oauth.utils.HttpUtils; |
||||
import com.zilber.boot.dahua.accesscontrol.QueryRecordRequest; |
||||
import com.zilber.boot.dahua.accesscontrol.QueryRecordResponse; |
||||
import com.zilber.boot.dahua.attendance.GetRecordPageRequest; |
||||
import com.zilber.boot.dahua.attendance.GetRecordPageResponse; |
||||
import com.zilber.boot.dahua.attendance.GetResultPageRequest; |
||||
import com.zilber.boot.dahua.attendance.GetResultPageResponse; |
||||
import com.zilber.boot.dahua.config.OauthConfigUtil; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springframework.web.bind.annotation.PostMapping; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
@RestController |
||||
@Api(tags = "大华接口") |
||||
@RequestMapping("/dahua") |
||||
@Slf4j |
||||
public class DahuaController { |
||||
|
||||
/** |
||||
* 打卡记录查询 |
||||
* @param getRecordPageRequest |
||||
* @return |
||||
* @throws ClientException |
||||
* 参考API:https://open-icc.dahuatech.com/#/home?url=%3Fnav%3Dwiki%2Fevo-attendance%2Fatt_information.html%23%E6%89%93%E5%8D%A1%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2&version=enterprisebase/5.0.16&blank=true
|
||||
*/ |
||||
@ApiOperation(value = "打卡记录查询",notes = "打卡记录查询") |
||||
@PostMapping("/attendance/getRecordPage") |
||||
public GetRecordPageResponse getAttendanceRecordPage(@RequestBody GetRecordPageRequest getRecordPageRequest) { |
||||
OauthConfigUserPwdInfo config = OauthConfigUtil.getOauthConfig(); |
||||
GetRecordPageResponse response=null; |
||||
try { |
||||
log.info("InfoQueryDemo,getAttendanceRecordPage,request:{}", JSONUtil.toJsonStr(getRecordPageRequest)); |
||||
response = HttpUtils.executeJson("/evo-apigw/evo-attendance/1.1.0/attendance/record/page", getRecordPageRequest,null, Method.POST , config, GetRecordPageResponse.class); |
||||
log.info("InfoQueryDemo,getAttendanceRecordPage,response:{}", JSONUtil.toJsonStr(response)); |
||||
} catch (ClientException e) { |
||||
log.error(e.getErrMsg(), e); |
||||
} |
||||
if(!response.isSuccess()) { |
||||
log.info("打卡记录查询失败:{}",response.getErrMsg()); |
||||
} |
||||
return response; |
||||
} |
||||
|
||||
/** |
||||
* 分页获取考勤结果 |
||||
* @param getResultPageRequest |
||||
* @return |
||||
* @throws ClientException |
||||
*/ |
||||
@ApiOperation(value = "分页获取考勤结果",notes = "分页获取考勤结果") |
||||
@PostMapping("/attendance/getResultPage") |
||||
public GetResultPageResponse getAttendanceResultPage(@RequestBody GetResultPageRequest getResultPageRequest) { |
||||
OauthConfigUserPwdInfo config = OauthConfigUtil.getOauthConfig(); |
||||
GetResultPageResponse response=null; |
||||
try { |
||||
log.info("InfoQueryDemo,getAttendanceRecordPage,request:{}", JSONUtil.toJsonStr(getResultPageRequest)); |
||||
response = HttpUtils.executeJson("/evo-apigw/evo-attendance/1.1.0/attendance/result/page", getResultPageRequest,null, Method.POST , config, GetResultPageResponse.class); |
||||
log.info("InfoQueryDemo,getAttendanceRecordPage,response:{}", JSONUtil.toJsonStr(response)); |
||||
} catch (ClientException e) { |
||||
log.error(e.getErrMsg(), e); |
||||
} |
||||
if(!response.isSuccess()) { |
||||
log.info("分页获取考勤结果失败:{}",response.getErrMsg()); |
||||
} |
||||
return response; |
||||
} |
||||
|
||||
/** |
||||
* 门禁 |
||||
* @return |
||||
* @throws ClientException |
||||
* 参考API:https://open-icc.dahuatech.com/#/home?url=%3Fnav%3Dwiki%2Fevo-accesscontrol%2Fevent.html&version=enterprisebase/5.0.16&blank=true
|
||||
*/ |
||||
@ApiOperation(value = "门禁记录查询",notes = "门禁记录查询") |
||||
@PostMapping("/accessControl/getRecordPage") |
||||
public QueryRecordResponse getRecordPage(@RequestBody QueryRecordRequest queryRecordRequest){ |
||||
OauthConfigUserPwdInfo config = OauthConfigUtil.getOauthConfig(); |
||||
QueryRecordResponse response=null; |
||||
try { |
||||
log.info("DeviceDemo,getRecordPage,request:{}", JSONUtil.toJsonStr(queryRecordRequest)); |
||||
response = HttpUtils.executeJson("/evo-apigw/evo-accesscontrol/1.0.0/card/accessControl/swingCardRecord/bycondition/combined", queryRecordRequest,null, Method.POST , config, QueryRecordResponse.class); |
||||
log.info("DeviceDemo,getRecordPage,response:{}", JSONUtil.toJsonStr(response)); |
||||
} catch (ClientException e) { |
||||
log.error(e.getErrMsg(), e); |
||||
} |
||||
if(!response.isSuccess()) { |
||||
log.info("门禁记录分页查询失败:{}",response.getErrMsg()); |
||||
} |
||||
return response; |
||||
} |
||||
|
||||
} |
@ -0,0 +1,76 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IConstructionReport; |
||||
import com.zilber.boot.intelligencesite.service.IIConstructionReportService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IConstructionReport> iConstructionReports = iiConstructionReportService.queryList(iConstructionReport); |
||||
PageInfo<IConstructionReport> page = new PageInfo<>(iConstructionReports); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiConstructionReportService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IConstructionReport iConstructionReport) { |
||||
return AjaxResult.success(iiConstructionReportService.save(iConstructionReport)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IConstructionReport iConstructionReport) { |
||||
iiConstructionReportService.updateById(iConstructionReport); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiConstructionReportService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,78 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IConstructionReport; |
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.zilber.boot.intelligencesite.service.IIConstructionReportService; |
||||
import com.zilber.boot.intelligencesite.service.IIEngineerLogService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IEngineerLog> iEngineerLogs = iiEngineerLogService.queryList(iEngineerLog); |
||||
PageInfo<IEngineerLog> page = new PageInfo<>(iEngineerLogs); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiEngineerLogService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IEngineerLog iEngineerLog) { |
||||
return AjaxResult.success(iiEngineerLogService.save(iEngineerLog)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IEngineerLog iEngineerLog) { |
||||
iiEngineerLogService.updateById(iEngineerLog); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiEngineerLogService.removeById(id)); |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,77 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.zilber.boot.intelligencesite.service.IIEngineerLogService; |
||||
import com.zilber.boot.intelligencesite.service.IIManpowerService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IManpower> iManpowers = iiManpowerService.queryList(iManpower); |
||||
PageInfo<IManpower> page = new PageInfo<>(iManpowers); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiManpowerService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IManpower iManpower) { |
||||
return AjaxResult.success(iiManpowerService.save(iManpower)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IManpower iManpower) { |
||||
iiManpowerService.updateById(iManpower); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiManpowerService.removeById(id)); |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,76 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.zilber.boot.intelligencesite.service.IIManpowerService; |
||||
import com.zilber.boot.intelligencesite.service.IIMaterialsService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IMaterials> iMaterials1 = iiMaterialsService.queryList(iMaterials); |
||||
PageInfo<IMaterials> page = new PageInfo<>(iMaterials1); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiMaterialsService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IMaterials iMaterials) { |
||||
return AjaxResult.success(iiMaterialsService.save(iMaterials)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IMaterials iMaterials) { |
||||
iiMaterialsService.updateById(iMaterials); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiMaterialsService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,90 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.zilber.boot.intelligencesite.entity.IProductionPlan; |
||||
import com.zilber.boot.intelligencesite.service.IIMaterialsService; |
||||
import com.zilber.boot.intelligencesite.service.IIProductionPlanService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IProductionPlan> iProductionPlans = iiProductionPlanService.queryList(iProductionPlan); |
||||
PageInfo<IProductionPlan> page = new PageInfo<>(iProductionPlans); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiProductionPlanService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IProductionPlan iProductionPlan) { |
||||
return AjaxResult.success(iiProductionPlanService.save(iProductionPlan)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IProductionPlan iProductionPlan) { |
||||
iiProductionPlanService.updateById(iProductionPlan); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiProductionPlanService.removeById(id)); |
||||
} |
||||
|
||||
|
||||
@GetMapping("/statistics") |
||||
@ApiOperation("自动统计计划进度与实际进度") |
||||
public AjaxResult statistics() { |
||||
return AjaxResult.success(iiProductionPlanService.statistics()); |
||||
} |
||||
|
||||
@GetMapping("/querywarn") |
||||
@ApiOperation("预警提示") |
||||
public AjaxResult querywarn(Integer day) { |
||||
return AjaxResult.success(iiProductionPlanService.querywarn(day)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,75 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IProgress; |
||||
import com.zilber.boot.intelligencesite.service.IIProgressService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IProgress> iProgresses = iiProgressService.queryList(iProgress); |
||||
PageInfo<IProgress> page = new PageInfo<>(iProgresses); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiProgressService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IProgress iProgress) { |
||||
return AjaxResult.success(iiProgressService.add(iProgress)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IProgress iProgress) { |
||||
iiProgressService.updateById(iProgress); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiProgressService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,74 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.zilber.boot.intelligencesite.service.IIResourceScheduleService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IResourceSchedule> iResourceSchedules = iiResourceScheduleService.queryList(iResourceSchedule); |
||||
PageInfo<IResourceSchedule> page = new PageInfo<>(iResourceSchedules); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiResourceScheduleService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IResourceSchedule iResourceSchedule) { |
||||
return AjaxResult.success(iiResourceScheduleService.save(iResourceSchedule)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IResourceSchedule iResourceSchedule) { |
||||
iiResourceScheduleService.updateById(iResourceSchedule); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiResourceScheduleService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,77 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.zilber.boot.intelligencesite.service.IIResourceScheduleService; |
||||
import com.zilber.boot.intelligencesite.service.IISafeService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<ISafe> iSafes = IISafeService.queryList(iSafe); |
||||
PageInfo<ISafe> page = new PageInfo<>(iSafes); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(IISafeService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody ISafe iSafe) { |
||||
return AjaxResult.success(IISafeService.save(iSafe)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated ISafe iSafe) { |
||||
IISafeService.updateById(iSafe); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(IISafeService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,77 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.zilber.boot.intelligencesite.service.IISafeService; |
||||
import com.zilber.boot.intelligencesite.service.IIUserService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IUser> iUsers = iiUserService.queryList(iUser); |
||||
PageInfo<IUser> page = new PageInfo<>(iUsers); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiUserService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IUser iUser) { |
||||
return AjaxResult.success(iiUserService.save(iUser)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IUser iUser) { |
||||
iiUserService.updateById(iUser); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiUserService.removeById(id)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,78 @@ |
||||
package com.zilber.boot.intelligencesite.controller; |
||||
|
||||
|
||||
import com.github.pagehelper.PageHelper; |
||||
import com.github.pagehelper.PageInfo; |
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.zilber.boot.intelligencesite.entity.IWarn; |
||||
import com.zilber.boot.intelligencesite.service.IIUserService; |
||||
import com.zilber.boot.intelligencesite.service.IIWarnService; |
||||
import com.zilber.boot.utils.AjaxResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import javax.annotation.Resource; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @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<IWarn> iWarns = iiWarnService.queryList(iWarn); |
||||
PageInfo<IWarn> page = new PageInfo<>(iWarns); |
||||
return AjaxResult.success(page); |
||||
} |
||||
|
||||
/*** |
||||
* 查询单个 |
||||
*/ |
||||
@GetMapping("/getById") |
||||
@ApiOperation("查询单个") |
||||
public AjaxResult getById(Integer id) { |
||||
return AjaxResult.success(iiWarnService.getById(id)); |
||||
} |
||||
|
||||
|
||||
@PostMapping("/add") |
||||
@ApiOperation("增加") |
||||
public AjaxResult add(@RequestBody IWarn iWarn) { |
||||
return AjaxResult.success(iiWarnService.save(iWarn)); |
||||
} |
||||
|
||||
|
||||
@PutMapping("/update") |
||||
@ApiOperation("修改") |
||||
public AjaxResult update(@RequestBody @Validated IWarn iWarn) { |
||||
iiWarnService.updateById(iWarn); |
||||
return AjaxResult.success(); |
||||
} |
||||
|
||||
@DeleteMapping("/delete") |
||||
@ApiOperation("删除") |
||||
public AjaxResult delete(Integer id) { |
||||
return AjaxResult.success(iiWarnService.removeById(id)); |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,78 @@ |
||||
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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 预警表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 施工报告 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IConstructionReportMapper extends BaseMapper<IConstructionReport> { |
||||
|
||||
List<IConstructionReport> queryList(IConstructionReport iConstructionReport); |
||||
|
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IEngineerLog; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 工程日志 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IEngineerLogMapper extends BaseMapper<IEngineerLog> { |
||||
|
||||
List<IEngineerLog> queryList(IEngineerLog iEngineerLog); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IManpower; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 人力信息表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IManpowerMapper extends BaseMapper<IManpower> { |
||||
|
||||
List<IManpower> queryList(IManpower iManpower); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IMaterials; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 材料信息表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IMaterialsMapper extends BaseMapper<IMaterials> { |
||||
|
||||
List<IMaterials> queryList(IMaterials iMaterials); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProductionPlan; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 生产计划表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IProductionPlanMapper extends BaseMapper<IProductionPlan> { |
||||
|
||||
List<IProductionPlan> queryList(IProductionPlan iProductionPlan); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IProgress; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 进度跟踪表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IProgressMapper extends BaseMapper<IProgress> { |
||||
|
||||
List<IProgress> queryList(IProgress iProgress); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IResourceSchedule; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 资源调度表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IResourceScheduleMapper extends BaseMapper<IResourceSchedule> { |
||||
|
||||
List<IResourceSchedule> queryList(IResourceSchedule iResourceSchedule); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.ISafe; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 安全教育 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface ISafeMapper extends BaseMapper<ISafe> { |
||||
|
||||
List<ISafe> queryList(ISafe iSafe); |
||||
} |
@ -0,0 +1,19 @@ |
||||
package com.zilber.boot.intelligencesite.mapper; |
||||
|
||||
import com.zilber.boot.intelligencesite.entity.IUser; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* <p> |
||||
* 实名制与信息管理 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author lsc |
||||
* @since 2025-05-06 |
||||
*/ |
||||
public interface IUserMapper extends BaseMapper<IUser> { |
||||
|
||||
List<IUser> queryList(IUser iUser); |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue