Jelajahi Sumber

内部报验功能

wangming 1 tahun lalu
induk
melakukan
9a688857fe
15 mengubah file dengan 724 tambahan dan 0 penghapusan
  1. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionDao.java
  2. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionDispatchDao.java
  3. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionOperLogDao.java
  4. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionDispatchService.java
  5. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionOperLogService.java
  6. 16 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionService.java
  7. 20 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionDispatchServiceImpl.java
  8. 20 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionOperLogServiceImpl.java
  9. 20 0
      business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionServiceImpl.java
  10. 119 0
      business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionDispatchDo.java
  11. 320 0
      business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionDo.java
  12. 69 0
      business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionOperLogDo.java
  13. 20 0
      business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionController.java
  14. 20 0
      business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionDispatchController.java
  15. 20 0
      business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionOperLogController.java

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionDao.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.dao;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDo;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 内部报验-报验管理 Mapper 接口
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionDao extends BaseMapper<ZhcxInsideInspectionDo> {
+
+}

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionDispatchDao.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.dao;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDispatchDo;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 内部报验-报验管理-派单 Mapper 接口
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionDispatchDao extends BaseMapper<ZhcxInsideInspectionDispatchDo> {
+
+}

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/dao/ZhcxInsideInspectionOperLogDao.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.dao;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionOperLogDo;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 内部报验-报验操作日志 Mapper 接口
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionOperLogDao extends BaseMapper<ZhcxInsideInspectionOperLogDo> {
+
+}

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionDispatchService.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.service;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDispatchDo;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 内部报验-报验管理-派单 服务类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionDispatchService extends IService<ZhcxInsideInspectionDispatchDo> {
+
+}

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionOperLogService.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.service;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionOperLogDo;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 内部报验-报验操作日志 服务类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionOperLogService extends IService<ZhcxInsideInspectionOperLogDo> {
+
+}

+ 16 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/ZhcxInsideInspectionService.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.service;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDo;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 内部报验-报验管理 服务类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+public interface ZhcxInsideInspectionService extends IService<ZhcxInsideInspectionDo> {
+
+}

+ 20 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionDispatchServiceImpl.java

@@ -0,0 +1,20 @@
+package com.rongwei.bscommon.sys.service.impl;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDispatchDo;
+import com.rongwei.bscommon.sys.dao.ZhcxInsideInspectionDispatchDao;
+import com.rongwei.bscommon.sys.service.ZhcxInsideInspectionDispatchService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 内部报验-报验管理-派单 服务实现类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Service
+public class ZhcxInsideInspectionDispatchServiceImpl extends ServiceImpl<ZhcxInsideInspectionDispatchDao, ZhcxInsideInspectionDispatchDo> implements ZhcxInsideInspectionDispatchService {
+
+}

+ 20 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionOperLogServiceImpl.java

@@ -0,0 +1,20 @@
+package com.rongwei.bscommon.sys.service.impl;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionOperLogDo;
+import com.rongwei.bscommon.sys.dao.ZhcxInsideInspectionOperLogDao;
+import com.rongwei.bscommon.sys.service.ZhcxInsideInspectionOperLogService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 内部报验-报验操作日志 服务实现类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Service
+public class ZhcxInsideInspectionOperLogServiceImpl extends ServiceImpl<ZhcxInsideInspectionOperLogDao, ZhcxInsideInspectionOperLogDo> implements ZhcxInsideInspectionOperLogService {
+
+}

+ 20 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionServiceImpl.java

@@ -0,0 +1,20 @@
+package com.rongwei.bscommon.sys.service.impl;
+
+import com.rongwei.bsentity.domain.ZhcxInsideInspectionDo;
+import com.rongwei.bscommon.sys.dao.ZhcxInsideInspectionDao;
+import com.rongwei.bscommon.sys.service.ZhcxInsideInspectionService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 内部报验-报验管理 服务实现类
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Service
+public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspectionDao, ZhcxInsideInspectionDo> implements ZhcxInsideInspectionService {
+
+}

+ 119 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionDispatchDo.java

