luojun 2 жил өмнө
parent
commit
5995cefda3
22 өөрчлөгдсөн 2294 нэмэгдсэн , 0 устгасан
  1. 95 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/controller/CoreSafetyBookAqbwbndjhController.java
  2. 95 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/controller/CoreSafetyBookHsggbsdjController.java
  3. 112 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookAqbwbndjh.java
  4. 80 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookAqbwbndjhUser.java
  5. 99 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookHsggbsdj.java
  6. 81 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookHsggbsdjUser.java
  7. 68 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookAqbwbndjhMapper.java
  8. 62 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookAqbwbndjhUserMapper.java
  9. 68 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookHsggbsdjMapper.java
  10. 62 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookHsggbsdjUserMapper.java
  11. 72 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookAqbwbndjhService.java
  12. 72 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookAqbwbndjhUserService.java
  13. 72 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookHsggbsdjService.java
  14. 72 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookHsggbsdjUserService.java
  15. 148 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookAqbwbndjhServiceImpl.java
  16. 128 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookAqbwbndjhUserServiceImpl.java
  17. 144 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookHsggbsdjServiceImpl.java
  18. 125 0
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookHsggbsdjUserServiceImpl.java
  19. 208 0
      soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookAqbwbndjhMapper.xml
  20. 118 0
      soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookAqbwbndjhUserMapper.xml
  21. 195 0
      soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookHsggbsdjMapper.xml
  22. 118 0
      soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookHsggbsdjUserMapper.xml

+ 95 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/controller/CoreSafetyBookAqbwbndjhController.java

@@ -0,0 +1,95 @@
+package com.xunmei.core.safetybook.controller;
+
+import java.util.List;
+import java.io.IOException;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookAqbwbndjhService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.xunmei.common.log.annotation.Log;
+import com.xunmei.common.log.enums.BusinessType;
+import com.xunmei.common.security.annotation.RequiresPermissions;
+import com.xunmei.common.core.web.controller.BaseController;
+import com.xunmei.common.core.web.domain.AjaxResult;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 安全保卫部年度计划Controller
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Api(tags = {"CoreSafetyBookAqbwbndjh"})
+@RestController
+@RequestMapping("/safetyBook/aqbwbndjh")
+public class CoreSafetyBookAqbwbndjhController extends BaseController {
+    @Autowired
+    private ICoreSafetyBookAqbwbndjhService coreSafetyBookAqbwbndjhService;
+
+    /**
+     * 查询安全保卫部年度计划列表
+     */
+    @ApiOperation(value = "查询CoreSafetyBookAqbwbndjh列表")
+    @RequiresPermissions("core:aqbwbndjh:list")
+    @PostMapping("/list")
+    public TableDataInfo<CoreSafetyBookAqbwbndjh> list(@RequestBody CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+
+        return coreSafetyBookAqbwbndjhService.selectPage(coreSafetyBookAqbwbndjh);
+    }
+
+
+    /**
+     * 获取安全保卫部年度计划详细信息
+     */
+    @ApiOperation(value = "获取CoreSafetyBookAqbwbndjh详细信息")
+    @RequiresPermissions("core:aqbwbndjh:query")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
+        return success(coreSafetyBookAqbwbndjhService.selectCoreSafetyBookAqbwbndjhById(id));
+    }
+
+    /**
+     * 新增安全保卫部年度计划
+     */
+    @ApiOperation(value = "新增CoreSafetyBookAqbwbndjh")
+    @RequiresPermissions("core:aqbwbndjh:add")
+    @Log(title = "安全保卫部年度计划", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    public AjaxResult add(@RequestBody CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        return toAjax(coreSafetyBookAqbwbndjhService.insertCoreSafetyBookAqbwbndjh(coreSafetyBookAqbwbndjh));
+    }
+
+    /**
+     * 修改安全保卫部年度计划
+     */
+    @ApiOperation(value = "修改CoreSafetyBookAqbwbndjh")
+    @RequiresPermissions("core:aqbwbndjh:edit")
+    @Log(title = "安全保卫部年度计划", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    public AjaxResult edit(@RequestBody CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        return toAjax(coreSafetyBookAqbwbndjhService.updateCoreSafetyBookAqbwbndjh(coreSafetyBookAqbwbndjh));
+    }
+
+    /**
+     * 删除安全保卫部年度计划
+     */
+    @ApiOperation(value = "删除CoreSafetyBookAqbwbndjh")
+    @RequiresPermissions("core:aqbwbndjh:remove")
+    @Log(title = "安全保卫部年度计划", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids) {
+        return toAjax(coreSafetyBookAqbwbndjhService.deleteCoreSafetyBookAqbwbndjhByIds(ids));
+    }
+}

+ 95 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/controller/CoreSafetyBookHsggbsdjController.java

@@ -0,0 +1,95 @@
+package com.xunmei.core.safetybook.controller;
+
+import java.util.List;
+import java.io.IOException;
+import javax.servlet.http.HttpServletResponse;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookHsggbsdjService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.xunmei.common.log.annotation.Log;
+import com.xunmei.common.log.enums.BusinessType;
+import com.xunmei.common.security.annotation.RequiresPermissions;
+import com.xunmei.common.core.web.controller.BaseController;
+import com.xunmei.common.core.web.domain.AjaxResult;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 行社高管部署登记Controller
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Api(tags = {"CoreSafetyBookHsggbsdj"})
+@RestController
+@RequestMapping("/safetyBook/hsggbsdj")
+public class CoreSafetyBookHsggbsdjController extends BaseController {
+    @Autowired
+    private ICoreSafetyBookHsggbsdjService coreSafetyBookHsggbsdjService;
+
+    /**
+     * 查询行社高管部署登记列表
+     */
+    @ApiOperation(value = "查询CoreSafetyBookHsggbsdj列表")
+    @RequiresPermissions("core:hsggbsdj:list")
+    @PostMapping("/list")
+    public TableDataInfo<CoreSafetyBookHsggbsdj> list(@RequestBody CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+
+        return coreSafetyBookHsggbsdjService.selectPage(coreSafetyBookHsggbsdj);
+    }
+
+
+    /**
+     * 获取行社高管部署登记详细信息
+     */
+    @ApiOperation(value = "获取CoreSafetyBookHsggbsdj详细信息")
+    @RequiresPermissions("core:hsggbsdj:query")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
+        return success(coreSafetyBookHsggbsdjService.selectCoreSafetyBookHsggbsdjById(id));
+    }
+
+    /**
+     * 新增行社高管部署登记
+     */
+    @ApiOperation(value = "新增CoreSafetyBookHsggbsdj")
+    @RequiresPermissions("core:hsggbsdj:add")
+    @Log(title = "行社高管部署登记", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    public AjaxResult add(@RequestBody CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        return toAjax(coreSafetyBookHsggbsdjService.insertCoreSafetyBookHsggbsdj(coreSafetyBookHsggbsdj));
+    }
+
+    /**
+     * 修改行社高管部署登记
+     */
+    @ApiOperation(value = "修改CoreSafetyBookHsggbsdj")
+    @RequiresPermissions("core:hsggbsdj:edit")
+    @Log(title = "行社高管部署登记", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    public AjaxResult edit(@RequestBody CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        return toAjax(coreSafetyBookHsggbsdjService.updateCoreSafetyBookHsggbsdj(coreSafetyBookHsggbsdj));
+    }
+
+    /**
+     * 删除行社高管部署登记
+     */
+    @ApiOperation(value = "删除CoreSafetyBookHsggbsdj")
+    @RequiresPermissions("core:hsggbsdj:remove")
+    @Log(title = "行社高管部署登记", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids) {
+        return toAjax(coreSafetyBookHsggbsdjService.deleteCoreSafetyBookHsggbsdjByIds(ids));
+    }
+}

+ 112 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookAqbwbndjh.java

@@ -0,0 +1,112 @@
+package com.xunmei.core.safetybook.domain;
+
+import java.util.Date;
+import java.util.List;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+import com.xunmei.common.core.web.domain.BaseEntity;
+
+/**
+ * 安全保卫部年度计划对象 core_safety_book_aqbwbndjh
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("core_safety_book_aqbwbndjh")
+@ApiModel(value = "CoreSafetyBookAqbwbndjh对象", description = "安全保卫部年度计划")
+public class CoreSafetyBookAqbwbndjh extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * $column.columnComment
+     */
+    private Long id;
+
+    /**
+     * 工作主题
+     */
+    @ApiModelProperty(value = "工作主题")
+    private String title;
+    @TableField(exist = false)
+    private String orgName;
+    @TableField(exist = false)
+    private String userName;
+    /**
+     * 开会日期
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    @ApiModelProperty(value = "记录日期")
+    private Date date;
+
+    /**
+     * 内容
+     */
+    @ApiModelProperty(value = "内容")
+    private String content;
+
+    /**
+     * 照片
+     */
+    @ApiModelProperty(value = "照片")
+    private String images;
+
+    /**
+     * 机构id
+     */
+    @ApiModelProperty(value = "机构id")
+    private Long orgId;
+    @TableField(exist = false)
+    private String userNames;
+    @TableField(exist = false)
+    private List<Long> userIds;
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+
+
+                .append("id", getId())
+
+
+                .append("title", getTitle())
+
+
+                .append("date", getDate())
+
+
+                .append("content", getContent())
+
+
+                .append("createTime", getCreateTime())
+
+
+                .append("updateTime", getUpdateTime())
+
+
+                .append("createBy", getCreateBy())
+
+
+                .append("updateBy", getUpdateBy())
+
+
+                .append("images", getImages())
+
+
+                .append("orgId", getOrgId())
+                .toString();
+    }
+}

