Sfoglia il codice sorgente

sop 作业票内容初始化

车车 1 anno fa
parent
commit
53ea0efc96
35 ha cambiato i file con 2772 aggiunte e 0 eliminazioni
  1. 75 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsIsolationPoint.java
  2. 85 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicket.java
  3. 55 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicketPoints.java
  4. 55 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicketUser.java
  5. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsSop.java
  6. 50 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsSopPoints.java
  7. 55 0
      ktg-iscs/src/main/java/com/ktg/iscs/domain/IsWorkarea.java
  8. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsIsolationPointMapper.java
  9. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketMapper.java
  10. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketPointsMapper.java
  11. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketUserMapper.java
  12. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsSopMapper.java
  13. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsSopPointsMapper.java
  14. 65 0
      ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsWorkareaMapper.java
  15. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsIsolationPointService.java
  16. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketPointsService.java
  17. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketService.java
  18. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketUserService.java
  19. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsSopPointsService.java
  20. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsSopService.java
  21. 63 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/IIsWorkareaService.java
  22. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsIsolationPointServiceImpl.java
  23. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketPointsServiceImpl.java
  24. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketServiceImpl.java
  25. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketUserServiceImpl.java
  26. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsSopPointsServiceImpl.java
  27. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsSopServiceImpl.java
  28. 102 0
      ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsWorkareaServiceImpl.java
  29. 116 0
      ktg-iscs/src/main/resources/mapper/IsIsolationPointMapper.xml
  30. 121 0
      ktg-iscs/src/main/resources/mapper/IsJobTicketMapper.xml
  31. 96 0
      ktg-iscs/src/main/resources/mapper/IsJobTicketPointsMapper.xml
  32. 96 0
      ktg-iscs/src/main/resources/mapper/IsJobTicketUserMapper.xml
  33. 106 0
      ktg-iscs/src/main/resources/mapper/IsSopMapper.xml
  34. 91 0
      ktg-iscs/src/main/resources/mapper/IsSopPointsMapper.xml
  35. 96 0
      ktg-iscs/src/main/resources/mapper/IsWorkareaMapper.xml

+ 75 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsIsolationPoint.java

@@ -0,0 +1,75 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * 隔离点对象 is_isolation_point
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsIsolationPoint extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 隔离点ID */
+    @Schema(description = "隔离点ID")
+    private Long pointId;
+
+    /** 隔离点编号 */
+    @Schema(description = "隔离点编号")
+    @Excel(name = "隔离点编号")
+    private String pointCode;
+
+    /** 隔离点名称 */
+    @Schema(description = "隔离点名称")
+    @Excel(name = "隔离点名称")
+    private String pointName;
+
+    /** 隔离点类型 */
+    @Schema(description = "隔离点类型")
+    @Excel(name = "隔离点类型")
+    private String pointType;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 所属区域ID */
+    @Schema(description = "所属区域ID")
+    @Excel(name = "所属区域ID")
+    private Long workareaId;
+
+    /** 危险能量类型 */
+    @Schema(description = "危险能量类型")
+    @Excel(name = "危险能量类型")
+    private String powerType;
+
+    /** 隔离方式 */
+    @Schema(description = "隔离方式")
+    @Excel(name = "隔离方式")
+    private String isolationMethod;
+
+    /** 隔离点图标 */
+    @Schema(description = "隔离点图标")
+    @Excel(name = "隔离点图标")
+    private String pointIcon;
+
+    /** 隔离点图片 */
+    @Schema(description = "隔离点图片")
+    @Excel(name = "隔离点图片")
+    private String pointPicture;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 85 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicket.java