@@ -0,0 +1,119 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.rongwei.rwcommon.base.BaseDo;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 内部报验-报验管理-派单
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+@TableName("ZHCX_INSIDE_INSPECTION_DISPATCH")
+public class ZhcxInsideInspectionDispatchDo extends BaseDo {
+
+    private static final long serialVersionUID=1L;
+
+    /**
+     * 主键
+     */
+    @TableField("ID")
+    private String id;
+    /**
+     * 租户ID
+     */
+    @TableField("TENANTID")
+    private String tenantid;
+    /**
+     * 扩展预留
+     */
+    @TableField("ROPTION")
+    private String roption;
+    /**
+     * 内部报验单id
+     */
+    @TableField("INSIDEID")
+    private String insideid;
+    /**
+     * 报验结论
+     */
+    @TableField("INSPECTIONCONCLUSION")
+    private String inspectionconclusion;
+    /**
+     * 检验员ID
+     */
+    @TableField("SUPERVISIONID")
+    private String supervisionid;
+    /**
+     * 检验员用户
+     */
+    @TableField("SUPERVISION")
+    private String supervision;
+    /**
+     * 检验员电话
+     */
+    @TableField("SUPERVISIONPHONE")
+    private String supervisionphone;
+    /**
+     * 检验开始时间
+     */
+    @TableField("CHECKSTARTTIME")
+    private Date checkstarttime;
+    /**
+     * 检验结束时间
+     */
+    @TableField("CHECKENDTIME")
+    private Date checkendtime;
+    /**
+     * 派单状态
+     */
+    @TableField("DISPATCHSTATUS")
+    private String dispatchstatus;
+    /**
+     * 取消类型
+     */
+    @TableField("CANCELTYPE")
+    private String canceltype;
+    /**
+     * 取消原因
+     */
+    @TableField("CANCELREASON")
+    private String cancelreason;
+    /**
+     * 上次检验员备注
+     */
+    @TableField("LASTREFUSEREASON")
+    private String lastrefusereason;
+    /**
+     * 附件
+     */
+    @TableField("SFILES")
+    private String sfiles;
+    /**
+     * 画布
+     */
+    @TableField("CANVAS")
+    private String canvas;
+    /**
+     * 签名
+     */
+    @TableField("SIGNATURE")
+    private String signature;
+    /**
+     * 检验员备注(拒收原因,取消原因)
+     */
+    @TableField("REFUSEREASON")
+    private String refusereason;
+
+
+}

+ 320 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionDo.java

