Browse Source

feature 代码提交

xiahan 3 weeks ago
parent
commit
87ab43713b

+ 18 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/dao/AspPersonnelCheckConfigAreaDao.java

@@ -0,0 +1,18 @@
+package com.rongwei.sfcommon.sys.dao;
+
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigAreaDo;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author libai
+* @description 针对表【asp_personnel_check_config_area(人员检查区域配置)】的数据库操作Mapper
+* @createDate 2025-07-11 09:31:16
+* @Entity generator.domain.AspPersonnelCheckConfigArea
+*/
+public interface AspPersonnelCheckConfigAreaDao extends BaseMapper<AspPersonnelCheckConfigAreaDo> {
+
+}
+
+
+
+

+ 24 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/dao/AspPersonnelCheckConfigDao.java

@@ -0,0 +1,24 @@
+package com.rongwei.sfcommon.sys.dao;
+
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigDo;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+* @author libai
+* @description 针对表【asp_personnel_check_config(人员检查配置)】的数据库操作Mapper
+* @createDate 2025-07-11 09:31:16
+* @Entity generator.domain.AspPersonnelCheckConfig
+*/
+public interface AspPersonnelCheckConfigDao extends BaseMapper<AspPersonnelCheckConfigDo> {
+    List<AspPersonnelCheckConfigDo> selectCheckUserInfo(@Param("checkObjId") String checkObjId,
+                                                        @Param("jobAttr") String jobAttr,
+                                                        @Param("checkType")String checkType);
+
+}
+
+
+
+

+ 13 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/service/AspPersonnelCheckConfigAreaService.java

@@ -0,0 +1,13 @@
+package com.rongwei.sfcommon.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigAreaDo;
+
+/**
+ * @author libai
+ * @description 针对表【asp_personnel_check_config_area(人员检查区域配置)】的数据库操作Service
+ * @createDate 2025-07-11 09:31:16
+ */
+public interface AspPersonnelCheckConfigAreaService extends IService<AspPersonnelCheckConfigAreaDo> {
+
+}

+ 13 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/service/AspPersonnelCheckConfigService.java

@@ -0,0 +1,13 @@
+package com.rongwei.sfcommon.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigDo;
+
+/**
+ * @author libai
+ * @description 针对表【asp_personnel_check_config(人员检查配置)】的数据库操作Service
+ * @createDate 2025-07-11 09:31:16
+ */
+public interface AspPersonnelCheckConfigService extends IService<AspPersonnelCheckConfigDo> {
+
+}

+ 23 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/AspPersonnelCheckConfigAreaServiceImpl.java

@@ -0,0 +1,23 @@
+package com.rongwei.sfcommon.sys.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigAreaDo;
+import com.rongwei.sfcommon.sys.dao.AspPersonnelCheckConfigAreaDao;
+
+import com.rongwei.sfcommon.sys.service.AspPersonnelCheckConfigAreaService;
+import org.springframework.stereotype.Service;
+
+/**
+ * @author libai
+ * @description 针对表【asp_personnel_check_config_area(人员检查区域配置)】的数据库操作Service实现
+ * @createDate 2025-07-11 09:31:16
+ */
+@Service
+public class AspPersonnelCheckConfigAreaServiceImpl extends ServiceImpl<AspPersonnelCheckConfigAreaDao, AspPersonnelCheckConfigAreaDo>
+        implements AspPersonnelCheckConfigAreaService {
+
+}
+
+
+
+

+ 22 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/AspPersonnelCheckConfigServiceImpl.java

@@ -0,0 +1,22 @@
+package com.rongwei.sfcommon.sys.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.rongwe.scentity.domian.AspPersonnelCheckConfigDo;
+import com.rongwei.sfcommon.sys.dao.AspPersonnelCheckConfigDao;
+import com.rongwei.sfcommon.sys.service.AspPersonnelCheckConfigService;
+import org.springframework.stereotype.Service;
+
+/**
+ * @author libai
+ * @description 针对表【asp_personnel_check_config(人员检查配置)】的数据库操作Service实现
+ * @createDate 2025-07-11 09:31:16
+ */
+@Service
+public class AspPersonnelCheckConfigServiceImpl extends ServiceImpl<AspPersonnelCheckConfigDao, AspPersonnelCheckConfigDo>
+        implements AspPersonnelCheckConfigService {
+
+}
+
+
+
+

+ 66 - 0
js-security/security-entity/src/main/java/com/rongwe/scentity/domian/AspPersonnelCheckConfigAreaDo.java

@@ -0,0 +1,66 @@
+package com.rongwe.scentity.domian;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+
+import com.rongwei.rwcommon.base.BaseDo;
+import lombok.Data;
+
+/**
+ * 人员检查区域配置
+ * @TableName asp_personnel_check_config_area
+ */
+@TableName(value ="asp_personnel_check_config_area")
+@Data
+public class AspPersonnelCheckConfigAreaDo extends BaseDo implements Serializable {
+    /**
+     * 主键
+     */
+    @TableId
+    private String id;
+
+    /**
+     * 
+     */
+    private String tenantid;
+
+    /**
+     * 扩展json格式配置
+     */
+    private String roption;
+
+    /**
+     * 人员检查配置表ID
+     */
+    private String configid;
+
+    /**
+     * 类型  设备(equ),风险单元(risk)
+     */
+    private String type;
+
+    /**
+     * 检查对象
+     */
+    private String checkobj;
+
+    /**
+     * 检查对象ID
+     */
+    private String checkobjid;
+
+    /**
+     * 检查对象编号
+     */
+    private String checkobjcode;
+
+    /**
+     * 岗位属性
+     */
+    private String jobattr;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 61 - 0
js-security/security-entity/src/main/java/com/rongwe/scentity/domian/AspPersonnelCheckConfigDo.java

@@ -0,0 +1,61 @@
+package com.rongwe.scentity.domian;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+
+import com.rongwei.rwcommon.base.BaseDo;
+import lombok.Data;
+
+/**
+ * 人员检查配置
+ * @TableName asp_personnel_check_config
+ */
+@TableName(value ="asp_personnel_check_config")
+@Data
+public class AspPersonnelCheckConfigDo extends BaseDo implements Serializable {
+    /**
+     * 主键
+     */
+    @TableId
+    private String id;
+
+    /**
+     * 
+     */
+    private String tenantid;
+
+    /**
+     * 扩展json格式配置
+     */
+    private String roption;
+
+    /**
+     * 部门
+     */
+    private String dept;
+
+    /**
+     * 责任人名称
+     */
+    private String dutyofficername;
+
+    /**
+     * 责任人id
+     */
+    private String dutyofficerid;
+
+    /**
+     * 工号
+     */
+    private String worknum;
+
+    /**
+     * 部门ID
+     */
+    private String deptid;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}