From d8f63fa43bce5e9e9836b2994e8cdb7391e0b76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sun, 25 Aug 2024 13:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yanzhu/manage/domain/BusExamInfo.java | 240 +++++++++ .../yanzhu/manage/domain/BusExamInfoQues.java | 80 +++ .../yanzhu/manage/domain/BusExamQuestion.java | 184 +++++++ .../manage/domain/BusExamQuestionResult.java | 98 ++++ .../com/yanzhu/manage/domain/BusExamUser.java | 238 +++++++++ .../manage/domain/BusExamUserResult.java | 108 ++++ .../manage/domain/BusTrainingVideo.java | 210 ++++++++ .../manage/domain/BusTrainingVideoUser.java | 140 +++++ .../yanzhu/manage/domain/ProProjectInfo.java | 504 ++++++++++++++++++ .../manage/domain/ProProjectInfoDepts.java | 112 ++++ .../manage/domain/ProProjectInfoSetting.java | 140 +++++ .../manage/domain/ProProjectInfoSubdepts.java | 238 +++++++++ .../domain/ProProjectInfoSubdeptsGroup.java | 266 +++++++++ .../domain/ProProjectInfoSubdeptsUsers.java | 284 ++++++++++ .../manage/domain/ProProjectInfoUsers.java | 154 ++++++ .../manage/mapper/BusExamInfoMapper.java | 87 +++ .../manage/mapper/BusExamInfoQuesMapper.java | 61 +++ .../manage/mapper/BusExamQuestionMapper.java | 87 +++ .../mapper/BusExamQuestionResultMapper.java | 61 +++ .../manage/mapper/BusExamUserMapper.java | 61 +++ .../mapper/BusExamUserResultMapper.java | 61 +++ .../manage/mapper/BusTrainingVideoMapper.java | 61 +++ .../mapper/BusTrainingVideoUserMapper.java | 62 +++ .../mapper/ProProjectInfoDeptsMapper.java | 61 +++ .../manage/mapper/ProProjectInfoMapper.java | 61 +++ .../mapper/ProProjectInfoSettingMapper.java | 61 +++ .../ProProjectInfoSubdeptsGroupMapper.java | 61 +++ .../mapper/ProProjectInfoSubdeptsMapper.java | 61 +++ .../ProProjectInfoSubdeptsUsersMapper.java | 61 +++ .../mapper/ProProjectInfoUsersMapper.java | 61 +++ .../mapper/manage/BusExamInfoMapper.xml | 168 ++++++ .../mapper/manage/BusExamInfoQuesMapper.xml | 69 +++ .../mapper/manage/BusExamQuestionMapper.xml | 154 ++++++ .../manage/BusExamQuestionResultMapper.xml | 91 ++++ .../mapper/manage/BusExamUserMapper.xml | 141 +++++ .../mapper/manage/BusExamUserResultMapper.xml | 79 +++ .../mapper/manage/BusTrainingVideoMapper.xml | 128 +++++ .../manage/BusTrainingVideoUserMapper.xml | 106 ++++ .../manage/ProProjectInfoDeptsMapper.xml | 96 ++++ .../mapper/manage/ProProjectInfoMapper.xml | 215 ++++++++ .../manage/ProProjectInfoSettingMapper.xml | 106 ++++ .../ProProjectInfoSubdeptsGroupMapper.xml | 151 ++++++ .../manage/ProProjectInfoSubdeptsMapper.xml | 141 +++++ .../ProProjectInfoSubdeptsUsersMapper.xml | 156 ++++++ .../manage/ProProjectInfoUsersMapper.xml | 111 ++++ .../controller/BusExamInfoController.java | 98 ++++ .../controller/BusExamInfoQuesController.java | 98 ++++ .../controller/BusExamQuestionController.java | 98 ++++ .../BusExamQuestionResultController.java | 98 ++++ .../controller/BusExamUserController.java | 98 ++++ .../BusExamUserResultController.java | 98 ++++ .../BusTrainingVideoController.java | 98 ++++ .../BusTrainingVideoUserController.java | 98 ++++ .../controller/ProProjectInfoController.java | 98 ++++ .../ProProjectInfoDeptsController.java | 98 ++++ .../ProProjectInfoSettingController.java | 98 ++++ .../ProProjectInfoSubdeptsController.java | 98 ++++ ...ProProjectInfoSubdeptsGroupController.java | 98 ++++ ...ProProjectInfoSubdeptsUsersController.java | 98 ++++ .../ProProjectInfoUsersController.java | 98 ++++ .../java/com/yanzhu/manage/controller/init | 0 .../service/IBusExamInfoQuesService.java | 61 +++ .../manage/service/IBusExamInfoService.java | 61 +++ .../IBusExamQuestionResultService.java | 61 +++ .../service/IBusExamQuestionService.java | 61 +++ .../service/IBusExamUserResultService.java | 61 +++ .../manage/service/IBusExamUserService.java | 61 +++ .../service/IBusTrainingVideoService.java | 61 +++ .../service/IBusTrainingVideoUserService.java | 62 +++ .../service/IProProjectInfoDeptsService.java | 61 +++ .../service/IProProjectInfoService.java | 61 +++ .../IProProjectInfoSettingService.java | 61 +++ .../IProProjectInfoSubdeptsGroupService.java | 61 +++ .../IProProjectInfoSubdeptsService.java | 61 +++ .../IProProjectInfoSubdeptsUsersService.java | 61 +++ .../service/IProProjectInfoUsersService.java | 61 +++ .../impl/BusExamInfoQuesServiceImpl.java | 93 ++++ .../service/impl/BusExamInfoServiceImpl.java | 135 +++++ .../BusExamQuestionResultServiceImpl.java | 96 ++++ .../impl/BusExamQuestionServiceImpl.java | 134 +++++ .../impl/BusExamUserResultServiceImpl.java | 93 ++++ .../service/impl/BusExamUserServiceImpl.java | 96 ++++ .../impl/BusTrainingVideoServiceImpl.java | 97 ++++ .../impl/BusTrainingVideoUserServiceImpl.java | 97 ++++ .../impl/ProProjectInfoDeptsServiceImpl.java | 97 ++++ .../impl/ProProjectInfoServiceImpl.java | 96 ++++ .../ProProjectInfoSettingServiceImpl.java | 96 ++++ ...roProjectInfoSubdeptsGroupServiceImpl.java | 97 ++++ .../ProProjectInfoSubdeptsServiceImpl.java | 96 ++++ ...roProjectInfoSubdeptsUsersServiceImpl.java | 97 ++++ .../impl/ProProjectInfoUsersServiceImpl.java | 97 ++++ .../java/com/yanzhu/manage/service/impl/init | 0 .../main/java/com/yanzhu/manage/service/init | 0 yanzhu-ui-vue3/src/api/manage/busExamInfo.js | 44 ++ .../src/api/manage/busExamInfoQues.js | 44 ++ .../src/api/manage/busExamQuestion.js | 44 ++ .../src/api/manage/busExamQuestionResult.js | 44 ++ yanzhu-ui-vue3/src/api/manage/busExamUser.js | 44 ++ .../src/api/manage/busExamUserResult.js | 44 ++ .../src/api/manage/busTrainingVideo.js | 44 ++ .../src/api/manage/busTrainingVideoUser.js | 44 ++ .../src/api/manage/proProjectInfo.js | 44 ++ .../src/api/manage/proProjectInfoDepts.js | 44 ++ .../src/api/manage/proProjectInfoSetting.js | 44 ++ .../src/api/manage/proProjectInfoSubdepts.js | 44 ++ .../api/manage/proProjectInfoSubdeptsGroup.js | 44 ++ .../api/manage/proProjectInfoSubdeptsUsers.js | 44 ++ .../src/api/manage/proProjectInfoUsers.js | 44 ++ .../components/Process/panel/commonPanel.vue | 39 ++ .../src/views/manage/busExamInfo/index.vue | 498 +++++++++++++++++ .../views/manage/busExamInfoQues/index.vue | 267 ++++++++++ .../views/manage/busExamQuestion/index.vue | 485 +++++++++++++++++ .../manage/busExamQuestionResult/index.vue | 291 ++++++++++ .../src/views/manage/busExamUser/index.vue | 459 ++++++++++++++++ .../views/manage/busExamUserResult/index.vue | 295 ++++++++++ .../views/manage/busTrainingVideo/index.vue | 424 +++++++++++++++ .../manage/busTrainingVideoUser/index.vue | 308 +++++++++++ .../src/views/manage/proProjectInfo/index.vue | 491 +++++++++++++++++ .../manage/proProjectInfoDepts/index.vue | 318 +++++++++++ .../manage/proProjectInfoSetting/index.vue | 317 +++++++++++ .../manage/proProjectInfoSubdepts/index.vue | 446 ++++++++++++++++ .../proProjectInfoSubdeptsGroup/index.vue | 500 +++++++++++++++++ .../proProjectInfoSubdeptsUsers/index.vue | 476 +++++++++++++++++ .../manage/proProjectInfoUsers/index.vue | 360 +++++++++++++ 124 files changed, 16413 insertions(+) create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfo.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfoQues.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestion.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestionResult.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUser.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUserResult.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideo.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideoUser.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfo.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoDepts.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSetting.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdepts.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsGroup.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsUsers.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoUsers.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoQuesMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionResultMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserResultMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoUserMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoDeptsMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSettingMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsGroupMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsUsersMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoUsersMapper.java create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoQuesMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionResultMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserResultMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoUserMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoDeptsMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSettingMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsGroupMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml create mode 100644 yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoUsersMapper.xml create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoQuesController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionResultController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserResultController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoUserController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoDeptsController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSettingController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsGroupController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsUsersController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoUsersController.java delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/init create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoQuesService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionResultService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserResultService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoUserService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoDeptsService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSettingService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsGroupService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsUsersService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoUsersService.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoQuesServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionResultServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserResultServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoUserServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoDeptsServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSettingServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsGroupServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsUsersServiceImpl.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoUsersServiceImpl.java delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/init delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/init create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamInfo.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamInfoQues.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamQuestion.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamQuestionResult.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamUser.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busExamUserResult.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busTrainingVideo.js create mode 100644 yanzhu-ui-vue3/src/api/manage/busTrainingVideoUser.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfo.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoDepts.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoSetting.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdepts.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsGroup.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsUsers.js create mode 100644 yanzhu-ui-vue3/src/api/manage/proProjectInfoUsers.js create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamInfo/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamInfoQues/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamQuestion/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamQuestionResult/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamUser/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busExamUserResult/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busTrainingVideo/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/busTrainingVideoUser/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoDepts/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoSetting/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdepts/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsGroup/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsUsers/index.vue create mode 100644 yanzhu-ui-vue3/src/views/manage/proProjectInfoUsers/index.vue diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfo.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfo.java new file mode 100644 index 00000000..4630757c --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfo.java @@ -0,0 +1,240 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +import java.util.List; + +/** + * 基础试卷对象 bus_exam_info + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamInfo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 部门主键 */ + @Excel(name = "部门主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 试卷名称 */ + @Excel(name = "试卷名称") + private String examTitle; + + /** 试卷类型 */ + @Excel(name = "试卷类型") + private String examType; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 单选题数量 */ + @Excel(name = "单选题数量") + private String singleNum; + + /** 多选题数量 */ + @Excel(name = "多选题数量") + private String multipleNum; + + /** 判断题数量 */ + @Excel(name = "判断题数量") + private String estimateNum; + + /** 试卷分数 */ + @Excel(name = "试卷分数") + private Long fullMark; + + /** 通过分数 */ + @Excel(name = "通过分数") + private Long passMark; + + /** 答题次数 */ + @Excel(name = "答题次数") + private Long useNumber; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + /** 试卷问题信息 */ + private List busExamInfoQuesList; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setExamTitle(String examTitle) + { + this.examTitle = examTitle; + } + + public String getExamTitle() + { + return examTitle; + } + public void setExamType(String examType) + { + this.examType = examType; + } + + public String getExamType() + { + return examType; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setSingleNum(String singleNum) + { + this.singleNum = singleNum; + } + + public String getSingleNum() + { + return singleNum; + } + public void setMultipleNum(String multipleNum) + { + this.multipleNum = multipleNum; + } + + public String getMultipleNum() + { + return multipleNum; + } + public void setEstimateNum(String estimateNum) + { + this.estimateNum = estimateNum; + } + + public String getEstimateNum() + { + return estimateNum; + } + public void setFullMark(Long fullMark) + { + this.fullMark = fullMark; + } + + public Long getFullMark() + { + return fullMark; + } + public void setPassMark(Long passMark) + { + this.passMark = passMark; + } + + public Long getPassMark() + { + return passMark; + } + public void setUseNumber(Long useNumber) + { + this.useNumber = useNumber; + } + + public Long getUseNumber() + { + return useNumber; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public List getBusExamInfoQuesList() + { + return busExamInfoQuesList; + } + + public void setBusExamInfoQuesList(List busExamInfoQuesList) + { + this.busExamInfoQuesList = busExamInfoQuesList; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("examTitle", getExamTitle()) + .append("examType", getExamType()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("singleNum", getSingleNum()) + .append("multipleNum", getMultipleNum()) + .append("estimateNum", getEstimateNum()) + .append("fullMark", getFullMark()) + .append("passMark", getPassMark()) + .append("useNumber", getUseNumber()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("busExamInfoQuesList", getBusExamInfoQuesList()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfoQues.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfoQues.java new file mode 100644 index 00000000..074cd9e7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamInfoQues.java @@ -0,0 +1,80 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 试卷问题对象 bus_exam_info_ques + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamInfoQues extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 试卷主键 */ + @Excel(name = "试卷主键") + private Long examId; + + /** 问题主键 */ + @Excel(name = "问题主键") + private Long questionId; + + /** 分数 */ + @Excel(name = "分数") + private Long marks; + + /** 排序 */ + @Excel(name = "排序") + private Long sortBy; + + public void setExamId(Long examId) + { + this.examId = examId; + } + + public Long getExamId() + { + return examId; + } + public void setQuestionId(Long questionId) + { + this.questionId = questionId; + } + + public Long getQuestionId() + { + return questionId; + } + public void setMarks(Long marks) + { + this.marks = marks; + } + + public Long getMarks() + { + return marks; + } + public void setSortBy(Long sortBy) + { + this.sortBy = sortBy; + } + + public Long getSortBy() + { + return sortBy; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("examId", getExamId()) + .append("questionId", getQuestionId()) + .append("marks", getMarks()) + .append("sortBy", getSortBy()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestion.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestion.java new file mode 100644 index 00000000..7b013953 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestion.java @@ -0,0 +1,184 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +import java.util.List; + +/** + * 基础题库对象 bus_exam_question + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamQuestion extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 单位主键 */ + @Excel(name = "单位主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 问题难度 */ + @Excel(name = "问题难度") + private Long questionDiff; + + /** 问题类型 */ + @Excel(name = "问题类型") + private Long questionType; + + /** 问题描述 */ + @Excel(name = "问题描述") + private String questionDesc; + + /** 问题答案 */ + @Excel(name = "问题答案") + private String questionAnswer; + + /** 是否删除 */ + @Excel(name = "是否删除") + private Long isDel; + + /** 题库问题信息 */ + private List busExamQuestionResultList; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setQuestionDiff(Long questionDiff) + { + this.questionDiff = questionDiff; + } + + public Long getQuestionDiff() + { + return questionDiff; + } + public void setQuestionType(Long questionType) + { + this.questionType = questionType; + } + + public Long getQuestionType() + { + return questionType; + } + public void setQuestionDesc(String questionDesc) + { + this.questionDesc = questionDesc; + } + + public String getQuestionDesc() + { + return questionDesc; + } + public void setQuestionAnswer(String questionAnswer) + { + this.questionAnswer = questionAnswer; + } + + public String getQuestionAnswer() + { + return questionAnswer; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + public List getBusExamQuestionResultList() + { + return busExamQuestionResultList; + } + + public void setBusExamQuestionResultList(List busExamQuestionResultList) + { + this.busExamQuestionResultList = busExamQuestionResultList; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("questionDiff", getQuestionDiff()) + .append("questionType", getQuestionType()) + .append("questionDesc", getQuestionDesc()) + .append("questionAnswer", getQuestionAnswer()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("busExamQuestionResultList", getBusExamQuestionResultList()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestionResult.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestionResult.java new file mode 100644 index 00000000..d7383805 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamQuestionResult.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 题库问题对象 bus_exam_question_result + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamQuestionResult extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 问题主键 */ + @Excel(name = "问题主键") + private Long questionId; + + /** 选项 */ + @Excel(name = "选项") + private String opt; + + /** 问题选项 */ + @Excel(name = "问题选项") + private String result; + + /** 是否删除 */ + @Excel(name = "是否删除") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setQuestionId(Long questionId) + { + this.questionId = questionId; + } + + public Long getQuestionId() + { + return questionId; + } + public void setOpt(String opt) + { + this.opt = opt; + } + + public String getOpt() + { + return opt; + } + public void setResult(String result) + { + this.result = result; + } + + public String getResult() + { + return result; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("questionId", getQuestionId()) + .append("opt", getOpt()) + .append("result", getResult()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUser.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUser.java new file mode 100644 index 00000000..85b9de43 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUser.java @@ -0,0 +1,238 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 用户试卷对象 bus_exam_user + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamUser extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 部门主键 */ + @Excel(name = "部门主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 用户主键 */ + @Excel(name = "用户主键") + private Long userId; + + /** 试卷名称 */ + @Excel(name = "试卷名称") + private String examTitle; + + /** 试卷类型 */ + @Excel(name = "试卷类型") + private String examType; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 单选题数量 */ + @Excel(name = "单选题数量") + private String singleNum; + + /** 多选题数量 */ + @Excel(name = "多选题数量") + private String multipleNum; + + /** 判断题数量 */ + @Excel(name = "判断题数量") + private String estimateNum; + + /** 用户分数 */ + @Excel(name = "用户分数") + private Long userMark; + + /** 结果状态 */ + @Excel(name = "结果状态") + private Long resStatus; + + /** 答题耗时 */ + @Excel(name = "答题耗时") + private String useTimes; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setExamTitle(String examTitle) + { + this.examTitle = examTitle; + } + + public String getExamTitle() + { + return examTitle; + } + public void setExamType(String examType) + { + this.examType = examType; + } + + public String getExamType() + { + return examType; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setSingleNum(String singleNum) + { + this.singleNum = singleNum; + } + + public String getSingleNum() + { + return singleNum; + } + public void setMultipleNum(String multipleNum) + { + this.multipleNum = multipleNum; + } + + public String getMultipleNum() + { + return multipleNum; + } + public void setEstimateNum(String estimateNum) + { + this.estimateNum = estimateNum; + } + + public String getEstimateNum() + { + return estimateNum; + } + public void setUserMark(Long userMark) + { + this.userMark = userMark; + } + + public Long getUserMark() + { + return userMark; + } + public void setResStatus(Long resStatus) + { + this.resStatus = resStatus; + } + + public Long getResStatus() + { + return resStatus; + } + public void setUseTimes(String useTimes) + { + this.useTimes = useTimes; + } + + public String getUseTimes() + { + return useTimes; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("userId", getUserId()) + .append("examTitle", getExamTitle()) + .append("examType", getExamType()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("singleNum", getSingleNum()) + .append("multipleNum", getMultipleNum()) + .append("estimateNum", getEstimateNum()) + .append("userMark", getUserMark()) + .append("resStatus", getResStatus()) + .append("useTimes", getUseTimes()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUserResult.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUserResult.java new file mode 100644 index 00000000..7ee2ccf6 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusExamUserResult.java @@ -0,0 +1,108 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 用户试卷结果对象 bus_exam_user_result + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusExamUserResult extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 用户试卷主键 */ + @Excel(name = "用户试卷主键") + private Long examUserId; + + /** 问题主键 */ + @Excel(name = "问题主键") + private Long questionId; + + /** 用户答案 */ + @Excel(name = "用户答案") + private String answers; + + /** 排序 */ + @Excel(name = "排序") + private Long sortBy; + + /** 答题结果 */ + @Excel(name = "答题结果") + private String useRes; + + /** 答题得分 */ + @Excel(name = "答题得分") + private String useMark; + + public void setExamUserId(Long examUserId) + { + this.examUserId = examUserId; + } + + public Long getExamUserId() + { + return examUserId; + } + public void setQuestionId(Long questionId) + { + this.questionId = questionId; + } + + public Long getQuestionId() + { + return questionId; + } + public void setAnswers(String answers) + { + this.answers = answers; + } + + public String getAnswers() + { + return answers; + } + public void setSortBy(Long sortBy) + { + this.sortBy = sortBy; + } + + public Long getSortBy() + { + return sortBy; + } + public void setUseRes(String useRes) + { + this.useRes = useRes; + } + + public String getUseRes() + { + return useRes; + } + public void setUseMark(String useMark) + { + this.useMark = useMark; + } + + public String getUseMark() + { + return useMark; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("examUserId", getExamUserId()) + .append("questionId", getQuestionId()) + .append("answers", getAnswers()) + .append("sortBy", getSortBy()) + .append("useRes", getUseRes()) + .append("useMark", getUseMark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideo.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideo.java new file mode 100644 index 00000000..96dd6924 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideo.java @@ -0,0 +1,210 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 培训视频对象 bus_training_video + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusTrainingVideo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 部门主键 */ + @Excel(name = "部门主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 培训名称 */ + @Excel(name = "培训名称") + private String trainTitle; + + /** 培训类型 */ + @Excel(name = "培训类型") + private String trainType; + + /** 培训级别 */ + @Excel(name = "培训级别") + private String trainLevel; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 培训文件类型 */ + @Excel(name = "培训文件类型") + private String trainFileType; + + /** 培训文件地址 */ + @Excel(name = "培训文件地址") + private String trainFilePath; + + /** 培训文件主图 */ + @Excel(name = "培训文件主图") + private String trainFileImage; + + /** 培训文件时长 */ + @Excel(name = "培训文件时长") + private String trainFileTimes; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setTrainTitle(String trainTitle) + { + this.trainTitle = trainTitle; + } + + public String getTrainTitle() + { + return trainTitle; + } + public void setTrainType(String trainType) + { + this.trainType = trainType; + } + + public String getTrainType() + { + return trainType; + } + public void setTrainLevel(String trainLevel) + { + this.trainLevel = trainLevel; + } + + public String getTrainLevel() + { + return trainLevel; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setTrainFileType(String trainFileType) + { + this.trainFileType = trainFileType; + } + + public String getTrainFileType() + { + return trainFileType; + } + public void setTrainFilePath(String trainFilePath) + { + this.trainFilePath = trainFilePath; + } + + public String getTrainFilePath() + { + return trainFilePath; + } + public void setTrainFileImage(String trainFileImage) + { + this.trainFileImage = trainFileImage; + } + + public String getTrainFileImage() + { + return trainFileImage; + } + public void setTrainFileTimes(String trainFileTimes) + { + this.trainFileTimes = trainFileTimes; + } + + public String getTrainFileTimes() + { + return trainFileTimes; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("trainTitle", getTrainTitle()) + .append("trainType", getTrainType()) + .append("trainLevel", getTrainLevel()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("trainFileType", getTrainFileType()) + .append("trainFilePath", getTrainFilePath()) + .append("trainFileImage", getTrainFileImage()) + .append("trainFileTimes", getTrainFileTimes()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideoUser.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideoUser.java new file mode 100644 index 00000000..18d2d6a1 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/BusTrainingVideoUser.java @@ -0,0 +1,140 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 用户培训视频对象 bus_training_video_user + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class BusTrainingVideoUser extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 部门主键 */ + @Excel(name = "部门主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 用户主键 */ + @Excel(name = "用户主键") + private Long userId; + + /** 视频主键 */ + @Excel(name = "视频主键") + private Long videoId; + + /** 播放状态 */ + @Excel(name = "播放状态") + private Long playStatus; + + /** 排序 */ + @Excel(name = "排序") + private Long sortBy; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setVideoId(Long videoId) + { + this.videoId = videoId; + } + + public Long getVideoId() + { + return videoId; + } + public void setPlayStatus(Long playStatus) + { + this.playStatus = playStatus; + } + + public Long getPlayStatus() + { + return playStatus; + } + public void setSortBy(Long sortBy) + { + this.sortBy = sortBy; + } + + public Long getSortBy() + { + return sortBy; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("userId", getUserId()) + .append("videoId", getVideoId()) + .append("playStatus", getPlayStatus()) + .append("sortBy", getSortBy()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfo.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfo.java new file mode 100644 index 00000000..b78fa9f7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfo.java @@ -0,0 +1,504 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 项目信息对象 pro_project_info + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 所属单位 */ + @Excel(name = "所属单位") + private Long deptId; + + /** 部门主键 */ + @Excel(name = "部门主键") + private Long visDeptId; + + /** 显示部门 */ + @Excel(name = "显示部门") + private Long disDeptId; + + /** 项目名称 */ + @Excel(name = "项目名称") + private String projectName; + + /** 项目编号 */ + @Excel(name = "项目编号") + private String projectCode; + + /** 项目简称 */ + @Excel(name = "项目简称") + private String simpleName; + + /** 项目类型 */ + @Excel(name = "项目类型") + private String projectType; + + /** 项目等级 */ + @Excel(name = "项目等级") + private String projiectLevel; + + /** 项目区县 */ + @Excel(name = "项目区县") + private String projectRegional; + + /** 项目地址 */ + @Excel(name = "项目地址") + private String projectAddress; + + /** 项目建设属性 */ + @Excel(name = "项目建设属性") + private String projectNature; + + /** 许可证号 */ + @Excel(name = "许可证号") + private String licenceNumber; + + /** 项目负责人 */ + @Excel(name = "项目负责人") + private String projectPerson; + + /** 负责人电话 */ + @Excel(name = "负责人电话") + private String projectPersonPhone; + + /** 经度 */ + @Excel(name = "经度") + private String longitude; + + /** 纬度 */ + @Excel(name = "纬度") + private String latitude; + + /** 项目工期 */ + @Excel(name = "项目工期") + private Long projectTimeLimit; + + /** 总投资 */ + @Excel(name = "总投资") + private String totalInvestment; + + /** 建筑面积 */ + @Excel(name = "建筑面积") + private String floorArea; + + /** 开累产值 */ + @Excel(name = "开累产值") + private String totalOutputValue; + + /** 计划完工时间 */ + @Excel(name = "计划完工时间") + private String plannedCompletionTime; + + /** 计划开始时间 */ + @Excel(name = "计划开始时间") + private String scheduledStartTime; + + /** 实际开始时间 */ + @Excel(name = "实际开始时间") + private String actualOperatingTime; + + /** 实际完工时间 */ + @Excel(name = "实际完工时间") + private String actualCompletionTime; + + /** 合同总金额 */ + @Excel(name = "合同总金额") + private String contractAmount; + + /** 已支付金额 */ + @Excel(name = "已支付金额") + private String paidAmount; + + /** 挂账金额 */ + @Excel(name = "挂账金额") + private String onAccountAmount; + + /** 项目进度 */ + @Excel(name = "项目进度") + private String projectSchedule; + + /** 项目概述 */ + @Excel(name = "项目概述") + private String projectSummarize; + + /** 项目二维码 */ + @Excel(name = "项目二维码") + private String projectQrCode; + + /** 项目状态 */ + @Excel(name = "项目状态") + private String projectStatus; + + /** 项目排序 */ + @Excel(name = "项目排序") + private Long projectSort; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setVisDeptId(Long visDeptId) + { + this.visDeptId = visDeptId; + } + + public Long getVisDeptId() + { + return visDeptId; + } + public void setDisDeptId(Long disDeptId) + { + this.disDeptId = disDeptId; + } + + public Long getDisDeptId() + { + return disDeptId; + } + public void setProjectName(String projectName) + { + this.projectName = projectName; + } + + public String getProjectName() + { + return projectName; + } + public void setProjectCode(String projectCode) + { + this.projectCode = projectCode; + } + + public String getProjectCode() + { + return projectCode; + } + public void setSimpleName(String simpleName) + { + this.simpleName = simpleName; + } + + public String getSimpleName() + { + return simpleName; + } + public void setProjectType(String projectType) + { + this.projectType = projectType; + } + + public String getProjectType() + { + return projectType; + } + public void setProjiectLevel(String projiectLevel) + { + this.projiectLevel = projiectLevel; + } + + public String getProjiectLevel() + { + return projiectLevel; + } + public void setProjectRegional(String projectRegional) + { + this.projectRegional = projectRegional; + } + + public String getProjectRegional() + { + return projectRegional; + } + public void setProjectAddress(String projectAddress) + { + this.projectAddress = projectAddress; + } + + public String getProjectAddress() + { + return projectAddress; + } + public void setProjectNature(String projectNature) + { + this.projectNature = projectNature; + } + + public String getProjectNature() + { + return projectNature; + } + public void setLicenceNumber(String licenceNumber) + { + this.licenceNumber = licenceNumber; + } + + public String getLicenceNumber() + { + return licenceNumber; + } + public void setProjectPerson(String projectPerson) + { + this.projectPerson = projectPerson; + } + + public String getProjectPerson() + { + return projectPerson; + } + public void setProjectPersonPhone(String projectPersonPhone) + { + this.projectPersonPhone = projectPersonPhone; + } + + public String getProjectPersonPhone() + { + return projectPersonPhone; + } + public void setLongitude(String longitude) + { + this.longitude = longitude; + } + + public String getLongitude() + { + return longitude; + } + public void setLatitude(String latitude) + { + this.latitude = latitude; + } + + public String getLatitude() + { + return latitude; + } + public void setProjectTimeLimit(Long projectTimeLimit) + { + this.projectTimeLimit = projectTimeLimit; + } + + public Long getProjectTimeLimit() + { + return projectTimeLimit; + } + public void setTotalInvestment(String totalInvestment) + { + this.totalInvestment = totalInvestment; + } + + public String getTotalInvestment() + { + return totalInvestment; + } + public void setFloorArea(String floorArea) + { + this.floorArea = floorArea; + } + + public String getFloorArea() + { + return floorArea; + } + public void setTotalOutputValue(String totalOutputValue) + { + this.totalOutputValue = totalOutputValue; + } + + public String getTotalOutputValue() + { + return totalOutputValue; + } + public void setPlannedCompletionTime(String plannedCompletionTime) + { + this.plannedCompletionTime = plannedCompletionTime; + } + + public String getPlannedCompletionTime() + { + return plannedCompletionTime; + } + public void setScheduledStartTime(String scheduledStartTime) + { + this.scheduledStartTime = scheduledStartTime; + } + + public String getScheduledStartTime() + { + return scheduledStartTime; + } + public void setActualOperatingTime(String actualOperatingTime) + { + this.actualOperatingTime = actualOperatingTime; + } + + public String getActualOperatingTime() + { + return actualOperatingTime; + } + public void setActualCompletionTime(String actualCompletionTime) + { + this.actualCompletionTime = actualCompletionTime; + } + + public String getActualCompletionTime() + { + return actualCompletionTime; + } + public void setContractAmount(String contractAmount) + { + this.contractAmount = contractAmount; + } + + public String getContractAmount() + { + return contractAmount; + } + public void setPaidAmount(String paidAmount) + { + this.paidAmount = paidAmount; + } + + public String getPaidAmount() + { + return paidAmount; + } + public void setOnAccountAmount(String onAccountAmount) + { + this.onAccountAmount = onAccountAmount; + } + + public String getOnAccountAmount() + { + return onAccountAmount; + } + public void setProjectSchedule(String projectSchedule) + { + this.projectSchedule = projectSchedule; + } + + public String getProjectSchedule() + { + return projectSchedule; + } + public void setProjectSummarize(String projectSummarize) + { + this.projectSummarize = projectSummarize; + } + + public String getProjectSummarize() + { + return projectSummarize; + } + public void setProjectQrCode(String projectQrCode) + { + this.projectQrCode = projectQrCode; + } + + public String getProjectQrCode() + { + return projectQrCode; + } + public void setProjectStatus(String projectStatus) + { + this.projectStatus = projectStatus; + } + + public String getProjectStatus() + { + return projectStatus; + } + public void setProjectSort(Long projectSort) + { + this.projectSort = projectSort; + } + + public Long getProjectSort() + { + return projectSort; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("visDeptId", getVisDeptId()) + .append("disDeptId", getDisDeptId()) + .append("projectName", getProjectName()) + .append("projectCode", getProjectCode()) + .append("simpleName", getSimpleName()) + .append("projectType", getProjectType()) + .append("projiectLevel", getProjiectLevel()) + .append("projectRegional", getProjectRegional()) + .append("projectAddress", getProjectAddress()) + .append("projectNature", getProjectNature()) + .append("licenceNumber", getLicenceNumber()) + .append("projectPerson", getProjectPerson()) + .append("projectPersonPhone", getProjectPersonPhone()) + .append("longitude", getLongitude()) + .append("latitude", getLatitude()) + .append("projectTimeLimit", getProjectTimeLimit()) + .append("totalInvestment", getTotalInvestment()) + .append("floorArea", getFloorArea()) + .append("totalOutputValue", getTotalOutputValue()) + .append("plannedCompletionTime", getPlannedCompletionTime()) + .append("scheduledStartTime", getScheduledStartTime()) + .append("actualOperatingTime", getActualOperatingTime()) + .append("actualCompletionTime", getActualCompletionTime()) + .append("contractAmount", getContractAmount()) + .append("paidAmount", getPaidAmount()) + .append("onAccountAmount", getOnAccountAmount()) + .append("projectSchedule", getProjectSchedule()) + .append("projectSummarize", getProjectSummarize()) + .append("projectQrCode", getProjectQrCode()) + .append("projectStatus", getProjectStatus()) + .append("projectSort", getProjectSort()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoDepts.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoDepts.java new file mode 100644 index 00000000..d286eada --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoDepts.java @@ -0,0 +1,112 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 参建单位对象 pro_project_info_depts + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfoDepts extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 参建单位类型 */ + @Excel(name = "参建单位类型") + private String deptType; + + /** 参建单位名称 */ + @Excel(name = "参建单位名称") + private String deptName; + + /** 参建单位编号 */ + @Excel(name = "参建单位编号") + private String deptCode; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setDeptType(String deptType) + { + this.deptType = deptType; + } + + public String getDeptType() + { + return deptType; + } + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getDeptName() + { + return deptName; + } + public void setDeptCode(String deptCode) + { + this.deptCode = deptCode; + } + + public String getDeptCode() + { + return deptCode; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("deptType", getDeptType()) + .append("deptName", getDeptName()) + .append("deptCode", getDeptCode()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSetting.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSetting.java new file mode 100644 index 00000000..27b41bf1 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSetting.java @@ -0,0 +1,140 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 项目设置对象 pro_project_info_setting + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfoSetting extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 显示名称 */ + @Excel(name = "显示名称") + private String orgName; + + /** 显示LOGO */ + @Excel(name = "显示LOGO") + private String orgLogo; + + /** 项目图片 */ + @Excel(name = "项目图片") + private String orgImage; + + /** 项目视频 */ + @Excel(name = "项目视频") + private String orgVideo; + + /** 项目平面图 */ + @Excel(name = "项目平面图") + private String orgPlane; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setOrgName(String orgName) + { + this.orgName = orgName; + } + + public String getOrgName() + { + return orgName; + } + public void setOrgLogo(String orgLogo) + { + this.orgLogo = orgLogo; + } + + public String getOrgLogo() + { + return orgLogo; + } + public void setOrgImage(String orgImage) + { + this.orgImage = orgImage; + } + + public String getOrgImage() + { + return orgImage; + } + public void setOrgVideo(String orgVideo) + { + this.orgVideo = orgVideo; + } + + public String getOrgVideo() + { + return orgVideo; + } + public void setOrgPlane(String orgPlane) + { + this.orgPlane = orgPlane; + } + + public String getOrgPlane() + { + return orgPlane; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("orgName", getOrgName()) + .append("orgLogo", getOrgLogo()) + .append("orgImage", getOrgImage()) + .append("orgVideo", getOrgVideo()) + .append("orgPlane", getOrgPlane()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdepts.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdepts.java new file mode 100644 index 00000000..09029288 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdepts.java @@ -0,0 +1,238 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 分包单位对象 pro_project_info_subdepts + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfoSubdepts extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 单位主键 */ + @Excel(name = "单位主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 分包单位 */ + @Excel(name = "分包单位") + private Long subDeptId; + + /** 分包单位类型 */ + @Excel(name = "分包单位类型") + private String subDeptType; + + /** 分包单位名称 */ + @Excel(name = "分包单位名称") + private String subDeptName; + + /** 分包单位编号 */ + @Excel(name = "分包单位编号") + private String subDeptCode; + + /** 负责人主键 */ + @Excel(name = "负责人主键") + private Long subDeptLeaderId; + + /** 负责人姓名 */ + @Excel(name = "负责人姓名") + private String subDeptLeaderName; + + /** 负责人证件号码 */ + @Excel(name = "负责人证件号码") + private String subDeptLeaderCode; + + /** 负责人电话 */ + @Excel(name = "负责人电话") + private String subDeptLeaderPhone; + + /** 进场状态 */ + @Excel(name = "进场状态") + private String useStatus; + + /** 审批状态 */ + @Excel(name = "审批状态") + private Long approveStatus; + + /** 二维码 */ + @Excel(name = "二维码") + private String qrCode; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setSubDeptId(Long subDeptId) + { + this.subDeptId = subDeptId; + } + + public Long getSubDeptId() + { + return subDeptId; + } + public void setSubDeptType(String subDeptType) + { + this.subDeptType = subDeptType; + } + + public String getSubDeptType() + { + return subDeptType; + } + public void setSubDeptName(String subDeptName) + { + this.subDeptName = subDeptName; + } + + public String getSubDeptName() + { + return subDeptName; + } + public void setSubDeptCode(String subDeptCode) + { + this.subDeptCode = subDeptCode; + } + + public String getSubDeptCode() + { + return subDeptCode; + } + public void setSubDeptLeaderId(Long subDeptLeaderId) + { + this.subDeptLeaderId = subDeptLeaderId; + } + + public Long getSubDeptLeaderId() + { + return subDeptLeaderId; + } + public void setSubDeptLeaderName(String subDeptLeaderName) + { + this.subDeptLeaderName = subDeptLeaderName; + } + + public String getSubDeptLeaderName() + { + return subDeptLeaderName; + } + public void setSubDeptLeaderCode(String subDeptLeaderCode) + { + this.subDeptLeaderCode = subDeptLeaderCode; + } + + public String getSubDeptLeaderCode() + { + return subDeptLeaderCode; + } + public void setSubDeptLeaderPhone(String subDeptLeaderPhone) + { + this.subDeptLeaderPhone = subDeptLeaderPhone; + } + + public String getSubDeptLeaderPhone() + { + return subDeptLeaderPhone; + } + public void setUseStatus(String useStatus) + { + this.useStatus = useStatus; + } + + public String getUseStatus() + { + return useStatus; + } + public void setApproveStatus(Long approveStatus) + { + this.approveStatus = approveStatus; + } + + public Long getApproveStatus() + { + return approveStatus; + } + public void setQrCode(String qrCode) + { + this.qrCode = qrCode; + } + + public String getQrCode() + { + return qrCode; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("subDeptId", getSubDeptId()) + .append("subDeptType", getSubDeptType()) + .append("subDeptName", getSubDeptName()) + .append("subDeptCode", getSubDeptCode()) + .append("subDeptLeaderId", getSubDeptLeaderId()) + .append("subDeptLeaderName", getSubDeptLeaderName()) + .append("subDeptLeaderCode", getSubDeptLeaderCode()) + .append("subDeptLeaderPhone", getSubDeptLeaderPhone()) + .append("useStatus", getUseStatus()) + .append("approveStatus", getApproveStatus()) + .append("qrCode", getQrCode()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsGroup.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsGroup.java new file mode 100644 index 00000000..5d01d05a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsGroup.java @@ -0,0 +1,266 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 分包单位班组对象 pro_project_info_subdepts_group + * + * @author JiangYuqi + * @date 2024-08-25 + */ +public class ProProjectInfoSubdeptsGroup extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 分包单位 */ + @Excel(name = "分包单位") + private Long subDeptId; + + /** 分包单位类型 */ + @Excel(name = "分包单位类型") + private String subDeptType; + + /** 分包单位名称 */ + @Excel(name = "分包单位名称") + private String subDeptName; + + /** 分包单位编号 */ + @Excel(name = "分包单位编号") + private String subDeptCode; + + /** 班组名称 */ + @Excel(name = "班组名称") + private String groupName; + + /** 班组编号 */ + @Excel(name = "班组编号") + private String groupCode; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 负责人姓名 */ + @Excel(name = "负责人姓名") + private String groupLeaderName; + + /** 负责人证件号码 */ + @Excel(name = "负责人证件号码") + private String groupLeaderCode; + + /** 负责人电话 */ + @Excel(name = "负责人电话") + private String groupLeaderPhone; + + /** 进场状态 */ + @Excel(name = "进场状态") + private String useStatus; + + /** 审批状态 */ + @Excel(name = "审批状态") + private Long approveStatus; + + /** 二维码 */ + @Excel(name = "二维码") + private String qrCode; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setSubDeptId(Long subDeptId) + { + this.subDeptId = subDeptId; + } + + public Long getSubDeptId() + { + return subDeptId; + } + public void setSubDeptType(String subDeptType) + { + this.subDeptType = subDeptType; + } + + public String getSubDeptType() + { + return subDeptType; + } + public void setSubDeptName(String subDeptName) + { + this.subDeptName = subDeptName; + } + + public String getSubDeptName() + { + return subDeptName; + } + public void setSubDeptCode(String subDeptCode) + { + this.subDeptCode = subDeptCode; + } + + public String getSubDeptCode() + { + return subDeptCode; + } + public void setGroupName(String groupName) + { + this.groupName = groupName; + } + + public String getGroupName() + { + return groupName; + } + public void setGroupCode(String groupCode) + { + this.groupCode = groupCode; + } + + public String getGroupCode() + { + return groupCode; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setGroupLeaderName(String groupLeaderName) + { + this.groupLeaderName = groupLeaderName; + } + + public String getGroupLeaderName() + { + return groupLeaderName; + } + public void setGroupLeaderCode(String groupLeaderCode) + { + this.groupLeaderCode = groupLeaderCode; + } + + public String getGroupLeaderCode() + { + return groupLeaderCode; + } + public void setGroupLeaderPhone(String groupLeaderPhone) + { + this.groupLeaderPhone = groupLeaderPhone; + } + + public String getGroupLeaderPhone() + { + return groupLeaderPhone; + } + public void setUseStatus(String useStatus) + { + this.useStatus = useStatus; + } + + public String getUseStatus() + { + return useStatus; + } + public void setApproveStatus(Long approveStatus) + { + this.approveStatus = approveStatus; + } + + public Long getApproveStatus() + { + return approveStatus; + } + public void setQrCode(String qrCode) + { + this.qrCode = qrCode; + } + + public String getQrCode() + { + return qrCode; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("subDeptId", getSubDeptId()) + .append("subDeptType", getSubDeptType()) + .append("subDeptName", getSubDeptName()) + .append("subDeptCode", getSubDeptCode()) + .append("groupName", getGroupName()) + .append("groupCode", getGroupCode()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("groupLeaderName", getGroupLeaderName()) + .append("groupLeaderCode", getGroupLeaderCode()) + .append("groupLeaderPhone", getGroupLeaderPhone()) + .append("useStatus", getUseStatus()) + .append("approveStatus", getApproveStatus()) + .append("qrCode", getQrCode()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsUsers.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsUsers.java new file mode 100644 index 00000000..fd186276 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoSubdeptsUsers.java @@ -0,0 +1,284 @@ +package com.yanzhu.manage.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +import java.util.Date; + +/** + * 分包单位工人对象 pro_project_info_subdepts_users + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfoSubdeptsUsers extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 分包单位 */ + @Excel(name = "分包单位") + private Long subDeptId; + + /** 分包单位名称 */ + @Excel(name = "分包单位名称") + private String subDeptName; + + /** 用户主键 */ + @Excel(name = "用户主键") + private Long userId; + + /** 工人姓名 */ + @Excel(name = "工人姓名") + private String userName; + + /** 工种类型 */ + @Excel(name = "工种类型") + private String craftType; + + /** 工种岗位 */ + @Excel(name = "工种岗位") + private String craftPost; + + /** 学习状态 */ + @Excel(name = "学习状态") + private String eduStatus; + + /** 学习文件地址 */ + @Excel(name = "学习文件地址") + private String eduFilePath; + + /** 学习签名地址 */ + @Excel(name = "学习签名地址") + private String eduSignPath; + + /** 学习时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "学习时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date eduDate; + + /** 审批状态 */ + @Excel(name = "审批状态") + private Long approveStatus; + + /** 进场状态 */ + @Excel(name = "进场状态") + private String useStatus; + + /** 进行步骤 */ + @Excel(name = "进行步骤") + private Long subStep; + + /** 疾病状态 */ + @Excel(name = "疾病状态") + private Long illnessStatus; + + /** 严重疾病状态 */ + @Excel(name = "严重疾病状态") + private Long supIllnessStatus; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setSubDeptId(Long subDeptId) + { + this.subDeptId = subDeptId; + } + + public Long getSubDeptId() + { + return subDeptId; + } + public void setSubDeptName(String subDeptName) + { + this.subDeptName = subDeptName; + } + + public String getSubDeptName() + { + return subDeptName; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getUserName() + { + return userName; + } + public void setCraftType(String craftType) + { + this.craftType = craftType; + } + + public String getCraftType() + { + return craftType; + } + public void setCraftPost(String craftPost) + { + this.craftPost = craftPost; + } + + public String getCraftPost() + { + return craftPost; + } + public void setEduStatus(String eduStatus) + { + this.eduStatus = eduStatus; + } + + public String getEduStatus() + { + return eduStatus; + } + public void setEduFilePath(String eduFilePath) + { + this.eduFilePath = eduFilePath; + } + + public String getEduFilePath() + { + return eduFilePath; + } + public void setEduSignPath(String eduSignPath) + { + this.eduSignPath = eduSignPath; + } + + public String getEduSignPath() + { + return eduSignPath; + } + public void setEduDate(Date eduDate) + { + this.eduDate = eduDate; + } + + public Date getEduDate() + { + return eduDate; + } + public void setApproveStatus(Long approveStatus) + { + this.approveStatus = approveStatus; + } + + public Long getApproveStatus() + { + return approveStatus; + } + public void setUseStatus(String useStatus) + { + this.useStatus = useStatus; + } + + public String getUseStatus() + { + return useStatus; + } + public void setSubStep(Long subStep) + { + this.subStep = subStep; + } + + public Long getSubStep() + { + return subStep; + } + public void setIllnessStatus(Long illnessStatus) + { + this.illnessStatus = illnessStatus; + } + + public Long getIllnessStatus() + { + return illnessStatus; + } + public void setSupIllnessStatus(Long supIllnessStatus) + { + this.supIllnessStatus = supIllnessStatus; + } + + public Long getSupIllnessStatus() + { + return supIllnessStatus; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("subDeptId", getSubDeptId()) + .append("subDeptName", getSubDeptName()) + .append("userId", getUserId()) + .append("userName", getUserName()) + .append("craftType", getCraftType()) + .append("craftPost", getCraftPost()) + .append("eduStatus", getEduStatus()) + .append("eduFilePath", getEduFilePath()) + .append("eduSignPath", getEduSignPath()) + .append("eduDate", getEduDate()) + .append("approveStatus", getApproveStatus()) + .append("useStatus", getUseStatus()) + .append("subStep", getSubStep()) + .append("illnessStatus", getIllnessStatus()) + .append("supIllnessStatus", getSupIllnessStatus()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoUsers.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoUsers.java new file mode 100644 index 00000000..7407a3ac --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/ProProjectInfoUsers.java @@ -0,0 +1,154 @@ +package com.yanzhu.manage.domain; + +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + * 项目人员对象 pro_project_info_users + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public class ProProjectInfoUsers extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long id; + + /** 单位主键 */ + @Excel(name = "单位主键") + private Long deptId; + + /** 项目主键 */ + @Excel(name = "项目主键") + private Long projectId; + + /** 用户主键 */ + @Excel(name = "用户主键") + private Long userId; + + /** 用户姓名 */ + @Excel(name = "用户姓名") + private String userName; + + /** 用户编号 */ + @Excel(name = "用户编号") + private String userCode; + + /** 用户电话 */ + @Excel(name = "用户电话") + private String userPhone; + + /** 进场状态 */ + @Excel(name = "进场状态") + private String useStatus; + + /** 删除标识 */ + @Excel(name = "删除标识") + private Long isDel; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getUserName() + { + return userName; + } + public void setUserCode(String userCode) + { + this.userCode = userCode; + } + + public String getUserCode() + { + return userCode; + } + public void setUserPhone(String userPhone) + { + this.userPhone = userPhone; + } + + public String getUserPhone() + { + return userPhone; + } + public void setUseStatus(String useStatus) + { + this.useStatus = useStatus; + } + + public String getUseStatus() + { + return useStatus; + } + public void setIsDel(Long isDel) + { + this.isDel = isDel; + } + + public Long getIsDel() + { + return isDel; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("deptId", getDeptId()) + .append("projectId", getProjectId()) + .append("userId", getUserId()) + .append("userName", getUserName()) + .append("userCode", getUserCode()) + .append("userPhone", getUserPhone()) + .append("useStatus", getUseStatus()) + .append("isDel", getIsDel()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoMapper.java new file mode 100644 index 00000000..b99085dc --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoMapper.java @@ -0,0 +1,87 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamInfo; +import com.yanzhu.manage.domain.BusExamInfoQues; + +/** + * 基础试卷Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamInfoMapper +{ + /** + * 查询基础试卷 + * + * @param id 基础试卷主键 + * @return 基础试卷 + */ + public BusExamInfo selectBusExamInfoById(Long id); + + /** + * 查询基础试卷列表 + * + * @param busExamInfo 基础试卷 + * @return 基础试卷集合 + */ + public List selectBusExamInfoList(BusExamInfo busExamInfo); + + /** + * 新增基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + public int insertBusExamInfo(BusExamInfo busExamInfo); + + /** + * 修改基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + public int updateBusExamInfo(BusExamInfo busExamInfo); + + /** + * 删除基础试卷 + * + * @param id 基础试卷主键 + * @return 结果 + */ + public int deleteBusExamInfoById(Long id); + + /** + * 批量删除基础试卷 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamInfoByIds(Long[] ids); + + /** + * 批量删除试卷问题 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamIds(Long[] ids); + + /** + * 批量新增试卷问题 + * + * @param busExamInfoQuesList 试卷问题列表 + * @return 结果 + */ + public int batchBusExamInfoQues(List busExamInfoQuesList); + + + /** + * 通过基础试卷主键删除试卷问题信息 + * + * @param id 基础试卷ID + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamId(Long id); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoQuesMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoQuesMapper.java new file mode 100644 index 00000000..4b822c59 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamInfoQuesMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamInfoQues; + +/** + * 试卷问题Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamInfoQuesMapper +{ + /** + * 查询试卷问题 + * + * @param examId 试卷问题主键 + * @return 试卷问题 + */ + public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId); + + /** + * 查询试卷问题列表 + * + * @param busExamInfoQues 试卷问题 + * @return 试卷问题集合 + */ + public List selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues); + + /** + * 新增试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues); + + /** + * 修改试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues); + + /** + * 删除试卷问题 + * + * @param examId 试卷问题主键 + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamId(Long examId); + + /** + * 批量删除试卷问题 + * + * @param examIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamIds(Long[] examIds); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionMapper.java new file mode 100644 index 00000000..8203b802 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionMapper.java @@ -0,0 +1,87 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamQuestion; +import com.yanzhu.manage.domain.BusExamQuestionResult; + +/** + * 基础题库Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamQuestionMapper +{ + /** + * 查询基础题库 + * + * @param id 基础题库主键 + * @return 基础题库 + */ + public BusExamQuestion selectBusExamQuestionById(Long id); + + /** + * 查询基础题库列表 + * + * @param busExamQuestion 基础题库 + * @return 基础题库集合 + */ + public List selectBusExamQuestionList(BusExamQuestion busExamQuestion); + + /** + * 新增基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + public int insertBusExamQuestion(BusExamQuestion busExamQuestion); + + /** + * 修改基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + public int updateBusExamQuestion(BusExamQuestion busExamQuestion); + + /** + * 删除基础题库 + * + * @param id 基础题库主键 + * @return 结果 + */ + public int deleteBusExamQuestionById(Long id); + + /** + * 批量删除基础题库 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamQuestionByIds(Long[] ids); + + /** + * 批量删除题库问题 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamQuestionResultByQuestionIds(Long[] ids); + + /** + * 批量新增题库问题 + * + * @param busExamQuestionResultList 题库问题列表 + * @return 结果 + */ + public int batchBusExamQuestionResult(List busExamQuestionResultList); + + + /** + * 通过基础题库主键删除题库问题信息 + * + * @param id 基础题库ID + * @return 结果 + */ + public int deleteBusExamQuestionResultByQuestionId(Long id); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionResultMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionResultMapper.java new file mode 100644 index 00000000..aba294f6 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamQuestionResultMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamQuestionResult; + +/** + * 题库问题Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamQuestionResultMapper +{ + /** + * 查询题库问题 + * + * @param id 题库问题主键 + * @return 题库问题 + */ + public BusExamQuestionResult selectBusExamQuestionResultById(Long id); + + /** + * 查询题库问题列表 + * + * @param busExamQuestionResult 题库问题 + * @return 题库问题集合 + */ + public List selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult); + + /** + * 新增题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult); + + /** + * 修改题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult); + + /** + * 删除题库问题 + * + * @param id 题库问题主键 + * @return 结果 + */ + public int deleteBusExamQuestionResultById(Long id); + + /** + * 批量删除题库问题 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamQuestionResultByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserMapper.java new file mode 100644 index 00000000..961301e7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamUser; + +/** + * 用户试卷Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamUserMapper +{ + /** + * 查询用户试卷 + * + * @param id 用户试卷主键 + * @return 用户试卷 + */ + public BusExamUser selectBusExamUserById(Long id); + + /** + * 查询用户试卷列表 + * + * @param busExamUser 用户试卷 + * @return 用户试卷集合 + */ + public List selectBusExamUserList(BusExamUser busExamUser); + + /** + * 新增用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + public int insertBusExamUser(BusExamUser busExamUser); + + /** + * 修改用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + public int updateBusExamUser(BusExamUser busExamUser); + + /** + * 删除用户试卷 + * + * @param id 用户试卷主键 + * @return 结果 + */ + public int deleteBusExamUserById(Long id); + + /** + * 批量删除用户试卷 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamUserByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserResultMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserResultMapper.java new file mode 100644 index 00000000..67357ff7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusExamUserResultMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamUserResult; + +/** + * 用户试卷结果Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusExamUserResultMapper +{ + /** + * 查询用户试卷结果 + * + * @param examUserId 用户试卷结果主键 + * @return 用户试卷结果 + */ + public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId); + + /** + * 查询用户试卷结果列表 + * + * @param busExamUserResult 用户试卷结果 + * @return 用户试卷结果集合 + */ + public List selectBusExamUserResultList(BusExamUserResult busExamUserResult); + + /** + * 新增用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + public int insertBusExamUserResult(BusExamUserResult busExamUserResult); + + /** + * 修改用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + public int updateBusExamUserResult(BusExamUserResult busExamUserResult); + + /** + * 删除用户试卷结果 + * + * @param examUserId 用户试卷结果主键 + * @return 结果 + */ + public int deleteBusExamUserResultByExamUserId(Long examUserId); + + /** + * 批量删除用户试卷结果 + * + * @param examUserIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoMapper.java new file mode 100644 index 00000000..02b22ad7 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.BusTrainingVideo; + +/** + * 培训视频Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusTrainingVideoMapper +{ + /** + * 查询培训视频 + * + * @param id 培训视频主键 + * @return 培训视频 + */ + public BusTrainingVideo selectBusTrainingVideoById(Long id); + + /** + * 查询培训视频列表 + * + * @param busTrainingVideo 培训视频 + * @return 培训视频集合 + */ + public List selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo); + + /** + * 新增培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo); + + /** + * 修改培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo); + + /** + * 删除培训视频 + * + * @param id 培训视频主键 + * @return 结果 + */ + public int deleteBusTrainingVideoById(Long id); + + /** + * 批量删除培训视频 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusTrainingVideoByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoUserMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoUserMapper.java new file mode 100644 index 00000000..c0a0409d --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/BusTrainingVideoUserMapper.java @@ -0,0 +1,62 @@ +package com.yanzhu.manage.mapper; + +import com.yanzhu.manage.domain.BusTrainingVideoUser; + +import java.util.List; + +/** + * 用户培训视频Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface BusTrainingVideoUserMapper +{ + /** + * 查询用户培训视频 + * + * @param id 用户培训视频主键 + * @return 用户培训视频 + */ + public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id); + + /** + * 查询用户培训视频列表 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 用户培训视频集合 + */ + public List selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 新增用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 修改用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 删除用户培训视频 + * + * @param id 用户培训视频主键 + * @return 结果 + */ + public int deleteBusTrainingVideoUserById(Long id); + + /** + * 批量删除用户培训视频 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBusTrainingVideoUserByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoDeptsMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoDeptsMapper.java new file mode 100644 index 00000000..5f9b787b --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoDeptsMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoDepts; + +/** + * 参建单位Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoDeptsMapper +{ + /** + * 查询参建单位 + * + * @param id 参建单位主键 + * @return 参建单位 + */ + public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id); + + /** + * 查询参建单位列表 + * + * @param proProjectInfoDepts 参建单位 + * @return 参建单位集合 + */ + public List selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 新增参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 修改参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 删除参建单位 + * + * @param id 参建单位主键 + * @return 结果 + */ + public int deleteProProjectInfoDeptsById(Long id); + + /** + * 批量删除参建单位 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoDeptsByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java new file mode 100644 index 00000000..a9deff0a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfo; + +/** + * 项目信息Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoMapper +{ + /** + * 查询项目信息 + * + * @param id 项目信息主键 + * @return 项目信息 + */ + public ProProjectInfo selectProProjectInfoById(Long id); + + /** + * 查询项目信息列表 + * + * @param proProjectInfo 项目信息 + * @return 项目信息集合 + */ + public List selectProProjectInfoList(ProProjectInfo proProjectInfo); + + /** + * 新增项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + public int insertProProjectInfo(ProProjectInfo proProjectInfo); + + /** + * 修改项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + public int updateProProjectInfo(ProProjectInfo proProjectInfo); + + /** + * 删除项目信息 + * + * @param id 项目信息主键 + * @return 结果 + */ + public int deleteProProjectInfoById(Long id); + + /** + * 批量删除项目信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSettingMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSettingMapper.java new file mode 100644 index 00000000..033c9d87 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSettingMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSetting; + +/** + * 项目设置Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoSettingMapper +{ + /** + * 查询项目设置 + * + * @param id 项目设置主键 + * @return 项目设置 + */ + public ProProjectInfoSetting selectProProjectInfoSettingById(Long id); + + /** + * 查询项目设置列表 + * + * @param proProjectInfoSetting 项目设置 + * @return 项目设置集合 + */ + public List selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 新增项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 修改项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 删除项目设置 + * + * @param id 项目设置主键 + * @return 结果 + */ + public int deleteProProjectInfoSettingById(Long id); + + /** + * 批量删除项目设置 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSettingByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsGroupMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsGroupMapper.java new file mode 100644 index 00000000..d75c3bb3 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsGroupMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup; + +/** + * 分包单位班组Mapper接口 + * + * @author JiangYuqi + * @date 2024-08-25 + */ +public interface ProProjectInfoSubdeptsGroupMapper +{ + /** + * 查询分包单位班组 + * + * @param id 分包单位班组主键 + * @return 分包单位班组 + */ + public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id); + + /** + * 查询分包单位班组列表 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 分包单位班组集合 + */ + public List selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 新增分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 修改分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 删除分包单位班组 + * + * @param id 分包单位班组主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsGroupById(Long id); + + /** + * 批量删除分包单位班组 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsMapper.java new file mode 100644 index 00000000..36a0ca9a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdepts; + +/** + * 分包单位Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoSubdeptsMapper +{ + /** + * 查询分包单位 + * + * @param id 分包单位主键 + * @return 分包单位 + */ + public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id); + + /** + * 查询分包单位列表 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 分包单位集合 + */ + public List selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 新增分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 修改分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 删除分包单位 + * + * @param id 分包单位主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsById(Long id); + + /** + * 批量删除分包单位 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsUsersMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsUsersMapper.java new file mode 100644 index 00000000..e5e21603 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoSubdeptsUsersMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers; + +/** + * 分包单位工人Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoSubdeptsUsersMapper +{ + /** + * 查询分包单位工人 + * + * @param id 分包单位工人主键 + * @return 分包单位工人 + */ + public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id); + + /** + * 查询分包单位工人列表 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 分包单位工人集合 + */ + public List selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 新增分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 修改分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 删除分包单位工人 + * + * @param id 分包单位工人主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsUsersById(Long id); + + /** + * 批量删除分包单位工人 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoUsersMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoUsersMapper.java new file mode 100644 index 00000000..138dfbab --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoUsersMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoUsers; + +/** + * 项目人员Mapper接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface ProProjectInfoUsersMapper +{ + /** + * 查询项目人员 + * + * @param id 项目人员主键 + * @return 项目人员 + */ + public ProProjectInfoUsers selectProProjectInfoUsersById(Long id); + + /** + * 查询项目人员列表 + * + * @param proProjectInfoUsers 项目人员 + * @return 项目人员集合 + */ + public List selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 新增项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 修改项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 删除项目人员 + * + * @param id 项目人员主键 + * @return 结果 + */ + public int deleteProProjectInfoUsersById(Long id); + + /** + * 批量删除项目人员 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteProProjectInfoUsersByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoMapper.xml new file mode 100644 index 00000000..dfd8d9ed --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoMapper.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, exam_title, exam_type, craft_type, craft_post, single_num, multiple_num, estimate_num, full_mark, pass_mark, use_number, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_info + + + + + + + + insert into bus_exam_info + + dept_id, + project_id, + exam_title, + exam_type, + craft_type, + craft_post, + single_num, + multiple_num, + estimate_num, + full_mark, + pass_mark, + use_number, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{examTitle}, + #{examType}, + #{craftType}, + #{craftPost}, + #{singleNum}, + #{multipleNum}, + #{estimateNum}, + #{fullMark}, + #{passMark}, + #{useNumber}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_exam_info + + dept_id = #{deptId}, + project_id = #{projectId}, + exam_title = #{examTitle}, + exam_type = #{examType}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + single_num = #{singleNum}, + multiple_num = #{multipleNum}, + estimate_num = #{estimateNum}, + full_mark = #{fullMark}, + pass_mark = #{passMark}, + use_number = #{useNumber}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_exam_info where id = #{id} + + + + delete from bus_exam_info where id in + + #{id} + + + + + delete from bus_exam_info_ques where exam_id in + + #{examId} + + + + + delete from bus_exam_info_ques where exam_id = #{examId} + + + + insert into bus_exam_info_ques( exam_id, question_id, marks, sort_by) values + + ( #{item.examId}, #{item.questionId}, #{item.marks}, #{item.sortBy}) + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoQuesMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoQuesMapper.xml new file mode 100644 index 00000000..c5c6cb0a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamInfoQuesMapper.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + select exam_id, question_id, marks, sort_by from bus_exam_info_ques + + + + + + + + insert into bus_exam_info_ques + + exam_id, + question_id, + marks, + sort_by, + + + #{examId}, + #{questionId}, + #{marks}, + #{sortBy}, + + + + + update bus_exam_info_ques + + question_id = #{questionId}, + marks = #{marks}, + sort_by = #{sortBy}, + + where exam_id = #{examId} + + + + delete from bus_exam_info_ques where exam_id = #{examId} + + + + delete from bus_exam_info_ques where exam_id in + + #{examId} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionMapper.xml new file mode 100644 index 00000000..64fa76f8 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionMapper.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, craft_type, craft_post, question_diff, question_type, question_desc, question_answer, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_question + + + + + + + + insert into bus_exam_question + + dept_id, + project_id, + craft_type, + craft_post, + question_diff, + question_type, + question_desc, + question_answer, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{craftType}, + #{craftPost}, + #{questionDiff}, + #{questionType}, + #{questionDesc}, + #{questionAnswer}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_exam_question + + dept_id = #{deptId}, + project_id = #{projectId}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + question_diff = #{questionDiff}, + question_type = #{questionType}, + question_desc = #{questionDesc}, + question_answer = #{questionAnswer}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_exam_question where id = #{id} + + + + delete from bus_exam_question where id in + + #{id} + + + + + delete from bus_exam_question_result where question_id in + + #{questionId} + + + + + delete from bus_exam_question_result where question_id = #{questionId} + + + + insert into bus_exam_question_result( id, question_id, opt, result, is_del, create_by, create_time, update_by, update_time, remark) values + + ( #{item.id}, #{item.questionId}, #{item.opt}, #{item.result}, #{item.isDel}, #{item.createBy}, #{item.createTime}, #{item.updateBy}, #{item.updateTime}, #{item.remark}) + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionResultMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionResultMapper.xml new file mode 100644 index 00000000..83c419ad --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamQuestionResultMapper.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + select id, question_id, opt, result, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_question_result + + + + + + + + insert into bus_exam_question_result + + question_id, + opt, + result, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{questionId}, + #{opt}, + #{result}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_exam_question_result + + question_id = #{questionId}, + opt = #{opt}, + result = #{result}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_exam_question_result where id = #{id} + + + + delete from bus_exam_question_result where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserMapper.xml new file mode 100644 index 00000000..5e043d6b --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserMapper.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, user_id, exam_title, exam_type, craft_type, craft_post, single_num, multiple_num, estimate_num, user_mark, res_status, use_times, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_user + + + + + + + + insert into bus_exam_user + + dept_id, + project_id, + user_id, + exam_title, + exam_type, + craft_type, + craft_post, + single_num, + multiple_num, + estimate_num, + user_mark, + res_status, + use_times, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{userId}, + #{examTitle}, + #{examType}, + #{craftType}, + #{craftPost}, + #{singleNum}, + #{multipleNum}, + #{estimateNum}, + #{userMark}, + #{resStatus}, + #{useTimes}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_exam_user + + dept_id = #{deptId}, + project_id = #{projectId}, + user_id = #{userId}, + exam_title = #{examTitle}, + exam_type = #{examType}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + single_num = #{singleNum}, + multiple_num = #{multipleNum}, + estimate_num = #{estimateNum}, + user_mark = #{userMark}, + res_status = #{resStatus}, + use_times = #{useTimes}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_exam_user where id = #{id} + + + + delete from bus_exam_user where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserResultMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserResultMapper.xml new file mode 100644 index 00000000..6b9bcdec --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusExamUserResultMapper.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + select exam_user_id, question_id, answers, sort_by, use_res, use_mark from bus_exam_user_result + + + + + + + + insert into bus_exam_user_result + + exam_user_id, + question_id, + answers, + sort_by, + use_res, + use_mark, + + + #{examUserId}, + #{questionId}, + #{answers}, + #{sortBy}, + #{useRes}, + #{useMark}, + + + + + update bus_exam_user_result + + question_id = #{questionId}, + answers = #{answers}, + sort_by = #{sortBy}, + use_res = #{useRes}, + use_mark = #{useMark}, + + where exam_user_id = #{examUserId} + + + + delete from bus_exam_user_result where exam_user_id = #{examUserId} + + + + delete from bus_exam_user_result where exam_user_id in + + #{examUserId} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoMapper.xml new file mode 100644 index 00000000..bd3121b0 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoMapper.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, train_title, train_type, train_level, craft_type, craft_post, train_file_type, train_file_path, train_file_image, train_file_times, is_del, create_by, create_time, update_by, update_time, remark from bus_training_video + + + + + + + + insert into bus_training_video + + dept_id, + project_id, + train_title, + train_type, + train_level, + craft_type, + craft_post, + train_file_type, + train_file_path, + train_file_image, + train_file_times, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{trainTitle}, + #{trainType}, + #{trainLevel}, + #{craftType}, + #{craftPost}, + #{trainFileType}, + #{trainFilePath}, + #{trainFileImage}, + #{trainFileTimes}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_training_video + + dept_id = #{deptId}, + project_id = #{projectId}, + train_title = #{trainTitle}, + train_type = #{trainType}, + train_level = #{trainLevel}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + train_file_type = #{trainFileType}, + train_file_path = #{trainFilePath}, + train_file_image = #{trainFileImage}, + train_file_times = #{trainFileTimes}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_training_video where id = #{id} + + + + delete from bus_training_video where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoUserMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoUserMapper.xml new file mode 100644 index 00000000..50d1de52 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/BusTrainingVideoUserMapper.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, user_id, video_id, play_status, sort_by, is_del, create_by, create_time, update_by, update_time, remark from bus_training_video_user + + + + + + + + insert into bus_training_video_user + + dept_id, + project_id, + user_id, + video_id, + play_status, + sort_by, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{userId}, + #{videoId}, + #{playStatus}, + #{sortBy}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update bus_training_video_user + + dept_id = #{deptId}, + project_id = #{projectId}, + user_id = #{userId}, + video_id = #{videoId}, + play_status = #{playStatus}, + sort_by = #{sortBy}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from bus_training_video_user where id = #{id} + + + + delete from bus_training_video_user where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoDeptsMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoDeptsMapper.xml new file mode 100644 index 00000000..4a9e6aab --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoDeptsMapper.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + select id, project_id, dept_type, dept_name, dept_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_depts + + + + + + + + insert into pro_project_info_depts + + project_id, + dept_type, + dept_name, + dept_code, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{projectId}, + #{deptType}, + #{deptName}, + #{deptCode}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_depts + + project_id = #{projectId}, + dept_type = #{deptType}, + dept_name = #{deptName}, + dept_code = #{deptCode}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_depts where id = #{id} + + + + delete from pro_project_info_depts where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml new file mode 100644 index 00000000..978f8334 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, vis_dept_id, dis_dept_id, project_name, project_code, simple_name, project_type, projiect_level, project_regional, project_address, project_nature, licence_number, project_person, project_person_phone, longitude, latitude, project_time_limit, total_investment, floor_area, total_output_value, planned_completion_time, scheduled_start_time, actual_operating_time, actual_completion_time, contract_amount, paid_amount, on_account_amount, project_schedule, project_summarize, project_qr_code, project_status, project_sort, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info + + + + + + + + insert into pro_project_info + + dept_id, + vis_dept_id, + dis_dept_id, + project_name, + project_code, + simple_name, + project_type, + projiect_level, + project_regional, + project_address, + project_nature, + licence_number, + project_person, + project_person_phone, + longitude, + latitude, + project_time_limit, + total_investment, + floor_area, + total_output_value, + planned_completion_time, + scheduled_start_time, + actual_operating_time, + actual_completion_time, + contract_amount, + paid_amount, + on_account_amount, + project_schedule, + project_summarize, + project_qr_code, + project_status, + project_sort, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{visDeptId}, + #{disDeptId}, + #{projectName}, + #{projectCode}, + #{simpleName}, + #{projectType}, + #{projiectLevel}, + #{projectRegional}, + #{projectAddress}, + #{projectNature}, + #{licenceNumber}, + #{projectPerson}, + #{projectPersonPhone}, + #{longitude}, + #{latitude}, + #{projectTimeLimit}, + #{totalInvestment}, + #{floorArea}, + #{totalOutputValue}, + #{plannedCompletionTime}, + #{scheduledStartTime}, + #{actualOperatingTime}, + #{actualCompletionTime}, + #{contractAmount}, + #{paidAmount}, + #{onAccountAmount}, + #{projectSchedule}, + #{projectSummarize}, + #{projectQrCode}, + #{projectStatus}, + #{projectSort}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info + + dept_id = #{deptId}, + vis_dept_id = #{visDeptId}, + dis_dept_id = #{disDeptId}, + project_name = #{projectName}, + project_code = #{projectCode}, + simple_name = #{simpleName}, + project_type = #{projectType}, + projiect_level = #{projiectLevel}, + project_regional = #{projectRegional}, + project_address = #{projectAddress}, + project_nature = #{projectNature}, + licence_number = #{licenceNumber}, + project_person = #{projectPerson}, + project_person_phone = #{projectPersonPhone}, + longitude = #{longitude}, + latitude = #{latitude}, + project_time_limit = #{projectTimeLimit}, + total_investment = #{totalInvestment}, + floor_area = #{floorArea}, + total_output_value = #{totalOutputValue}, + planned_completion_time = #{plannedCompletionTime}, + scheduled_start_time = #{scheduledStartTime}, + actual_operating_time = #{actualOperatingTime}, + actual_completion_time = #{actualCompletionTime}, + contract_amount = #{contractAmount}, + paid_amount = #{paidAmount}, + on_account_amount = #{onAccountAmount}, + project_schedule = #{projectSchedule}, + project_summarize = #{projectSummarize}, + project_qr_code = #{projectQrCode}, + project_status = #{projectStatus}, + project_sort = #{projectSort}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info where id = #{id} + + + + delete from pro_project_info where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSettingMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSettingMapper.xml new file mode 100644 index 00000000..35ad0804 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSettingMapper.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + select id, project_id, org_name, org_logo, org_image, org_video, org_plane, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_setting + + + + + + + + insert into pro_project_info_setting + + project_id, + org_name, + org_logo, + org_image, + org_video, + org_plane, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{projectId}, + #{orgName}, + #{orgLogo}, + #{orgImage}, + #{orgVideo}, + #{orgPlane}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_setting + + project_id = #{projectId}, + org_name = #{orgName}, + org_logo = #{orgLogo}, + org_image = #{orgImage}, + org_video = #{orgVideo}, + org_plane = #{orgPlane}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_setting where id = #{id} + + + + delete from pro_project_info_setting where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsGroupMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsGroupMapper.xml new file mode 100644 index 00000000..b9e28547 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsGroupMapper.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, project_id, sub_dept_id, sub_dept_type, sub_dept_name, sub_dept_code, group_name, group_code, craft_type, craft_post, group_leader_name, group_leader_code, group_leader_phone, use_status, approve_status, qr_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts_group + + + + + + + + insert into pro_project_info_subdepts_group + + project_id, + sub_dept_id, + sub_dept_type, + sub_dept_name, + sub_dept_code, + group_name, + group_code, + craft_type, + craft_post, + group_leader_name, + group_leader_code, + group_leader_phone, + use_status, + approve_status, + qr_code, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{projectId}, + #{subDeptId}, + #{subDeptType}, + #{subDeptName}, + #{subDeptCode}, + #{groupName}, + #{groupCode}, + #{craftType}, + #{craftPost}, + #{groupLeaderName}, + #{groupLeaderCode}, + #{groupLeaderPhone}, + #{useStatus}, + #{approveStatus}, + #{qrCode}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_subdepts_group + + project_id = #{projectId}, + sub_dept_id = #{subDeptId}, + sub_dept_type = #{subDeptType}, + sub_dept_name = #{subDeptName}, + sub_dept_code = #{subDeptCode}, + group_name = #{groupName}, + group_code = #{groupCode}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + group_leader_name = #{groupLeaderName}, + group_leader_code = #{groupLeaderCode}, + group_leader_phone = #{groupLeaderPhone}, + use_status = #{useStatus}, + approve_status = #{approveStatus}, + qr_code = #{qrCode}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_subdepts_group where id = #{id} + + + + delete from pro_project_info_subdepts_group where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsMapper.xml new file mode 100644 index 00000000..9e272e8a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsMapper.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, sub_dept_id, sub_dept_type, sub_dept_name, sub_dept_code, sub_dept_leader_id, sub_dept_leader_name, sub_dept_leader_code, sub_dept_leader_phone, use_status, approve_status, qr_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts + + + + + + + + insert into pro_project_info_subdepts + + dept_id, + project_id, + sub_dept_id, + sub_dept_type, + sub_dept_name, + sub_dept_code, + sub_dept_leader_id, + sub_dept_leader_name, + sub_dept_leader_code, + sub_dept_leader_phone, + use_status, + approve_status, + qr_code, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{subDeptId}, + #{subDeptType}, + #{subDeptName}, + #{subDeptCode}, + #{subDeptLeaderId}, + #{subDeptLeaderName}, + #{subDeptLeaderCode}, + #{subDeptLeaderPhone}, + #{useStatus}, + #{approveStatus}, + #{qrCode}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_subdepts + + dept_id = #{deptId}, + project_id = #{projectId}, + sub_dept_id = #{subDeptId}, + sub_dept_type = #{subDeptType}, + sub_dept_name = #{subDeptName}, + sub_dept_code = #{subDeptCode}, + sub_dept_leader_id = #{subDeptLeaderId}, + sub_dept_leader_name = #{subDeptLeaderName}, + sub_dept_leader_code = #{subDeptLeaderCode}, + sub_dept_leader_phone = #{subDeptLeaderPhone}, + use_status = #{useStatus}, + approve_status = #{approveStatus}, + qr_code = #{qrCode}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_subdepts where id = #{id} + + + + delete from pro_project_info_subdepts where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml new file mode 100644 index 00000000..19e4b304 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, project_id, sub_dept_id, sub_dept_name, user_id, user_name, craft_type, craft_post, edu_status, edu_file_path, edu_sign_path, edu_date, approve_status, use_status, sub_step, illness_status, sup_illness_status, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts_users + + + + + + + + insert into pro_project_info_subdepts_users + + project_id, + sub_dept_id, + sub_dept_name, + user_id, + user_name, + craft_type, + craft_post, + edu_status, + edu_file_path, + edu_sign_path, + edu_date, + approve_status, + use_status, + sub_step, + illness_status, + sup_illness_status, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{projectId}, + #{subDeptId}, + #{subDeptName}, + #{userId}, + #{userName}, + #{craftType}, + #{craftPost}, + #{eduStatus}, + #{eduFilePath}, + #{eduSignPath}, + #{eduDate}, + #{approveStatus}, + #{useStatus}, + #{subStep}, + #{illnessStatus}, + #{supIllnessStatus}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_subdepts_users + + project_id = #{projectId}, + sub_dept_id = #{subDeptId}, + sub_dept_name = #{subDeptName}, + user_id = #{userId}, + user_name = #{userName}, + craft_type = #{craftType}, + craft_post = #{craftPost}, + edu_status = #{eduStatus}, + edu_file_path = #{eduFilePath}, + edu_sign_path = #{eduSignPath}, + edu_date = #{eduDate}, + approve_status = #{approveStatus}, + use_status = #{useStatus}, + sub_step = #{subStep}, + illness_status = #{illnessStatus}, + sup_illness_status = #{supIllnessStatus}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_subdepts_users where id = #{id} + + + + delete from pro_project_info_subdepts_users where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoUsersMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoUsersMapper.xml new file mode 100644 index 00000000..70c6de32 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoUsersMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, dept_id, project_id, user_id, user_name, user_code, user_phone, use_status, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_users + + + + + + + + insert into pro_project_info_users + + dept_id, + project_id, + user_id, + user_name, + user_code, + user_phone, + use_status, + is_del, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{deptId}, + #{projectId}, + #{userId}, + #{userName}, + #{userCode}, + #{userPhone}, + #{useStatus}, + #{isDel}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update pro_project_info_users + + dept_id = #{deptId}, + project_id = #{projectId}, + user_id = #{userId}, + user_name = #{userName}, + user_code = #{userCode}, + user_phone = #{userPhone}, + use_status = #{useStatus}, + is_del = #{isDel}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from pro_project_info_users where id = #{id} + + + + delete from pro_project_info_users where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoController.java new file mode 100644 index 00000000..042ea17c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamInfo; +import com.yanzhu.manage.service.IBusExamInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 基础试卷Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamInfo") +public class BusExamInfoController extends BaseController +{ + @Autowired + private IBusExamInfoService busExamInfoService; + + /** + * 查询基础试卷列表 + */ + @RequiresPermissions("manage:busExamInfo:list") + @GetMapping("/list") + public TableDataInfo list(BusExamInfo busExamInfo) + { + startPage(); + List list = busExamInfoService.selectBusExamInfoList(busExamInfo); + return getDataTable(list); + } + + /** + * 导出基础试卷列表 + */ + @RequiresPermissions("manage:busExamInfo:export") + @Log(title = "基础试卷", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamInfo busExamInfo) + { + List list = busExamInfoService.selectBusExamInfoList(busExamInfo); + ExcelUtil util = new ExcelUtil(BusExamInfo.class); + util.exportExcel(response, list, "基础试卷数据"); + } + + /** + * 获取基础试卷详细信息 + */ + @RequiresPermissions("manage:busExamInfo:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busExamInfoService.selectBusExamInfoById(id)); + } + + /** + * 新增基础试卷 + */ + @RequiresPermissions("manage:busExamInfo:add") + @Log(title = "基础试卷", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamInfo busExamInfo) + { + return toAjax(busExamInfoService.insertBusExamInfo(busExamInfo)); + } + + /** + * 修改基础试卷 + */ + @RequiresPermissions("manage:busExamInfo:edit") + @Log(title = "基础试卷", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamInfo busExamInfo) + { + return toAjax(busExamInfoService.updateBusExamInfo(busExamInfo)); + } + + /** + * 删除基础试卷 + */ + @RequiresPermissions("manage:busExamInfo:remove") + @Log(title = "基础试卷", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busExamInfoService.deleteBusExamInfoByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoQuesController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoQuesController.java new file mode 100644 index 00000000..fea9ae4a --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamInfoQuesController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamInfoQues; +import com.yanzhu.manage.service.IBusExamInfoQuesService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 试卷问题Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamInfoQues") +public class BusExamInfoQuesController extends BaseController +{ + @Autowired + private IBusExamInfoQuesService busExamInfoQuesService; + + /** + * 查询试卷问题列表 + */ + @RequiresPermissions("manage:busExamInfoQues:list") + @GetMapping("/list") + public TableDataInfo list(BusExamInfoQues busExamInfoQues) + { + startPage(); + List list = busExamInfoQuesService.selectBusExamInfoQuesList(busExamInfoQues); + return getDataTable(list); + } + + /** + * 导出试卷问题列表 + */ + @RequiresPermissions("manage:busExamInfoQues:export") + @Log(title = "试卷问题", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamInfoQues busExamInfoQues) + { + List list = busExamInfoQuesService.selectBusExamInfoQuesList(busExamInfoQues); + ExcelUtil util = new ExcelUtil(BusExamInfoQues.class); + util.exportExcel(response, list, "试卷问题数据"); + } + + /** + * 获取试卷问题详细信息 + */ + @RequiresPermissions("manage:busExamInfoQues:query") + @GetMapping(value = "/{examId}") + public AjaxResult getInfo(@PathVariable("examId") Long examId) + { + return success(busExamInfoQuesService.selectBusExamInfoQuesByExamId(examId)); + } + + /** + * 新增试卷问题 + */ + @RequiresPermissions("manage:busExamInfoQues:add") + @Log(title = "试卷问题", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamInfoQues busExamInfoQues) + { + return toAjax(busExamInfoQuesService.insertBusExamInfoQues(busExamInfoQues)); + } + + /** + * 修改试卷问题 + */ + @RequiresPermissions("manage:busExamInfoQues:edit") + @Log(title = "试卷问题", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamInfoQues busExamInfoQues) + { + return toAjax(busExamInfoQuesService.updateBusExamInfoQues(busExamInfoQues)); + } + + /** + * 删除试卷问题 + */ + @RequiresPermissions("manage:busExamInfoQues:remove") + @Log(title = "试卷问题", businessType = BusinessType.DELETE) + @DeleteMapping("/{examIds}") + public AjaxResult remove(@PathVariable Long[] examIds) + { + return toAjax(busExamInfoQuesService.deleteBusExamInfoQuesByExamIds(examIds)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionController.java new file mode 100644 index 00000000..b98b4cc2 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamQuestion; +import com.yanzhu.manage.service.IBusExamQuestionService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 基础题库Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamQuestion") +public class BusExamQuestionController extends BaseController +{ + @Autowired + private IBusExamQuestionService busExamQuestionService; + + /** + * 查询基础题库列表 + */ + @RequiresPermissions("manage:busExamQuestion:list") + @GetMapping("/list") + public TableDataInfo list(BusExamQuestion busExamQuestion) + { + startPage(); + List list = busExamQuestionService.selectBusExamQuestionList(busExamQuestion); + return getDataTable(list); + } + + /** + * 导出基础题库列表 + */ + @RequiresPermissions("manage:busExamQuestion:export") + @Log(title = "基础题库", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamQuestion busExamQuestion) + { + List list = busExamQuestionService.selectBusExamQuestionList(busExamQuestion); + ExcelUtil util = new ExcelUtil(BusExamQuestion.class); + util.exportExcel(response, list, "基础题库数据"); + } + + /** + * 获取基础题库详细信息 + */ + @RequiresPermissions("manage:busExamQuestion:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busExamQuestionService.selectBusExamQuestionById(id)); + } + + /** + * 新增基础题库 + */ + @RequiresPermissions("manage:busExamQuestion:add") + @Log(title = "基础题库", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamQuestion busExamQuestion) + { + return toAjax(busExamQuestionService.insertBusExamQuestion(busExamQuestion)); + } + + /** + * 修改基础题库 + */ + @RequiresPermissions("manage:busExamQuestion:edit") + @Log(title = "基础题库", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamQuestion busExamQuestion) + { + return toAjax(busExamQuestionService.updateBusExamQuestion(busExamQuestion)); + } + + /** + * 删除基础题库 + */ + @RequiresPermissions("manage:busExamQuestion:remove") + @Log(title = "基础题库", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busExamQuestionService.deleteBusExamQuestionByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionResultController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionResultController.java new file mode 100644 index 00000000..196aa358 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamQuestionResultController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamQuestionResult; +import com.yanzhu.manage.service.IBusExamQuestionResultService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 题库问题Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamQuestionResult") +public class BusExamQuestionResultController extends BaseController +{ + @Autowired + private IBusExamQuestionResultService busExamQuestionResultService; + + /** + * 查询题库问题列表 + */ + @RequiresPermissions("manage:busExamQuestionResult:list") + @GetMapping("/list") + public TableDataInfo list(BusExamQuestionResult busExamQuestionResult) + { + startPage(); + List list = busExamQuestionResultService.selectBusExamQuestionResultList(busExamQuestionResult); + return getDataTable(list); + } + + /** + * 导出题库问题列表 + */ + @RequiresPermissions("manage:busExamQuestionResult:export") + @Log(title = "题库问题", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamQuestionResult busExamQuestionResult) + { + List list = busExamQuestionResultService.selectBusExamQuestionResultList(busExamQuestionResult); + ExcelUtil util = new ExcelUtil(BusExamQuestionResult.class); + util.exportExcel(response, list, "题库问题数据"); + } + + /** + * 获取题库问题详细信息 + */ + @RequiresPermissions("manage:busExamQuestionResult:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busExamQuestionResultService.selectBusExamQuestionResultById(id)); + } + + /** + * 新增题库问题 + */ + @RequiresPermissions("manage:busExamQuestionResult:add") + @Log(title = "题库问题", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamQuestionResult busExamQuestionResult) + { + return toAjax(busExamQuestionResultService.insertBusExamQuestionResult(busExamQuestionResult)); + } + + /** + * 修改题库问题 + */ + @RequiresPermissions("manage:busExamQuestionResult:edit") + @Log(title = "题库问题", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamQuestionResult busExamQuestionResult) + { + return toAjax(busExamQuestionResultService.updateBusExamQuestionResult(busExamQuestionResult)); + } + + /** + * 删除题库问题 + */ + @RequiresPermissions("manage:busExamQuestionResult:remove") + @Log(title = "题库问题", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busExamQuestionResultService.deleteBusExamQuestionResultByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserController.java new file mode 100644 index 00000000..249497d6 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamUser; +import com.yanzhu.manage.service.IBusExamUserService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 用户试卷Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamUser") +public class BusExamUserController extends BaseController +{ + @Autowired + private IBusExamUserService busExamUserService; + + /** + * 查询用户试卷列表 + */ + @RequiresPermissions("manage:busExamUser:list") + @GetMapping("/list") + public TableDataInfo list(BusExamUser busExamUser) + { + startPage(); + List list = busExamUserService.selectBusExamUserList(busExamUser); + return getDataTable(list); + } + + /** + * 导出用户试卷列表 + */ + @RequiresPermissions("manage:busExamUser:export") + @Log(title = "用户试卷", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamUser busExamUser) + { + List list = busExamUserService.selectBusExamUserList(busExamUser); + ExcelUtil util = new ExcelUtil(BusExamUser.class); + util.exportExcel(response, list, "用户试卷数据"); + } + + /** + * 获取用户试卷详细信息 + */ + @RequiresPermissions("manage:busExamUser:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busExamUserService.selectBusExamUserById(id)); + } + + /** + * 新增用户试卷 + */ + @RequiresPermissions("manage:busExamUser:add") + @Log(title = "用户试卷", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamUser busExamUser) + { + return toAjax(busExamUserService.insertBusExamUser(busExamUser)); + } + + /** + * 修改用户试卷 + */ + @RequiresPermissions("manage:busExamUser:edit") + @Log(title = "用户试卷", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamUser busExamUser) + { + return toAjax(busExamUserService.updateBusExamUser(busExamUser)); + } + + /** + * 删除用户试卷 + */ + @RequiresPermissions("manage:busExamUser:remove") + @Log(title = "用户试卷", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busExamUserService.deleteBusExamUserByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserResultController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserResultController.java new file mode 100644 index 00000000..0c9d51ae --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusExamUserResultController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusExamUserResult; +import com.yanzhu.manage.service.IBusExamUserResultService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 用户试卷结果Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busExamUserResult") +public class BusExamUserResultController extends BaseController +{ + @Autowired + private IBusExamUserResultService busExamUserResultService; + + /** + * 查询用户试卷结果列表 + */ + @RequiresPermissions("manage:busExamUserResult:list") + @GetMapping("/list") + public TableDataInfo list(BusExamUserResult busExamUserResult) + { + startPage(); + List list = busExamUserResultService.selectBusExamUserResultList(busExamUserResult); + return getDataTable(list); + } + + /** + * 导出用户试卷结果列表 + */ + @RequiresPermissions("manage:busExamUserResult:export") + @Log(title = "用户试卷结果", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusExamUserResult busExamUserResult) + { + List list = busExamUserResultService.selectBusExamUserResultList(busExamUserResult); + ExcelUtil util = new ExcelUtil(BusExamUserResult.class); + util.exportExcel(response, list, "用户试卷结果数据"); + } + + /** + * 获取用户试卷结果详细信息 + */ + @RequiresPermissions("manage:busExamUserResult:query") + @GetMapping(value = "/{examUserId}") + public AjaxResult getInfo(@PathVariable("examUserId") Long examUserId) + { + return success(busExamUserResultService.selectBusExamUserResultByExamUserId(examUserId)); + } + + /** + * 新增用户试卷结果 + */ + @RequiresPermissions("manage:busExamUserResult:add") + @Log(title = "用户试卷结果", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusExamUserResult busExamUserResult) + { + return toAjax(busExamUserResultService.insertBusExamUserResult(busExamUserResult)); + } + + /** + * 修改用户试卷结果 + */ + @RequiresPermissions("manage:busExamUserResult:edit") + @Log(title = "用户试卷结果", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusExamUserResult busExamUserResult) + { + return toAjax(busExamUserResultService.updateBusExamUserResult(busExamUserResult)); + } + + /** + * 删除用户试卷结果 + */ + @RequiresPermissions("manage:busExamUserResult:remove") + @Log(title = "用户试卷结果", businessType = BusinessType.DELETE) + @DeleteMapping("/{examUserIds}") + public AjaxResult remove(@PathVariable Long[] examUserIds) + { + return toAjax(busExamUserResultService.deleteBusExamUserResultByExamUserIds(examUserIds)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoController.java new file mode 100644 index 00000000..b3114114 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusTrainingVideo; +import com.yanzhu.manage.service.IBusTrainingVideoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 培训视频Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busTrainingVideo") +public class BusTrainingVideoController extends BaseController +{ + @Autowired + private IBusTrainingVideoService busTrainingVideoService; + + /** + * 查询培训视频列表 + */ + @RequiresPermissions("manage:busTrainingVideo:list") + @GetMapping("/list") + public TableDataInfo list(BusTrainingVideo busTrainingVideo) + { + startPage(); + List list = busTrainingVideoService.selectBusTrainingVideoList(busTrainingVideo); + return getDataTable(list); + } + + /** + * 导出培训视频列表 + */ + @RequiresPermissions("manage:busTrainingVideo:export") + @Log(title = "培训视频", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusTrainingVideo busTrainingVideo) + { + List list = busTrainingVideoService.selectBusTrainingVideoList(busTrainingVideo); + ExcelUtil util = new ExcelUtil(BusTrainingVideo.class); + util.exportExcel(response, list, "培训视频数据"); + } + + /** + * 获取培训视频详细信息 + */ + @RequiresPermissions("manage:busTrainingVideo:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busTrainingVideoService.selectBusTrainingVideoById(id)); + } + + /** + * 新增培训视频 + */ + @RequiresPermissions("manage:busTrainingVideo:add") + @Log(title = "培训视频", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusTrainingVideo busTrainingVideo) + { + return toAjax(busTrainingVideoService.insertBusTrainingVideo(busTrainingVideo)); + } + + /** + * 修改培训视频 + */ + @RequiresPermissions("manage:busTrainingVideo:edit") + @Log(title = "培训视频", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusTrainingVideo busTrainingVideo) + { + return toAjax(busTrainingVideoService.updateBusTrainingVideo(busTrainingVideo)); + } + + /** + * 删除培训视频 + */ + @RequiresPermissions("manage:busTrainingVideo:remove") + @Log(title = "培训视频", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busTrainingVideoService.deleteBusTrainingVideoByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoUserController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoUserController.java new file mode 100644 index 00000000..087367f1 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/BusTrainingVideoUserController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.BusTrainingVideoUser; +import com.yanzhu.manage.service.IBusTrainingVideoUserService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 用户培训视频Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/busTrainingVideoUser") +public class BusTrainingVideoUserController extends BaseController +{ + @Autowired + private IBusTrainingVideoUserService busTrainingVideoUserService; + + /** + * 查询用户培训视频列表 + */ + @RequiresPermissions("manage:busTrainingVideoUser:list") + @GetMapping("/list") + public TableDataInfo list(BusTrainingVideoUser busTrainingVideoUser) + { + startPage(); + List list = busTrainingVideoUserService.selectBusTrainingVideoUserList(busTrainingVideoUser); + return getDataTable(list); + } + + /** + * 导出用户培训视频列表 + */ + @RequiresPermissions("manage:busTrainingVideoUser:export") + @Log(title = "用户培训视频", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BusTrainingVideoUser busTrainingVideoUser) + { + List list = busTrainingVideoUserService.selectBusTrainingVideoUserList(busTrainingVideoUser); + ExcelUtil util = new ExcelUtil(BusTrainingVideoUser.class); + util.exportExcel(response, list, "用户培训视频数据"); + } + + /** + * 获取用户培训视频详细信息 + */ + @RequiresPermissions("manage:busTrainingVideoUser:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(busTrainingVideoUserService.selectBusTrainingVideoUserById(id)); + } + + /** + * 新增用户培训视频 + */ + @RequiresPermissions("manage:busTrainingVideoUser:add") + @Log(title = "用户培训视频", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BusTrainingVideoUser busTrainingVideoUser) + { + return toAjax(busTrainingVideoUserService.insertBusTrainingVideoUser(busTrainingVideoUser)); + } + + /** + * 修改用户培训视频 + */ + @RequiresPermissions("manage:busTrainingVideoUser:edit") + @Log(title = "用户培训视频", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BusTrainingVideoUser busTrainingVideoUser) + { + return toAjax(busTrainingVideoUserService.updateBusTrainingVideoUser(busTrainingVideoUser)); + } + + /** + * 删除用户培训视频 + */ + @RequiresPermissions("manage:busTrainingVideoUser:remove") + @Log(title = "用户培训视频", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(busTrainingVideoUserService.deleteBusTrainingVideoUserByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java new file mode 100644 index 00000000..99eb2261 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfo; +import com.yanzhu.manage.service.IProProjectInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 项目信息Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfo") +public class ProProjectInfoController extends BaseController +{ + @Autowired + private IProProjectInfoService proProjectInfoService; + + /** + * 查询项目信息列表 + */ + @RequiresPermissions("manage:proProjectInfo:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfo proProjectInfo) + { + startPage(); + List list = proProjectInfoService.selectProProjectInfoList(proProjectInfo); + return getDataTable(list); + } + + /** + * 导出项目信息列表 + */ + @RequiresPermissions("manage:proProjectInfo:export") + @Log(title = "项目信息", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfo proProjectInfo) + { + List list = proProjectInfoService.selectProProjectInfoList(proProjectInfo); + ExcelUtil util = new ExcelUtil(ProProjectInfo.class); + util.exportExcel(response, list, "项目信息数据"); + } + + /** + * 获取项目信息详细信息 + */ + @RequiresPermissions("manage:proProjectInfo:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoService.selectProProjectInfoById(id)); + } + + /** + * 新增项目信息 + */ + @RequiresPermissions("manage:proProjectInfo:add") + @Log(title = "项目信息", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfo proProjectInfo) + { + return toAjax(proProjectInfoService.insertProProjectInfo(proProjectInfo)); + } + + /** + * 修改项目信息 + */ + @RequiresPermissions("manage:proProjectInfo:edit") + @Log(title = "项目信息", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfo proProjectInfo) + { + return toAjax(proProjectInfoService.updateProProjectInfo(proProjectInfo)); + } + + /** + * 删除项目信息 + */ + @RequiresPermissions("manage:proProjectInfo:remove") + @Log(title = "项目信息", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoService.deleteProProjectInfoByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoDeptsController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoDeptsController.java new file mode 100644 index 00000000..bd87ff98 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoDeptsController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoDepts; +import com.yanzhu.manage.service.IProProjectInfoDeptsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 参建单位Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoDepts") +public class ProProjectInfoDeptsController extends BaseController +{ + @Autowired + private IProProjectInfoDeptsService proProjectInfoDeptsService; + + /** + * 查询参建单位列表 + */ + @RequiresPermissions("manage:proProjectInfoDepts:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoDepts proProjectInfoDepts) + { + startPage(); + List list = proProjectInfoDeptsService.selectProProjectInfoDeptsList(proProjectInfoDepts); + return getDataTable(list); + } + + /** + * 导出参建单位列表 + */ + @RequiresPermissions("manage:proProjectInfoDepts:export") + @Log(title = "参建单位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoDepts proProjectInfoDepts) + { + List list = proProjectInfoDeptsService.selectProProjectInfoDeptsList(proProjectInfoDepts); + ExcelUtil util = new ExcelUtil(ProProjectInfoDepts.class); + util.exportExcel(response, list, "参建单位数据"); + } + + /** + * 获取参建单位详细信息 + */ + @RequiresPermissions("manage:proProjectInfoDepts:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoDeptsService.selectProProjectInfoDeptsById(id)); + } + + /** + * 新增参建单位 + */ + @RequiresPermissions("manage:proProjectInfoDepts:add") + @Log(title = "参建单位", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoDepts proProjectInfoDepts) + { + return toAjax(proProjectInfoDeptsService.insertProProjectInfoDepts(proProjectInfoDepts)); + } + + /** + * 修改参建单位 + */ + @RequiresPermissions("manage:proProjectInfoDepts:edit") + @Log(title = "参建单位", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoDepts proProjectInfoDepts) + { + return toAjax(proProjectInfoDeptsService.updateProProjectInfoDepts(proProjectInfoDepts)); + } + + /** + * 删除参建单位 + */ + @RequiresPermissions("manage:proProjectInfoDepts:remove") + @Log(title = "参建单位", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoDeptsService.deleteProProjectInfoDeptsByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSettingController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSettingController.java new file mode 100644 index 00000000..8f81544c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSettingController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoSetting; +import com.yanzhu.manage.service.IProProjectInfoSettingService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 项目设置Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoSetting") +public class ProProjectInfoSettingController extends BaseController +{ + @Autowired + private IProProjectInfoSettingService proProjectInfoSettingService; + + /** + * 查询项目设置列表 + */ + @RequiresPermissions("manage:proProjectInfoSetting:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoSetting proProjectInfoSetting) + { + startPage(); + List list = proProjectInfoSettingService.selectProProjectInfoSettingList(proProjectInfoSetting); + return getDataTable(list); + } + + /** + * 导出项目设置列表 + */ + @RequiresPermissions("manage:proProjectInfoSetting:export") + @Log(title = "项目设置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoSetting proProjectInfoSetting) + { + List list = proProjectInfoSettingService.selectProProjectInfoSettingList(proProjectInfoSetting); + ExcelUtil util = new ExcelUtil(ProProjectInfoSetting.class); + util.exportExcel(response, list, "项目设置数据"); + } + + /** + * 获取项目设置详细信息 + */ + @RequiresPermissions("manage:proProjectInfoSetting:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoSettingService.selectProProjectInfoSettingById(id)); + } + + /** + * 新增项目设置 + */ + @RequiresPermissions("manage:proProjectInfoSetting:add") + @Log(title = "项目设置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoSetting proProjectInfoSetting) + { + return toAjax(proProjectInfoSettingService.insertProProjectInfoSetting(proProjectInfoSetting)); + } + + /** + * 修改项目设置 + */ + @RequiresPermissions("manage:proProjectInfoSetting:edit") + @Log(title = "项目设置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoSetting proProjectInfoSetting) + { + return toAjax(proProjectInfoSettingService.updateProProjectInfoSetting(proProjectInfoSetting)); + } + + /** + * 删除项目设置 + */ + @RequiresPermissions("manage:proProjectInfoSetting:remove") + @Log(title = "项目设置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoSettingService.deleteProProjectInfoSettingByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsController.java new file mode 100644 index 00000000..b4840cb8 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoSubdepts; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 分包单位Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoSubdepts") +public class ProProjectInfoSubdeptsController extends BaseController +{ + @Autowired + private IProProjectInfoSubdeptsService proProjectInfoSubdeptsService; + + /** + * 查询分包单位列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoSubdepts proProjectInfoSubdepts) + { + startPage(); + List list = proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts); + return getDataTable(list); + } + + /** + * 导出分包单位列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:export") + @Log(title = "分包单位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoSubdepts proProjectInfoSubdepts) + { + List list = proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts); + ExcelUtil util = new ExcelUtil(ProProjectInfoSubdepts.class); + util.exportExcel(response, list, "分包单位数据"); + } + + /** + * 获取分包单位详细信息 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsById(id)); + } + + /** + * 新增分包单位 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:add") + @Log(title = "分包单位", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoSubdepts proProjectInfoSubdepts) + { + return toAjax(proProjectInfoSubdeptsService.insertProProjectInfoSubdepts(proProjectInfoSubdepts)); + } + + /** + * 修改分包单位 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:edit") + @Log(title = "分包单位", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoSubdepts proProjectInfoSubdepts) + { + return toAjax(proProjectInfoSubdeptsService.updateProProjectInfoSubdepts(proProjectInfoSubdepts)); + } + + /** + * 删除分包单位 + */ + @RequiresPermissions("manage:proProjectInfoSubdepts:remove") + @Log(title = "分包单位", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoSubdeptsService.deleteProProjectInfoSubdeptsByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsGroupController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsGroupController.java new file mode 100644 index 00000000..0cfb986e --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsGroupController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsGroupService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 分包单位班组Controller + * + * @author JiangYuqi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoSubdeptsGroup") +public class ProProjectInfoSubdeptsGroupController extends BaseController +{ + @Autowired + private IProProjectInfoSubdeptsGroupService proProjectInfoSubdeptsGroupService; + + /** + * 查询分包单位班组列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + startPage(); + List list = proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup); + return getDataTable(list); + } + + /** + * 导出分包单位班组列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:export") + @Log(title = "分包单位班组", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + List list = proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup); + ExcelUtil util = new ExcelUtil(ProProjectInfoSubdeptsGroup.class); + util.exportExcel(response, list, "分包单位班组数据"); + } + + /** + * 获取分包单位班组详细信息 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupById(id)); + } + + /** + * 新增分包单位班组 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:add") + @Log(title = "分包单位班组", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + return toAjax(proProjectInfoSubdeptsGroupService.insertProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup)); + } + + /** + * 修改分包单位班组 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:edit") + @Log(title = "分包单位班组", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + return toAjax(proProjectInfoSubdeptsGroupService.updateProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup)); + } + + /** + * 删除分包单位班组 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsGroup:remove") + @Log(title = "分包单位班组", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoSubdeptsGroupService.deleteProProjectInfoSubdeptsGroupByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsUsersController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsUsersController.java new file mode 100644 index 00000000..c5e64bf2 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoSubdeptsUsersController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsUsersService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 分包单位工人Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoSubdeptsUsers") +public class ProProjectInfoSubdeptsUsersController extends BaseController +{ + @Autowired + private IProProjectInfoSubdeptsUsersService proProjectInfoSubdeptsUsersService; + + /** + * 查询分包单位工人列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + startPage(); + List list = proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers); + return getDataTable(list); + } + + /** + * 导出分包单位工人列表 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:export") + @Log(title = "分包单位工人", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + List list = proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers); + ExcelUtil util = new ExcelUtil(ProProjectInfoSubdeptsUsers.class); + util.exportExcel(response, list, "分包单位工人数据"); + } + + /** + * 获取分包单位工人详细信息 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersById(id)); + } + + /** + * 新增分包单位工人 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:add") + @Log(title = "分包单位工人", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + return toAjax(proProjectInfoSubdeptsUsersService.insertProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers)); + } + + /** + * 修改分包单位工人 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:edit") + @Log(title = "分包单位工人", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + return toAjax(proProjectInfoSubdeptsUsersService.updateProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers)); + } + + /** + * 删除分包单位工人 + */ + @RequiresPermissions("manage:proProjectInfoSubdeptsUsers:remove") + @Log(title = "分包单位工人", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoSubdeptsUsersService.deleteProProjectInfoSubdeptsUsersByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoUsersController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoUsersController.java new file mode 100644 index 00000000..860f5263 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoUsersController.java @@ -0,0 +1,98 @@ +package com.yanzhu.manage.controller; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.ProProjectInfoUsers; +import com.yanzhu.manage.service.IProProjectInfoUsersService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 项目人员Controller + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@RestController +@RequestMapping("/proProjectInfoUsers") +public class ProProjectInfoUsersController extends BaseController +{ + @Autowired + private IProProjectInfoUsersService proProjectInfoUsersService; + + /** + * 查询项目人员列表 + */ + @RequiresPermissions("manage:proProjectInfoUsers:list") + @GetMapping("/list") + public TableDataInfo list(ProProjectInfoUsers proProjectInfoUsers) + { + startPage(); + List list = proProjectInfoUsersService.selectProProjectInfoUsersList(proProjectInfoUsers); + return getDataTable(list); + } + + /** + * 导出项目人员列表 + */ + @RequiresPermissions("manage:proProjectInfoUsers:export") + @Log(title = "项目人员", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, ProProjectInfoUsers proProjectInfoUsers) + { + List list = proProjectInfoUsersService.selectProProjectInfoUsersList(proProjectInfoUsers); + ExcelUtil util = new ExcelUtil(ProProjectInfoUsers.class); + util.exportExcel(response, list, "项目人员数据"); + } + + /** + * 获取项目人员详细信息 + */ + @RequiresPermissions("manage:proProjectInfoUsers:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(proProjectInfoUsersService.selectProProjectInfoUsersById(id)); + } + + /** + * 新增项目人员 + */ + @RequiresPermissions("manage:proProjectInfoUsers:add") + @Log(title = "项目人员", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody ProProjectInfoUsers proProjectInfoUsers) + { + return toAjax(proProjectInfoUsersService.insertProProjectInfoUsers(proProjectInfoUsers)); + } + + /** + * 修改项目人员 + */ + @RequiresPermissions("manage:proProjectInfoUsers:edit") + @Log(title = "项目人员", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody ProProjectInfoUsers proProjectInfoUsers) + { + return toAjax(proProjectInfoUsersService.updateProProjectInfoUsers(proProjectInfoUsers)); + } + + /** + * 删除项目人员 + */ + @RequiresPermissions("manage:proProjectInfoUsers:remove") + @Log(title = "项目人员", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(proProjectInfoUsersService.deleteProProjectInfoUsersByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/init b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/init deleted file mode 100644 index e69de29b..00000000 diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoQuesService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoQuesService.java new file mode 100644 index 00000000..18ff9b19 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoQuesService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamInfoQues; + +/** + * 试卷问题Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamInfoQuesService +{ + /** + * 查询试卷问题 + * + * @param examId 试卷问题主键 + * @return 试卷问题 + */ + public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId); + + /** + * 查询试卷问题列表 + * + * @param busExamInfoQues 试卷问题 + * @return 试卷问题集合 + */ + public List selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues); + + /** + * 新增试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues); + + /** + * 修改试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues); + + /** + * 批量删除试卷问题 + * + * @param examIds 需要删除的试卷问题主键集合 + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamIds(Long[] examIds); + + /** + * 删除试卷问题信息 + * + * @param examId 试卷问题主键 + * @return 结果 + */ + public int deleteBusExamInfoQuesByExamId(Long examId); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoService.java new file mode 100644 index 00000000..567d3924 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamInfoService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamInfo; + +/** + * 基础试卷Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamInfoService +{ + /** + * 查询基础试卷 + * + * @param id 基础试卷主键 + * @return 基础试卷 + */ + public BusExamInfo selectBusExamInfoById(Long id); + + /** + * 查询基础试卷列表 + * + * @param busExamInfo 基础试卷 + * @return 基础试卷集合 + */ + public List selectBusExamInfoList(BusExamInfo busExamInfo); + + /** + * 新增基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + public int insertBusExamInfo(BusExamInfo busExamInfo); + + /** + * 修改基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + public int updateBusExamInfo(BusExamInfo busExamInfo); + + /** + * 批量删除基础试卷 + * + * @param ids 需要删除的基础试卷主键集合 + * @return 结果 + */ + public int deleteBusExamInfoByIds(Long[] ids); + + /** + * 删除基础试卷信息 + * + * @param id 基础试卷主键 + * @return 结果 + */ + public int deleteBusExamInfoById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionResultService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionResultService.java new file mode 100644 index 00000000..4ef68740 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionResultService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamQuestionResult; + +/** + * 题库问题Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamQuestionResultService +{ + /** + * 查询题库问题 + * + * @param id 题库问题主键 + * @return 题库问题 + */ + public BusExamQuestionResult selectBusExamQuestionResultById(Long id); + + /** + * 查询题库问题列表 + * + * @param busExamQuestionResult 题库问题 + * @return 题库问题集合 + */ + public List selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult); + + /** + * 新增题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult); + + /** + * 修改题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult); + + /** + * 批量删除题库问题 + * + * @param ids 需要删除的题库问题主键集合 + * @return 结果 + */ + public int deleteBusExamQuestionResultByIds(Long[] ids); + + /** + * 删除题库问题信息 + * + * @param id 题库问题主键 + * @return 结果 + */ + public int deleteBusExamQuestionResultById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionService.java new file mode 100644 index 00000000..9b9f3ad3 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamQuestionService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamQuestion; + +/** + * 基础题库Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamQuestionService +{ + /** + * 查询基础题库 + * + * @param id 基础题库主键 + * @return 基础题库 + */ + public BusExamQuestion selectBusExamQuestionById(Long id); + + /** + * 查询基础题库列表 + * + * @param busExamQuestion 基础题库 + * @return 基础题库集合 + */ + public List selectBusExamQuestionList(BusExamQuestion busExamQuestion); + + /** + * 新增基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + public int insertBusExamQuestion(BusExamQuestion busExamQuestion); + + /** + * 修改基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + public int updateBusExamQuestion(BusExamQuestion busExamQuestion); + + /** + * 批量删除基础题库 + * + * @param ids 需要删除的基础题库主键集合 + * @return 结果 + */ + public int deleteBusExamQuestionByIds(Long[] ids); + + /** + * 删除基础题库信息 + * + * @param id 基础题库主键 + * @return 结果 + */ + public int deleteBusExamQuestionById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserResultService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserResultService.java new file mode 100644 index 00000000..a6a681f2 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserResultService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamUserResult; + +/** + * 用户试卷结果Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamUserResultService +{ + /** + * 查询用户试卷结果 + * + * @param examUserId 用户试卷结果主键 + * @return 用户试卷结果 + */ + public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId); + + /** + * 查询用户试卷结果列表 + * + * @param busExamUserResult 用户试卷结果 + * @return 用户试卷结果集合 + */ + public List selectBusExamUserResultList(BusExamUserResult busExamUserResult); + + /** + * 新增用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + public int insertBusExamUserResult(BusExamUserResult busExamUserResult); + + /** + * 修改用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + public int updateBusExamUserResult(BusExamUserResult busExamUserResult); + + /** + * 批量删除用户试卷结果 + * + * @param examUserIds 需要删除的用户试卷结果主键集合 + * @return 结果 + */ + public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds); + + /** + * 删除用户试卷结果信息 + * + * @param examUserId 用户试卷结果主键 + * @return 结果 + */ + public int deleteBusExamUserResultByExamUserId(Long examUserId); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserService.java new file mode 100644 index 00000000..621be9e3 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusExamUserService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusExamUser; + +/** + * 用户试卷Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusExamUserService +{ + /** + * 查询用户试卷 + * + * @param id 用户试卷主键 + * @return 用户试卷 + */ + public BusExamUser selectBusExamUserById(Long id); + + /** + * 查询用户试卷列表 + * + * @param busExamUser 用户试卷 + * @return 用户试卷集合 + */ + public List selectBusExamUserList(BusExamUser busExamUser); + + /** + * 新增用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + public int insertBusExamUser(BusExamUser busExamUser); + + /** + * 修改用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + public int updateBusExamUser(BusExamUser busExamUser); + + /** + * 批量删除用户试卷 + * + * @param ids 需要删除的用户试卷主键集合 + * @return 结果 + */ + public int deleteBusExamUserByIds(Long[] ids); + + /** + * 删除用户试卷信息 + * + * @param id 用户试卷主键 + * @return 结果 + */ + public int deleteBusExamUserById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoService.java new file mode 100644 index 00000000..0ab2e494 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.BusTrainingVideo; + +/** + * 培训视频Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusTrainingVideoService +{ + /** + * 查询培训视频 + * + * @param id 培训视频主键 + * @return 培训视频 + */ + public BusTrainingVideo selectBusTrainingVideoById(Long id); + + /** + * 查询培训视频列表 + * + * @param busTrainingVideo 培训视频 + * @return 培训视频集合 + */ + public List selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo); + + /** + * 新增培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo); + + /** + * 修改培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo); + + /** + * 批量删除培训视频 + * + * @param ids 需要删除的培训视频主键集合 + * @return 结果 + */ + public int deleteBusTrainingVideoByIds(Long[] ids); + + /** + * 删除培训视频信息 + * + * @param id 培训视频主键 + * @return 结果 + */ + public int deleteBusTrainingVideoById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoUserService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoUserService.java new file mode 100644 index 00000000..48b00d23 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IBusTrainingVideoUserService.java @@ -0,0 +1,62 @@ +package com.yanzhu.manage.service; + +import com.yanzhu.manage.domain.BusTrainingVideoUser; + +import java.util.List; + +/** + * 用户培训视频Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IBusTrainingVideoUserService +{ + /** + * 查询用户培训视频 + * + * @param id 用户培训视频主键 + * @return 用户培训视频 + */ + public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id); + + /** + * 查询用户培训视频列表 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 用户培训视频集合 + */ + public List selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 新增用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 修改用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser); + + /** + * 批量删除用户培训视频 + * + * @param ids 需要删除的用户培训视频主键集合 + * @return 结果 + */ + public int deleteBusTrainingVideoUserByIds(Long[] ids); + + /** + * 删除用户培训视频信息 + * + * @param id 用户培训视频主键 + * @return 结果 + */ + public int deleteBusTrainingVideoUserById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoDeptsService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoDeptsService.java new file mode 100644 index 00000000..c6da127f --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoDeptsService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoDepts; + +/** + * 参建单位Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoDeptsService +{ + /** + * 查询参建单位 + * + * @param id 参建单位主键 + * @return 参建单位 + */ + public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id); + + /** + * 查询参建单位列表 + * + * @param proProjectInfoDepts 参建单位 + * @return 参建单位集合 + */ + public List selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 新增参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 修改参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts); + + /** + * 批量删除参建单位 + * + * @param ids 需要删除的参建单位主键集合 + * @return 结果 + */ + public int deleteProProjectInfoDeptsByIds(Long[] ids); + + /** + * 删除参建单位信息 + * + * @param id 参建单位主键 + * @return 结果 + */ + public int deleteProProjectInfoDeptsById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java new file mode 100644 index 00000000..b079ef63 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfo; + +/** + * 项目信息Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoService +{ + /** + * 查询项目信息 + * + * @param id 项目信息主键 + * @return 项目信息 + */ + public ProProjectInfo selectProProjectInfoById(Long id); + + /** + * 查询项目信息列表 + * + * @param proProjectInfo 项目信息 + * @return 项目信息集合 + */ + public List selectProProjectInfoList(ProProjectInfo proProjectInfo); + + /** + * 新增项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + public int insertProProjectInfo(ProProjectInfo proProjectInfo); + + /** + * 修改项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + public int updateProProjectInfo(ProProjectInfo proProjectInfo); + + /** + * 批量删除项目信息 + * + * @param ids 需要删除的项目信息主键集合 + * @return 结果 + */ + public int deleteProProjectInfoByIds(Long[] ids); + + /** + * 删除项目信息信息 + * + * @param id 项目信息主键 + * @return 结果 + */ + public int deleteProProjectInfoById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSettingService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSettingService.java new file mode 100644 index 00000000..39c71b9b --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSettingService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSetting; + +/** + * 项目设置Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoSettingService +{ + /** + * 查询项目设置 + * + * @param id 项目设置主键 + * @return 项目设置 + */ + public ProProjectInfoSetting selectProProjectInfoSettingById(Long id); + + /** + * 查询项目设置列表 + * + * @param proProjectInfoSetting 项目设置 + * @return 项目设置集合 + */ + public List selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 新增项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 修改项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting); + + /** + * 批量删除项目设置 + * + * @param ids 需要删除的项目设置主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSettingByIds(Long[] ids); + + /** + * 删除项目设置信息 + * + * @param id 项目设置主键 + * @return 结果 + */ + public int deleteProProjectInfoSettingById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsGroupService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsGroupService.java new file mode 100644 index 00000000..c09f0b32 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsGroupService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup; + +/** + * 分包单位班组Service接口 + * + * @author JiangYuqi + * @date 2024-08-25 + */ +public interface IProProjectInfoSubdeptsGroupService +{ + /** + * 查询分包单位班组 + * + * @param id 分包单位班组主键 + * @return 分包单位班组 + */ + public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id); + + /** + * 查询分包单位班组列表 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 分包单位班组集合 + */ + public List selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 新增分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 修改分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup); + + /** + * 批量删除分包单位班组 + * + * @param ids 需要删除的分包单位班组主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids); + + /** + * 删除分包单位班组信息 + * + * @param id 分包单位班组主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsGroupById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsService.java new file mode 100644 index 00000000..93d5084f --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdepts; + +/** + * 分包单位Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoSubdeptsService +{ + /** + * 查询分包单位 + * + * @param id 分包单位主键 + * @return 分包单位 + */ + public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id); + + /** + * 查询分包单位列表 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 分包单位集合 + */ + public List selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 新增分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 修改分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts); + + /** + * 批量删除分包单位 + * + * @param ids 需要删除的分包单位主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsByIds(Long[] ids); + + /** + * 删除分包单位信息 + * + * @param id 分包单位主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsUsersService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsUsersService.java new file mode 100644 index 00000000..b128f829 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoSubdeptsUsersService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers; + +/** + * 分包单位工人Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoSubdeptsUsersService +{ + /** + * 查询分包单位工人 + * + * @param id 分包单位工人主键 + * @return 分包单位工人 + */ + public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id); + + /** + * 查询分包单位工人列表 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 分包单位工人集合 + */ + public List selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 新增分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 修改分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers); + + /** + * 批量删除分包单位工人 + * + * @param ids 需要删除的分包单位工人主键集合 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids); + + /** + * 删除分包单位工人信息 + * + * @param id 分包单位工人主键 + * @return 结果 + */ + public int deleteProProjectInfoSubdeptsUsersById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoUsersService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoUsersService.java new file mode 100644 index 00000000..7e706e57 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoUsersService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.ProProjectInfoUsers; + +/** + * 项目人员Service接口 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +public interface IProProjectInfoUsersService +{ + /** + * 查询项目人员 + * + * @param id 项目人员主键 + * @return 项目人员 + */ + public ProProjectInfoUsers selectProProjectInfoUsersById(Long id); + + /** + * 查询项目人员列表 + * + * @param proProjectInfoUsers 项目人员 + * @return 项目人员集合 + */ + public List selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 新增项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 修改项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers); + + /** + * 批量删除项目人员 + * + * @param ids 需要删除的项目人员主键集合 + * @return 结果 + */ + public int deleteProProjectInfoUsersByIds(Long[] ids); + + /** + * 删除项目人员信息 + * + * @param id 项目人员主键 + * @return 结果 + */ + public int deleteProProjectInfoUsersById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoQuesServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoQuesServiceImpl.java new file mode 100644 index 00000000..cf747906 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoQuesServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.BusExamInfoQuesMapper; +import com.yanzhu.manage.domain.BusExamInfoQues; +import com.yanzhu.manage.service.IBusExamInfoQuesService; + +/** + * 试卷问题Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamInfoQuesServiceImpl implements IBusExamInfoQuesService +{ + @Autowired + private BusExamInfoQuesMapper busExamInfoQuesMapper; + + /** + * 查询试卷问题 + * + * @param examId 试卷问题主键 + * @return 试卷问题 + */ + @Override + public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId) + { + return busExamInfoQuesMapper.selectBusExamInfoQuesByExamId(examId); + } + + /** + * 查询试卷问题列表 + * + * @param busExamInfoQues 试卷问题 + * @return 试卷问题 + */ + @Override + public List selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues) + { + return busExamInfoQuesMapper.selectBusExamInfoQuesList(busExamInfoQues); + } + + /** + * 新增试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + @Override + public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues) + { + return busExamInfoQuesMapper.insertBusExamInfoQues(busExamInfoQues); + } + + /** + * 修改试卷问题 + * + * @param busExamInfoQues 试卷问题 + * @return 结果 + */ + @Override + public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues) + { + return busExamInfoQuesMapper.updateBusExamInfoQues(busExamInfoQues); + } + + /** + * 批量删除试卷问题 + * + * @param examIds 需要删除的试卷问题主键 + * @return 结果 + */ + @Override + public int deleteBusExamInfoQuesByExamIds(Long[] examIds) + { + return busExamInfoQuesMapper.deleteBusExamInfoQuesByExamIds(examIds); + } + + /** + * 删除试卷问题信息 + * + * @param examId 试卷问题主键 + * @return 结果 + */ + @Override + public int deleteBusExamInfoQuesByExamId(Long examId) + { + return busExamInfoQuesMapper.deleteBusExamInfoQuesByExamId(examId); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoServiceImpl.java new file mode 100644 index 00000000..8e6d11ce --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamInfoServiceImpl.java @@ -0,0 +1,135 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.utils.DateUtils; +import com.yanzhu.common.core.utils.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.ArrayList; +import org.springframework.transaction.annotation.Transactional; +import com.yanzhu.manage.domain.BusExamInfoQues; +import com.yanzhu.manage.mapper.BusExamInfoMapper; +import com.yanzhu.manage.domain.BusExamInfo; +import com.yanzhu.manage.service.IBusExamInfoService; + +/** + * 基础试卷Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamInfoServiceImpl implements IBusExamInfoService +{ + @Autowired + private BusExamInfoMapper busExamInfoMapper; + + /** + * 查询基础试卷 + * + * @param id 基础试卷主键 + * @return 基础试卷 + */ + @Override + public BusExamInfo selectBusExamInfoById(Long id) + { + return busExamInfoMapper.selectBusExamInfoById(id); + } + + /** + * 查询基础试卷列表 + * + * @param busExamInfo 基础试卷 + * @return 基础试卷 + */ + @Override + public List selectBusExamInfoList(BusExamInfo busExamInfo) + { + return busExamInfoMapper.selectBusExamInfoList(busExamInfo); + } + + /** + * 新增基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + @Transactional + @Override + public int insertBusExamInfo(BusExamInfo busExamInfo) + { + busExamInfo.setCreateTime(DateUtils.getNowDate()); + int rows = busExamInfoMapper.insertBusExamInfo(busExamInfo); + insertBusExamInfoQues(busExamInfo); + return rows; + } + + /** + * 修改基础试卷 + * + * @param busExamInfo 基础试卷 + * @return 结果 + */ + @Transactional + @Override + public int updateBusExamInfo(BusExamInfo busExamInfo) + { + busExamInfo.setUpdateTime(DateUtils.getNowDate()); + busExamInfoMapper.deleteBusExamInfoQuesByExamId(busExamInfo.getId()); + insertBusExamInfoQues(busExamInfo); + return busExamInfoMapper.updateBusExamInfo(busExamInfo); + } + + /** + * 批量删除基础试卷 + * + * @param ids 需要删除的基础试卷主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteBusExamInfoByIds(Long[] ids) + { + busExamInfoMapper.deleteBusExamInfoQuesByExamIds(ids); + return busExamInfoMapper.deleteBusExamInfoByIds(ids); + } + + /** + * 删除基础试卷信息 + * + * @param id 基础试卷主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteBusExamInfoById(Long id) + { + busExamInfoMapper.deleteBusExamInfoQuesByExamId(id); + return busExamInfoMapper.deleteBusExamInfoById(id); + } + + /** + * 新增试卷问题信息 + * + * @param busExamInfo 基础试卷对象 + */ + public void insertBusExamInfoQues(BusExamInfo busExamInfo) + { + List busExamInfoQuesList = busExamInfo.getBusExamInfoQuesList(); + Long id = busExamInfo.getId(); + if (StringUtils.isNotNull(busExamInfoQuesList)) + { + List list = new ArrayList(); + for (BusExamInfoQues busExamInfoQues : busExamInfoQuesList) + { + busExamInfoQues.setExamId(id); + list.add(busExamInfoQues); + } + if (list.size() > 0) + { + busExamInfoMapper.batchBusExamInfoQues(list); + } + } + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionResultServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionResultServiceImpl.java new file mode 100644 index 00000000..40b76ef5 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionResultServiceImpl.java @@ -0,0 +1,96 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.BusExamQuestionResultMapper; +import com.yanzhu.manage.domain.BusExamQuestionResult; +import com.yanzhu.manage.service.IBusExamQuestionResultService; + +/** + * 题库问题Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamQuestionResultServiceImpl implements IBusExamQuestionResultService +{ + @Autowired + private BusExamQuestionResultMapper busExamQuestionResultMapper; + + /** + * 查询题库问题 + * + * @param id 题库问题主键 + * @return 题库问题 + */ + @Override + public BusExamQuestionResult selectBusExamQuestionResultById(Long id) + { + return busExamQuestionResultMapper.selectBusExamQuestionResultById(id); + } + + /** + * 查询题库问题列表 + * + * @param busExamQuestionResult 题库问题 + * @return 题库问题 + */ + @Override + public List selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult) + { + return busExamQuestionResultMapper.selectBusExamQuestionResultList(busExamQuestionResult); + } + + /** + * 新增题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + @Override + public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult) + { + busExamQuestionResult.setCreateTime(DateUtils.getNowDate()); + return busExamQuestionResultMapper.insertBusExamQuestionResult(busExamQuestionResult); + } + + /** + * 修改题库问题 + * + * @param busExamQuestionResult 题库问题 + * @return 结果 + */ + @Override + public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult) + { + busExamQuestionResult.setUpdateTime(DateUtils.getNowDate()); + return busExamQuestionResultMapper.updateBusExamQuestionResult(busExamQuestionResult); + } + + /** + * 批量删除题库问题 + * + * @param ids 需要删除的题库问题主键 + * @return 结果 + */ + @Override + public int deleteBusExamQuestionResultByIds(Long[] ids) + { + return busExamQuestionResultMapper.deleteBusExamQuestionResultByIds(ids); + } + + /** + * 删除题库问题信息 + * + * @param id 题库问题主键 + * @return 结果 + */ + @Override + public int deleteBusExamQuestionResultById(Long id) + { + return busExamQuestionResultMapper.deleteBusExamQuestionResultById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionServiceImpl.java new file mode 100644 index 00000000..fca513b2 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamQuestionServiceImpl.java @@ -0,0 +1,134 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import com.yanzhu.common.core.utils.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.ArrayList; +import org.springframework.transaction.annotation.Transactional; +import com.yanzhu.manage.domain.BusExamQuestionResult; +import com.yanzhu.manage.mapper.BusExamQuestionMapper; +import com.yanzhu.manage.domain.BusExamQuestion; +import com.yanzhu.manage.service.IBusExamQuestionService; + +/** + * 基础题库Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamQuestionServiceImpl implements IBusExamQuestionService +{ + @Autowired + private BusExamQuestionMapper busExamQuestionMapper; + + /** + * 查询基础题库 + * + * @param id 基础题库主键 + * @return 基础题库 + */ + @Override + public BusExamQuestion selectBusExamQuestionById(Long id) + { + return busExamQuestionMapper.selectBusExamQuestionById(id); + } + + /** + * 查询基础题库列表 + * + * @param busExamQuestion 基础题库 + * @return 基础题库 + */ + @Override + public List selectBusExamQuestionList(BusExamQuestion busExamQuestion) + { + return busExamQuestionMapper.selectBusExamQuestionList(busExamQuestion); + } + + /** + * 新增基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + @Transactional + @Override + public int insertBusExamQuestion(BusExamQuestion busExamQuestion) + { + busExamQuestion.setCreateTime(DateUtils.getNowDate()); + int rows = busExamQuestionMapper.insertBusExamQuestion(busExamQuestion); + insertBusExamQuestionResult(busExamQuestion); + return rows; + } + + /** + * 修改基础题库 + * + * @param busExamQuestion 基础题库 + * @return 结果 + */ + @Transactional + @Override + public int updateBusExamQuestion(BusExamQuestion busExamQuestion) + { + busExamQuestion.setUpdateTime(DateUtils.getNowDate()); + busExamQuestionMapper.deleteBusExamQuestionResultByQuestionId(busExamQuestion.getId()); + insertBusExamQuestionResult(busExamQuestion); + return busExamQuestionMapper.updateBusExamQuestion(busExamQuestion); + } + + /** + * 批量删除基础题库 + * + * @param ids 需要删除的基础题库主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteBusExamQuestionByIds(Long[] ids) + { + busExamQuestionMapper.deleteBusExamQuestionResultByQuestionIds(ids); + return busExamQuestionMapper.deleteBusExamQuestionByIds(ids); + } + + /** + * 删除基础题库信息 + * + * @param id 基础题库主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteBusExamQuestionById(Long id) + { + busExamQuestionMapper.deleteBusExamQuestionResultByQuestionId(id); + return busExamQuestionMapper.deleteBusExamQuestionById(id); + } + + /** + * 新增题库问题信息 + * + * @param busExamQuestion 基础题库对象 + */ + public void insertBusExamQuestionResult(BusExamQuestion busExamQuestion) + { + List busExamQuestionResultList = busExamQuestion.getBusExamQuestionResultList(); + Long id = busExamQuestion.getId(); + if (StringUtils.isNotNull(busExamQuestionResultList)) + { + List list = new ArrayList(); + for (BusExamQuestionResult busExamQuestionResult : busExamQuestionResultList) + { + busExamQuestionResult.setQuestionId(id); + list.add(busExamQuestionResult); + } + if (list.size() > 0) + { + busExamQuestionMapper.batchBusExamQuestionResult(list); + } + } + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserResultServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserResultServiceImpl.java new file mode 100644 index 00000000..aff83e88 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserResultServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.BusExamUserResultMapper; +import com.yanzhu.manage.domain.BusExamUserResult; +import com.yanzhu.manage.service.IBusExamUserResultService; + +/** + * 用户试卷结果Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamUserResultServiceImpl implements IBusExamUserResultService +{ + @Autowired + private BusExamUserResultMapper busExamUserResultMapper; + + /** + * 查询用户试卷结果 + * + * @param examUserId 用户试卷结果主键 + * @return 用户试卷结果 + */ + @Override + public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId) + { + return busExamUserResultMapper.selectBusExamUserResultByExamUserId(examUserId); + } + + /** + * 查询用户试卷结果列表 + * + * @param busExamUserResult 用户试卷结果 + * @return 用户试卷结果 + */ + @Override + public List selectBusExamUserResultList(BusExamUserResult busExamUserResult) + { + return busExamUserResultMapper.selectBusExamUserResultList(busExamUserResult); + } + + /** + * 新增用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + @Override + public int insertBusExamUserResult(BusExamUserResult busExamUserResult) + { + return busExamUserResultMapper.insertBusExamUserResult(busExamUserResult); + } + + /** + * 修改用户试卷结果 + * + * @param busExamUserResult 用户试卷结果 + * @return 结果 + */ + @Override + public int updateBusExamUserResult(BusExamUserResult busExamUserResult) + { + return busExamUserResultMapper.updateBusExamUserResult(busExamUserResult); + } + + /** + * 批量删除用户试卷结果 + * + * @param examUserIds 需要删除的用户试卷结果主键 + * @return 结果 + */ + @Override + public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds) + { + return busExamUserResultMapper.deleteBusExamUserResultByExamUserIds(examUserIds); + } + + /** + * 删除用户试卷结果信息 + * + * @param examUserId 用户试卷结果主键 + * @return 结果 + */ + @Override + public int deleteBusExamUserResultByExamUserId(Long examUserId) + { + return busExamUserResultMapper.deleteBusExamUserResultByExamUserId(examUserId); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserServiceImpl.java new file mode 100644 index 00000000..79b73015 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusExamUserServiceImpl.java @@ -0,0 +1,96 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.BusExamUserMapper; +import com.yanzhu.manage.domain.BusExamUser; +import com.yanzhu.manage.service.IBusExamUserService; + +/** + * 用户试卷Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusExamUserServiceImpl implements IBusExamUserService +{ + @Autowired + private BusExamUserMapper busExamUserMapper; + + /** + * 查询用户试卷 + * + * @param id 用户试卷主键 + * @return 用户试卷 + */ + @Override + public BusExamUser selectBusExamUserById(Long id) + { + return busExamUserMapper.selectBusExamUserById(id); + } + + /** + * 查询用户试卷列表 + * + * @param busExamUser 用户试卷 + * @return 用户试卷 + */ + @Override + public List selectBusExamUserList(BusExamUser busExamUser) + { + return busExamUserMapper.selectBusExamUserList(busExamUser); + } + + /** + * 新增用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + @Override + public int insertBusExamUser(BusExamUser busExamUser) + { + busExamUser.setCreateTime(DateUtils.getNowDate()); + return busExamUserMapper.insertBusExamUser(busExamUser); + } + + /** + * 修改用户试卷 + * + * @param busExamUser 用户试卷 + * @return 结果 + */ + @Override + public int updateBusExamUser(BusExamUser busExamUser) + { + busExamUser.setUpdateTime(DateUtils.getNowDate()); + return busExamUserMapper.updateBusExamUser(busExamUser); + } + + /** + * 批量删除用户试卷 + * + * @param ids 需要删除的用户试卷主键 + * @return 结果 + */ + @Override + public int deleteBusExamUserByIds(Long[] ids) + { + return busExamUserMapper.deleteBusExamUserByIds(ids); + } + + /** + * 删除用户试卷信息 + * + * @param id 用户试卷主键 + * @return 结果 + */ + @Override + public int deleteBusExamUserById(Long id) + { + return busExamUserMapper.deleteBusExamUserById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoServiceImpl.java new file mode 100644 index 00000000..94a4ebfe --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.BusTrainingVideoMapper; +import com.yanzhu.manage.domain.BusTrainingVideo; +import com.yanzhu.manage.service.IBusTrainingVideoService; + +/** + * 培训视频Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusTrainingVideoServiceImpl implements IBusTrainingVideoService +{ + @Autowired + private BusTrainingVideoMapper busTrainingVideoMapper; + + /** + * 查询培训视频 + * + * @param id 培训视频主键 + * @return 培训视频 + */ + @Override + public BusTrainingVideo selectBusTrainingVideoById(Long id) + { + return busTrainingVideoMapper.selectBusTrainingVideoById(id); + } + + /** + * 查询培训视频列表 + * + * @param busTrainingVideo 培训视频 + * @return 培训视频 + */ + @Override + public List selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo) + { + return busTrainingVideoMapper.selectBusTrainingVideoList(busTrainingVideo); + } + + /** + * 新增培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + @Override + public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo) + { + busTrainingVideo.setCreateTime(DateUtils.getNowDate()); + return busTrainingVideoMapper.insertBusTrainingVideo(busTrainingVideo); + } + + /** + * 修改培训视频 + * + * @param busTrainingVideo 培训视频 + * @return 结果 + */ + @Override + public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo) + { + busTrainingVideo.setUpdateTime(DateUtils.getNowDate()); + return busTrainingVideoMapper.updateBusTrainingVideo(busTrainingVideo); + } + + /** + * 批量删除培训视频 + * + * @param ids 需要删除的培训视频主键 + * @return 结果 + */ + @Override + public int deleteBusTrainingVideoByIds(Long[] ids) + { + return busTrainingVideoMapper.deleteBusTrainingVideoByIds(ids); + } + + /** + * 删除培训视频信息 + * + * @param id 培训视频主键 + * @return 结果 + */ + @Override + public int deleteBusTrainingVideoById(Long id) + { + return busTrainingVideoMapper.deleteBusTrainingVideoById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoUserServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoUserServiceImpl.java new file mode 100644 index 00000000..44e20ee6 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/BusTrainingVideoUserServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import com.yanzhu.common.core.utils.DateUtils; +import com.yanzhu.manage.domain.BusTrainingVideoUser; +import com.yanzhu.manage.mapper.BusTrainingVideoUserMapper; +import com.yanzhu.manage.service.IBusTrainingVideoUserService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 用户培训视频Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class BusTrainingVideoUserServiceImpl implements IBusTrainingVideoUserService +{ + @Autowired + private BusTrainingVideoUserMapper busTrainingVideoUserMapper; + + /** + * 查询用户培训视频 + * + * @param id 用户培训视频主键 + * @return 用户培训视频 + */ + @Override + public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id) + { + return busTrainingVideoUserMapper.selectBusTrainingVideoUserById(id); + } + + /** + * 查询用户培训视频列表 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 用户培训视频 + */ + @Override + public List selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser) + { + return busTrainingVideoUserMapper.selectBusTrainingVideoUserList(busTrainingVideoUser); + } + + /** + * 新增用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + @Override + public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser) + { + busTrainingVideoUser.setCreateTime(DateUtils.getNowDate()); + return busTrainingVideoUserMapper.insertBusTrainingVideoUser(busTrainingVideoUser); + } + + /** + * 修改用户培训视频 + * + * @param busTrainingVideoUser 用户培训视频 + * @return 结果 + */ + @Override + public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser) + { + busTrainingVideoUser.setUpdateTime(DateUtils.getNowDate()); + return busTrainingVideoUserMapper.updateBusTrainingVideoUser(busTrainingVideoUser); + } + + /** + * 批量删除用户培训视频 + * + * @param ids 需要删除的用户培训视频主键 + * @return 结果 + */ + @Override + public int deleteBusTrainingVideoUserByIds(Long[] ids) + { + return busTrainingVideoUserMapper.deleteBusTrainingVideoUserByIds(ids); + } + + /** + * 删除用户培训视频信息 + * + * @param id 用户培训视频主键 + * @return 结果 + */ + @Override + public int deleteBusTrainingVideoUserById(Long id) + { + return busTrainingVideoUserMapper.deleteBusTrainingVideoUserById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoDeptsServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoDeptsServiceImpl.java new file mode 100644 index 00000000..eded5ffd --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoDeptsServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.ProProjectInfoDeptsMapper; +import com.yanzhu.manage.domain.ProProjectInfoDepts; +import com.yanzhu.manage.service.IProProjectInfoDeptsService; + +/** + * 参建单位Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoDeptsServiceImpl implements IProProjectInfoDeptsService +{ + @Autowired + private ProProjectInfoDeptsMapper proProjectInfoDeptsMapper; + + /** + * 查询参建单位 + * + * @param id 参建单位主键 + * @return 参建单位 + */ + @Override + public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id) + { + return proProjectInfoDeptsMapper.selectProProjectInfoDeptsById(id); + } + + /** + * 查询参建单位列表 + * + * @param proProjectInfoDepts 参建单位 + * @return 参建单位 + */ + @Override + public List selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts) + { + return proProjectInfoDeptsMapper.selectProProjectInfoDeptsList(proProjectInfoDepts); + } + + /** + * 新增参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + @Override + public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts) + { + proProjectInfoDepts.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoDeptsMapper.insertProProjectInfoDepts(proProjectInfoDepts); + } + + /** + * 修改参建单位 + * + * @param proProjectInfoDepts 参建单位 + * @return 结果 + */ + @Override + public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts) + { + proProjectInfoDepts.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoDeptsMapper.updateProProjectInfoDepts(proProjectInfoDepts); + } + + /** + * 批量删除参建单位 + * + * @param ids 需要删除的参建单位主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoDeptsByIds(Long[] ids) + { + return proProjectInfoDeptsMapper.deleteProProjectInfoDeptsByIds(ids); + } + + /** + * 删除参建单位信息 + * + * @param id 参建单位主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoDeptsById(Long id) + { + return proProjectInfoDeptsMapper.deleteProProjectInfoDeptsById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java new file mode 100644 index 00000000..bbbd7b68 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java @@ -0,0 +1,96 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.ProProjectInfoMapper; +import com.yanzhu.manage.domain.ProProjectInfo; +import com.yanzhu.manage.service.IProProjectInfoService; + +/** + * 项目信息Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoServiceImpl implements IProProjectInfoService +{ + @Autowired + private ProProjectInfoMapper proProjectInfoMapper; + + /** + * 查询项目信息 + * + * @param id 项目信息主键 + * @return 项目信息 + */ + @Override + public ProProjectInfo selectProProjectInfoById(Long id) + { + return proProjectInfoMapper.selectProProjectInfoById(id); + } + + /** + * 查询项目信息列表 + * + * @param proProjectInfo 项目信息 + * @return 项目信息 + */ + @Override + public List selectProProjectInfoList(ProProjectInfo proProjectInfo) + { + return proProjectInfoMapper.selectProProjectInfoList(proProjectInfo); + } + + /** + * 新增项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + @Override + public int insertProProjectInfo(ProProjectInfo proProjectInfo) + { + proProjectInfo.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoMapper.insertProProjectInfo(proProjectInfo); + } + + /** + * 修改项目信息 + * + * @param proProjectInfo 项目信息 + * @return 结果 + */ + @Override + public int updateProProjectInfo(ProProjectInfo proProjectInfo) + { + proProjectInfo.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoMapper.updateProProjectInfo(proProjectInfo); + } + + /** + * 批量删除项目信息 + * + * @param ids 需要删除的项目信息主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoByIds(Long[] ids) + { + return proProjectInfoMapper.deleteProProjectInfoByIds(ids); + } + + /** + * 删除项目信息信息 + * + * @param id 项目信息主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoById(Long id) + { + return proProjectInfoMapper.deleteProProjectInfoById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSettingServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSettingServiceImpl.java new file mode 100644 index 00000000..aceb5a58 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSettingServiceImpl.java @@ -0,0 +1,96 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.ProProjectInfoSettingMapper; +import com.yanzhu.manage.domain.ProProjectInfoSetting; +import com.yanzhu.manage.service.IProProjectInfoSettingService; + +/** + * 项目设置Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoSettingServiceImpl implements IProProjectInfoSettingService +{ + @Autowired + private ProProjectInfoSettingMapper proProjectInfoSettingMapper; + + /** + * 查询项目设置 + * + * @param id 项目设置主键 + * @return 项目设置 + */ + @Override + public ProProjectInfoSetting selectProProjectInfoSettingById(Long id) + { + return proProjectInfoSettingMapper.selectProProjectInfoSettingById(id); + } + + /** + * 查询项目设置列表 + * + * @param proProjectInfoSetting 项目设置 + * @return 项目设置 + */ + @Override + public List selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting) + { + return proProjectInfoSettingMapper.selectProProjectInfoSettingList(proProjectInfoSetting); + } + + /** + * 新增项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + @Override + public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting) + { + proProjectInfoSetting.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoSettingMapper.insertProProjectInfoSetting(proProjectInfoSetting); + } + + /** + * 修改项目设置 + * + * @param proProjectInfoSetting 项目设置 + * @return 结果 + */ + @Override + public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting) + { + proProjectInfoSetting.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoSettingMapper.updateProProjectInfoSetting(proProjectInfoSetting); + } + + /** + * 批量删除项目设置 + * + * @param ids 需要删除的项目设置主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSettingByIds(Long[] ids) + { + return proProjectInfoSettingMapper.deleteProProjectInfoSettingByIds(ids); + } + + /** + * 删除项目设置信息 + * + * @param id 项目设置主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSettingById(Long id) + { + return proProjectInfoSettingMapper.deleteProProjectInfoSettingById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsGroupServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsGroupServiceImpl.java new file mode 100644 index 00000000..40259508 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsGroupServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.ProProjectInfoSubdeptsGroupMapper; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsGroupService; + +/** + * 分包单位班组Service业务层处理 + * + * @author JiangYuqi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoSubdeptsGroupServiceImpl implements IProProjectInfoSubdeptsGroupService +{ + @Autowired + private ProProjectInfoSubdeptsGroupMapper proProjectInfoSubdeptsGroupMapper; + + /** + * 查询分包单位班组 + * + * @param id 分包单位班组主键 + * @return 分包单位班组 + */ + @Override + public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id) + { + return proProjectInfoSubdeptsGroupMapper.selectProProjectInfoSubdeptsGroupById(id); + } + + /** + * 查询分包单位班组列表 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 分包单位班组 + */ + @Override + public List selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + return proProjectInfoSubdeptsGroupMapper.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup); + } + + /** + * 新增分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + @Override + public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + proProjectInfoSubdeptsGroup.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsGroupMapper.insertProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup); + } + + /** + * 修改分包单位班组 + * + * @param proProjectInfoSubdeptsGroup 分包单位班组 + * @return 结果 + */ + @Override + public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup) + { + proProjectInfoSubdeptsGroup.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsGroupMapper.updateProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup); + } + + /** + * 批量删除分包单位班组 + * + * @param ids 需要删除的分包单位班组主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids) + { + return proProjectInfoSubdeptsGroupMapper.deleteProProjectInfoSubdeptsGroupByIds(ids); + } + + /** + * 删除分包单位班组信息 + * + * @param id 分包单位班组主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsGroupById(Long id) + { + return proProjectInfoSubdeptsGroupMapper.deleteProProjectInfoSubdeptsGroupById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsServiceImpl.java new file mode 100644 index 00000000..a58d1af6 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsServiceImpl.java @@ -0,0 +1,96 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.ProProjectInfoSubdeptsMapper; +import com.yanzhu.manage.domain.ProProjectInfoSubdepts; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsService; + +/** + * 分包单位Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoSubdeptsServiceImpl implements IProProjectInfoSubdeptsService +{ + @Autowired + private ProProjectInfoSubdeptsMapper proProjectInfoSubdeptsMapper; + + /** + * 查询分包单位 + * + * @param id 分包单位主键 + * @return 分包单位 + */ + @Override + public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id) + { + return proProjectInfoSubdeptsMapper.selectProProjectInfoSubdeptsById(id); + } + + /** + * 查询分包单位列表 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 分包单位 + */ + @Override + public List selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts) + { + return proProjectInfoSubdeptsMapper.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts); + } + + /** + * 新增分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + @Override + public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts) + { + proProjectInfoSubdepts.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsMapper.insertProProjectInfoSubdepts(proProjectInfoSubdepts); + } + + /** + * 修改分包单位 + * + * @param proProjectInfoSubdepts 分包单位 + * @return 结果 + */ + @Override + public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts) + { + proProjectInfoSubdepts.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsMapper.updateProProjectInfoSubdepts(proProjectInfoSubdepts); + } + + /** + * 批量删除分包单位 + * + * @param ids 需要删除的分包单位主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsByIds(Long[] ids) + { + return proProjectInfoSubdeptsMapper.deleteProProjectInfoSubdeptsByIds(ids); + } + + /** + * 删除分包单位信息 + * + * @param id 分包单位主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsById(Long id) + { + return proProjectInfoSubdeptsMapper.deleteProProjectInfoSubdeptsById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsUsersServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsUsersServiceImpl.java new file mode 100644 index 00000000..8dbe5b57 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoSubdeptsUsersServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import com.yanzhu.common.core.utils.DateUtils; +import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers; +import com.yanzhu.manage.mapper.ProProjectInfoSubdeptsUsersMapper; +import com.yanzhu.manage.service.IProProjectInfoSubdeptsUsersService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 分包单位工人Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoSubdeptsUsersServiceImpl implements IProProjectInfoSubdeptsUsersService +{ + @Autowired + private ProProjectInfoSubdeptsUsersMapper proProjectInfoSubdeptsUsersMapper; + + /** + * 查询分包单位工人 + * + * @param id 分包单位工人主键 + * @return 分包单位工人 + */ + @Override + public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id) + { + return proProjectInfoSubdeptsUsersMapper.selectProProjectInfoSubdeptsUsersById(id); + } + + /** + * 查询分包单位工人列表 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 分包单位工人 + */ + @Override + public List selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + return proProjectInfoSubdeptsUsersMapper.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers); + } + + /** + * 新增分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + @Override + public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + proProjectInfoSubdeptsUsers.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsUsersMapper.insertProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers); + } + + /** + * 修改分包单位工人 + * + * @param proProjectInfoSubdeptsUsers 分包单位工人 + * @return 结果 + */ + @Override + public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers) + { + proProjectInfoSubdeptsUsers.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoSubdeptsUsersMapper.updateProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers); + } + + /** + * 批量删除分包单位工人 + * + * @param ids 需要删除的分包单位工人主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids) + { + return proProjectInfoSubdeptsUsersMapper.deleteProProjectInfoSubdeptsUsersByIds(ids); + } + + /** + * 删除分包单位工人信息 + * + * @param id 分包单位工人主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoSubdeptsUsersById(Long id) + { + return proProjectInfoSubdeptsUsersMapper.deleteProProjectInfoSubdeptsUsersById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoUsersServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoUsersServiceImpl.java new file mode 100644 index 00000000..4adce925 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoUsersServiceImpl.java @@ -0,0 +1,97 @@ +package com.yanzhu.manage.service.impl; + +import com.yanzhu.common.core.utils.DateUtils; +import com.yanzhu.manage.domain.ProProjectInfoUsers; +import com.yanzhu.manage.mapper.ProProjectInfoUsersMapper; +import com.yanzhu.manage.service.IProProjectInfoUsersService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 项目人员Service业务层处理 + * + * @author JiangYuQi + * @date 2024-08-25 + */ +@Service +public class ProProjectInfoUsersServiceImpl implements IProProjectInfoUsersService +{ + @Autowired + private ProProjectInfoUsersMapper proProjectInfoUsersMapper; + + /** + * 查询项目人员 + * + * @param id 项目人员主键 + * @return 项目人员 + */ + @Override + public ProProjectInfoUsers selectProProjectInfoUsersById(Long id) + { + return proProjectInfoUsersMapper.selectProProjectInfoUsersById(id); + } + + /** + * 查询项目人员列表 + * + * @param proProjectInfoUsers 项目人员 + * @return 项目人员 + */ + @Override + public List selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers) + { + return proProjectInfoUsersMapper.selectProProjectInfoUsersList(proProjectInfoUsers); + } + + /** + * 新增项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + @Override + public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers) + { + proProjectInfoUsers.setCreateTime(DateUtils.getNowDate()); + return proProjectInfoUsersMapper.insertProProjectInfoUsers(proProjectInfoUsers); + } + + /** + * 修改项目人员 + * + * @param proProjectInfoUsers 项目人员 + * @return 结果 + */ + @Override + public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers) + { + proProjectInfoUsers.setUpdateTime(DateUtils.getNowDate()); + return proProjectInfoUsersMapper.updateProProjectInfoUsers(proProjectInfoUsers); + } + + /** + * 批量删除项目人员 + * + * @param ids 需要删除的项目人员主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoUsersByIds(Long[] ids) + { + return proProjectInfoUsersMapper.deleteProProjectInfoUsersByIds(ids); + } + + /** + * 删除项目人员信息 + * + * @param id 项目人员主键 + * @return 结果 + */ + @Override + public int deleteProProjectInfoUsersById(Long id) + { + return proProjectInfoUsersMapper.deleteProProjectInfoUsersById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/init b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/init deleted file mode 100644 index e69de29b..00000000 diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/init b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/init deleted file mode 100644 index e69de29b..00000000 diff --git a/yanzhu-ui-vue3/src/api/manage/busExamInfo.js b/yanzhu-ui-vue3/src/api/manage/busExamInfo.js new file mode 100644 index 00000000..159b34d2 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询基础试卷列表 +export function listBusExamInfo(query) { + return request({ + url: '/manage/busExamInfo/list', + method: 'get', + params: query + }) +} + +// 查询基础试卷详细 +export function getBusExamInfo(id) { + return request({ + url: '/manage/busExamInfo/' + id, + method: 'get' + }) +} + +// 新增基础试卷 +export function addBusExamInfo(data) { + return request({ + url: '/manage/busExamInfo', + method: 'post', + data: data + }) +} + +// 修改基础试卷 +export function updateBusExamInfo(data) { + return request({ + url: '/manage/busExamInfo', + method: 'put', + data: data + }) +} + +// 删除基础试卷 +export function delBusExamInfo(id) { + return request({ + url: '/manage/busExamInfo/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busExamInfoQues.js b/yanzhu-ui-vue3/src/api/manage/busExamInfoQues.js new file mode 100644 index 00000000..d97c9d8d --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamInfoQues.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询试卷问题列表 +export function listBusExamInfoQues(query) { + return request({ + url: '/manage/busExamInfoQues/list', + method: 'get', + params: query + }) +} + +// 查询试卷问题详细 +export function getBusExamInfoQues(examId) { + return request({ + url: '/manage/busExamInfoQues/' + examId, + method: 'get' + }) +} + +// 新增试卷问题 +export function addBusExamInfoQues(data) { + return request({ + url: '/manage/busExamInfoQues', + method: 'post', + data: data + }) +} + +// 修改试卷问题 +export function updateBusExamInfoQues(data) { + return request({ + url: '/manage/busExamInfoQues', + method: 'put', + data: data + }) +} + +// 删除试卷问题 +export function delBusExamInfoQues(examId) { + return request({ + url: '/manage/busExamInfoQues/' + examId, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busExamQuestion.js b/yanzhu-ui-vue3/src/api/manage/busExamQuestion.js new file mode 100644 index 00000000..12424f08 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamQuestion.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询基础题库列表 +export function listBusExamQuestion(query) { + return request({ + url: '/manage/busExamQuestion/list', + method: 'get', + params: query + }) +} + +// 查询基础题库详细 +export function getBusExamQuestion(id) { + return request({ + url: '/manage/busExamQuestion/' + id, + method: 'get' + }) +} + +// 新增基础题库 +export function addBusExamQuestion(data) { + return request({ + url: '/manage/busExamQuestion', + method: 'post', + data: data + }) +} + +// 修改基础题库 +export function updateBusExamQuestion(data) { + return request({ + url: '/manage/busExamQuestion', + method: 'put', + data: data + }) +} + +// 删除基础题库 +export function delBusExamQuestion(id) { + return request({ + url: '/manage/busExamQuestion/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busExamQuestionResult.js b/yanzhu-ui-vue3/src/api/manage/busExamQuestionResult.js new file mode 100644 index 00000000..ac39869d --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamQuestionResult.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询题库问题列表 +export function listBusExamQuestionResult(query) { + return request({ + url: '/manage/busExamQuestionResult/list', + method: 'get', + params: query + }) +} + +// 查询题库问题详细 +export function getBusExamQuestionResult(id) { + return request({ + url: '/manage/busExamQuestionResult/' + id, + method: 'get' + }) +} + +// 新增题库问题 +export function addBusExamQuestionResult(data) { + return request({ + url: '/manage/busExamQuestionResult', + method: 'post', + data: data + }) +} + +// 修改题库问题 +export function updateBusExamQuestionResult(data) { + return request({ + url: '/manage/busExamQuestionResult', + method: 'put', + data: data + }) +} + +// 删除题库问题 +export function delBusExamQuestionResult(id) { + return request({ + url: '/manage/busExamQuestionResult/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busExamUser.js b/yanzhu-ui-vue3/src/api/manage/busExamUser.js new file mode 100644 index 00000000..efb85e79 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamUser.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询用户试卷列表 +export function listBusExamUser(query) { + return request({ + url: '/manage/busExamUser/list', + method: 'get', + params: query + }) +} + +// 查询用户试卷详细 +export function getBusExamUser(id) { + return request({ + url: '/manage/busExamUser/' + id, + method: 'get' + }) +} + +// 新增用户试卷 +export function addBusExamUser(data) { + return request({ + url: '/manage/busExamUser', + method: 'post', + data: data + }) +} + +// 修改用户试卷 +export function updateBusExamUser(data) { + return request({ + url: '/manage/busExamUser', + method: 'put', + data: data + }) +} + +// 删除用户试卷 +export function delBusExamUser(id) { + return request({ + url: '/manage/busExamUser/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busExamUserResult.js b/yanzhu-ui-vue3/src/api/manage/busExamUserResult.js new file mode 100644 index 00000000..816d5ca1 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busExamUserResult.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询用户试卷结果列表 +export function listBusExamUserResult(query) { + return request({ + url: '/manage/busExamUserResult/list', + method: 'get', + params: query + }) +} + +// 查询用户试卷结果详细 +export function getBusExamUserResult(examUserId) { + return request({ + url: '/manage/busExamUserResult/' + examUserId, + method: 'get' + }) +} + +// 新增用户试卷结果 +export function addBusExamUserResult(data) { + return request({ + url: '/manage/busExamUserResult', + method: 'post', + data: data + }) +} + +// 修改用户试卷结果 +export function updateBusExamUserResult(data) { + return request({ + url: '/manage/busExamUserResult', + method: 'put', + data: data + }) +} + +// 删除用户试卷结果 +export function delBusExamUserResult(examUserId) { + return request({ + url: '/manage/busExamUserResult/' + examUserId, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busTrainingVideo.js b/yanzhu-ui-vue3/src/api/manage/busTrainingVideo.js new file mode 100644 index 00000000..93bf19ba --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busTrainingVideo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询培训视频列表 +export function listBusTrainingVideo(query) { + return request({ + url: '/manage/busTrainingVideo/list', + method: 'get', + params: query + }) +} + +// 查询培训视频详细 +export function getBusTrainingVideo(id) { + return request({ + url: '/manage/busTrainingVideo/' + id, + method: 'get' + }) +} + +// 新增培训视频 +export function addBusTrainingVideo(data) { + return request({ + url: '/manage/busTrainingVideo', + method: 'post', + data: data + }) +} + +// 修改培训视频 +export function updateBusTrainingVideo(data) { + return request({ + url: '/manage/busTrainingVideo', + method: 'put', + data: data + }) +} + +// 删除培训视频 +export function delBusTrainingVideo(id) { + return request({ + url: '/manage/busTrainingVideo/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/busTrainingVideoUser.js b/yanzhu-ui-vue3/src/api/manage/busTrainingVideoUser.js new file mode 100644 index 00000000..140d4b27 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/busTrainingVideoUser.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询用户培训视频列表 +export function listBusTrainingVideoUser(query) { + return request({ + url: '/manage/busTrainingVideoUser/list', + method: 'get', + params: query + }) +} + +// 查询用户培训视频详细 +export function getBusTrainingVideoUser(id) { + return request({ + url: '/manage/busTrainingVideoUser/' + id, + method: 'get' + }) +} + +// 新增用户培训视频 +export function addBusTrainingVideoUser(data) { + return request({ + url: '/manage/busTrainingVideoUser', + method: 'post', + data: data + }) +} + +// 修改用户培训视频 +export function updateBusTrainingVideoUser(data) { + return request({ + url: '/manage/busTrainingVideoUser', + method: 'put', + data: data + }) +} + +// 删除用户培训视频 +export function delBusTrainingVideoUser(id) { + return request({ + url: '/manage/busTrainingVideoUser/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfo.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfo.js new file mode 100644 index 00000000..9b082987 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询项目信息列表 +export function listProProjectInfo(query) { + return request({ + url: '/manage/proProjectInfo/list', + method: 'get', + params: query + }) +} + +// 查询项目信息详细 +export function getProProjectInfo(id) { + return request({ + url: '/manage/proProjectInfo/' + id, + method: 'get' + }) +} + +// 新增项目信息 +export function addProProjectInfo(data) { + return request({ + url: '/manage/proProjectInfo', + method: 'post', + data: data + }) +} + +// 修改项目信息 +export function updateProProjectInfo(data) { + return request({ + url: '/manage/proProjectInfo', + method: 'put', + data: data + }) +} + +// 删除项目信息 +export function delProProjectInfo(id) { + return request({ + url: '/manage/proProjectInfo/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoDepts.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoDepts.js new file mode 100644 index 00000000..2f682743 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoDepts.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询参建单位列表 +export function listProProjectInfoDepts(query) { + return request({ + url: '/manage/proProjectInfoDepts/list', + method: 'get', + params: query + }) +} + +// 查询参建单位详细 +export function getProProjectInfoDepts(id) { + return request({ + url: '/manage/proProjectInfoDepts/' + id, + method: 'get' + }) +} + +// 新增参建单位 +export function addProProjectInfoDepts(data) { + return request({ + url: '/manage/proProjectInfoDepts', + method: 'post', + data: data + }) +} + +// 修改参建单位 +export function updateProProjectInfoDepts(data) { + return request({ + url: '/manage/proProjectInfoDepts', + method: 'put', + data: data + }) +} + +// 删除参建单位 +export function delProProjectInfoDepts(id) { + return request({ + url: '/manage/proProjectInfoDepts/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoSetting.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSetting.js new file mode 100644 index 00000000..ab55988c --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSetting.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询项目设置列表 +export function listProProjectInfoSetting(query) { + return request({ + url: '/manage/proProjectInfoSetting/list', + method: 'get', + params: query + }) +} + +// 查询项目设置详细 +export function getProProjectInfoSetting(id) { + return request({ + url: '/manage/proProjectInfoSetting/' + id, + method: 'get' + }) +} + +// 新增项目设置 +export function addProProjectInfoSetting(data) { + return request({ + url: '/manage/proProjectInfoSetting', + method: 'post', + data: data + }) +} + +// 修改项目设置 +export function updateProProjectInfoSetting(data) { + return request({ + url: '/manage/proProjectInfoSetting', + method: 'put', + data: data + }) +} + +// 删除项目设置 +export function delProProjectInfoSetting(id) { + return request({ + url: '/manage/proProjectInfoSetting/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdepts.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdepts.js new file mode 100644 index 00000000..b4cf32e4 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdepts.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分包单位列表 +export function listProProjectInfoSubdepts(query) { + return request({ + url: '/manage/proProjectInfoSubdepts/list', + method: 'get', + params: query + }) +} + +// 查询分包单位详细 +export function getProProjectInfoSubdepts(id) { + return request({ + url: '/manage/proProjectInfoSubdepts/' + id, + method: 'get' + }) +} + +// 新增分包单位 +export function addProProjectInfoSubdepts(data) { + return request({ + url: '/manage/proProjectInfoSubdepts', + method: 'post', + data: data + }) +} + +// 修改分包单位 +export function updateProProjectInfoSubdepts(data) { + return request({ + url: '/manage/proProjectInfoSubdepts', + method: 'put', + data: data + }) +} + +// 删除分包单位 +export function delProProjectInfoSubdepts(id) { + return request({ + url: '/manage/proProjectInfoSubdepts/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsGroup.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsGroup.js new file mode 100644 index 00000000..49b72c20 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsGroup.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分包单位班组列表 +export function listProProjectInfoSubdeptsGroup(query) { + return request({ + url: '/manage/proProjectInfoSubdeptsGroup/list', + method: 'get', + params: query + }) +} + +// 查询分包单位班组详细 +export function getProProjectInfoSubdeptsGroup(id) { + return request({ + url: '/manage/proProjectInfoSubdeptsGroup/' + id, + method: 'get' + }) +} + +// 新增分包单位班组 +export function addProProjectInfoSubdeptsGroup(data) { + return request({ + url: '/manage/proProjectInfoSubdeptsGroup', + method: 'post', + data: data + }) +} + +// 修改分包单位班组 +export function updateProProjectInfoSubdeptsGroup(data) { + return request({ + url: '/manage/proProjectInfoSubdeptsGroup', + method: 'put', + data: data + }) +} + +// 删除分包单位班组 +export function delProProjectInfoSubdeptsGroup(id) { + return request({ + url: '/manage/proProjectInfoSubdeptsGroup/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsUsers.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsUsers.js new file mode 100644 index 00000000..4c47d0a6 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoSubdeptsUsers.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分包单位工人列表 +export function listProProjectInfoSubdeptsUsers(query) { + return request({ + url: '/manage/proProjectInfoSubdeptsUsers/list', + method: 'get', + params: query + }) +} + +// 查询分包单位工人详细 +export function getProProjectInfoSubdeptsUsers(id) { + return request({ + url: '/manage/proProjectInfoSubdeptsUsers/' + id, + method: 'get' + }) +} + +// 新增分包单位工人 +export function addProProjectInfoSubdeptsUsers(data) { + return request({ + url: '/manage/proProjectInfoSubdeptsUsers', + method: 'post', + data: data + }) +} + +// 修改分包单位工人 +export function updateProProjectInfoSubdeptsUsers(data) { + return request({ + url: '/manage/proProjectInfoSubdeptsUsers', + method: 'put', + data: data + }) +} + +// 删除分包单位工人 +export function delProProjectInfoSubdeptsUsers(id) { + return request({ + url: '/manage/proProjectInfoSubdeptsUsers/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/proProjectInfoUsers.js b/yanzhu-ui-vue3/src/api/manage/proProjectInfoUsers.js new file mode 100644 index 00000000..d5d62ecc --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/proProjectInfoUsers.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询项目人员列表 +export function listProProjectInfoUsers(query) { + return request({ + url: '/manage/proProjectInfoUsers/list', + method: 'get', + params: query + }) +} + +// 查询项目人员详细 +export function getProProjectInfoUsers(id) { + return request({ + url: '/manage/proProjectInfoUsers/' + id, + method: 'get' + }) +} + +// 新增项目人员 +export function addProProjectInfoUsers(data) { + return request({ + url: '/manage/proProjectInfoUsers', + method: 'post', + data: data + }) +} + +// 修改项目人员 +export function updateProProjectInfoUsers(data) { + return request({ + url: '/manage/proProjectInfoUsers', + method: 'put', + data: data + }) +} + +// 删除项目人员 +export function delProProjectInfoUsers(id) { + return request({ + url: '/manage/proProjectInfoUsers/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/components/Process/panel/commonPanel.vue b/yanzhu-ui-vue3/src/components/Process/panel/commonPanel.vue index 985c8c4a..fe828f60 100644 --- a/yanzhu-ui-vue3/src/components/Process/panel/commonPanel.vue +++ b/yanzhu-ui-vue3/src/components/Process/panel/commonPanel.vue @@ -1,5 +1,24 @@