@@ -0,0 +1,320 @@
+package com.rongwei.bsentity.domain;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.rongwei.rwcommon.base.BaseDo;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 内部报验-报验管理
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+@TableName("ZHCX_INSIDE_INSPECTION")
+public class ZhcxInsideInspectionDo extends BaseDo {
+
+    private static final long serialVersionUID=1L;
+
+    /**
+     * 主键
+     */
+    @TableField("ID")
+    private String id;
+    /**
+     * 租户ID
+     */
+    @TableField("TENANTID")
+    private String tenantid;
+    /**
+     * 扩展预留
+     */
+    @TableField("ROPTION")
+    private String roption;
+    /**
+     * 内部报验单号
+     */
+    @TableField("INSPECTIONCODE")
+    private String inspectioncode;
+    /**
+     * 报验类型
+     */
+    @TableField("INSPECTIONTYPE")
+    private String inspectiontype;
+    /**
+     * 项目id
+     */
+    @TableField("PROJECTID")
+    private String projectid;
+    /**
+     * 项目工号
+     */
+    @TableField("PROJECTCODE")
+    private String projectcode;
+    /**
+     * 项目名称
+     */
+    @TableField("PROJECTNAME")
+    private String projectname;
+    /**
+     * 监理客户管理id
+     */
+    @TableField("CUSTOMERMANAGEID")
+    private String customermanageid;
+    /**
+     * 监理客户要求id
+     */
+    @TableField("CUSTOMERREQUIREID")
+    private String customerrequireid;
+    /**
+     * 项目机号id
+     */
+    @TableField("PROJECTMACHINEID")
+    private String projectmachineid;
+    /**
+     * 机号
+     */
+    @TableField("MACHINENO")
+    private String machineno;
+    /**
+     * 结构项目机号id
+     */
+    @TableField("STRUCTUREMACHINEID")
+    private String structuremachineid;
+    /**
+     * 结构机号
+     */
+    @TableField("STRUCTUREMACHINENO")
+    private String structuremachineno;
+    /**
+     * 递交
+     */
+    @TableField("COMPANYSHORTNAME")
+    private String companyshortname;
+    /**
+     * 构建Id
+     */
+    @TableField("STRUCTUREID")
+    private String structureid;
+    /**
+     * 构件名称
+     */
+    @TableField("STRUCTURENAME")
+    private String structurename;
+    /**
+     * 构件图号
+     */
+    @TableField("STRUCTUREDRAWING")
+    private String structuredrawing;
+    /**
+     * 报验内容id
+     */
+    @TableField("INSPECTIONCONTENTID")
+    private String inspectioncontentid;
+    /**
+     * 报验内容
+     */
+    @TableField("INSPECTIONCONTENT")
+    private String inspectioncontent;
+    /**
+     * 报验点
+     */
+    @TableField("INSPECTIONPOINT")
+    private String inspectionpoint;
+    /**
+     * 报验数量
+     */
+    @TableField("QTY")
+    private BigDecimal qty;
+    /**
+     * 检查地点id
+     */
+    @TableField("INSPECTIONLOCATIONID")
+    private String inspectionlocationid;
+    /**
+     * 检查地点
+     */
+    @TableField("INSPECTIONLOCATION")
+    private String inspectionlocation;
+    /**
+     * 检查地点补充
+     */
+    @TableField("INSPECTIONLOCATIONSUPPLEMENT")
+    private String inspectionlocationsupplement;
+    /**
+     * 预约报验时间
+     */
+    @TableField("RESERVATIONINSPECTIONTIME")
+    private Date reservationinspectiontime;
+    /**
+     * 分包商id
+     */
+    @TableField("SUBCONTRACTORID")
+    private String subcontractorid;
+    /**
+     * 分包商挂靠单位id
+     */
+    @TableField("SUBCONTRACTORUNITID")
+    private String subcontractorunitid;
+    /**
+     * 分包商/劳务班组
+     */
+    @TableField("SUBCONTRACTORNAME")
+    private String subcontractorname;
+    /**
+     * 车间id
+     */
+    @TableField("WORKSHOPID")
+    private String workshopid;
+    /**
+     * 车间
+     */
+    @TableField("WORKSHOPNAME")
+    private String workshopname;
+    /**
+     * 车间负责人id
+     */
+    @TableField("WORKSHOPMANAGERID")
+    private String workshopmanagerid;
+    /**
+     * 车间负责人
+     */
+    @TableField("WORKSHOPMANAGERNAME")
+    private String workshopmanagername;
+    /**
+     * 自检员
+     */
+    @TableField("SELFTESTER")
+    private String selftester;
+    /**
+     * 车间递交时间
+     */
+    @TableField("HANDINTIME")
+    private Date handintime;
+    /**
+     * 检验员id
+     */
+    @TableField("CHECKERID")
+    private String checkerid;
+    /**
+     * 检验员
+     */
+    @TableField("CHECKERNAME")
+    private String checkername;
+    /**
+     * 检验员联系方式
+     */
+    @TableField("CHECKERCONTACT")
+    private String checkercontact;
+    /**
+     * 项目主管ID
+     */
+    @TableField("PMID")
+    private String pmid;
+    /**
+     * 项目主管
+     */
+    @TableField("PMNAME")
+    private String pmname;
+    /**
+     * 报验次数
+     */
+    @TableField("INSPECTIONCOUNT")
+    private Integer inspectioncount;
+    /**
+     * 报验单状态
+     */
+    @TableField("INSPECTIONSTATUS")
+    private String inspectionstatus;
+    /**
+     * 发起类型(itp、unitp)
+     */
+    @TableField("LAUNCHTYPE")
+    private String launchtype;
+    /**
+     * 附件
+     */
+    @TableField("FILES")
+    private String files;
+    /**
+     * 发起源(pc,mobile)
+     */
+    @TableField("LAUNCHSOURCE")
+    private String launchsource;
+    /**
+     * 源id
+     */
+    @TableField("SOURCEID")
+    private String sourceid;
+    /**
+     * 源编码
+     */
+    @TableField("SOURCECODE")
+    private String sourcecode;
+    /**
+     * 生命周期(默认进行中,作废)
+     */
+    @TableField("LIFECYCLE")
+    private String lifecycle;
+    /**
+     * 报验完成时间
+     */
+    @TableField("INSPECTIONCOMPLATETIME")
+    private Date inspectioncomplatetime;
+    /**
+     * 检验室ID
+     */
+    @TableField("LABORATORYID")
+    private String laboratoryid;
+    /**
+     * 检验室名称
+     */
+    @TableField("LABORATORYNAME")
+    private String laboratoryname;
+    /**
+     * 检验室pathid
+     */
+    @TableField("LABORATORYPATHID")
+    private String laboratorypathid;
+    /**
+     * 班组ID
+     */
+    @TableField("TEAMGROUPID")
+    private String teamgroupid;
+    /**
+     * 班组名称
+     */
+    @TableField("TEAMGROUPNAME")
+    private String teamgroupname;
+    /**
+     * 班组pathid
+     */
+    @TableField("TEAMGROUPPATHID")
+    private String teamgrouppathid;
+    /**
+     * 自检员id
+     */
+    @TableField("SELFTESTERID")
+    private String selftesterid;
+    /**
+     * 自检员联系方式
+     */
+    @TableField("SELFTESTERCONTACT")
+    private String selftestercontact;
+    /**
+     * 自检结论
+     */
+    @TableField("SELFCONCLUSION")
+    private String selfconclusion;
+
+
+}