@@ -0,0 +1,85 @@
+package com.ktg.iscs.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.util.Date;
+
+/**
+ * 作业票对象 is_job_ticket
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsJobTicket extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 作业票ID */
+    @Schema(description = "作业票ID")
+    private Long ticketId;
+
+    /** 作业票编号 */
+    @Schema(description = "作业票编号")
+    @Excel(name = "作业票编号")
+    private String ticketCode;
+
+    /** 作业票名称 */
+    @Schema(description = "作业票名称")
+    @Excel(name = "作业票名称")
+    private String ticketName;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 所属区域ID */
+    @Schema(description = "所属区域ID")
+    @Excel(name = "所属区域ID")
+    private Long workareaId;
+
+    /** 所属SOPID */
+    @Schema(description = "所属SOPID")
+    @Excel(name = "所属SOPID")
+    private Long sopId;
+
+    /** 作业票类型 */
+    @Schema(description = "作业票类型")
+    @Excel(name = "作业票类型")
+    private String ticketType;
+
+    /** 作业票详情 */
+    @Schema(description = "作业票详情")
+    @Excel(name = "作业票详情")
+    private String ticketContent;
+
+    /** 作业票状态 */
+    @Schema(description = "作业票状态")
+    @Excel(name = "作业票状态")
+    private String ticketStatus;
+
+    /** 作业票开始时间 */
+    @Schema(description = "作业票开始时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "作业票开始时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date ticketStartTime;
+
+    /** 作业票结束时间 */
+    @Schema(description = "作业票结束时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "作业票结束时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date ticketEndTime;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 55 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicketPoints.java

@@ -0,0 +1,55 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * 作业票隔离点对象 is_job_ticket_points
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsJobTicketPoints extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 记录ID */
+    @Schema(description = "记录ID")
+    private Long recordId;
+
+    /** 作业票ID */
+    @Schema(description = "作业票ID")
+    @Excel(name = "作业票ID")
+    private Long ticketId;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 所属区域ID */
+    @Schema(description = "所属区域ID")
+    @Excel(name = "所属区域ID")
+    private Long workareaId;
+
+    /** 隔离点ID */
+    @Schema(description = "隔离点ID")
+    @Excel(name = "隔离点ID")
+    private Long pointId;
+
+    /** 隔离点状态 */
+    @Schema(description = "隔离点状态")
+    @Excel(name = "隔离点状态")
+    private String pointStatus;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 55 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsJobTicketUser.java

@@ -0,0 +1,55 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * 作业票用户对象 is_job_ticket_user
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsJobTicketUser extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 记录ID */
+    @Schema(description = "记录ID")
+    private Long recordId;
+
+    /** 作业票ID */
+    @Schema(description = "作业票ID")
+    @Excel(name = "作业票ID")
+    private Long ticketId;
+
+    /** 用户ID */
+    @Schema(description = "用户ID")
+    @Excel(name = "用户ID")
+    private Long userId;
+
+    /** 用户名称 */
+    @Schema(description = "用户名称")
+    @Excel(name = "用户名称")
+    private String userName;
+
+    /** 用户类型 */
+    @Schema(description = "用户类型")
+    @Excel(name = "用户类型")
+    private String userType;
+
+    /** 作业票角色 */
+    @Schema(description = "作业票角色")
+    @Excel(name = "作业票角色")
+    private String userRole;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsSop.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * SOP信息对象 is_sop
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsSop extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** SOP ID */
+    @Schema(description = "SOP ID")
+    private Long sopId;
+
+    /** SOP编号 */
+    @Schema(description = "SOP编号")
+    @Excel(name = "SOP编号")
+    private String sopCode;
+
+    /** SOP名称 */
+    @Schema(description = "SOP名称")
+    @Excel(name = "SOP名称")
+    private String sopName;
+
+    /** SOP类型 */
+    @Schema(description = "SOP类型")
+    @Excel(name = "SOP类型")
+    private String sopType;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 所属区域ID */
+    @Schema(description = "所属区域ID")
+    @Excel(name = "所属区域ID")
+    private Long workareaId;
+
+    /** SOP内容 */
+    @Schema(description = "SOP内容")
+    @Excel(name = "SOP内容")
+    private String sopContent;
+
+    /** SOP状态 */
+    @Schema(description = "SOP状态")
+    @Excel(name = "SOP状态")
+    private String sopStatus;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 50 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsSopPoints.java

@@ -0,0 +1,50 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * SOP隔离点对象 is_sop_points
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsSopPoints extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 记录ID */
+    @Schema(description = "记录ID")
+    private Long recordId;
+
+    /** SOPID */
+    @Schema(description = "SOPID")
+    @Excel(name = "SOPID")
+    private Long sopId;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 所属区域ID */
+    @Schema(description = "所属区域ID")
+    @Excel(name = "所属区域ID")
+    private Long workareaId;
+
+    /** 隔离点ID */
+    @Schema(description = "隔离点ID")
+    @Excel(name = "隔离点ID")
+    private Long pointId;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 55 - 0
ktg-iscs/src/main/java/com/ktg/iscs/domain/IsWorkarea.java

@@ -0,0 +1,55 @@
+package com.ktg.iscs.domain;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.v3.oas.annotations.media.Schema;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.model.BaseBean;
+
+/**
+ * 工作区域对象 is_workarea
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+public class IsWorkarea extends BaseBean
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 区域ID */
+    @Schema(description = "区域ID")
+    private Long workareaId;
+
+    /** 区域编号 */
+    @Schema(description = "区域编号")
+    @Excel(name = "区域编号")
+    private String workareaCode;
+
+    /** 区域名称 */
+    @Schema(description = "区域名称")
+    @Excel(name = "区域名称")
+    private String workareaName;
+
+    /** 区域类型 */
+    @Schema(description = "区域类型")
+    @Excel(name = "区域类型")
+    private String workareaType;
+
+    /** 所属车间ID */
+    @Schema(description = "所属车间ID")
+    @Excel(name = "所属车间ID")
+    private Long workshopId;
+
+    /** 地图 */
+    @Schema(description = "地图")
+    @Excel(name = "地图")
+    private String map;
+
+    /** 删除标志(0代表存在 2代表删除) */
+    @Schema(description = "删除标志(0代表存在 2代表删除)")
+    private String delFlag;
+
+
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsIsolationPointMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsIsolationPoint;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 隔离点Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsIsolationPointMapper extends BaseMapperX<IsIsolationPoint>
+{
+    /**
+     * 查询隔离点
+     *
+     * @param pointId 隔离点主键
+     * @return 隔离点
+     */
+    IsIsolationPoint selectIsIsolationPointByPointId(Long pointId);
+
+    /**
+     * 查询隔离点列表
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 隔离点集合
+     */
+    List<IsIsolationPoint> selectIsIsolationPointList(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 新增隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    int insertIsIsolationPoint(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 修改隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    int updateIsIsolationPoint(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 删除隔离点
+     *
+     * @param pointId 隔离点主键
+     * @return 结果
+     */
+    int deleteIsIsolationPointByPointId(Long pointId);
+
+    /**
+     * 批量删除隔离点
+     *
+     * @param pointIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsIsolationPointByPointIds(Long[] pointIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsJobTicket;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 作业票Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsJobTicketMapper extends BaseMapperX<IsJobTicket>
+{
+    /**
+     * 查询作业票
+     *
+     * @param ticketId 作业票主键
+     * @return 作业票
+     */
+    IsJobTicket selectIsJobTicketByTicketId(Long ticketId);
+
+    /**
+     * 查询作业票列表
+     *
+     * @param isJobTicket 作业票
+     * @return 作业票集合
+     */
+    List<IsJobTicket> selectIsJobTicketList(IsJobTicket isJobTicket);
+
+    /**
+     * 新增作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    int insertIsJobTicket(IsJobTicket isJobTicket);
+
+    /**
+     * 修改作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    int updateIsJobTicket(IsJobTicket isJobTicket);
+
+    /**
+     * 删除作业票
+     *
+     * @param ticketId 作业票主键
+     * @return 结果
+     */
+    int deleteIsJobTicketByTicketId(Long ticketId);
+
+    /**
+     * 批量删除作业票
+     *
+     * @param ticketIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketByTicketIds(Long[] ticketIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketPointsMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsJobTicketPoints;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 作业票隔离点Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsJobTicketPointsMapper extends BaseMapperX<IsJobTicketPoints>
+{
+    /**
+     * 查询作业票隔离点
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 作业票隔离点
+     */
+    IsJobTicketPoints selectIsJobTicketPointsByRecordId(Long recordId);
+
+    /**
+     * 查询作业票隔离点列表
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 作业票隔离点集合
+     */
+    List<IsJobTicketPoints> selectIsJobTicketPointsList(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 新增作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    int insertIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 修改作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    int updateIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 删除作业票隔离点
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 结果
+     */
+    int deleteIsJobTicketPointsByRecordId(Long recordId);
+
+    /**
+     * 批量删除作业票隔离点
+     *
+     * @param recordIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketPointsByRecordIds(Long[] recordIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsJobTicketUserMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsJobTicketUser;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 作业票用户Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsJobTicketUserMapper extends BaseMapperX<IsJobTicketUser>
+{
+    /**
+     * 查询作业票用户
+     *
+     * @param recordId 作业票用户主键
+     * @return 作业票用户
+     */
+    IsJobTicketUser selectIsJobTicketUserByRecordId(Long recordId);
+
+    /**
+     * 查询作业票用户列表
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 作业票用户集合
+     */
+    List<IsJobTicketUser> selectIsJobTicketUserList(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 新增作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    int insertIsJobTicketUser(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 修改作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    int updateIsJobTicketUser(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 删除作业票用户
+     *
+     * @param recordId 作业票用户主键
+     * @return 结果
+     */
+    int deleteIsJobTicketUserByRecordId(Long recordId);
+
+    /**
+     * 批量删除作业票用户
+     *
+     * @param recordIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketUserByRecordIds(Long[] recordIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsSopMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsSop;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * SOP信息Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsSopMapper extends BaseMapperX<IsSop>
+{
+    /**
+     * 查询SOP信息
+     *
+     * @param sopId SOP信息主键
+     * @return SOP信息
+     */
+    IsSop selectIsSopBySopId(Long sopId);
+
+    /**
+     * 查询SOP信息列表
+     *
+     * @param isSop SOP信息
+     * @return SOP信息集合
+     */
+    List<IsSop> selectIsSopList(IsSop isSop);
+
+    /**
+     * 新增SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    int insertIsSop(IsSop isSop);
+
+    /**
+     * 修改SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    int updateIsSop(IsSop isSop);
+
+    /**
+     * 删除SOP信息
+     *
+     * @param sopId SOP信息主键
+     * @return 结果
+     */
+    int deleteIsSopBySopId(Long sopId);
+
+    /**
+     * 批量删除SOP信息
+     *
+     * @param sopIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsSopBySopIds(Long[] sopIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsSopPointsMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsSopPoints;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * SOP隔离点Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsSopPointsMapper extends BaseMapperX<IsSopPoints>
+{
+    /**
+     * 查询SOP隔离点
+     *
+     * @param recordId SOP隔离点主键
+     * @return SOP隔离点
+     */
+    IsSopPoints selectIsSopPointsByRecordId(Long recordId);
+
+    /**
+     * 查询SOP隔离点列表
+     *
+     * @param isSopPoints SOP隔离点
+     * @return SOP隔离点集合
+     */
+    List<IsSopPoints> selectIsSopPointsList(IsSopPoints isSopPoints);
+
+    /**
+     * 新增SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    int insertIsSopPoints(IsSopPoints isSopPoints);
+
+    /**
+     * 修改SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    int updateIsSopPoints(IsSopPoints isSopPoints);
+
+    /**
+     * 删除SOP隔离点
+     *
+     * @param recordId SOP隔离点主键
+     * @return 结果
+     */
+    int deleteIsSopPointsByRecordId(Long recordId);
+
+    /**
+     * 批量删除SOP隔离点
+     *
+     * @param recordIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsSopPointsByRecordIds(Long[] recordIds);
+}

+ 65 - 0
ktg-iscs/src/main/java/com/ktg/iscs/mapper/IsWorkareaMapper.java

@@ -0,0 +1,65 @@
+package com.ktg.iscs.mapper;
+
+import com.ktg.common.mapper.BaseMapperX;
+import com.ktg.iscs.domain.IsWorkarea;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 工作区域Mapper接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Mapper
+public interface IsWorkareaMapper extends BaseMapperX<IsWorkarea>
+{
+    /**
+     * 查询工作区域
+     *
+     * @param workareaId 工作区域主键
+     * @return 工作区域
+     */
+    IsWorkarea selectIsWorkareaByWorkareaId(Long workareaId);
+
+    /**
+     * 查询工作区域列表
+     *
+     * @param isWorkarea 工作区域
+     * @return 工作区域集合
+     */
+    List<IsWorkarea> selectIsWorkareaList(IsWorkarea isWorkarea);
+
+    /**
+     * 新增工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    int insertIsWorkarea(IsWorkarea isWorkarea);
+
+    /**
+     * 修改工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    int updateIsWorkarea(IsWorkarea isWorkarea);
+
+    /**
+     * 删除工作区域
+     *
+     * @param workareaId 工作区域主键
+     * @return 结果
+     */
+    int deleteIsWorkareaByWorkareaId(Long workareaId);
+
+    /**
+     * 批量删除工作区域
+     *
+     * @param workareaIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteIsWorkareaByWorkareaIds(Long[] workareaIds);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsIsolationPointService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsIsolationPoint;
+
+import java.util.List;
+
+/**
+ * 隔离点Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsIsolationPointService extends IService<IsIsolationPoint>
+{
+    /**
+     * 查询隔离点
+     *
+     * @param pointId 隔离点主键
+     * @return 隔离点
+     */
+    IsIsolationPoint selectIsIsolationPointByPointId(Long pointId);
+
+    /**
+     * 查询隔离点列表
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 隔离点集合
+     */
+    List<IsIsolationPoint> selectIsIsolationPointList(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 新增隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    int insertIsIsolationPoint(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 修改隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    int updateIsIsolationPoint(IsIsolationPoint isIsolationPoint);
+
+    /**
+     * 批量删除隔离点
+     *
+     * @param pointIds 需要删除的隔离点主键集合
+     * @return 结果
+     */
+    int deleteIsIsolationPointByPointIds(String pointIds);
+
+    /**
+     * 删除隔离点信息
+     *
+     * @param pointId 隔离点主键
+     * @return 结果
+     */
+    int deleteIsIsolationPointByPointId(Long pointId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketPointsService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsJobTicketPoints;
+
+import java.util.List;
+
+/**
+ * 作业票隔离点Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsJobTicketPointsService extends IService<IsJobTicketPoints>
+{
+    /**
+     * 查询作业票隔离点
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 作业票隔离点
+     */
+    IsJobTicketPoints selectIsJobTicketPointsByRecordId(Long recordId);
+
+    /**
+     * 查询作业票隔离点列表
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 作业票隔离点集合
+     */
+    List<IsJobTicketPoints> selectIsJobTicketPointsList(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 新增作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    int insertIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 修改作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    int updateIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints);
+
+    /**
+     * 批量删除作业票隔离点
+     *
+     * @param recordIds 需要删除的作业票隔离点主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketPointsByRecordIds(String recordIds);
+
+    /**
+     * 删除作业票隔离点信息
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 结果
+     */
+    int deleteIsJobTicketPointsByRecordId(Long recordId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsJobTicket;
+
+import java.util.List;
+
+/**
+ * 作业票Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsJobTicketService extends IService<IsJobTicket>
+{
+    /**
+     * 查询作业票
+     *
+     * @param ticketId 作业票主键
+     * @return 作业票
+     */
+    IsJobTicket selectIsJobTicketByTicketId(Long ticketId);
+
+    /**
+     * 查询作业票列表
+     *
+     * @param isJobTicket 作业票
+     * @return 作业票集合
+     */
+    List<IsJobTicket> selectIsJobTicketList(IsJobTicket isJobTicket);
+
+    /**
+     * 新增作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    int insertIsJobTicket(IsJobTicket isJobTicket);
+
+    /**
+     * 修改作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    int updateIsJobTicket(IsJobTicket isJobTicket);
+
+    /**
+     * 批量删除作业票
+     *
+     * @param ticketIds 需要删除的作业票主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketByTicketIds(String ticketIds);
+
+    /**
+     * 删除作业票信息
+     *
+     * @param ticketId 作业票主键
+     * @return 结果
+     */
+    int deleteIsJobTicketByTicketId(Long ticketId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsJobTicketUserService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsJobTicketUser;
+
+import java.util.List;
+
+/**
+ * 作业票用户Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsJobTicketUserService extends IService<IsJobTicketUser>
+{
+    /**
+     * 查询作业票用户
+     *
+     * @param recordId 作业票用户主键
+     * @return 作业票用户
+     */
+    IsJobTicketUser selectIsJobTicketUserByRecordId(Long recordId);
+
+    /**
+     * 查询作业票用户列表
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 作业票用户集合
+     */
+    List<IsJobTicketUser> selectIsJobTicketUserList(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 新增作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    int insertIsJobTicketUser(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 修改作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    int updateIsJobTicketUser(IsJobTicketUser isJobTicketUser);
+
+    /**
+     * 批量删除作业票用户
+     *
+     * @param recordIds 需要删除的作业票用户主键集合
+     * @return 结果
+     */
+    int deleteIsJobTicketUserByRecordIds(String recordIds);
+
+    /**
+     * 删除作业票用户信息
+     *
+     * @param recordId 作业票用户主键
+     * @return 结果
+     */
+    int deleteIsJobTicketUserByRecordId(Long recordId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsSopPointsService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsSopPoints;
+
+import java.util.List;
+
+/**
+ * SOP隔离点Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsSopPointsService extends IService<IsSopPoints>
+{
+    /**
+     * 查询SOP隔离点
+     *
+     * @param recordId SOP隔离点主键
+     * @return SOP隔离点
+     */
+    IsSopPoints selectIsSopPointsByRecordId(Long recordId);
+
+    /**
+     * 查询SOP隔离点列表
+     *
+     * @param isSopPoints SOP隔离点
+     * @return SOP隔离点集合
+     */
+    List<IsSopPoints> selectIsSopPointsList(IsSopPoints isSopPoints);
+
+    /**
+     * 新增SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    int insertIsSopPoints(IsSopPoints isSopPoints);
+
+    /**
+     * 修改SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    int updateIsSopPoints(IsSopPoints isSopPoints);
+
+    /**
+     * 批量删除SOP隔离点
+     *
+     * @param recordIds 需要删除的SOP隔离点主键集合
+     * @return 结果
+     */
+    int deleteIsSopPointsByRecordIds(String recordIds);
+
+    /**
+     * 删除SOP隔离点信息
+     *
+     * @param recordId SOP隔离点主键
+     * @return 结果
+     */
+    int deleteIsSopPointsByRecordId(Long recordId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsSopService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsSop;
+
+import java.util.List;
+
+/**
+ * SOP信息Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsSopService extends IService<IsSop>
+{
+    /**
+     * 查询SOP信息
+     *
+     * @param sopId SOP信息主键
+     * @return SOP信息
+     */
+    IsSop selectIsSopBySopId(Long sopId);
+
+    /**
+     * 查询SOP信息列表
+     *
+     * @param isSop SOP信息
+     * @return SOP信息集合
+     */
+    List<IsSop> selectIsSopList(IsSop isSop);
+
+    /**
+     * 新增SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    int insertIsSop(IsSop isSop);
+
+    /**
+     * 修改SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    int updateIsSop(IsSop isSop);
+
+    /**
+     * 批量删除SOP信息
+     *
+     * @param sopIds 需要删除的SOP信息主键集合
+     * @return 结果
+     */
+    int deleteIsSopBySopIds(String sopIds);
+
+    /**
+     * 删除SOP信息信息
+     *
+     * @param sopId SOP信息主键
+     * @return 结果
+     */
+    int deleteIsSopBySopId(Long sopId);
+}

+ 63 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/IIsWorkareaService.java

@@ -0,0 +1,63 @@
+package com.ktg.iscs.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ktg.iscs.domain.IsWorkarea;
+
+import java.util.List;
+
+/**
+ * 工作区域Service接口
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+public interface IIsWorkareaService extends IService<IsWorkarea>
+{
+    /**
+     * 查询工作区域
+     *
+     * @param workareaId 工作区域主键
+     * @return 工作区域
+     */
+    IsWorkarea selectIsWorkareaByWorkareaId(Long workareaId);
+
+    /**
+     * 查询工作区域列表
+     *
+     * @param isWorkarea 工作区域
+     * @return 工作区域集合
+     */
+    List<IsWorkarea> selectIsWorkareaList(IsWorkarea isWorkarea);
+
+    /**
+     * 新增工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    int insertIsWorkarea(IsWorkarea isWorkarea);
+
+    /**
+     * 修改工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    int updateIsWorkarea(IsWorkarea isWorkarea);
+
+    /**
+     * 批量删除工作区域
+     *
+     * @param workareaIds 需要删除的工作区域主键集合
+     * @return 结果
+     */
+    int deleteIsWorkareaByWorkareaIds(String workareaIds);
+
+    /**
+     * 删除工作区域信息
+     *
+     * @param workareaId 工作区域主键
+     * @return 结果
+     */
+    int deleteIsWorkareaByWorkareaId(Long workareaId);
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsIsolationPointServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsIsolationPoint;
+import com.ktg.iscs.mapper.IsIsolationPointMapper;
+import com.ktg.iscs.service.IIsIsolationPointService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 隔离点Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsIsolationPointServiceImpl extends ServiceImpl<IsIsolationPointMapper, IsIsolationPoint> implements IIsIsolationPointService
+{
+    @Autowired
+    private IsIsolationPointMapper isIsolationPointMapper;
+
+    /**
+     * 查询隔离点
+     *
+     * @param pointId 隔离点主键
+     * @return 隔离点
+     */
+    @Override
+    public IsIsolationPoint selectIsIsolationPointByPointId(Long pointId)
+    {
+        return isIsolationPointMapper.selectIsIsolationPointByPointId(pointId);
+    }
+
+    /**
+     * 查询隔离点列表
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 隔离点
+     */
+    @Override
+    public List<IsIsolationPoint> selectIsIsolationPointList(IsIsolationPoint isIsolationPoint)
+    {
+        return isIsolationPointMapper.selectIsIsolationPointList(isIsolationPoint);
+    }
+
+    /**
+     * 新增隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    @Override
+    public int insertIsIsolationPoint(IsIsolationPoint isIsolationPoint)
+    {
+        isIsolationPoint.setCreateTime(DateUtils.getNowDate());
+        return isIsolationPointMapper.insertIsIsolationPoint(isIsolationPoint);
+    }
+
+    /**
+     * 修改隔离点
+     *
+     * @param isIsolationPoint 隔离点
+     * @return 结果
+     */
+    @Override
+    public int updateIsIsolationPoint(IsIsolationPoint isIsolationPoint)
+    {
+        isIsolationPoint.setUpdateTime(DateUtils.getNowDate());
+        return isIsolationPointMapper.updateIsIsolationPoint(isIsolationPoint);
+    }
+
+    /**
+     * 批量删除隔离点
+     *
+     * @param pointIds 需要删除的隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsIsolationPointByPointIds(String pointIds)
+    {
+        Assert.notBlank(pointIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(pointIds);
+        return isIsolationPointMapper.deleteIsIsolationPointByPointIds(longIds);
+    }
+
+    /**
+     * 删除隔离点信息
+     *
+     * @param pointId 隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsIsolationPointByPointId(Long pointId)
+    {
+        return isIsolationPointMapper.deleteIsIsolationPointByPointId(pointId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketPointsServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsJobTicketPoints;
+import com.ktg.iscs.mapper.IsJobTicketPointsMapper;
+import com.ktg.iscs.service.IIsJobTicketPointsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 作业票隔离点Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsJobTicketPointsServiceImpl extends ServiceImpl<IsJobTicketPointsMapper, IsJobTicketPoints> implements IIsJobTicketPointsService
+{
+    @Autowired
+    private IsJobTicketPointsMapper isJobTicketPointsMapper;
+
+    /**
+     * 查询作业票隔离点
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 作业票隔离点
+     */
+    @Override
+    public IsJobTicketPoints selectIsJobTicketPointsByRecordId(Long recordId)
+    {
+        return isJobTicketPointsMapper.selectIsJobTicketPointsByRecordId(recordId);
+    }
+
+    /**
+     * 查询作业票隔离点列表
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 作业票隔离点
+     */
+    @Override
+    public List<IsJobTicketPoints> selectIsJobTicketPointsList(IsJobTicketPoints isJobTicketPoints)
+    {
+        return isJobTicketPointsMapper.selectIsJobTicketPointsList(isJobTicketPoints);
+    }
+
+    /**
+     * 新增作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    @Override
+    public int insertIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints)
+    {
+        isJobTicketPoints.setCreateTime(DateUtils.getNowDate());
+        return isJobTicketPointsMapper.insertIsJobTicketPoints(isJobTicketPoints);
+    }
+
+    /**
+     * 修改作业票隔离点
+     *
+     * @param isJobTicketPoints 作业票隔离点
+     * @return 结果
+     */
+    @Override
+    public int updateIsJobTicketPoints(IsJobTicketPoints isJobTicketPoints)
+    {
+        isJobTicketPoints.setUpdateTime(DateUtils.getNowDate());
+        return isJobTicketPointsMapper.updateIsJobTicketPoints(isJobTicketPoints);
+    }
+
+    /**
+     * 批量删除作业票隔离点
+     *
+     * @param recordIds 需要删除的作业票隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketPointsByRecordIds(String recordIds)
+    {
+        Assert.notBlank(recordIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(recordIds);
+        return isJobTicketPointsMapper.deleteIsJobTicketPointsByRecordIds(longIds);
+    }
+
+    /**
+     * 删除作业票隔离点信息
+     *
+     * @param recordId 作业票隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketPointsByRecordId(Long recordId)
+    {
+        return isJobTicketPointsMapper.deleteIsJobTicketPointsByRecordId(recordId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsJobTicket;
+import com.ktg.iscs.mapper.IsJobTicketMapper;
+import com.ktg.iscs.service.IIsJobTicketService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 作业票Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsJobTicketServiceImpl extends ServiceImpl<IsJobTicketMapper, IsJobTicket> implements IIsJobTicketService
+{
+    @Autowired
+    private IsJobTicketMapper isJobTicketMapper;
+
+    /**
+     * 查询作业票
+     *
+     * @param ticketId 作业票主键
+     * @return 作业票
+     */
+    @Override
+    public IsJobTicket selectIsJobTicketByTicketId(Long ticketId)
+    {
+        return isJobTicketMapper.selectIsJobTicketByTicketId(ticketId);
+    }
+
+    /**
+     * 查询作业票列表
+     *
+     * @param isJobTicket 作业票
+     * @return 作业票
+     */
+    @Override
+    public List<IsJobTicket> selectIsJobTicketList(IsJobTicket isJobTicket)
+    {
+        return isJobTicketMapper.selectIsJobTicketList(isJobTicket);
+    }
+
+    /**
+     * 新增作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    @Override
+    public int insertIsJobTicket(IsJobTicket isJobTicket)
+    {
+        isJobTicket.setCreateTime(DateUtils.getNowDate());
+        return isJobTicketMapper.insertIsJobTicket(isJobTicket);
+    }
+
+    /**
+     * 修改作业票
+     *
+     * @param isJobTicket 作业票
+     * @return 结果
+     */
+    @Override
+    public int updateIsJobTicket(IsJobTicket isJobTicket)
+    {
+        isJobTicket.setUpdateTime(DateUtils.getNowDate());
+        return isJobTicketMapper.updateIsJobTicket(isJobTicket);
+    }
+
+    /**
+     * 批量删除作业票
+     *
+     * @param ticketIds 需要删除的作业票主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketByTicketIds(String ticketIds)
+    {
+        Assert.notBlank(ticketIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(ticketIds);
+        return isJobTicketMapper.deleteIsJobTicketByTicketIds(longIds);
+    }
+
+    /**
+     * 删除作业票信息
+     *
+     * @param ticketId 作业票主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketByTicketId(Long ticketId)
+    {
+        return isJobTicketMapper.deleteIsJobTicketByTicketId(ticketId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsJobTicketUserServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsJobTicketUser;
+import com.ktg.iscs.mapper.IsJobTicketUserMapper;
+import com.ktg.iscs.service.IIsJobTicketUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 作业票用户Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsJobTicketUserServiceImpl extends ServiceImpl<IsJobTicketUserMapper, IsJobTicketUser> implements IIsJobTicketUserService
+{
+    @Autowired
+    private IsJobTicketUserMapper isJobTicketUserMapper;
+
+    /**
+     * 查询作业票用户
+     *
+     * @param recordId 作业票用户主键
+     * @return 作业票用户
+     */
+    @Override
+    public IsJobTicketUser selectIsJobTicketUserByRecordId(Long recordId)
+    {
+        return isJobTicketUserMapper.selectIsJobTicketUserByRecordId(recordId);
+    }
+
+    /**
+     * 查询作业票用户列表
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 作业票用户
+     */
+    @Override
+    public List<IsJobTicketUser> selectIsJobTicketUserList(IsJobTicketUser isJobTicketUser)
+    {
+        return isJobTicketUserMapper.selectIsJobTicketUserList(isJobTicketUser);
+    }
+
+    /**
+     * 新增作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    @Override
+    public int insertIsJobTicketUser(IsJobTicketUser isJobTicketUser)
+    {
+        isJobTicketUser.setCreateTime(DateUtils.getNowDate());
+        return isJobTicketUserMapper.insertIsJobTicketUser(isJobTicketUser);
+    }
+
+    /**
+     * 修改作业票用户
+     *
+     * @param isJobTicketUser 作业票用户
+     * @return 结果
+     */
+    @Override
+    public int updateIsJobTicketUser(IsJobTicketUser isJobTicketUser)
+    {
+        isJobTicketUser.setUpdateTime(DateUtils.getNowDate());
+        return isJobTicketUserMapper.updateIsJobTicketUser(isJobTicketUser);
+    }
+
+    /**
+     * 批量删除作业票用户
+     *
+     * @param recordIds 需要删除的作业票用户主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketUserByRecordIds(String recordIds)
+    {
+        Assert.notBlank(recordIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(recordIds);
+        return isJobTicketUserMapper.deleteIsJobTicketUserByRecordIds(longIds);
+    }
+
+    /**
+     * 删除作业票用户信息
+     *
+     * @param recordId 作业票用户主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsJobTicketUserByRecordId(Long recordId)
+    {
+        return isJobTicketUserMapper.deleteIsJobTicketUserByRecordId(recordId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsSopPointsServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsSopPoints;
+import com.ktg.iscs.mapper.IsSopPointsMapper;
+import com.ktg.iscs.service.IIsSopPointsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * SOP隔离点Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsSopPointsServiceImpl extends ServiceImpl<IsSopPointsMapper, IsSopPoints> implements IIsSopPointsService
+{
+    @Autowired
+    private IsSopPointsMapper isSopPointsMapper;
+
+    /**
+     * 查询SOP隔离点
+     *
+     * @param recordId SOP隔离点主键
+     * @return SOP隔离点
+     */
+    @Override
+    public IsSopPoints selectIsSopPointsByRecordId(Long recordId)
+    {
+        return isSopPointsMapper.selectIsSopPointsByRecordId(recordId);
+    }
+
+    /**
+     * 查询SOP隔离点列表
+     *
+     * @param isSopPoints SOP隔离点
+     * @return SOP隔离点
+     */
+    @Override
+    public List<IsSopPoints> selectIsSopPointsList(IsSopPoints isSopPoints)
+    {
+        return isSopPointsMapper.selectIsSopPointsList(isSopPoints);
+    }
+
+    /**
+     * 新增SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    @Override
+    public int insertIsSopPoints(IsSopPoints isSopPoints)
+    {
+        isSopPoints.setCreateTime(DateUtils.getNowDate());
+        return isSopPointsMapper.insertIsSopPoints(isSopPoints);
+    }
+
+    /**
+     * 修改SOP隔离点
+     *
+     * @param isSopPoints SOP隔离点
+     * @return 结果
+     */
+    @Override
+    public int updateIsSopPoints(IsSopPoints isSopPoints)
+    {
+        isSopPoints.setUpdateTime(DateUtils.getNowDate());
+        return isSopPointsMapper.updateIsSopPoints(isSopPoints);
+    }
+
+    /**
+     * 批量删除SOP隔离点
+     *
+     * @param recordIds 需要删除的SOP隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsSopPointsByRecordIds(String recordIds)
+    {
+        Assert.notBlank(recordIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(recordIds);
+        return isSopPointsMapper.deleteIsSopPointsByRecordIds(longIds);
+    }
+
+    /**
+     * 删除SOP隔离点信息
+     *
+     * @param recordId SOP隔离点主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsSopPointsByRecordId(Long recordId)
+    {
+        return isSopPointsMapper.deleteIsSopPointsByRecordId(recordId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsSopServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsSop;
+import com.ktg.iscs.mapper.IsSopMapper;
+import com.ktg.iscs.service.IIsSopService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * SOP信息Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsSopServiceImpl extends ServiceImpl<IsSopMapper, IsSop> implements IIsSopService
+{
+    @Autowired
+    private IsSopMapper isSopMapper;
+
+    /**
+     * 查询SOP信息
+     *
+     * @param sopId SOP信息主键
+     * @return SOP信息
+     */
+    @Override
+    public IsSop selectIsSopBySopId(Long sopId)
+    {
+        return isSopMapper.selectIsSopBySopId(sopId);
+    }
+
+    /**
+     * 查询SOP信息列表
+     *
+     * @param isSop SOP信息
+     * @return SOP信息
+     */
+    @Override
+    public List<IsSop> selectIsSopList(IsSop isSop)
+    {
+        return isSopMapper.selectIsSopList(isSop);
+    }
+
+    /**
+     * 新增SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    @Override
+    public int insertIsSop(IsSop isSop)
+    {
+        isSop.setCreateTime(DateUtils.getNowDate());
+        return isSopMapper.insertIsSop(isSop);
+    }
+
+    /**
+     * 修改SOP信息
+     *
+     * @param isSop SOP信息
+     * @return 结果
+     */
+    @Override
+    public int updateIsSop(IsSop isSop)
+    {
+        isSop.setUpdateTime(DateUtils.getNowDate());
+        return isSopMapper.updateIsSop(isSop);
+    }
+
+    /**
+     * 批量删除SOP信息
+     *
+     * @param sopIds 需要删除的SOP信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsSopBySopIds(String sopIds)
+    {
+        Assert.notBlank(sopIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(sopIds);
+        return isSopMapper.deleteIsSopBySopIds(longIds);
+    }
+
+    /**
+     * 删除SOP信息信息
+     *
+     * @param sopId SOP信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsSopBySopId(Long sopId)
+    {
+        return isSopMapper.deleteIsSopBySopId(sopId);
+    }
+}

+ 102 - 0
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsWorkareaServiceImpl.java

@@ -0,0 +1,102 @@
+package com.ktg.iscs.service.impl;
+
+import cn.hutool.core.lang.Assert;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ktg.common.core.text.Convert;
+import com.ktg.common.utils.DateUtils;
+import com.ktg.iscs.domain.IsWorkarea;
+import com.ktg.iscs.mapper.IsWorkareaMapper;
+import com.ktg.iscs.service.IIsWorkareaService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 工作区域Service业务层处理
+ *
+ * @author cgj
+ * @date 2024-10-18
+ */
+@Service
+public class IsWorkareaServiceImpl extends ServiceImpl<IsWorkareaMapper, IsWorkarea> implements IIsWorkareaService
+{
+    @Autowired
+    private IsWorkareaMapper isWorkareaMapper;
+
+    /**
+     * 查询工作区域
+     *
+     * @param workareaId 工作区域主键
+     * @return 工作区域
+     */
+    @Override
+    public IsWorkarea selectIsWorkareaByWorkareaId(Long workareaId)
+    {
+        return isWorkareaMapper.selectIsWorkareaByWorkareaId(workareaId);
+    }
+
+    /**
+     * 查询工作区域列表
+     *
+     * @param isWorkarea 工作区域
+     * @return 工作区域
+     */
+    @Override
+    public List<IsWorkarea> selectIsWorkareaList(IsWorkarea isWorkarea)
+    {
+        return isWorkareaMapper.selectIsWorkareaList(isWorkarea);
+    }
+
+    /**
+     * 新增工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    @Override
+    public int insertIsWorkarea(IsWorkarea isWorkarea)
+    {
+        isWorkarea.setCreateTime(DateUtils.getNowDate());
+        return isWorkareaMapper.insertIsWorkarea(isWorkarea);
+    }
+
+    /**
+     * 修改工作区域
+     *
+     * @param isWorkarea 工作区域
+     * @return 结果
+     */
+    @Override
+    public int updateIsWorkarea(IsWorkarea isWorkarea)
+    {
+        isWorkarea.setUpdateTime(DateUtils.getNowDate());
+        return isWorkareaMapper.updateIsWorkarea(isWorkarea);
+    }
+
+    /**
+     * 批量删除工作区域
+     *
+     * @param workareaIds 需要删除的工作区域主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsWorkareaByWorkareaIds(String workareaIds)
+    {
+        Assert.notBlank(workareaIds, "请选择需要删除的数据!");
+        Long[] longIds = Convert.toLongArray(workareaIds);
+        return isWorkareaMapper.deleteIsWorkareaByWorkareaIds(longIds);
+    }
+
+    /**
+     * 删除工作区域信息
+     *
+     * @param workareaId 工作区域主键
+     * @return 结果
+     */
+    @Override
+    public int deleteIsWorkareaByWorkareaId(Long workareaId)
+    {
+        return isWorkareaMapper.deleteIsWorkareaByWorkareaId(workareaId);
+    }
+}

+ 116 - 0
ktg-iscs/src/main/resources/mapper/IsIsolationPointMapper.xml

@@ -0,0 +1,116 @@
+<?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.ktg.iscs.mapper.IsIsolationPointMapper">
+    
+    <resultMap type="IsIsolationPoint" id="IsIsolationPointResult">
+        <result property="pointId"    column="point_id"    />
+        <result property="pointCode"    column="point_code"    />
+        <result property="pointName"    column="point_name"    />
+        <result property="pointType"    column="point_type"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="powerType"    column="power_type"    />
+        <result property="isolationMethod"    column="isolation_method"    />
+        <result property="pointIcon"    column="point_icon"    />
+        <result property="pointPicture"    column="point_picture"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsIsolationPointVo">
+        select point_id, point_code, point_name, point_type, workshop_id, workarea_id, power_type, isolation_method, point_icon, point_picture, del_flag, create_by, create_time, update_time, update_by from is_isolation_point
+    </sql>
+
+    <select id="selectIsIsolationPointList" parameterType="IsIsolationPoint" resultMap="IsIsolationPointResult">
+        <include refid="selectIsIsolationPointVo"/>
+        <where>  
+            <if test="pointCode != null  and pointCode != ''"> and point_code = #{pointCode}</if>
+            <if test="pointName != null  and pointName != ''"> and point_name like concat('%', #{pointName}, '%')</if>
+            <if test="pointType != null  and pointType != ''"> and point_type = #{pointType}</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="workareaId != null "> and workarea_id = #{workareaId}</if>
+            <if test="powerType != null  and powerType != ''"> and power_type = #{powerType}</if>
+            <if test="isolationMethod != null  and isolationMethod != ''"> and isolation_method = #{isolationMethod}</if>
+            <if test="pointIcon != null  and pointIcon != ''"> and point_icon = #{pointIcon}</if>
+            <if test="pointPicture != null  and pointPicture != ''"> and point_picture = #{pointPicture}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsIsolationPointByPointId" parameterType="Long" resultMap="IsIsolationPointResult">
+        <include refid="selectIsIsolationPointVo"/>
+        where point_id = #{pointId}
+    </select>
+        
+    <insert id="insertIsIsolationPoint" parameterType="IsIsolationPoint" useGeneratedKeys="true" keyProperty="pointId">
+        insert into is_isolation_point
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="pointCode != null and pointCode != ''">point_code,</if>
+            <if test="pointName != null and pointName != ''">point_name,</if>
+            <if test="pointType != null">point_type,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="workareaId != null">workarea_id,</if>
+            <if test="powerType != null">power_type,</if>
+            <if test="isolationMethod != null">isolation_method,</if>
+            <if test="pointIcon != null">point_icon,</if>
+            <if test="pointPicture != null">point_picture,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="pointCode != null and pointCode != ''">#{pointCode},</if>
+            <if test="pointName != null and pointName != ''">#{pointName},</if>
+            <if test="pointType != null">#{pointType},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="workareaId != null">#{workareaId},</if>
+            <if test="powerType != null">#{powerType},</if>
+            <if test="isolationMethod != null">#{isolationMethod},</if>
+            <if test="pointIcon != null">#{pointIcon},</if>
+            <if test="pointPicture != null">#{pointPicture},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsIsolationPoint" parameterType="IsIsolationPoint">
+        update is_isolation_point
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="pointCode != null and pointCode != ''">point_code = #{pointCode},</if>
+            <if test="pointName != null and pointName != ''">point_name = #{pointName},</if>
+            <if test="pointType != null">point_type = #{pointType},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="workareaId != null">workarea_id = #{workareaId},</if>
+            <if test="powerType != null">power_type = #{powerType},</if>
+            <if test="isolationMethod != null">isolation_method = #{isolationMethod},</if>
+            <if test="pointIcon != null">point_icon = #{pointIcon},</if>
+            <if test="pointPicture != null">point_picture = #{pointPicture},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where point_id = #{pointId}
+    </update>
+
+    <delete id="deleteIsIsolationPointByPointId" parameterType="Long">
+        delete from is_isolation_point where point_id = #{pointId}
+    </delete>
+
+    <delete id="deleteIsIsolationPointByPointIds" parameterType="String">
+        delete from is_isolation_point where point_id in 
+        <foreach item="pointId" collection="array" open="(" separator="," close=")">
+            #{pointId}
+        </foreach>
+    </delete>
+</mapper>

+ 121 - 0
ktg-iscs/src/main/resources/mapper/IsJobTicketMapper.xml

@@ -0,0 +1,121 @@
+<?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.ktg.iscs.mapper.IsJobTicketMapper">
+    
+    <resultMap type="IsJobTicket" id="IsJobTicketResult">
+        <result property="ticketId"    column="ticket_id"    />
+        <result property="ticketCode"    column="ticket_code"    />
+        <result property="ticketName"    column="ticket_name"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="sopId"    column="sop_id"    />
+        <result property="ticketType"    column="ticket_type"    />
+        <result property="ticketContent"    column="ticket_content"    />
+        <result property="ticketStatus"    column="ticket_status"    />
+        <result property="ticketStartTime"    column="ticket_start_time"    />
+        <result property="ticketEndTime"    column="ticket_end_time"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsJobTicketVo">
+        select ticket_id, ticket_code, ticket_name, workshop_id, workarea_id, sop_id, ticket_type, ticket_content, ticket_status, ticket_start_time, ticket_end_time, del_flag, create_by, create_time, update_time, update_by from is_job_ticket
+    </sql>
+
+    <select id="selectIsJobTicketList" parameterType="IsJobTicket" resultMap="IsJobTicketResult">
+        <include refid="selectIsJobTicketVo"/>
+        <where>  
+            <if test="ticketCode != null  and ticketCode != ''"> and ticket_code = #{ticketCode}</if>
+            <if test="ticketName != null  and ticketName != ''"> and ticket_name like concat('%', #{ticketName}, '%')</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="workareaId != null "> and workarea_id = #{workareaId}</if>
+            <if test="sopId != null "> and sop_id = #{sopId}</if>
+            <if test="ticketType != null  and ticketType != ''"> and ticket_type = #{ticketType}</if>
+            <if test="ticketContent != null  and ticketContent != ''"> and ticket_content = #{ticketContent}</if>
+            <if test="ticketStatus != null  and ticketStatus != ''"> and ticket_status = #{ticketStatus}</if>
+            <if test="ticketStartTime != null "> and ticket_start_time = #{ticketStartTime}</if>
+            <if test="ticketEndTime != null "> and ticket_end_time = #{ticketEndTime}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsJobTicketByTicketId" parameterType="Long" resultMap="IsJobTicketResult">
+        <include refid="selectIsJobTicketVo"/>
+        where ticket_id = #{ticketId}
+    </select>
+        
+    <insert id="insertIsJobTicket" parameterType="IsJobTicket" useGeneratedKeys="true" keyProperty="ticketId">
+        insert into is_job_ticket
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ticketCode != null and ticketCode != ''">ticket_code,</if>
+            <if test="ticketName != null and ticketName != ''">ticket_name,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="workareaId != null">workarea_id,</if>
+            <if test="sopId != null">sop_id,</if>
+            <if test="ticketType != null">ticket_type,</if>
+            <if test="ticketContent != null">ticket_content,</if>
+            <if test="ticketStatus != null">ticket_status,</if>
+            <if test="ticketStartTime != null">ticket_start_time,</if>
+            <if test="ticketEndTime != null">ticket_end_time,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ticketCode != null and ticketCode != ''">#{ticketCode},</if>
+            <if test="ticketName != null and ticketName != ''">#{ticketName},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="workareaId != null">#{workareaId},</if>
+            <if test="sopId != null">#{sopId},</if>
+            <if test="ticketType != null">#{ticketType},</if>
+            <if test="ticketContent != null">#{ticketContent},</if>
+            <if test="ticketStatus != null">#{ticketStatus},</if>
+            <if test="ticketStartTime != null">#{ticketStartTime},</if>
+            <if test="ticketEndTime != null">#{ticketEndTime},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsJobTicket" parameterType="IsJobTicket">
+        update is_job_ticket
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="ticketCode != null and ticketCode != ''">ticket_code = #{ticketCode},</if>
+            <if test="ticketName != null and ticketName != ''">ticket_name = #{ticketName},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="workareaId != null">workarea_id = #{workareaId},</if>
+            <if test="sopId != null">sop_id = #{sopId},</if>
+            <if test="ticketType != null">ticket_type = #{ticketType},</if>
+            <if test="ticketContent != null">ticket_content = #{ticketContent},</if>
+            <if test="ticketStatus != null">ticket_status = #{ticketStatus},</if>
+            <if test="ticketStartTime != null">ticket_start_time = #{ticketStartTime},</if>
+            <if test="ticketEndTime != null">ticket_end_time = #{ticketEndTime},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where ticket_id = #{ticketId}
+    </update>
+
+    <delete id="deleteIsJobTicketByTicketId" parameterType="Long">
+        delete from is_job_ticket where ticket_id = #{ticketId}
+    </delete>
+
+    <delete id="deleteIsJobTicketByTicketIds" parameterType="String">
+        delete from is_job_ticket where ticket_id in 
+        <foreach item="ticketId" collection="array" open="(" separator="," close=")">
+            #{ticketId}
+        </foreach>
+    </delete>
+</mapper>

+ 96 - 0
ktg-iscs/src/main/resources/mapper/IsJobTicketPointsMapper.xml

@@ -0,0 +1,96 @@
+<?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.ktg.iscs.mapper.IsJobTicketPointsMapper">
+    
+    <resultMap type="IsJobTicketPoints" id="IsJobTicketPointsResult">
+        <result property="recordId"    column="record_id"    />
+        <result property="ticketId"    column="ticket_id"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="pointId"    column="point_id"    />
+        <result property="pointStatus"    column="point_status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsJobTicketPointsVo">
+        select record_id, ticket_id, workshop_id, workarea_id, point_id, point_status, del_flag, create_by, create_time, update_time, update_by from is_job_ticket_points
+    </sql>
+
+    <select id="selectIsJobTicketPointsList" parameterType="IsJobTicketPoints" resultMap="IsJobTicketPointsResult">
+        <include refid="selectIsJobTicketPointsVo"/>
+        <where>  
+            <if test="ticketId != null "> and ticket_id = #{ticketId}</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="workareaId != null "> and workarea_id = #{workareaId}</if>
+            <if test="pointId != null "> and point_id = #{pointId}</if>
+            <if test="pointStatus != null  and pointStatus != ''"> and point_status = #{pointStatus}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsJobTicketPointsByRecordId" parameterType="Long" resultMap="IsJobTicketPointsResult">
+        <include refid="selectIsJobTicketPointsVo"/>
+        where record_id = #{recordId}
+    </select>
+        
+    <insert id="insertIsJobTicketPoints" parameterType="IsJobTicketPoints" useGeneratedKeys="true" keyProperty="recordId">
+        insert into is_job_ticket_points
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ticketId != null">ticket_id,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="workareaId != null">workarea_id,</if>
+            <if test="pointId != null">point_id,</if>
+            <if test="pointStatus != null">point_status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ticketId != null">#{ticketId},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="workareaId != null">#{workareaId},</if>
+            <if test="pointId != null">#{pointId},</if>
+            <if test="pointStatus != null">#{pointStatus},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsJobTicketPoints" parameterType="IsJobTicketPoints">
+        update is_job_ticket_points
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="ticketId != null">ticket_id = #{ticketId},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="workareaId != null">workarea_id = #{workareaId},</if>
+            <if test="pointId != null">point_id = #{pointId},</if>
+            <if test="pointStatus != null">point_status = #{pointStatus},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where record_id = #{recordId}
+    </update>
+
+    <delete id="deleteIsJobTicketPointsByRecordId" parameterType="Long">
+        delete from is_job_ticket_points where record_id = #{recordId}
+    </delete>
+
+    <delete id="deleteIsJobTicketPointsByRecordIds" parameterType="String">
+        delete from is_job_ticket_points where record_id in 
+        <foreach item="recordId" collection="array" open="(" separator="," close=")">
+            #{recordId}
+        </foreach>
+    </delete>
+</mapper>

+ 96 - 0
ktg-iscs/src/main/resources/mapper/IsJobTicketUserMapper.xml

@@ -0,0 +1,96 @@
+<?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.ktg.iscs.mapper.IsJobTicketUserMapper">
+    
+    <resultMap type="IsJobTicketUser" id="IsJobTicketUserResult">
+        <result property="recordId"    column="record_id"    />
+        <result property="ticketId"    column="ticket_id"    />
+        <result property="userId"    column="user_id"    />
+        <result property="userName"    column="user_name"    />
+        <result property="userType"    column="user_type"    />
+        <result property="userRole"    column="user_role"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsJobTicketUserVo">
+        select record_id, ticket_id, user_id, user_name, user_type, user_role, del_flag, create_by, create_time, update_time, update_by from is_job_ticket_user
+    </sql>
+
+    <select id="selectIsJobTicketUserList" parameterType="IsJobTicketUser" resultMap="IsJobTicketUserResult">
+        <include refid="selectIsJobTicketUserVo"/>
+        <where>  
+            <if test="ticketId != null "> and ticket_id = #{ticketId}</if>
+            <if test="userId != null "> and user_id = #{userId}</if>
+            <if test="userName != null  and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
+            <if test="userType != null  and userType != ''"> and user_type = #{userType}</if>
+            <if test="userRole != null  and userRole != ''"> and user_role = #{userRole}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsJobTicketUserByRecordId" parameterType="Long" resultMap="IsJobTicketUserResult">
+        <include refid="selectIsJobTicketUserVo"/>
+        where record_id = #{recordId}
+    </select>
+        
+    <insert id="insertIsJobTicketUser" parameterType="IsJobTicketUser" useGeneratedKeys="true" keyProperty="recordId">
+        insert into is_job_ticket_user
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="ticketId != null">ticket_id,</if>
+            <if test="userId != null">user_id,</if>
+            <if test="userName != null">user_name,</if>
+            <if test="userType != null">user_type,</if>
+            <if test="userRole != null">user_role,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="ticketId != null">#{ticketId},</if>
+            <if test="userId != null">#{userId},</if>
+            <if test="userName != null">#{userName},</if>
+            <if test="userType != null">#{userType},</if>
+            <if test="userRole != null">#{userRole},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsJobTicketUser" parameterType="IsJobTicketUser">
+        update is_job_ticket_user
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="ticketId != null">ticket_id = #{ticketId},</if>
+            <if test="userId != null">user_id = #{userId},</if>
+            <if test="userName != null">user_name = #{userName},</if>
+            <if test="userType != null">user_type = #{userType},</if>
+            <if test="userRole != null">user_role = #{userRole},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where record_id = #{recordId}
+    </update>
+
+    <delete id="deleteIsJobTicketUserByRecordId" parameterType="Long">
+        delete from is_job_ticket_user where record_id = #{recordId}
+    </delete>
+
+    <delete id="deleteIsJobTicketUserByRecordIds" parameterType="String">
+        delete from is_job_ticket_user where record_id in 
+        <foreach item="recordId" collection="array" open="(" separator="," close=")">
+            #{recordId}
+        </foreach>
+    </delete>
+</mapper>

+ 106 - 0
ktg-iscs/src/main/resources/mapper/IsSopMapper.xml

@@ -0,0 +1,106 @@
+<?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.ktg.iscs.mapper.IsSopMapper">
+    
+    <resultMap type="IsSop" id="IsSopResult">
+        <result property="sopId"    column="sop_id"    />
+        <result property="sopCode"    column="sop_code"    />
+        <result property="sopName"    column="sop_name"    />
+        <result property="sopType"    column="sop_type"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="sopContent"    column="sop_content"    />
+        <result property="sopStatus"    column="sop_status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsSopVo">
+        select sop_id, sop_code, sop_name, sop_type, workshop_id, workarea_id, sop_content, sop_status, del_flag, create_by, create_time, update_time, update_by from is_sop
+    </sql>
+
+    <select id="selectIsSopList" parameterType="IsSop" resultMap="IsSopResult">
+        <include refid="selectIsSopVo"/>
+        <where>  
+            <if test="sopCode != null  and sopCode != ''"> and sop_code = #{sopCode}</if>
+            <if test="sopName != null  and sopName != ''"> and sop_name like concat('%', #{sopName}, '%')</if>
+            <if test="sopType != null  and sopType != ''"> and sop_type = #{sopType}</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="workareaId != null "> and workarea_id = #{workareaId}</if>
+            <if test="sopContent != null  and sopContent != ''"> and sop_content = #{sopContent}</if>
+            <if test="sopStatus != null  and sopStatus != ''"> and sop_status = #{sopStatus}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsSopBySopId" parameterType="Long" resultMap="IsSopResult">
+        <include refid="selectIsSopVo"/>
+        where sop_id = #{sopId}
+    </select>
+        
+    <insert id="insertIsSop" parameterType="IsSop" useGeneratedKeys="true" keyProperty="sopId">
+        insert into is_sop
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="sopCode != null and sopCode != ''">sop_code,</if>
+            <if test="sopName != null and sopName != ''">sop_name,</if>
+            <if test="sopType != null">sop_type,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="workareaId != null">workarea_id,</if>
+            <if test="sopContent != null">sop_content,</if>
+            <if test="sopStatus != null">sop_status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="sopCode != null and sopCode != ''">#{sopCode},</if>
+            <if test="sopName != null and sopName != ''">#{sopName},</if>
+            <if test="sopType != null">#{sopType},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="workareaId != null">#{workareaId},</if>
+            <if test="sopContent != null">#{sopContent},</if>
+            <if test="sopStatus != null">#{sopStatus},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsSop" parameterType="IsSop">
+        update is_sop
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="sopCode != null and sopCode != ''">sop_code = #{sopCode},</if>
+            <if test="sopName != null and sopName != ''">sop_name = #{sopName},</if>
+            <if test="sopType != null">sop_type = #{sopType},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="workareaId != null">workarea_id = #{workareaId},</if>
+            <if test="sopContent != null">sop_content = #{sopContent},</if>
+            <if test="sopStatus != null">sop_status = #{sopStatus},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where sop_id = #{sopId}
+    </update>
+
+    <delete id="deleteIsSopBySopId" parameterType="Long">
+        delete from is_sop where sop_id = #{sopId}
+    </delete>
+
+    <delete id="deleteIsSopBySopIds" parameterType="String">
+        delete from is_sop where sop_id in 
+        <foreach item="sopId" collection="array" open="(" separator="," close=")">
+            #{sopId}
+        </foreach>
+    </delete>
+</mapper>

+ 91 - 0
ktg-iscs/src/main/resources/mapper/IsSopPointsMapper.xml

@@ -0,0 +1,91 @@
+<?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.ktg.iscs.mapper.IsSopPointsMapper">
+    
+    <resultMap type="IsSopPoints" id="IsSopPointsResult">
+        <result property="recordId"    column="record_id"    />
+        <result property="sopId"    column="sop_id"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="pointId"    column="point_id"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsSopPointsVo">
+        select record_id, sop_id, workshop_id, workarea_id, point_id, del_flag, create_by, create_time, update_time, update_by from is_sop_points
+    </sql>
+
+    <select id="selectIsSopPointsList" parameterType="IsSopPoints" resultMap="IsSopPointsResult">
+        <include refid="selectIsSopPointsVo"/>
+        <where>  
+            <if test="sopId != null "> and sop_id = #{sopId}</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="workareaId != null "> and workarea_id = #{workareaId}</if>
+            <if test="pointId != null "> and point_id = #{pointId}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsSopPointsByRecordId" parameterType="Long" resultMap="IsSopPointsResult">
+        <include refid="selectIsSopPointsVo"/>
+        where record_id = #{recordId}
+    </select>
+        
+    <insert id="insertIsSopPoints" parameterType="IsSopPoints" useGeneratedKeys="true" keyProperty="recordId">
+        insert into is_sop_points
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="sopId != null">sop_id,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="workareaId != null">workarea_id,</if>
+            <if test="pointId != null">point_id,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="sopId != null">#{sopId},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="workareaId != null">#{workareaId},</if>
+            <if test="pointId != null">#{pointId},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsSopPoints" parameterType="IsSopPoints">
+        update is_sop_points
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="sopId != null">sop_id = #{sopId},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="workareaId != null">workarea_id = #{workareaId},</if>
+            <if test="pointId != null">point_id = #{pointId},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where record_id = #{recordId}
+    </update>
+
+    <delete id="deleteIsSopPointsByRecordId" parameterType="Long">
+        delete from is_sop_points where record_id = #{recordId}
+    </delete>
+
+    <delete id="deleteIsSopPointsByRecordIds" parameterType="String">
+        delete from is_sop_points where record_id in 
+        <foreach item="recordId" collection="array" open="(" separator="," close=")">
+            #{recordId}
+        </foreach>
+    </delete>
+</mapper>

+ 96 - 0
ktg-iscs/src/main/resources/mapper/IsWorkareaMapper.xml

@@ -0,0 +1,96 @@
+<?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.ktg.iscs.mapper.IsWorkareaMapper">
+    
+    <resultMap type="IsWorkarea" id="IsWorkareaResult">
+        <result property="workareaId"    column="workarea_id"    />
+        <result property="workareaCode"    column="workarea_code"    />
+        <result property="workareaName"    column="workarea_name"    />
+        <result property="workareaType"    column="workarea_type"    />
+        <result property="workshopId"    column="workshop_id"    />
+        <result property="map"    column="map"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+    </resultMap>
+
+    <sql id="selectIsWorkareaVo">
+        select workarea_id, workarea_code, workarea_name, workarea_type, workshop_id, map, del_flag, create_by, create_time, update_time, update_by from is_workarea
+    </sql>
+
+    <select id="selectIsWorkareaList" parameterType="IsWorkarea" resultMap="IsWorkareaResult">
+        <include refid="selectIsWorkareaVo"/>
+        <where>  
+            <if test="workareaCode != null  and workareaCode != ''"> and workarea_code = #{workareaCode}</if>
+            <if test="workareaName != null  and workareaName != ''"> and workarea_name like concat('%', #{workareaName}, '%')</if>
+            <if test="workareaType != null  and workareaType != ''"> and workarea_type = #{workareaType}</if>
+            <if test="workshopId != null "> and workshop_id = #{workshopId}</if>
+            <if test="map != null  and map != ''"> and map = #{map}</if>
+        </where>
+    </select>
+    
+    <select id="selectIsWorkareaByWorkareaId" parameterType="Long" resultMap="IsWorkareaResult">
+        <include refid="selectIsWorkareaVo"/>
+        where workarea_id = #{workareaId}
+    </select>
+        
+    <insert id="insertIsWorkarea" parameterType="IsWorkarea" useGeneratedKeys="true" keyProperty="workareaId">
+        insert into is_workarea
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="workareaCode != null and workareaCode != ''">workarea_code,</if>
+            <if test="workareaName != null and workareaName != ''">workarea_name,</if>
+            <if test="workareaType != null">workarea_type,</if>
+            <if test="workshopId != null">workshop_id,</if>
+            <if test="map != null">map,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="workareaCode != null and workareaCode != ''">#{workareaCode},</if>
+            <if test="workareaName != null and workareaName != ''">#{workareaName},</if>
+            <if test="workareaType != null">#{workareaType},</if>
+            <if test="workshopId != null">#{workshopId},</if>
+            <if test="map != null">#{map},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+         </trim>
+    </insert>
+
+    <update id="updateIsWorkarea" parameterType="IsWorkarea">
+        update is_workarea
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="workareaCode != null and workareaCode != ''">workarea_code = #{workareaCode},</if>
+            <if test="workareaName != null and workareaName != ''">workarea_name = #{workareaName},</if>
+            <if test="workareaType != null">workarea_type = #{workareaType},</if>
+            <if test="workshopId != null">workshop_id = #{workshopId},</if>
+            <if test="map != null">map = #{map},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+        </trim>
+        where workarea_id = #{workareaId}
+    </update>
+
+    <delete id="deleteIsWorkareaByWorkareaId" parameterType="Long">
+        delete from is_workarea where workarea_id = #{workareaId}
+    </delete>
+
+    <delete id="deleteIsWorkareaByWorkareaIds" parameterType="String">
+        delete from is_workarea where workarea_id in 
+        <foreach item="workareaId" collection="array" open="(" separator="," close=")">
+            #{workareaId}
+        </foreach>
+    </delete>
+</mapper>