+ 80 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookAqbwbndjhUser.java

@@ -0,0 +1,80 @@
+package com.xunmei.core.safetybook.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+import com.xunmei.common.core.web.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 core_safety_book_aqbwbndjh_user
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("core_safety_book_aqbwbndjh_user")
+@ApiModel(value = "CoreSafetyBookAqbwbndjhUser对象", description = "【请填写功能名称】")
+public class CoreSafetyBookAqbwbndjhUser extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * $column.columnComment
+     */
+    private Long id;
+
+    /**
+     * 安全保卫部年度计划id
+     */
+    @ApiModelProperty(value = "安全保卫部年度计划id")
+    private Long aqbwbndjhId;
+
+    /**
+     * 用户id
+     */
+    @ApiModelProperty(value = "用户id")
+    private Long userId;
+
+    public CoreSafetyBookAqbwbndjhUser() {
+    }
+
+    public CoreSafetyBookAqbwbndjhUser(Long aqbwbndjhId, Long userId) {
+        this.aqbwbndjhId = aqbwbndjhId;
+        this.userId = userId;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+
+
+                .append("id", getId())
+
+
+                .append("aqbwbndjhId", getAqbwbndjhId())
+
+
+                .append("userId", getUserId())
+
+
+                .append("createTime", getCreateTime())
+
+
+                .append("updateTime", getUpdateTime())
+
+
+                .append("createBy", getCreateBy())
+
+
+                .append("updateBy", getUpdateBy())
+                .toString();
+    }
+}

+ 99 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookHsggbsdj.java

@@ -0,0 +1,99 @@
+package com.xunmei.core.safetybook.domain;
+
+import java.util.Date;
+import java.util.List;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+import com.xunmei.common.core.web.domain.BaseEntity;
+
+/**
+ * 行社高管部署登记对象 core_safety_book_hsggbsdj
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("core_safety_book_hsggbsdj")
+@ApiModel(value = "CoreSafetyBookHsggbsdj对象", description = "行社高管部署登记")
+public class CoreSafetyBookHsggbsdj extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * $column.columnComment
+     */
+    private Long id;
+
+    /**
+     * 工作主题
+     */
+    @ApiModelProperty(value = "工作主题")
+    private String title;
+
+    /**
+     * 开会日期
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    @ApiModelProperty(value = "开会日期")
+    private Date date;
+
+    /**
+     * 内容
+     */
+    @ApiModelProperty(value = "内容")
+    private String content;
+
+    /**
+     * 照片
+     */
+    @ApiModelProperty(value = "照片")
+    private String images;
+    @TableField(exist = false)
+    private String userNames;
+    @TableField(exist = false)
+    private List<Long> userIds;
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+
+
+                .append("id", getId())
+
+
+                .append("title", getTitle())
+
+
+                .append("date", getDate())
+
+
+                .append("content", getContent())
+
+
+                .append("createTime", getCreateTime())
+
+
+                .append("updateTime", getUpdateTime())
+
+
+                .append("createBy", getCreateBy())
+
+
+                .append("updateBy", getUpdateBy())
+
+
+                .append("images", getImages())
+                .toString();
+    }
+}

+ 81 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/domain/CoreSafetyBookHsggbsdjUser.java

@@ -0,0 +1,81 @@
+package com.xunmei.core.safetybook.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+import com.xunmei.common.core.web.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 core_safety_book_hsggbsdj_user
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("core_safety_book_hsggbsdj_user")
+@ApiModel(value = "CoreSafetyBookHsggbsdjUser对象", description = "【请填写功能名称】")
+public class CoreSafetyBookHsggbsdjUser extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * $column.columnComment
+     */
+    private Long id;
+
+    public CoreSafetyBookHsggbsdjUser(Long hsggbsdjId, Long userId) {
+        this.hsggbsdjId = hsggbsdjId;
+        this.userId = userId;
+    }
+
+    public CoreSafetyBookHsggbsdjUser() {
+    }
+
+    /**
+     * 行社高管部署登记id
+     */
+    @ApiModelProperty(value = "行社高管部署登记id")
+    private Long hsggbsdjId;
+
+    /**
+     * 用户id
+     */
+    @ApiModelProperty(value = "用户id")
+    private Long userId;
+
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+
+
+                .append("id", getId())
+
+
+                .append("hsggbsdjId", getHsggbsdjId())
+
+
+                .append("userId", getUserId())
+
+
+                .append("createTime", getCreateTime())
+
+
+                .append("updateTime", getUpdateTime())
+
+
+                .append("createBy", getCreateBy())
+
+
+                .append("updateBy", getUpdateBy())
+                .toString();
+    }
+}

+ 68 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookAqbwbndjhMapper.java