+ 69 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxInsideInspectionOperLogDo.java

@@ -0,0 +1,69 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.rongwei.rwcommon.base.BaseDo;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 内部报验-报验操作日志
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+@TableName("ZHCX_INSIDE_INSPECTION_OPER_LOG")
+public class ZhcxInsideInspectionOperLogDo extends BaseDo {
+
+    private static final long serialVersionUID=1L;
+
+    /**
+     * 主键
+     */
+    @TableField("ID")
+    private String id;
+    /**
+     * 租户ID
+     */
+    @TableField("TENANTID")
+    private String tenantid;
+    /**
+     * 扩展预留
+     */
+    @TableField("ROPTION")
+    private String roption;
+    /**
+     * 内部报验id
+     */
+    @TableField("INSIDEID")
+    private String insideid;
+    /**
+     * 操作类型
+     */
+    @TableField("OPERTYPE")
+    private String opertype;
+    /**
+     * 操作描述
+     */
+    @TableField("OPERDESCRIPTION")
+    private String operdescription;
+    /**
+     * 操作来源(移动端,PC端)
+     */
+    @TableField("OPERSOURCE")
+    private String opersource;
+    /**
+     * 操作时间
+     */
+    @TableField("OPERTIME")
+    private Date opertime;
+
+
+}

+ 20 - 0
business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionController.java

@@ -0,0 +1,20 @@
+package com.rongwei.bsserver.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 内部报验-报验管理 前端控制器
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@RestController
+@RequestMapping("/zhcxInsideInspection")
+public class ZhcxInsideInspectionController {
+
+}
+

+ 20 - 0
business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionDispatchController.java

@@ -0,0 +1,20 @@
+package com.rongwei.bsserver.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 内部报验-报验管理-派单 前端控制器
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@RestController
+@RequestMapping("/zhcxInsideInspectionDispatch")
+public class ZhcxInsideInspectionDispatchController {
+
+}
+

+ 20 - 0
business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionOperLogController.java

@@ -0,0 +1,20 @@
+package com.rongwei.bsserver.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 内部报验-报验操作日志 前端控制器
+ * </p>
+ *
+ * @author wm
+ * @since 2024-05-21
+ */
+@RestController
+@RequestMapping("/zhcxInsideInspectionOperLog")
+public class ZhcxInsideInspectionOperLogController {
+
+}
+