xuxiaofei лет назад: 2
Родитель
Сommit
15b2ac63c6

+ 133 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/LabXxpCardInfoController.java

@@ -0,0 +1,133 @@
+package com.zd.laboratory.controller;
+
+import com.zd.common.core.annotation.Log;
+import com.zd.common.core.annotation.PreAuthorize;
+import com.zd.common.core.log.BusinessType;
+import com.zd.common.core.security.TokenService;
+import com.zd.common.core.utils.ExcelUtil;
+import com.zd.common.core.web.controller.BaseController;
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpCardInfo;
+import com.zd.laboratory.service.IXxpCardInfoService;
+import com.zd.model.domain.ResultData;
+import com.zd.model.domain.per.PerFun;
+import com.zd.model.domain.per.PerPrefix;
+import com.zd.model.page.TableDataInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * 电子信息牌Controller
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+@RestController
+@Api(tags = "【电子信息牌】")
+@RequestMapping("/XxpCardInfo")
+public class LabXxpCardInfoController extends BaseController
+{
+    @Autowired
+    private IXxpCardInfoService xxpCardInfoService;
+
+    @Autowired
+    private TokenService tokenService;
+
+    /**
+     * 查询电子信息牌列表
+     */
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.LIST)
+    @GetMapping("/list")
+    @ApiOperation(value = "查询电子信息牌列表")
+    public TableDataInfo<XxpCardInfo> list(XxpCardInfo xxpCardInfo)
+    {
+        startPage();
+        List<XxpCardInfo> list = xxpCardInfoService.selectXxpCardInfoList(xxpCardInfo);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出电子信息牌列表
+     */
+    @ApiOperation(value = "导出电子信息牌列表")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.EXPORT)
+    @Log(title = "电子信息牌", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, XxpCardInfo xxpCardInfo) throws IOException
+    {
+        List<XxpCardInfo> list = xxpCardInfoService.selectXxpCardInfoList(xxpCardInfo);
+        ExcelUtil<XxpCardInfo> util = new ExcelUtil<XxpCardInfo>(XxpCardInfo.class);
+        util.exportExcel(response, list, "电子信息牌数据");
+    }
+
+    /**
+     * 获取电子信息牌详细
+     */
+    @ApiOperation(value = "获取电子信息牌详细")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.QUERY)
+    @GetMapping(value = "/{id}")
+    public ResultData<XxpCardInfo> getInfo(@PathVariable("id") Long id)
+    {
+        return ResultData.success(xxpCardInfoService.selectXxpCardInfoById(id));
+    }
+
+
+    /**
+     * 新增电子信息牌
+     */
+    @ApiOperation(value = "新增电子信息牌")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.ADD)
+    @Log(title = "电子信息牌", businessType = BusinessType.INSERT)
+    @PostMapping
+    public ResultData add(@RequestBody XxpCardInfo xxpCardInfo)
+    {
+        return ResultData.result(xxpCardInfoService.insertXxpCardInfo(xxpCardInfo));
+    }
+
+
+
+    /**
+     * 修改电子信息牌
+     */
+    @ApiOperation(value = "修改电子信息牌")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.EDIT)
+    @Log(title = "电子信息牌", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public ResultData edit(@RequestBody XxpCardInfo xxpCardInfo)
+    {
+        return  ResultData.result(xxpCardInfoService.updateXxpCardInfo(xxpCardInfo));
+    }
+
+    /**
+     * 删除电子信息牌
+     */
+    @ApiOperation(value = "删除电子信息牌")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.REMOVE)
+    @Log(title = "电子信息牌", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public ResultData remove(@PathVariable Long[] ids)
+    {
+        return ResultData.result(xxpCardInfoService.deleteXxpCardInfoByIds(ids));
+    }
+
+    /**
+     * 根据id删除
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "根据id删除电子信息牌")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CARDINFO + PerFun.REMOVE)
+    @Log(title = "电子信息牌", businessType = BusinessType.DELETE)
+    @PostMapping("/{id}")
+    public ResultData remove(@PathVariable Long id)
+    {
+        return ResultData.result(xxpCardInfoService.deleteXxpCardInfoById(id));
+    }
+
+}

+ 146 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/LabXxpClassifyController.java

@@ -0,0 +1,146 @@
+package com.zd.laboratory.controller;
+
+import com.zd.common.core.annotation.Log;
+import com.zd.common.core.annotation.PreAuthorize;
+import com.zd.common.core.exception.NoRollException;
+import com.zd.common.core.log.BusinessType;
+import com.zd.common.core.security.TokenService;
+import com.zd.common.core.utils.ExcelUtil;
+import com.zd.common.core.web.controller.BaseController;
+import com.zd.laboratory.domain.LabWhiteJoinSublist;
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpClassify;
+import com.zd.laboratory.domain.vo.LabSubjectVO;
+import com.zd.laboratory.domain.vo.LabWhitelistVO;
+import com.zd.laboratory.service.ILabWhiteJoinSublistService;
+import com.zd.laboratory.service.ILabWhitelistService;
+import com.zd.laboratory.service.IXxpClassifyService;
+import com.zd.laboratory.service.impl.HaiKangDoorService;
+import com.zd.model.constant.HttpStatus;
+import com.zd.model.domain.ResultData;
+import com.zd.model.domain.per.PerFun;
+import com.zd.model.domain.per.PerPrefix;
+import com.zd.model.entity.SysUser;
+import com.zd.model.page.TableDataInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * 信息牌类目Controller
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+@RestController
+@Api(tags = "【信息牌类目】")
+@RequestMapping("/XxpClassify")
+public class LabXxpClassifyController extends BaseController
+{
+    @Autowired
+    private IXxpClassifyService xxpClassifyService;
+
+    @Autowired
+    private TokenService tokenService;
+
+    /**
+     * 查询信息牌类目列表
+     */
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.LIST)
+    @GetMapping("/list")
+    @ApiOperation(value = "查询信息牌类目列表")
+    public TableDataInfo<XxpClassify> list(XxpClassify xxpClassify)
+    {
+        // 排序规则获取
+        String sort=  "s".equals(xxpClassify.getRemark())?"sort":"create_time";
+        startPage(sort,"descending");
+        List<XxpClassify> list = xxpClassifyService.selectXxpClassifyList(xxpClassify);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出信息牌类目列表
+     */
+    @ApiOperation(value = "导出信息牌类目列表")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.EXPORT)
+    @Log(title = "信息牌类目", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, XxpClassify xxpClassify) throws IOException
+    {
+        List<XxpClassify> list = xxpClassifyService.selectXxpClassifyList(xxpClassify);
+        ExcelUtil<XxpClassify> util = new ExcelUtil<XxpClassify>(XxpClassify.class);
+        util.exportExcel(response, list, "信息牌类目数据");
+    }
+
+    /**
+     * 获取信息牌类目详细
+     */
+    @ApiOperation(value = "获取信息牌类目详细")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.QUERY)
+    @GetMapping(value = "/{id}")
+    public ResultData<XxpClassify> getInfo(@PathVariable("id") Long id)
+    {
+        return ResultData.success(xxpClassifyService.selectXxpClassifyById(id));
+    }
+
+
+    /**
+     * 新增信息牌类目
+     */
+    @ApiOperation(value = "新增信息牌类目")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.ADD)
+    @Log(title = "信息牌类目", businessType = BusinessType.INSERT)
+    @PostMapping
+    public ResultData add(@RequestBody XxpClassify xxpClassify)
+    {
+        return ResultData.result(xxpClassifyService.insertXxpClassify(xxpClassify));
+    }
+
+
+
+    /**
+     * 修改信息牌类目
+     */
+    @ApiOperation(value = "修改信息牌类目")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.EDIT)
+    @Log(title = "信息牌类目", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public ResultData edit(@RequestBody XxpClassify xxpClassify)
+    {
+        return  ResultData.result(xxpClassifyService.updateXxpClassify(xxpClassify));
+    }
+
+    /**
+     * 删除信息牌类目
+     */
+    @ApiOperation(value = "删除信息牌类目")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.REMOVE)
+    @Log(title = "信息牌类目", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public ResultData remove(@PathVariable Long[] ids)
+    {
+        return ResultData.result(xxpClassifyService.deleteXxpClassifyByIds(ids));
+    }
+
+    /**
+     * 根据id删除
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "根据id删除信息牌类目")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY + PerFun.REMOVE)
+    @Log(title = "信息牌类目", businessType = BusinessType.DELETE)
+    @PostMapping("/{id}")
+    public ResultData remove(@PathVariable Long id)
+    {
+        return ResultData.result(xxpClassifyService.deleteXxpClassifyById(id));
+    }
+
+}

+ 133 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/LabXxpClassifyDetailedController.java

@@ -0,0 +1,133 @@
+package com.zd.laboratory.controller;
+
+import com.zd.common.core.annotation.Log;
+import com.zd.common.core.annotation.PreAuthorize;
+import com.zd.common.core.log.BusinessType;
+import com.zd.common.core.security.TokenService;
+import com.zd.common.core.utils.ExcelUtil;
+import com.zd.common.core.web.controller.BaseController;
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpClassifyDetail;
+import com.zd.laboratory.service.IXxpClassifyDetailedService;
+import com.zd.model.domain.ResultData;
+import com.zd.model.domain.per.PerFun;
+import com.zd.model.domain.per.PerPrefix;
+import com.zd.model.page.TableDataInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * 安全信息类目详情Controller
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+@RestController
+@Api(tags = "【安全信息类目详情】")
+@RequestMapping("/XxpClassifyDet")
+public class LabXxpClassifyDetailedController extends BaseController
+{
+    @Autowired
+    private IXxpClassifyDetailedService classifyDetailedService;
+
+    @Autowired
+    private TokenService tokenService;
+
+    /**
+     * 查询安全信息类目详情列表
+     */
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.LIST)
+    @GetMapping("/list")
+    @ApiOperation(value = "查询安全信息类目详情列表")
+    public TableDataInfo<XxpClassifyDetail> list(XxpClassifyDetail classifyDetailed)
+    {
+        startPage();
+        List<XxpClassifyDetail> list = classifyDetailedService.selectXxpClassifyDetailedList(classifyDetailed);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出安全信息类目详情列表
+     */
+    @ApiOperation(value = "导出安全信息类目详情列表")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.EXPORT)
+    @Log(title = "安全信息类目详情", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, XxpClassifyDetail classifyDetailed) throws IOException
+    {
+        List<XxpClassifyDetail> list = classifyDetailedService.selectXxpClassifyDetailedList(classifyDetailed);
+        ExcelUtil<XxpClassifyDetail> util = new ExcelUtil<XxpClassifyDetail>(XxpClassifyDetail.class);
+        util.exportExcel(response, list, "安全信息类目详情数据");
+    }
+
+    /**
+     * 获取安全信息类目详情详细信息
+     */
+    @ApiOperation(value = "获取安全信息类目详情详细信息")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.QUERY)
+    @GetMapping(value = "/{id}")
+    public ResultData<XxpClassifyDetail> getInfo(@PathVariable("id") Long id)
+    {
+        return ResultData.success(classifyDetailedService.selectXxpClassifyDetailedById(id));
+    }
+
+
+    /**
+     * 新增安全信息类目详情
+     */
+    @ApiOperation(value = "新增安全信息类目详情")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.ADD)
+    @Log(title = "安全信息类目详情", businessType = BusinessType.INSERT)
+    @PostMapping
+    public ResultData add(@RequestBody XxpClassifyDetail classifyDetailed)
+    {
+        return ResultData.result(classifyDetailedService.insertXxpClassifyDetailed(classifyDetailed));
+    }
+
+
+
+    /**
+     * 修改安全信息类目详情
+     */
+    @ApiOperation(value = "修改安全信息类目详情")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.EDIT)
+    @Log(title = "安全信息类目详情", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public ResultData edit(@RequestBody XxpClassifyDetail classifyDetailed)
+    {
+        return  ResultData.result(classifyDetailedService.updateXxpClassifyDetailed(classifyDetailed));
+    }
+
+    /**
+     * 删除安全信息类目详情
+     */
+    @ApiOperation(value = "删除安全信息类目详情")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.REMOVE)
+    @Log(title = "安全信息类目详情", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public ResultData remove(@PathVariable Long[] ids)
+    {
+        return ResultData.result(classifyDetailedService.deleteXxpClassifyDetailedByIds(ids));
+    }
+
+    /**
+     * 根据id删除关联关系
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "根据id删除安全信息类目详情关联关系")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_CLASSIFY_DET + PerFun.REMOVE)
+    @Log(title = "安全信息类目详情", businessType = BusinessType.DELETE)
+    @PostMapping("/{id}")
+    public ResultData remove(@PathVariable Long id)
+    {
+        return ResultData.result(classifyDetailedService.deleteXxpClassifyDetailedById(id));
+    }
+
+}

+ 135 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/LabXxpDutyController.java

@@ -0,0 +1,135 @@
+package com.zd.laboratory.controller;
+
+import com.zd.common.core.annotation.Log;
+import com.zd.common.core.annotation.PreAuthorize;
+import com.zd.common.core.log.BusinessType;
+import com.zd.common.core.security.TokenService;
+import com.zd.common.core.utils.ExcelUtil;
+import com.zd.common.core.web.controller.BaseController;
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpDuty;
+import com.zd.laboratory.domain.XxpInspection;
+import com.zd.laboratory.service.IXxpDutyService;
+import com.zd.laboratory.service.IXxpInspectionService;
+import com.zd.model.domain.ResultData;
+import com.zd.model.domain.per.PerFun;
+import com.zd.model.domain.per.PerPrefix;
+import com.zd.model.page.TableDataInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * 值班Controller
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+@RestController
+@Api(tags = "【值班】")
+@RequestMapping("/XxpDuty")
+public class LabXxpDutyController extends BaseController
+{
+    @Autowired
+    private IXxpDutyService xxpDutyService;
+
+    @Autowired
+    private TokenService tokenService;
+
+    /**
+     * 查询值班列表
+     */
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.LIST)
+    @GetMapping("/list")
+    @ApiOperation(value = "查询值班列表")
+    public TableDataInfo<XxpDuty> list(XxpDuty xxpDuty)
+    {
+        startPage();
+        List<XxpDuty> list = xxpDutyService.selectXxpDutyList(xxpDuty);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出值班列表
+     */
+    @ApiOperation(value = "导出值班列表")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.EXPORT)
+    @Log(title = "值班", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, XxpDuty xxpDuty) throws IOException
+    {
+        List<XxpDuty> list = xxpDutyService.selectXxpDutyList(xxpDuty);
+        ExcelUtil<XxpDuty> util = new ExcelUtil<XxpDuty>(XxpDuty.class);
+        util.exportExcel(response, list, "值班数据");
+    }
+
+    /**
+     * 获取值班详细
+     */
+    @ApiOperation(value = "获取值班详细")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.QUERY)
+    @GetMapping(value = "/{id}")
+    public ResultData<XxpDuty> getInfo(@PathVariable("id") Long id)
+    {
+        return ResultData.success(xxpDutyService.selectXxpDutyById(id));
+    }
+
+
+    /**
+     * 新增值班
+     */
+    @ApiOperation(value = "新增值班")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.ADD)
+    @Log(title = "值班", businessType = BusinessType.INSERT)
+    @PostMapping
+    public ResultData add(@RequestBody XxpDuty xxpDuty)
+    {
+        return ResultData.result(xxpDutyService.insertXxpDuty(xxpDuty));
+    }
+
+
+
+    /**
+     * 修改值班
+     */
+    @ApiOperation(value = "修改值班")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.EDIT)
+    @Log(title = "值班", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public ResultData edit(@RequestBody XxpDuty xxpDuty)
+    {
+        return  ResultData.result(xxpDutyService.updateXxpDuty(xxpDuty));
+    }
+
+    /**
+     * 删除值班
+     */
+    @ApiOperation(value = "删除值班")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.REMOVE)
+    @Log(title = "值班", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public ResultData remove(@PathVariable Long[] ids)
+    {
+        return ResultData.result(xxpDutyService.deleteXxpDutyByIds(ids));
+    }
+
+    /**
+     * 根据id删除
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "根据id删除值班")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_DUTY + PerFun.REMOVE)
+    @Log(title = "值班", businessType = BusinessType.DELETE)
+    @PostMapping("/{id}")
+    public ResultData remove(@PathVariable Long id)
+    {
+        return ResultData.result(xxpDutyService.deleteXxpDutyById(id));
+    }
+
+}

+ 135 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/controller/LabXxpInspectionController.java

@@ -0,0 +1,135 @@
+package com.zd.laboratory.controller;
+
+import com.zd.common.core.annotation.Log;
+import com.zd.common.core.annotation.PreAuthorize;
+import com.zd.common.core.log.BusinessType;
+import com.zd.common.core.security.TokenService;
+import com.zd.common.core.utils.ExcelUtil;
+import com.zd.common.core.web.controller.BaseController;
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpClassify;
+import com.zd.laboratory.domain.XxpInspection;
+import com.zd.laboratory.service.IXxpClassifyService;
+import com.zd.laboratory.service.IXxpInspectionService;
+import com.zd.model.domain.ResultData;
+import com.zd.model.domain.per.PerFun;
+import com.zd.model.domain.per.PerPrefix;
+import com.zd.model.page.TableDataInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * 巡查Controller
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+@RestController
+@Api(tags = "【巡查】")
+@RequestMapping("/XxpInspection")
+public class LabXxpInspectionController extends BaseController
+{
+    @Autowired
+    private IXxpInspectionService xxpInspectionService;
+
+    @Autowired
+    private TokenService tokenService;
+
+    /**
+     * 查询巡查列表
+     */
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.LIST)
+    @GetMapping("/list")
+    @ApiOperation(value = "查询巡查列表")
+    public TableDataInfo<XxpInspection> list(XxpInspection xxpInspection)
+    {
+        startPage();
+        List<XxpInspection> list = xxpInspectionService.selectXxpInspectionList(xxpInspection);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出巡查列表
+     */
+    @ApiOperation(value = "导出巡查列表")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.EXPORT)
+    @Log(title = "巡查", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, XxpInspection xxpInspection) throws IOException
+    {
+        List<XxpInspection> list = xxpInspectionService.selectXxpInspectionList(xxpInspection);
+        ExcelUtil<XxpInspection> util = new ExcelUtil<XxpInspection>(XxpInspection.class);
+        util.exportExcel(response, list, "巡查数据");
+    }
+
+    /**
+     * 获取巡查详细
+     */
+    @ApiOperation(value = "获取巡查详细")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.QUERY)
+    @GetMapping(value = "/{id}")
+    public ResultData<XxpInspection> getInfo(@PathVariable("id") Long id)
+    {
+        return ResultData.success(xxpInspectionService.selectXxpInspectionById(id));
+    }
+
+
+    /**
+     * 新增巡查
+     */
+    @ApiOperation(value = "新增巡查")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.ADD)
+    @Log(title = "巡查", businessType = BusinessType.INSERT)
+    @PostMapping
+    public ResultData add(@RequestBody XxpInspection xxpInspection)
+    {
+        return ResultData.result(xxpInspectionService.insertXxpInspection(xxpInspection));
+    }
+
+
+
+    /**
+     * 修改巡查
+     */
+    @ApiOperation(value = "修改巡查")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.EDIT)
+    @Log(title = "巡查", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public ResultData edit(@RequestBody XxpInspection xxpInspection)
+    {
+        return  ResultData.result(xxpInspectionService.updateXxpInspection(xxpInspection));
+    }
+
+    /**
+     * 删除巡查
+     */
+    @ApiOperation(value = "删除巡查")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.REMOVE)
+    @Log(title = "巡查", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public ResultData remove(@PathVariable Long[] ids)
+    {
+        return ResultData.result(xxpInspectionService.deleteXxpInspectionByIds(ids));
+    }
+
+    /**
+     * 根据id删除
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "根据id删除巡查")
+    @PreAuthorize(hasPermi = PerPrefix.LABORATORY_XXP_INSPECTION + PerFun.REMOVE)
+    @Log(title = "巡查", businessType = BusinessType.DELETE)
+    @PostMapping("/{id}")
+    public ResultData remove(@PathVariable Long id)
+    {
+        return ResultData.result(xxpInspectionService.deleteXxpInspectionById(id));
+    }
+
+}

+ 66 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/IXxpCardInfoService.java

@@ -0,0 +1,66 @@
+package com.zd.laboratory.service;
+
+import com.zd.laboratory.domain.XxpCardInfo;
+
+import java.util.List;
+
+/**
+ * 电子信息牌 Service接口
+ *
+ * @author xxf
+ * @date 2023-03-22
+ */
+public interface IXxpCardInfoService
+{
+    /**
+     * 查询电子信息牌
+     *
+     * @param id 电子信息牌主键
+     * @return 电子信息牌
+     */
+    public XxpCardInfo selectXxpCardInfoById(Long id);
+
+    /**
+     * 查询电子信息牌列表
+     *
+     * @param xxpCardInfo 电子信息牌
+     * @return 电子信息牌集合
+     */
+    public List<XxpCardInfo> selectXxpCardInfoList(XxpCardInfo xxpCardInfo);
+
+
+
+    /**
+     * 新增电子信息牌
+     *
+     * @param xxpCardInfo 电子信息牌
+     * @return 结果
+     */
+    public int insertXxpCardInfo(XxpCardInfo xxpCardInfo);
+
+
+
+    /**
+     * 修改电子信息牌
+     *
+     * @param xxpCardInfo 电子信息牌
+     * @return 结果
+     */
+    public int updateXxpCardInfo(XxpCardInfo xxpCardInfo);
+
+    /**
+     * 批量删除电子信息牌
+     *
+     * @param ids 需要删除的电子信息牌主键集合
+     * @return 结果
+     */
+    public int deleteXxpCardInfoByIds(Long[] ids);
+
+    /**
+     * 删除电子信息牌信息
+     *
+     * @param id 电子信息牌主键
+     * @return 结果
+     */
+    public int deleteXxpCardInfoById(Long id);
+}

+ 66 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/IXxpClassifyDetailedService.java

@@ -0,0 +1,66 @@
+package com.zd.laboratory.service;
+
+import com.zd.laboratory.domain.XxpClassifyDetail;
+
+import java.util.List;
+
+/**
+ * 安全信息类目详情Service接口
+ *
+ * @author zd
+ * @date 2022-01-26
+ */
+public interface IXxpClassifyDetailedService
+{
+    /**
+     * 查询安全信息类目详情
+     *
+     * @param id 安全信息类目详情主键
+     * @return 安全信息类目详情
+     */
+    public XxpClassifyDetail selectXxpClassifyDetailedById(Long id);
+
+    /**
+     * 查询安全信息类目详情列表
+     *
+     * @param classifyDetail 安全信息类目详情
+     * @return 安全信息类目详情集合
+     */
+    public List<XxpClassifyDetail> selectXxpClassifyDetailedList(XxpClassifyDetail classifyDetail);
+
+
+
+    /**
+     * 新增安全信息类目详情
+     *
+     * @param classifyDetail 安全信息类目详情
+     * @return 结果
+     */
+    public int insertXxpClassifyDetailed(XxpClassifyDetail classifyDetail);
+
+
+
+    /**
+     * 修改安全信息类目详情
+     *
+     * @param classifyDetail 安全信息类目详情
+     * @return 结果
+     */
+    public int updateXxpClassifyDetailed(XxpClassifyDetail classifyDetail);
+
+    /**
+     * 批量删除安全信息类目详情
+     *
+     * @param ids 需要删除的安全信息类目详情主键集合
+     * @return 结果
+     */
+    public int deleteXxpClassifyDetailedByIds(Long[] ids);
+
+    /**
+     * 删除安全信息类目详情信息
+     *
+     * @param id 安全信息类目详情主键
+     * @return 结果
+     */
+    public int deleteXxpClassifyDetailedById(Long id);
+}

+ 68 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/IXxpClassifyService.java

@@ -0,0 +1,68 @@
+package com.zd.laboratory.service;
+
+import com.zd.laboratory.domain.LabWhitelist;
+import com.zd.laboratory.domain.XxpClassify;
+import com.zd.laboratory.domain.vo.LabWhitelistVO;
+
+import java.util.List;
+
+/**
+ * 信息牌类目Service接口
+ *
+ * @author zd
+ * @date 2022-01-26
+ */
+public interface IXxpClassifyService
+{
+    /**
+     * 查询信息牌类目
+     *
+     * @param id 信息牌类目主键
+     * @return 信息牌类目
+     */
+    public XxpClassify selectXxpClassifyById(Long id);
+
+    /**
+     * 查询信息牌类目列表
+     *
+     * @param xxpClassify 信息牌类目
+     * @return 信息牌类目集合
+     */
+    public List<XxpClassify> selectXxpClassifyList(XxpClassify xxpClassify);
+
+
+
+    /**
+     * 新增信息牌类目
+     *
+     * @param xxpClassify 信息牌类目
+     * @return 结果
+     */
+    public int insertXxpClassify(XxpClassify xxpClassify);
+
+
+
+    /**
+     * 修改信息牌类目
+     *
+     * @param xxpClassify 信息牌类目
+     * @return 结果
+     */
+    public int updateXxpClassify(XxpClassify xxpClassify);
+
+    /**
+     * 批量删除信息牌类目
+     *
+     * @param ids 需要删除的信息牌类目主键集合
+     * @return 结果
+     */
+    public int deleteXxpClassifyByIds(Long[] ids);
+
+    /**
+     * 删除信息牌类目信息
+     *
+     * @param id 信息牌类目主键
+     * @return 结果
+     */
+    public int deleteXxpClassifyById(Long id);
+}

+ 66 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/IXxpDutyService.java

@@ -0,0 +1,66 @@
+package com.zd.laboratory.service;
+
+import com.zd.laboratory.domain.XxpDuty;
+
+import java.util.List;
+
+/**
+ * 值班 Service接口
+ *
+ * @author zd
+ * @date 2022-01-26
+ */
+public interface IXxpDutyService
+{
+    /**
+     * 查询值班
+     *
+     * @param id 值班主键
+     * @return 值班
+     */
+    public XxpDuty selectXxpDutyById(Long id);
+
+    /**
+     * 查询值班列表
+     *
+     * @param xxpDuty 值班
+     * @return 值班集合
+     */
+    public List<XxpDuty> selectXxpDutyList(XxpDuty xxpDuty);
+
+
+
+    /**
+     * 新增值班
+     *
+     * @param xxpDuty 值班
+     * @return 结果
+     */
+    public int insertXxpDuty(XxpDuty xxpDuty);
+
+
+
+    /**
+     * 修改值班
+     *
+     * @param xxpDuty 值班
+     * @return 结果
+     */
+    public int updateXxpDuty(XxpDuty xxpDuty);
+
+    /**
+     * 批量删除值班
+     *
+     * @param ids 需要删除的值班主键集合
+     * @return 结果
+     */
+    public int deleteXxpDutyByIds(Long[] ids);
+
+    /**
+     * 删除值班信息
+     *
+     * @param id 值班主键
+     * @return 结果
+     */
+    public int deleteXxpDutyById(Long id);
+}

+ 66 - 0
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/IXxpInspectionService.java

@@ -0,0 +1,66 @@
+package com.zd.laboratory.service;
+
+import com.zd.laboratory.domain.XxpInspection;
+
+import java.util.List;
+
+/**
+ * 巡查 Service接口
+ *
+ * @author zd
+ * @date 2022-01-26
+ */
+public interface IXxpInspectionService
+{
+    /**
+     * 查询巡查
+     *
+     * @param id 巡查主键
+     * @return 巡查
+     */
+    public XxpInspection selectXxpInspectionById(Long id);
+
+    /**
+     * 查询巡查列表
+     *
+     * @param xxpInspection 巡查
+     * @return 巡查集合
+     */
+    public List<XxpInspection> selectXxpInspectionList(XxpInspection xxpInspection);
+
+
+
+    /**
+     * 新增巡查
+     *
+     * @param xxpInspection 巡查
+     * @return 结果
+     */
+    public int insertXxpInspection(XxpInspection xxpInspection);
+
+
+
+    /**
+     * 修改巡查
+     *
+     * @param xxpInspection 巡查
+     * @return 结果
+     */
+    public int updateXxpInspection(XxpInspection xxpInspection);
+
+    /**
+     * 批量删除巡查
+     *
+     * @param ids 需要删除的巡查主键集合
+     * @return 结果
+     */
+    public int deleteXxpInspectionByIds(Long[] ids);
+
+    /**
+     * 删除巡查信息
+     *
+     * @param id 巡查主键
+     * @return 结果
+     */
+    public int deleteXxpInspectionById(Long id);
+}