@@ -0,0 +1,68 @@
+package com.xunmei.core.safetybook.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * 安全保卫部年度计划Mapper接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface CoreSafetyBookAqbwbndjhMapper extends BaseMapper<CoreSafetyBookAqbwbndjh> {
+    /**
+     * 查询安全保卫部年度计划
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 安全保卫部年度计划
+     */
+    CoreSafetyBookAqbwbndjh selectCoreSafetyBookAqbwbndjhById(Long id);
+
+    /**
+     * 查询安全保卫部年度计划列表
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 安全保卫部年度计划集合
+     */
+    List<CoreSafetyBookAqbwbndjh> selectCoreSafetyBookAqbwbndjhList(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 新增安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    int insertCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 修改安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    int updateCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 删除安全保卫部年度计划
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhById(Long id);
+
+    /**
+     * 批量删除安全保卫部年度计划
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhByIds(Long[] ids);
+
+    Page<CoreSafetyBookAqbwbndjh> selectAqbwbndjhPage(Page<CoreSafetyBookAqbwbndjh> page, @Param("aq") CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    CoreSafetyBookAqbwbndjh selectAqbwbndjhById(Long id);
+}

+ 62 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookAqbwbndjhUserMapper.java

@@ -0,0 +1,62 @@
+package com.xunmei.core.safetybook.mapper;
+
+import java.util.List;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface CoreSafetyBookAqbwbndjhUserMapper extends BaseMapper<CoreSafetyBookAqbwbndjhUser> {
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    CoreSafetyBookAqbwbndjhUser selectCoreSafetyBookAqbwbndjhUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 【请填写功能名称】集合
+     */
+    List<CoreSafetyBookAqbwbndjhUser> selectCoreSafetyBookAqbwbndjhUserList(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    int insertCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    int updateCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 删除【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhUserById(Long id);
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhUserByIds(Long[] ids);
+}

+ 68 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookHsggbsdjMapper.java

@@ -0,0 +1,68 @@
+package com.xunmei.core.safetybook.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * 行社高管部署登记Mapper接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface CoreSafetyBookHsggbsdjMapper extends BaseMapper<CoreSafetyBookHsggbsdj> {
+    /**
+     * 查询行社高管部署登记
+     *
+     * @param id 行社高管部署登记主键
+     * @return 行社高管部署登记
+     */
+    CoreSafetyBookHsggbsdj selectCoreSafetyBookHsggbsdjById(Long id);
+
+    /**
+     * 查询行社高管部署登记列表
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 行社高管部署登记集合
+     */
+    List<CoreSafetyBookHsggbsdj> selectCoreSafetyBookHsggbsdjList(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 新增行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    int insertCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 修改行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    int updateCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 删除行社高管部署登记
+     *
+     * @param id 行社高管部署登记主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjById(Long id);
+
+    /**
+     * 批量删除行社高管部署登记
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjByIds(Long[] ids);
+
+    Page<CoreSafetyBookHsggbsdj> selectHsggbsdjPage(Page<CoreSafetyBookHsggbsdj> page, @Param("hs") CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    CoreSafetyBookHsggbsdj selectHsggbsdjById(Long id);
+}

+ 62 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/mapper/CoreSafetyBookHsggbsdjUserMapper.java

@@ -0,0 +1,62 @@
+package com.xunmei.core.safetybook.mapper;
+
+import java.util.List;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface CoreSafetyBookHsggbsdjUserMapper extends BaseMapper<CoreSafetyBookHsggbsdjUser> {
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    CoreSafetyBookHsggbsdjUser selectCoreSafetyBookHsggbsdjUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 【请填写功能名称】集合
+     */
+    List<CoreSafetyBookHsggbsdjUser> selectCoreSafetyBookHsggbsdjUserList(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    int insertCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    int updateCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 删除【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjUserById(Long id);
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjUserByIds(Long[] ids);
+}

+ 72 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookAqbwbndjhService.java

@@ -0,0 +1,72 @@
+package com.xunmei.core.safetybook.service;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh;
+
+/**
+ * 安全保卫部年度计划Service接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface ICoreSafetyBookAqbwbndjhService extends IService<CoreSafetyBookAqbwbndjh> {
+    /**
+     * 查询安全保卫部年度计划
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 安全保卫部年度计划
+     */
+    CoreSafetyBookAqbwbndjh selectCoreSafetyBookAqbwbndjhById(Long id);
+
+    /**
+     * 查询安全保卫部年度计划列表
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 安全保卫部年度计划集合
+     */
+    List<CoreSafetyBookAqbwbndjh> selectCoreSafetyBookAqbwbndjhList(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 新增安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    int insertCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 修改安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    int updateCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+
+    /**
+     * 批量删除安全保卫部年度计划
+     *
+     * @param ids 需要删除的安全保卫部年度计划主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhByIds(Long[] ids);
+
+    /**
+     * 删除安全保卫部年度计划信息
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhById(Long id);
+
+    /**
+     * 查询安全保卫部年度计划分页数据
+     *
+     * @param coreSafetyBookAqbwbndjh 查询条件对象
+     * @return Page
+     */
+    TableDataInfo<CoreSafetyBookAqbwbndjh> selectPage(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh);
+}

+ 72 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookAqbwbndjhUserService.java

@@ -0,0 +1,72 @@
+package com.xunmei.core.safetybook.service;
+
+import java.util.List;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface ICoreSafetyBookAqbwbndjhUserService extends IService<CoreSafetyBookAqbwbndjhUser> {
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    CoreSafetyBookAqbwbndjhUser selectCoreSafetyBookAqbwbndjhUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 【请填写功能名称】集合
+     */
+    List<CoreSafetyBookAqbwbndjhUser> selectCoreSafetyBookAqbwbndjhUserList(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    int insertCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    int updateCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的【请填写功能名称】主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhUserByIds(Long[] ids);
+
+    /**
+     * 删除【请填写功能名称】信息
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookAqbwbndjhUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】分页数据
+     *
+     * @param coreSafetyBookAqbwbndjhUser 查询条件对象
+     * @return Page
+     */
+    TableDataInfo<CoreSafetyBookAqbwbndjhUser> selectPage(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser);
+}

+ 72 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookHsggbsdjService.java

@@ -0,0 +1,72 @@
+package com.xunmei.core.safetybook.service;
+
+import java.util.List;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 行社高管部署登记Service接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface ICoreSafetyBookHsggbsdjService extends IService<CoreSafetyBookHsggbsdj> {
+    /**
+     * 查询行社高管部署登记
+     *
+     * @param id 行社高管部署登记主键
+     * @return 行社高管部署登记
+     */
+    CoreSafetyBookHsggbsdj selectCoreSafetyBookHsggbsdjById(Long id);
+
+    /**
+     * 查询行社高管部署登记列表
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 行社高管部署登记集合
+     */
+    List<CoreSafetyBookHsggbsdj> selectCoreSafetyBookHsggbsdjList(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 新增行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    int insertCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 修改行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    int updateCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+
+    /**
+     * 批量删除行社高管部署登记
+     *
+     * @param ids 需要删除的行社高管部署登记主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjByIds(Long[] ids);
+
+    /**
+     * 删除行社高管部署登记信息
+     *
+     * @param id 行社高管部署登记主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjById(Long id);
+
+    /**
+     * 查询行社高管部署登记分页数据
+     *
+     * @param coreSafetyBookHsggbsdj 查询条件对象
+     * @return Page
+     */
+    TableDataInfo<CoreSafetyBookHsggbsdj> selectPage(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj);
+}

+ 72 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/ICoreSafetyBookHsggbsdjUserService.java

@@ -0,0 +1,72 @@
+package com.xunmei.core.safetybook.service;
+
+import java.util.List;
+
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+public interface ICoreSafetyBookHsggbsdjUserService extends IService<CoreSafetyBookHsggbsdjUser> {
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    CoreSafetyBookHsggbsdjUser selectCoreSafetyBookHsggbsdjUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 【请填写功能名称】集合
+     */
+    List<CoreSafetyBookHsggbsdjUser> selectCoreSafetyBookHsggbsdjUserList(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    int insertCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    int updateCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的【请填写功能名称】主键集合
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjUserByIds(Long[] ids);
+
+    /**
+     * 删除【请填写功能名称】信息
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    int deleteCoreSafetyBookHsggbsdjUserById(Long id);
+
+    /**
+     * 查询【请填写功能名称】分页数据
+     *
+     * @param coreSafetyBookHsggbsdjUser 查询条件对象
+     * @return Page
+     */
+    TableDataInfo<CoreSafetyBookHsggbsdjUser> selectPage(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser);
+}

+ 148 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookAqbwbndjhServiceImpl.java

@@ -0,0 +1,148 @@
+package com.xunmei.core.safetybook.service.impl;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.xunmei.common.core.constant.SecurityConstants;
+import com.xunmei.common.core.utils.DateUtils;
+import com.xunmei.common.security.utils.SecurityUtils;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookAqbwbndjhMapper;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookAqbwbndjhUserMapper;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjUserMapper;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookAqbwbndjhService;
+import com.xunmei.system.api.RemoteOrgService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Arrays;
+import java.util.stream.Collectors;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 安全保卫部年度计划Service业务层处理
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Service
+public class CoreSafetyBookAqbwbndjhServiceImpl extends ServiceImpl<CoreSafetyBookAqbwbndjhMapper, CoreSafetyBookAqbwbndjh> implements ICoreSafetyBookAqbwbndjhService {
+    @Autowired
+    private CoreSafetyBookAqbwbndjhMapper coreSafetyBookAqbwbndjhMapper;
+    @Autowired
+    private RemoteOrgService orgService;
+    @Autowired
+    private CoreSafetyBookAqbwbndjhUserMapper coreSafetyBookAqbwbndjhUserMapper;
+    @Override
+    public TableDataInfo<CoreSafetyBookAqbwbndjh> selectPage(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        //未删除
+        Page<CoreSafetyBookAqbwbndjh> page;
+        //分页
+        if (coreSafetyBookAqbwbndjh.getPageNum() != null && coreSafetyBookAqbwbndjh.getPageSize() != null) {
+            page = new Page<>(coreSafetyBookAqbwbndjh.getPageNum(), coreSafetyBookAqbwbndjh.getPageSize());
+        } else {
+            page = new Page<>();
+        }
+
+        //获取数据
+        page = coreSafetyBookAqbwbndjhMapper.selectAqbwbndjhPage(page, coreSafetyBookAqbwbndjh);
+        //抓换为TableDataInfo适配前端
+        return TableDataInfo.build(page);
+
+
+    }
+
+
+    /**
+     * 查询安全保卫部年度计划
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 安全保卫部年度计划
+     */
+    @Override
+    public CoreSafetyBookAqbwbndjh selectCoreSafetyBookAqbwbndjhById(Long id) {
+        CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh = coreSafetyBookAqbwbndjhMapper.selectAqbwbndjhById(id);
+        List<CoreSafetyBookAqbwbndjhUser> coreSafetyBookAqbwbndjhUsers = coreSafetyBookAqbwbndjhUserMapper.selectList(new LambdaQueryWrapper<CoreSafetyBookAqbwbndjhUser>().eq(CoreSafetyBookAqbwbndjhUser::getAqbwbndjhId, id));
+        if(coreSafetyBookAqbwbndjhUsers!=null&&coreSafetyBookAqbwbndjhUsers.size()>0) {
+            coreSafetyBookAqbwbndjh.setUserIds(coreSafetyBookAqbwbndjhUsers.stream().map(CoreSafetyBookAqbwbndjhUser::getUserId).collect(Collectors.toList()));
+        }
+        return coreSafetyBookAqbwbndjh;
+    }
+
+    /**
+     * 查询安全保卫部年度计划列表
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 安全保卫部年度计划
+     */
+    @Override
+    public List<CoreSafetyBookAqbwbndjh> selectCoreSafetyBookAqbwbndjhList(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        return coreSafetyBookAqbwbndjhMapper.selectList(new QueryWrapper<>(coreSafetyBookAqbwbndjh));
+    }
+
+    /**
+     * 新增安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    @Override
+    public int insertCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        coreSafetyBookAqbwbndjh.setCreateTime(DateUtils.getNowDate());
+        coreSafetyBookAqbwbndjh.setCreateBy(SecurityUtils.getUserId().toString());
+        coreSafetyBookAqbwbndjhMapper.insert(coreSafetyBookAqbwbndjh);
+        for (Long id :
+                coreSafetyBookAqbwbndjh.getUserIds()) {
+            coreSafetyBookAqbwbndjhUserMapper.insert(new CoreSafetyBookAqbwbndjhUser(coreSafetyBookAqbwbndjh.getId(), id));
+        }
+        return 1;
+    }
+
+    /**
+     * 修改安全保卫部年度计划
+     *
+     * @param coreSafetyBookAqbwbndjh 安全保卫部年度计划
+     * @return 结果
+     */
+    @Override
+    public int updateCoreSafetyBookAqbwbndjh(CoreSafetyBookAqbwbndjh coreSafetyBookAqbwbndjh) {
+        coreSafetyBookAqbwbndjh.setUpdateTime(DateUtils.getNowDate());
+        coreSafetyBookAqbwbndjh.setUpdateBy(SecurityUtils.getUserId().toString());
+        coreSafetyBookAqbwbndjhUserMapper.delete(new LambdaQueryWrapper<CoreSafetyBookAqbwbndjhUser>().eq(CoreSafetyBookAqbwbndjhUser::getAqbwbndjhId, coreSafetyBookAqbwbndjh.getId()));
+        for (Long id :
+                coreSafetyBookAqbwbndjh.getUserIds()) {
+            coreSafetyBookAqbwbndjhUserMapper.insert(new CoreSafetyBookAqbwbndjhUser(coreSafetyBookAqbwbndjh.getId(), id));
+        }
+        return coreSafetyBookAqbwbndjhMapper.updateById(coreSafetyBookAqbwbndjh);
+    }
+
+    /**
+     * 批量删除安全保卫部年度计划
+     *
+     * @param ids 需要删除的安全保卫部年度计划主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookAqbwbndjhByIds(Long[] ids) {
+        coreSafetyBookAqbwbndjhUserMapper.delete(new LambdaQueryWrapper<CoreSafetyBookAqbwbndjhUser>().in(CoreSafetyBookAqbwbndjhUser::getAqbwbndjhId, Arrays.asList(ids)));
+
+        return coreSafetyBookAqbwbndjhMapper.deleteBatchIds(Arrays.asList((ids)));
+    }
+
+    /**
+     * 删除安全保卫部年度计划信息
+     *
+     * @param id 安全保卫部年度计划主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookAqbwbndjhById(Long id) {
+        return coreSafetyBookAqbwbndjhMapper.deleteById(id);
+    }
+}

+ 128 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookAqbwbndjhUserServiceImpl.java

@@ -0,0 +1,128 @@
+package com.xunmei.core.safetybook.service.impl;
+
+import java.util.List;
+
+import com.xunmei.common.core.utils.DateUtils;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookAqbwbndjhUserMapper;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookAqbwbndjhUserService;
+import com.xunmei.system.api.RemoteOrgService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Arrays;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Service
+public class CoreSafetyBookAqbwbndjhUserServiceImpl extends ServiceImpl<CoreSafetyBookAqbwbndjhUserMapper, CoreSafetyBookAqbwbndjhUser> implements ICoreSafetyBookAqbwbndjhUserService {
+    @Autowired
+    private CoreSafetyBookAqbwbndjhUserMapper coreSafetyBookAqbwbndjhUserMapper;
+    @Autowired
+    private RemoteOrgService orgService;
+
+    @Override
+    public TableDataInfo<CoreSafetyBookAqbwbndjhUser> selectPage(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser) {
+        //未删除
+        Page<CoreSafetyBookAqbwbndjhUser> page;
+        //分页
+        if (coreSafetyBookAqbwbndjhUser.getPageNum() != null && coreSafetyBookAqbwbndjhUser.getPageSize() != null) {
+            page = new Page<>(coreSafetyBookAqbwbndjhUser.getPageNum(), coreSafetyBookAqbwbndjhUser.getPageSize());
+        } else {
+            page = new Page<>();
+        }
+        //查询条件
+        QueryWrapper<CoreSafetyBookAqbwbndjhUser> query = new QueryWrapper<>(coreSafetyBookAqbwbndjhUser);
+        //下穿
+        if (coreSafetyBookAqbwbndjhUser.getCheckSub()) {
+        }
+        //时间范围查询
+        if (coreSafetyBookAqbwbndjhUser.getParams().get("beginTime") != null && coreSafetyBookAqbwbndjhUser.getParams().get("endTime") != null) {
+            query.between("create_time", coreSafetyBookAqbwbndjhUser.getParams().get("beginTime"), coreSafetyBookAqbwbndjhUser.getParams().get("endTime"));
+        }
+        //获取数据
+        page = coreSafetyBookAqbwbndjhUserMapper.selectPage(page, query);
+        //抓换为TableDataInfo适配前端
+        return TableDataInfo.build(page);
+
+
+    }
+
+
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    @Override
+    public CoreSafetyBookAqbwbndjhUser selectCoreSafetyBookAqbwbndjhUserById(Long id) {
+        return coreSafetyBookAqbwbndjhUserMapper.selectById(id);
+    }
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 【请填写功能名称】
+     */
+    @Override
+    public List<CoreSafetyBookAqbwbndjhUser> selectCoreSafetyBookAqbwbndjhUserList(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser) {
+        return coreSafetyBookAqbwbndjhUserMapper.selectList(new QueryWrapper<>(coreSafetyBookAqbwbndjhUser));
+    }
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    @Override
+    public int insertCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser) {
+        coreSafetyBookAqbwbndjhUser.setCreateTime(DateUtils.getNowDate());
+        return coreSafetyBookAqbwbndjhUserMapper.insert(coreSafetyBookAqbwbndjhUser);
+    }
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookAqbwbndjhUser 【请填写功能名称】
+     * @return 结果
+     */
+    @Override
+    public int updateCoreSafetyBookAqbwbndjhUser(CoreSafetyBookAqbwbndjhUser coreSafetyBookAqbwbndjhUser) {
+        coreSafetyBookAqbwbndjhUser.setUpdateTime(DateUtils.getNowDate());
+        return coreSafetyBookAqbwbndjhUserMapper.updateById(coreSafetyBookAqbwbndjhUser);
+    }
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的【请填写功能名称】主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookAqbwbndjhUserByIds(Long[] ids) {
+        return coreSafetyBookAqbwbndjhUserMapper.deleteBatchIds(Arrays.asList((ids)));
+    }
+
+    /**
+     * 删除【请填写功能名称】信息
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookAqbwbndjhUserById(Long id) {
+        return coreSafetyBookAqbwbndjhUserMapper.deleteById(id);
+    }
+}

+ 144 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookHsggbsdjServiceImpl.java

@@ -0,0 +1,144 @@
+package com.xunmei.core.safetybook.service.impl;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.xunmei.common.core.utils.DateUtils;
+import com.xunmei.common.security.utils.SecurityUtils;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjMapper;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjUserMapper;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookHsggbsdjService;
+import com.xunmei.system.api.RemoteOrgService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Arrays;
+import java.util.stream.Collectors;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 行社高管部署登记Service业务层处理
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Service
+public class CoreSafetyBookHsggbsdjServiceImpl extends ServiceImpl<CoreSafetyBookHsggbsdjMapper, CoreSafetyBookHsggbsdj> implements ICoreSafetyBookHsggbsdjService {
+    @Autowired
+    private CoreSafetyBookHsggbsdjMapper coreSafetyBookHsggbsdjMapper;
+    @Autowired
+    private RemoteOrgService orgService;
+    @Autowired
+    private CoreSafetyBookHsggbsdjUserMapper coreSafetyBookHsggbsdjUserMapper;
+
+    @Override
+    public TableDataInfo<CoreSafetyBookHsggbsdj> selectPage(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        //未删除
+        Page<CoreSafetyBookHsggbsdj> page;
+        //分页
+        if (coreSafetyBookHsggbsdj.getPageNum() != null && coreSafetyBookHsggbsdj.getPageSize() != null) {
+            page = new Page<>(coreSafetyBookHsggbsdj.getPageNum(), coreSafetyBookHsggbsdj.getPageSize());
+        } else {
+            page = new Page<>();
+        }
+        //获取数据
+        page = coreSafetyBookHsggbsdjMapper.selectHsggbsdjPage(page, coreSafetyBookHsggbsdj);
+        //抓换为TableDataInfo适配前端
+        return TableDataInfo.build(page);
+
+
+    }
+
+
+    /**
+     * 查询行社高管部署登记
+     *
+     * @param id 行社高管部署登记主键
+     * @return 行社高管部署登记
+     */
+    @Override
+    public CoreSafetyBookHsggbsdj selectCoreSafetyBookHsggbsdjById(Long id) {
+        CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj = coreSafetyBookHsggbsdjMapper.selectHsggbsdjById(id);
+        List<CoreSafetyBookHsggbsdjUser> coreSafetyBookHsggbsdjUsers = coreSafetyBookHsggbsdjUserMapper.selectList(new LambdaQueryWrapper<CoreSafetyBookHsggbsdjUser>().eq(CoreSafetyBookHsggbsdjUser::getHsggbsdjId, id));
+        if(coreSafetyBookHsggbsdjUsers!=null&&coreSafetyBookHsggbsdjUsers.size()>0) {
+            coreSafetyBookHsggbsdj.setUserIds(coreSafetyBookHsggbsdjUsers.stream().map(CoreSafetyBookHsggbsdjUser::getUserId).collect(Collectors.toList()));
+        }
+        return coreSafetyBookHsggbsdj;
+    }
+
+    /**
+     * 查询行社高管部署登记列表
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 行社高管部署登记
+     */
+    @Override
+    public List<CoreSafetyBookHsggbsdj> selectCoreSafetyBookHsggbsdjList(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        return coreSafetyBookHsggbsdjMapper.selectList(new QueryWrapper<>(coreSafetyBookHsggbsdj));
+    }
+
+    /**
+     * 新增行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    @Override
+    public int insertCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        coreSafetyBookHsggbsdj.setCreateTime(DateUtils.getNowDate());
+        coreSafetyBookHsggbsdj.setCreateBy(SecurityUtils.getUserId().toString());
+        coreSafetyBookHsggbsdjMapper.insert(coreSafetyBookHsggbsdj);
+        for (Long id :
+                coreSafetyBookHsggbsdj.getUserIds()) {
+            coreSafetyBookHsggbsdjUserMapper.insert(new CoreSafetyBookHsggbsdjUser(coreSafetyBookHsggbsdj.getId(), id));
+        }
+        return 1;
+    }
+
+    /**
+     * 修改行社高管部署登记
+     *
+     * @param coreSafetyBookHsggbsdj 行社高管部署登记
+     * @return 结果
+     */
+    @Override
+    public int updateCoreSafetyBookHsggbsdj(CoreSafetyBookHsggbsdj coreSafetyBookHsggbsdj) {
+        coreSafetyBookHsggbsdj.setUpdateTime(DateUtils.getNowDate());
+        coreSafetyBookHsggbsdj.setUpdateBy(SecurityUtils.getUserId().toString());
+        coreSafetyBookHsggbsdjUserMapper.delete(new LambdaQueryWrapper<CoreSafetyBookHsggbsdjUser>().eq(CoreSafetyBookHsggbsdjUser::getHsggbsdjId, coreSafetyBookHsggbsdj.getId()));
+        for (Long id :
+                coreSafetyBookHsggbsdj.getUserIds()) {
+            coreSafetyBookHsggbsdjUserMapper.insert(new CoreSafetyBookHsggbsdjUser(coreSafetyBookHsggbsdj.getId(), id));
+        }
+        return coreSafetyBookHsggbsdjMapper.updateById(coreSafetyBookHsggbsdj);
+    }
+
+    /**
+     * 批量删除行社高管部署登记
+     *
+     * @param ids 需要删除的行社高管部署登记主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookHsggbsdjByIds(Long[] ids) {
+        coreSafetyBookHsggbsdjUserMapper.delete(new LambdaQueryWrapper<CoreSafetyBookHsggbsdjUser>().in(CoreSafetyBookHsggbsdjUser::getHsggbsdjId, Arrays.asList(ids)));
+        return coreSafetyBookHsggbsdjMapper.deleteBatchIds(Arrays.asList((ids)));
+    }
+
+    /**
+     * 删除行社高管部署登记信息
+     *
+     * @param id 行社高管部署登记主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookHsggbsdjById(Long id) {
+        return coreSafetyBookHsggbsdjMapper.deleteById(id);
+    }
+}

+ 125 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetybook/service/impl/CoreSafetyBookHsggbsdjUserServiceImpl.java

@@ -0,0 +1,125 @@
+package com.xunmei.core.safetybook.service.impl;
+
+import java.util.List;
+
+import com.xunmei.common.core.utils.DateUtils;
+import com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser;
+import com.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjUserMapper;
+import com.xunmei.core.safetybook.service.ICoreSafetyBookHsggbsdjUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Arrays;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.xunmei.common.core.web.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author xunmei
+ * @date 2023-10-26
+ */
+@Service
+public class CoreSafetyBookHsggbsdjUserServiceImpl extends ServiceImpl<CoreSafetyBookHsggbsdjUserMapper, CoreSafetyBookHsggbsdjUser> implements ICoreSafetyBookHsggbsdjUserService {
+    @Autowired
+    private CoreSafetyBookHsggbsdjUserMapper coreSafetyBookHsggbsdjUserMapper;
+
+    @Override
+    public TableDataInfo<CoreSafetyBookHsggbsdjUser> selectPage(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser) {
+        //未删除
+        Page<CoreSafetyBookHsggbsdjUser> page;
+        //分页
+        if (coreSafetyBookHsggbsdjUser.getPageNum() != null && coreSafetyBookHsggbsdjUser.getPageSize() != null) {
+            page = new Page<>(coreSafetyBookHsggbsdjUser.getPageNum(), coreSafetyBookHsggbsdjUser.getPageSize());
+        } else {
+            page = new Page<>();
+        }
+        //查询条件
+        QueryWrapper<CoreSafetyBookHsggbsdjUser> query = new QueryWrapper<>(coreSafetyBookHsggbsdjUser);
+        //下穿
+        if (coreSafetyBookHsggbsdjUser.getCheckSub()) {
+        }
+        //时间范围查询
+        if (coreSafetyBookHsggbsdjUser.getParams().get("beginTime") != null && coreSafetyBookHsggbsdjUser.getParams().get("endTime") != null) {
+            query.between("create_time", coreSafetyBookHsggbsdjUser.getParams().get("beginTime"), coreSafetyBookHsggbsdjUser.getParams().get("endTime"));
+        }
+        //获取数据
+        page = coreSafetyBookHsggbsdjUserMapper.selectPage(page, query);
+        //抓换为TableDataInfo适配前端
+        return TableDataInfo.build(page);
+
+
+    }
+
+
+    /**
+     * 查询【请填写功能名称】
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 【请填写功能名称】
+     */
+    @Override
+    public CoreSafetyBookHsggbsdjUser selectCoreSafetyBookHsggbsdjUserById(Long id) {
+        return coreSafetyBookHsggbsdjUserMapper.selectById(id);
+    }
+
+    /**
+     * 查询【请填写功能名称】列表
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 【请填写功能名称】
+     */
+    @Override
+    public List<CoreSafetyBookHsggbsdjUser> selectCoreSafetyBookHsggbsdjUserList(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser) {
+        return coreSafetyBookHsggbsdjUserMapper.selectList(new QueryWrapper<>(coreSafetyBookHsggbsdjUser));
+    }
+
+    /**
+     * 新增【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    @Override
+    public int insertCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser) {
+        coreSafetyBookHsggbsdjUser.setCreateTime(DateUtils.getNowDate());
+        return coreSafetyBookHsggbsdjUserMapper.insert(coreSafetyBookHsggbsdjUser);
+    }
+
+    /**
+     * 修改【请填写功能名称】
+     *
+     * @param coreSafetyBookHsggbsdjUser 【请填写功能名称】
+     * @return 结果
+     */
+    @Override
+    public int updateCoreSafetyBookHsggbsdjUser(CoreSafetyBookHsggbsdjUser coreSafetyBookHsggbsdjUser) {
+        coreSafetyBookHsggbsdjUser.setUpdateTime(DateUtils.getNowDate());
+        return coreSafetyBookHsggbsdjUserMapper.updateById(coreSafetyBookHsggbsdjUser);
+    }
+
+    /**
+     * 批量删除【请填写功能名称】
+     *
+     * @param ids 需要删除的【请填写功能名称】主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookHsggbsdjUserByIds(Long[] ids) {
+        return coreSafetyBookHsggbsdjUserMapper.deleteBatchIds(Arrays.asList((ids)));
+    }
+
+    /**
+     * 删除【请填写功能名称】信息
+     *
+     * @param id 【请填写功能名称】主键
+     * @return 结果
+     */
+    @Override
+    public int deleteCoreSafetyBookHsggbsdjUserById(Long id) {
+        return coreSafetyBookHsggbsdjUserMapper.deleteById(id);
+    }
+}

+ 208 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookAqbwbndjhMapper.xml

@@ -0,0 +1,208 @@
+<?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.xunmei.core.safetybook.mapper.CoreSafetyBookAqbwbndjhMapper">
+
+    <resultMap type="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh" id="CoreSafetyBookAqbwbndjhResult">
+        <result property="id" column="id"/>
+        <result property="title" column="title"/>
+        <result property="date" column="date"/>
+        <result property="content" column="content"/>
+        <result property="createTime" column="create_time"/>
+        <result property="updateTime" column="update_time"/>
+        <result property="createBy" column="create_by"/>
+        <result property="updateBy" column="update_by"/>
+        <result property="images" column="images"/>
+        <result property="orgId" column="org_id"/>
+    </resultMap>
+
+    <sql id="selectCoreSafetyBookAqbwbndjhVo">
+        select id,
+               title,
+               date,
+               content,
+               create_time,
+               update_time,
+               create_by,
+               update_by,
+               images,
+               org_id
+        from core_safety_book_aqbwbndjh
+    </sql>
+
+    <select id="selectCoreSafetyBookAqbwbndjhList"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh"
+            resultMap="CoreSafetyBookAqbwbndjhResult">
+        <include refid="selectCoreSafetyBookAqbwbndjhVo"/>
+        <where>
+            <if test="title != null  and title != ''">
+                and title = #{title}
+            </if>
+            <if test="date != null ">
+                and date = #{date}
+            </if>
+            <if test="content != null  and content != ''">
+                and content = #{content}
+            </if>
+            <if test="images != null  and images != ''">
+                and images = #{images}
+            </if>
+            <if test="orgId != null ">
+                and org_id = #{orgId}
+            </if>
+        </where>
+    </select>
+
+    <select id="selectCoreSafetyBookAqbwbndjhById" parameterType="Long"
+            resultMap="CoreSafetyBookAqbwbndjhResult">
+        <include refid="selectCoreSafetyBookAqbwbndjhVo"/>
+        where id = #{id}
+    </select>
+    <select id="selectAqbwbndjhPage" resultType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh">
+        select a.id,
+        a.title,
+        a.date,
+        a.content,
+        a.create_time,
+        a.update_time,
+        a.create_by,
+        a.update_by,
+        a.images,
+        a.org_id,
+        u2.name as userName,
+        o.name as orgName,
+        group_concat(u.name) as userNames
+        from core_safety_book_aqbwbndjh a
+        left join core_safety_book_aqbwbndjh_user au on au.aqbwbndjh_id=a.id
+        left join sys_user u on u.id=au.user_id
+        left join sys_user u2 on u2.id=a.create_by
+        left join sys_org o on o.id=a.org_id
+        <where>
+
+            <if test="aq.date != null ">
+                and a.date = #{aq.date}
+            </if>
+
+
+        </where>
+        group by a.id,a.create_time
+        order by a.create_time desc
+    </select>
+    <select id="selectAqbwbndjhById" resultType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh">
+        select a.id,
+               a.title,
+               a.date,
+               a.content,
+               a.create_time,
+               a.update_time,
+               a.create_by,
+               a.update_by,
+               a.images,
+               a.org_id,
+               group_concat(u.name) as userNames
+        from core_safety_book_aqbwbndjh a
+                 left join core_safety_book_aqbwbndjh_user au on au.aqbwbndjh_id = a.id
+                 left join sys_user u on u.id = au.user_id
+        where a.id = #{id}
+        group by a.id
+
+    </select>
+
+    <insert id="insertCoreSafetyBookAqbwbndjh"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh">
+        insert into core_safety_book_aqbwbndjh
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,
+            </if>
+            <if test="title != null">title,
+            </if>
+            <if test="date != null">date,
+            </if>
+            <if test="content != null">content,
+            </if>
+            <if test="createTime != null">create_time,
+            </if>
+            <if test="updateTime != null">update_time,
+            </if>
+            <if test="createBy != null">create_by,
+            </if>
+            <if test="updateBy != null">update_by,
+            </if>
+            <if test="images != null">images,
+            </if>
+            <if test="orgId != null">org_id,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},
+            </if>
+            <if test="title != null">#{title},
+            </if>
+            <if test="date != null">#{date},
+            </if>
+            <if test="content != null">#{content},
+            </if>
+            <if test="createTime != null">#{createTime},
+            </if>
+            <if test="updateTime != null">#{updateTime},
+            </if>
+            <if test="createBy != null">#{createBy},
+            </if>
+            <if test="updateBy != null">#{updateBy},
+            </if>
+            <if test="images != null">#{images},
+            </if>
+            <if test="orgId != null">#{orgId},
+            </if>
+        </trim>
+    </insert>
+
+    <update id="updateCoreSafetyBookAqbwbndjh"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjh">
+        update core_safety_book_aqbwbndjh
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="title != null">title =
+                #{title},
+            </if>
+            <if test="date != null">date =
+                #{date},
+            </if>
+            <if test="content != null">content =
+                #{content},
+            </if>
+            <if test="createTime != null">create_time =
+                #{createTime},
+            </if>
+            <if test="updateTime != null">update_time =
+                #{updateTime},
+            </if>
+            <if test="createBy != null">create_by =
+                #{createBy},
+            </if>
+            <if test="updateBy != null">update_by =
+                #{updateBy},
+            </if>
+            <if test="images != null">images =
+                #{images},
+            </if>
+            <if test="orgId != null">org_id =
+                #{orgId},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteCoreSafetyBookAqbwbndjhById" parameterType="Long">
+        delete
+        from core_safety_book_aqbwbndjh
+        where id = #{id}
+    </delete>
+
+    <delete id="deleteCoreSafetyBookAqbwbndjhByIds" parameterType="String">
+        delete from core_safety_book_aqbwbndjh where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 118 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookAqbwbndjhUserMapper.xml

@@ -0,0 +1,118 @@
+<?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.xunmei.core.safetybook.mapper.CoreSafetyBookAqbwbndjhUserMapper">
+
+    <resultMap type="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser"
+               id="CoreSafetyBookAqbwbndjhUserResult">
+        <result property="id" column="id"/>
+        <result property="aqbwbndjhId" column="aqbwbndjh_id"/>
+        <result property="userId" column="user_id"/>
+        <result property="createTime" column="create_time"/>
+        <result property="updateTime" column="update_time"/>
+        <result property="createBy" column="create_by"/>
+        <result property="updateBy" column="update_by"/>
+    </resultMap>
+
+    <sql id="selectCoreSafetyBookAqbwbndjhUserVo">
+        select id, aqbwbndjh_id, user_id, create_time, update_time, create_by, update_by
+        from core_safety_book_aqbwbndjh_user
+    </sql>
+
+    <select id="selectCoreSafetyBookAqbwbndjhUserList"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser"
+            resultMap="CoreSafetyBookAqbwbndjhUserResult">
+        <include refid="selectCoreSafetyBookAqbwbndjhUserVo"/>
+        <where>
+            <if test="aqbwbndjhId != null ">
+                and aqbwbndjh_id = #{aqbwbndjhId}
+            </if>
+            <if test="userId != null ">
+                and user_id = #{userId}
+            </if>
+        </where>
+    </select>
+
+    <select id="selectCoreSafetyBookAqbwbndjhUserById" parameterType="Long"
+            resultMap="CoreSafetyBookAqbwbndjhUserResult">
+        <include refid="selectCoreSafetyBookAqbwbndjhUserVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertCoreSafetyBookAqbwbndjhUser"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser">
+        insert into core_safety_book_aqbwbndjh_user
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,
+            </if>
+            <if test="aqbwbndjhId != null">aqbwbndjh_id,
+            </if>
+            <if test="userId != null">user_id,
+            </if>
+            <if test="createTime != null">create_time,
+            </if>
+            <if test="updateTime != null">update_time,
+            </if>
+            <if test="createBy != null">create_by,
+            </if>
+            <if test="updateBy != null">update_by,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},
+            </if>
+            <if test="aqbwbndjhId != null">#{aqbwbndjhId},
+            </if>
+            <if test="userId != null">#{userId},
+            </if>
+            <if test="createTime != null">#{createTime},
+            </if>
+            <if test="updateTime != null">#{updateTime},
+            </if>
+            <if test="createBy != null">#{createBy},
+            </if>
+            <if test="updateBy != null">#{updateBy},
+            </if>
+        </trim>
+    </insert>
+
+    <update id="updateCoreSafetyBookAqbwbndjhUser"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookAqbwbndjhUser">
+        update core_safety_book_aqbwbndjh_user
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="aqbwbndjhId != null">aqbwbndjh_id =
+                #{aqbwbndjhId},
+            </if>
+            <if test="userId != null">user_id =
+                #{userId},
+            </if>
+            <if test="createTime != null">create_time =
+                #{createTime},
+            </if>
+            <if test="updateTime != null">update_time =
+                #{updateTime},
+            </if>
+            <if test="createBy != null">create_by =
+                #{createBy},
+            </if>
+            <if test="updateBy != null">update_by =
+                #{updateBy},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteCoreSafetyBookAqbwbndjhUserById" parameterType="Long">
+        delete
+        from core_safety_book_aqbwbndjh_user
+        where id = #{id}
+    </delete>
+
+    <delete id="deleteCoreSafetyBookAqbwbndjhUserByIds" parameterType="String">
+        delete from core_safety_book_aqbwbndjh_user where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 195 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookHsggbsdjMapper.xml

@@ -0,0 +1,195 @@
+<?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.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjMapper">
+
+    <resultMap type="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj" id="CoreSafetyBookHsggbsdjResult">
+        <result property="id" column="id"/>
+        <result property="title" column="title"/>
+        <result property="date" column="date"/>
+        <result property="content" column="content"/>
+        <result property="createTime" column="create_time"/>
+        <result property="updateTime" column="update_time"/>
+        <result property="createBy" column="create_by"/>
+        <result property="updateBy" column="update_by"/>
+        <result property="images" column="images"/>
+    </resultMap>
+
+    <sql id="selectCoreSafetyBookHsggbsdjVo">
+        select id,
+               title,
+               date,
+               content,
+               create_time,
+               update_time,
+               create_by,
+               update_by,
+               images
+        from core_safety_book_hsggbsdj
+    </sql>
+
+    <select id="selectCoreSafetyBookHsggbsdjList"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj"
+            resultMap="CoreSafetyBookHsggbsdjResult">
+        <include refid="selectCoreSafetyBookHsggbsdjVo"/>
+        <where>
+            <if test="title != null  and title != ''">
+                and title = #{title}
+            </if>
+            <if test="date != null ">
+                and date = #{date}
+            </if>
+            <if test="content != null  and content != ''">
+                and content = #{content}
+            </if>
+            <if test="images != null  and images != ''">
+                and images = #{images}
+            </if>
+        </where>
+    </select>
+
+    <select id="selectCoreSafetyBookHsggbsdjById" parameterType="Long"
+            resultMap="CoreSafetyBookHsggbsdjResult">
+        <include refid="selectCoreSafetyBookHsggbsdjVo"/>
+        where id = #{id}
+    </select>
+    <select id="selectHsggbsdjPage" resultType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj">
+        SELECT
+            h.id,
+            h.title,
+            h.date,
+            h.content,
+            h.create_time,
+            h.update_time,
+            h.create_by,
+            h.update_by,
+            h.images,
+            group_concat( u.NAME ) AS userNames
+        FROM
+            core_safety_book_hsggbsdj h
+                LEFT JOIN core_safety_book_hsggbsdj_user hu ON hu.hsggbsdj_id = h.id
+                LEFT JOIN sys_user u ON u.id = hu.user_id
+        GROUP BY
+            h.id
+        <where>
+            <if test="hs.title != null  and hs.title != ''">
+                and title like concat(concat('%', #{hs.title}),'%')
+            </if>
+            <if test="hs.date != null ">
+                and date = #{hs.date}
+            </if>
+
+        </where>
+    </select>
+    <select id="selectHsggbsdjById" resultType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj">
+        SELECT
+        h.id,
+        h.title,
+        h.date,
+        h.content,
+        h.create_time,
+        h.update_time,
+        h.create_by,
+        h.update_by,
+        h.images,
+        group_concat( u.NAME ) AS userNames
+        FROM
+        core_safety_book_hsggbsdj h
+        LEFT JOIN core_safety_book_hsggbsdj_user hu ON hu.hsggbsdj_id = h.id
+        LEFT JOIN sys_user u ON u.id = hu.user_id
+        where h.id=#{id}
+        GROUP BY
+        h.id,h.create_time
+        order by h.create_time desc
+
+    </select>
+
+    <insert id="insertCoreSafetyBookHsggbsdj" parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj">
+        insert into core_safety_book_hsggbsdj
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,
+            </if>
+            <if test="title != null">title,
+            </if>
+            <if test="date != null">date,
+            </if>
+            <if test="content != null">content,
+            </if>
+            <if test="createTime != null">create_time,
+            </if>
+            <if test="updateTime != null">update_time,
+            </if>
+            <if test="createBy != null">create_by,
+            </if>
+            <if test="updateBy != null">update_by,
+            </if>
+            <if test="images != null">images,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},
+            </if>
+            <if test="title != null">#{title},
+            </if>
+            <if test="date != null">#{date},
+            </if>
+            <if test="content != null">#{content},
+            </if>
+            <if test="createTime != null">#{createTime},
+            </if>
+            <if test="updateTime != null">#{updateTime},
+            </if>
+            <if test="createBy != null">#{createBy},
+            </if>
+            <if test="updateBy != null">#{updateBy},
+            </if>
+            <if test="images != null">#{images},
+            </if>
+        </trim>
+    </insert>
+
+    <update id="updateCoreSafetyBookHsggbsdj" parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdj">
+        update core_safety_book_hsggbsdj
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="title != null">title =
+                #{title},
+            </if>
+            <if test="date != null">date =
+                #{date},
+            </if>
+            <if test="content != null">content =
+                #{content},
+            </if>
+            <if test="createTime != null">create_time =
+                #{createTime},
+            </if>
+            <if test="updateTime != null">update_time =
+                #{updateTime},
+            </if>
+            <if test="createBy != null">create_by =
+                #{createBy},
+            </if>
+            <if test="updateBy != null">update_by =
+                #{updateBy},
+            </if>
+            <if test="images != null">images =
+                #{images},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteCoreSafetyBookHsggbsdjById" parameterType="Long">
+        delete
+        from core_safety_book_hsggbsdj
+        where id = #{id}
+    </delete>
+
+    <delete id="deleteCoreSafetyBookHsggbsdjByIds" parameterType="String">
+        delete from core_safety_book_hsggbsdj where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 118 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetybook/CoreSafetyBookHsggbsdjUserMapper.xml

@@ -0,0 +1,118 @@
+<?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.xunmei.core.safetybook.mapper.CoreSafetyBookHsggbsdjUserMapper">
+
+    <resultMap type="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser"
+               id="CoreSafetyBookHsggbsdjUserResult">
+        <result property="id" column="id"/>
+        <result property="hsggbsdjId" column="hsggbsdj_id"/>
+        <result property="userId" column="user_id"/>
+        <result property="createTime" column="create_time"/>
+        <result property="updateTime" column="update_time"/>
+        <result property="createBy" column="create_by"/>
+        <result property="updateBy" column="update_by"/>
+    </resultMap>
+
+    <sql id="selectCoreSafetyBookHsggbsdjUserVo">
+        select id, hsggbsdj_id, user_id, create_time, update_time, create_by, update_by
+        from core_safety_book_hsggbsdj_user
+    </sql>
+
+    <select id="selectCoreSafetyBookHsggbsdjUserList"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser"
+            resultMap="CoreSafetyBookHsggbsdjUserResult">
+        <include refid="selectCoreSafetyBookHsggbsdjUserVo"/>
+        <where>
+            <if test="hsggbsdjId != null ">
+                and hsggbsdj_id = #{hsggbsdjId}
+            </if>
+            <if test="userId != null ">
+                and user_id = #{userId}
+            </if>
+        </where>
+    </select>
+
+    <select id="selectCoreSafetyBookHsggbsdjUserById" parameterType="Long"
+            resultMap="CoreSafetyBookHsggbsdjUserResult">
+        <include refid="selectCoreSafetyBookHsggbsdjUserVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertCoreSafetyBookHsggbsdjUser"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser">
+        insert into core_safety_book_hsggbsdj_user
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,
+            </if>
+            <if test="hsggbsdjId != null">hsggbsdj_id,
+            </if>
+            <if test="userId != null">user_id,
+            </if>
+            <if test="createTime != null">create_time,
+            </if>
+            <if test="updateTime != null">update_time,
+            </if>
+            <if test="createBy != null">create_by,
+            </if>
+            <if test="updateBy != null">update_by,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},
+            </if>
+            <if test="hsggbsdjId != null">#{hsggbsdjId},
+            </if>
+            <if test="userId != null">#{userId},
+            </if>
+            <if test="createTime != null">#{createTime},
+            </if>
+            <if test="updateTime != null">#{updateTime},
+            </if>
+            <if test="createBy != null">#{createBy},
+            </if>
+            <if test="updateBy != null">#{updateBy},
+            </if>
+        </trim>
+    </insert>
+
+    <update id="updateCoreSafetyBookHsggbsdjUser"
+            parameterType="com.xunmei.core.safetybook.domain.CoreSafetyBookHsggbsdjUser">
+        update core_safety_book_hsggbsdj_user
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="hsggbsdjId != null">hsggbsdj_id =
+                #{hsggbsdjId},
+            </if>
+            <if test="userId != null">user_id =
+                #{userId},
+            </if>
+            <if test="createTime != null">create_time =
+                #{createTime},
+            </if>
+            <if test="updateTime != null">update_time =
+                #{updateTime},
+            </if>
+            <if test="createBy != null">create_by =
+                #{createBy},
+            </if>
+            <if test="updateBy != null">update_by =
+                #{updateBy},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteCoreSafetyBookHsggbsdjUserById" parameterType="Long">
+        delete
+        from core_safety_book_hsggbsdj_user
+        where id = #{id}
+    </delete>
+
+    <delete id="deleteCoreSafetyBookHsggbsdjUserByIds" parameterType="String">
+        delete from core_safety_book_hsggbsdj_user where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>