From 2777fe5ba02704dfd92bd60712d301ebeecd3a85 Mon Sep 17 00:00:00 2001 From: zhangyue Date: Tue, 13 Jan 2026 16:43:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=99=E8=82=B2=E5=AD=A6?= =?UTF-8?q?=E4=B9=A0=E6=A8=A1=E5=9D=97=E7=9A=84=E7=8F=AD=E7=BA=A7=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcloud/edu/web/study/ClassController.java | 82 +++++++++++ .../web/study/ClassCurriculumController.java | 82 +++++++++++ .../web/study/ClassExamPaperController.java | 82 +++++++++++ .../edu/web/study/StudentController.java | 82 +++++++++++ .../study/StudentExamRecordController.java | 82 +++++++++++ .../StudentExamRecordItemController.java | 82 +++++++++++ .../edu/web/study/StudentSignController.java | 82 +++++++++++ .../convertor/study/ClassCoConvertor.java | 24 ++++ .../study/ClassCurriculumCoConvertor.java | 24 ++++ .../study/ClassExamPaperCoConvertor.java | 24 ++++ .../convertor/study/StudentCoConvertor.java | 24 ++++ .../study/StudentExamRecordCoConvertor.java | 24 ++++ .../StudentExamRecordItemCoConvertor.java | 24 ++++ .../study/StudentSignCoConvertor.java | 24 ++++ .../query/study/ClassCurriculumQueryExe.java | 42 ++++++ .../query/study/ClassExamPaperQueryExe.java | 42 ++++++ .../command/query/study/ClassQueryExe.java | 42 ++++++ .../study/StudentExamRecordItemQueryExe.java | 42 ++++++ .../study/StudentExamRecordQueryExe.java | 42 ++++++ .../command/query/study/StudentQueryExe.java | 42 ++++++ .../query/study/StudentSignQueryExe.java | 42 ++++++ .../zcloud/edu/command/study/ClassAddExe.java | 40 ++++++ .../command/study/ClassCurriculumAddExe.java | 40 ++++++ .../study/ClassCurriculumRemoveExe.java | 39 ++++++ .../study/ClassCurriculumUpdateExe.java | 34 +++++ .../command/study/ClassExamPaperAddExe.java | 40 ++++++ .../study/ClassExamPaperRemoveExe.java | 39 ++++++ .../study/ClassExamPaperUpdateExe.java | 34 +++++ .../edu/command/study/ClassRemoveExe.java | 39 ++++++ .../edu/command/study/ClassUpdateExe.java | 34 +++++ .../edu/command/study/StudentAddExe.java | 40 ++++++ .../study/StudentExamRecordAddExe.java | 40 ++++++ .../study/StudentExamRecordItemAddExe.java | 40 ++++++ .../study/StudentExamRecordItemRemoveExe.java | 39 ++++++ .../study/StudentExamRecordItemUpdateExe.java | 34 +++++ .../study/StudentExamRecordRemoveExe.java | 39 ++++++ .../study/StudentExamRecordUpdateExe.java | 34 +++++ .../edu/command/study/StudentRemoveExe.java | 39 ++++++ .../edu/command/study/StudentSignAddExe.java | 40 ++++++ .../command/study/StudentSignRemoveExe.java | 39 ++++++ .../command/study/StudentSignUpdateExe.java | 34 +++++ .../edu/command/study/StudentUpdateExe.java | 34 +++++ .../study/ClassCurriculumServiceImpl.java | 59 ++++++++ .../study/ClassExamPaperServiceImpl.java | 59 ++++++++ .../edu/service/study/ClassServiceImpl.java | 59 ++++++++ .../StudentExamRecordItemServiceImpl.java | 59 ++++++++ .../study/StudentExamRecordServiceImpl.java | 59 ++++++++ .../edu/service/study/StudentServiceImpl.java | 59 ++++++++ .../service/study/StudentSignServiceImpl.java | 59 ++++++++ .../api/study/ClassCurriculumServiceI.java | 27 ++++ .../edu/api/study/ClassExamPaperServiceI.java | 27 ++++ .../zcloud/edu/api/study/ClassServiceI.java | 27 ++++ .../study/StudentExamRecordItemServiceI.java | 27 ++++ .../api/study/StudentExamRecordServiceI.java | 27 ++++ .../zcloud/edu/api/study/StudentServiceI.java | 27 ++++ .../edu/api/study/StudentSignServiceI.java | 27 ++++ .../edu/dto/clientobject/study/ClassCO.java | 104 ++++++++++++++ .../clientobject/study/ClassCurriculumCO.java | 71 ++++++++++ .../clientobject/study/ClassExamPaperCO.java | 83 +++++++++++ .../edu/dto/clientobject/study/StudentCO.java | 131 ++++++++++++++++++ .../study/StudentExamRecordCO.java | 101 ++++++++++++++ .../study/StudentExamRecordItemCO.java | 77 ++++++++++ .../dto/clientobject/study/StudentSignCO.java | 80 +++++++++++ .../com/zcloud/edu/dto/study/ClassAddCmd.java | 85 ++++++++++++ .../edu/dto/study/ClassCurriculumAddCmd.java | 40 ++++++ .../edu/dto/study/ClassCurriculumPageQry.java | 28 ++++ .../dto/study/ClassCurriculumUpdateCmd.java | 40 ++++++ .../edu/dto/study/ClassExamPaperAddCmd.java | 57 ++++++++ .../edu/dto/study/ClassExamPaperPageQry.java | 28 ++++ .../dto/study/ClassExamPaperUpdateCmd.java | 52 +++++++ .../zcloud/edu/dto/study/ClassPageQry.java | 28 ++++ .../zcloud/edu/dto/study/ClassUpdateCmd.java | 73 ++++++++++ .../zcloud/edu/dto/study/StudentAddCmd.java | 129 +++++++++++++++++ .../dto/study/StudentExamRecordAddCmd.java | 81 +++++++++++ .../study/StudentExamRecordItemAddCmd.java | 48 +++++++ .../study/StudentExamRecordItemPageQry.java | 28 ++++ .../study/StudentExamRecordItemUpdateCmd.java | 46 ++++++ .../dto/study/StudentExamRecordPageQry.java | 28 ++++ .../dto/study/StudentExamRecordUpdateCmd.java | 70 ++++++++++ .../zcloud/edu/dto/study/StudentPageQry.java | 28 ++++ .../edu/dto/study/StudentSignAddCmd.java | 53 +++++++ .../edu/dto/study/StudentSignPageQry.java | 28 ++++ .../edu/dto/study/StudentSignUpdateCmd.java | 49 +++++++ .../edu/dto/study/StudentUpdateCmd.java | 106 ++++++++++++++ .../gateway/study/ClassCurriculumGateway.java | 31 +++++ .../gateway/study/ClassExamPaperGateway.java | 31 +++++ .../domain/gateway/study/ClassGateway.java | 31 +++++ .../study/StudentExamRecordGateway.java | 31 +++++ .../study/StudentExamRecordItemGateway.java | 31 +++++ .../domain/gateway/study/StudentGateway.java | 31 +++++ .../gateway/study/StudentSignGateway.java | 31 +++++ .../domain/model/study/ClassCurriculumE.java | 50 +++++++ .../zcloud/edu/domain/model/study/ClassE.java | 72 ++++++++++ .../domain/model/study/ClassExamPaperE.java | 58 ++++++++ .../edu/domain/model/study/StudentE.java | 91 ++++++++++++ .../model/study/StudentExamRecordE.java | 70 ++++++++++ .../model/study/StudentExamRecordItemE.java | 54 ++++++++ .../edu/domain/model/study/StudentSignE.java | 56 ++++++++ .../study/ClassCurriculumGatewayImpl.java | 50 +++++++ .../study/ClassExamPaperGatewayImpl.java | 50 +++++++ .../gatewayimpl/study/ClassGatewayImpl.java | 50 +++++++ .../study/StudentExamRecordGatewayImpl.java | 50 +++++++ .../StudentExamRecordItemGatewayImpl.java | 50 +++++++ .../gatewayimpl/study/StudentGatewayImpl.java | 50 +++++++ .../study/StudentSignGatewayImpl.java | 50 +++++++ .../dataobject/study/ClassCurriculumDO.java | 36 +++++ .../persistence/dataobject/study/ClassDO.java | 69 +++++++++ .../dataobject/study/ClassExamPaperDO.java | 48 +++++++ .../dataobject/study/StudentDO.java | 96 +++++++++++++ .../dataobject/study/StudentExamRecordDO.java | 66 +++++++++ .../study/StudentExamRecordItemDO.java | 42 ++++++ .../dataobject/study/StudentSignDO.java | 45 ++++++ .../mapper/study/ClassCurriculumMapper.java | 17 +++ .../mapper/study/ClassExamPaperMapper.java | 17 +++ .../persistence/mapper/study/ClassMapper.java | 17 +++ .../study/StudentExamRecordItemMapper.java | 17 +++ .../mapper/study/StudentExamRecordMapper.java | 17 +++ .../mapper/study/StudentMapper.java | 17 +++ .../mapper/study/StudentSignMapper.java | 17 +++ .../study/ClassCurriculumRepositoryImpl.java | 39 ++++++ .../study/ClassExamPaperRepositoryImpl.java | 39 ++++++ .../impl/study/ClassRepositoryImpl.java | 39 ++++++ .../StudentExamRecordItemRepositoryImpl.java | 39 ++++++ .../StudentExamRecordRepositoryImpl.java | 39 ++++++ .../impl/study/StudentRepositoryImpl.java | 39 ++++++ .../impl/study/StudentSignRepositoryImpl.java | 39 ++++++ .../study/ClassCurriculumRepository.java | 18 +++ .../study/ClassExamPaperRepository.java | 18 +++ .../repository/study/ClassRepository.java | 18 +++ .../StudentExamRecordItemRepository.java | 18 +++ .../study/StudentExamRecordRepository.java | 18 +++ .../repository/study/StudentRepository.java | 18 +++ .../study/StudentSignRepository.java | 18 +++ .../mapper/study/ClassCurriculumMapper.xml | 8 ++ .../mapper/study/ClassExamPaperMapper.xml | 8 ++ .../resources/mapper/study/ClassMapper.xml | 8 ++ .../study/StudentExamRecordItemMapper.xml | 8 ++ .../mapper/study/StudentExamRecordMapper.xml | 8 ++ .../resources/mapper/study/StudentMapper.xml | 8 ++ .../mapper/study/StudentSignMapper.xml | 8 ++ 140 files changed, 6195 insertions(+) create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/ClassController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/ClassCurriculumController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/ClassExamPaperController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/StudentController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordItemController.java create mode 100644 web-adapter/src/main/java/com/zcloud/edu/web/study/StudentSignController.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCurriculumCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassExamPaperCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordItemCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentSignCoConvertor.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/ClassCurriculumQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/ClassExamPaperQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/ClassQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordItemQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/StudentQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/query/study/StudentSignQueryExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/ClassUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentSignAddExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentSignRemoveExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentSignUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/command/study/StudentUpdateExe.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/ClassCurriculumServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/ClassExamPaperServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/ClassServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordItemServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/StudentServiceImpl.java create mode 100644 web-app/src/main/java/com/zcloud/edu/service/study/StudentSignServiceImpl.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/ClassCurriculumServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/ClassExamPaperServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/ClassServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordItemServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/StudentServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/api/study/StudentSignServiceI.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCurriculumCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassExamPaperCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordItemCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentSignCO.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/ClassUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignAddCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignPageQry.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignUpdateCmd.java create mode 100644 web-client/src/main/java/com/zcloud/edu/dto/study/StudentUpdateCmd.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassCurriculumGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassExamPaperGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordItemGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentSignGateway.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassCurriculumE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassExamPaperE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordItemE.java create mode 100644 web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentSignE.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassCurriculumGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassExamPaperGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordItemGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentSignGatewayImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassCurriculumDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassExamPaperDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordItemDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentSignDO.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassCurriculumMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassExamPaperMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordItemMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentSignMapper.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassCurriculumRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassExamPaperRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordItemRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentSignRepositoryImpl.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassCurriculumRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassExamPaperRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordItemRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentRepository.java create mode 100644 web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentSignRepository.java create mode 100644 web-infrastructure/src/main/resources/mapper/study/ClassCurriculumMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/ClassExamPaperMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/StudentExamRecordItemMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/StudentExamRecordMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml create mode 100644 web-infrastructure/src/main/resources/mapper/study/StudentSignMapper.xml diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassController.java new file mode 100644 index 0000000..3d8e33a --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.ClassServiceI; +import com.zcloud.edu.dto.clientobject.study.ClassCO; +import com.zcloud.edu.dto.study.ClassAddCmd; +import com.zcloud.edu.dto.study.ClassPageQry; +import com.zcloud.edu.dto.study.ClassUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/class") +@RestController +@AllArgsConstructor +public class ClassController { + private final ClassServiceI classService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody ClassAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return classService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody ClassPageQry qry) { + return classService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new ClassCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + classService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + classService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody ClassUpdateCmd classUpdateCmd) { + classService.edit(classUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassCurriculumController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassCurriculumController.java new file mode 100644 index 0000000..150c7ec --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassCurriculumController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.ClassCurriculumServiceI; +import com.zcloud.edu.dto.clientobject.study.ClassCurriculumCO; +import com.zcloud.edu.dto.study.ClassCurriculumAddCmd; +import com.zcloud.edu.dto.study.ClassCurriculumPageQry; +import com.zcloud.edu.dto.study.ClassCurriculumUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/classCurriculum") +@RestController +@AllArgsConstructor +public class ClassCurriculumController { + private final ClassCurriculumServiceI classCurriculumService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody ClassCurriculumAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return classCurriculumService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody ClassCurriculumPageQry qry) { + return classCurriculumService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new ClassCurriculumCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + classCurriculumService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + classCurriculumService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody ClassCurriculumUpdateCmd classCurriculumUpdateCmd) { + classCurriculumService.edit(classCurriculumUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassExamPaperController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassExamPaperController.java new file mode 100644 index 0000000..f8405b7 --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/ClassExamPaperController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.ClassExamPaperServiceI; +import com.zcloud.edu.dto.clientobject.study.ClassExamPaperCO; +import com.zcloud.edu.dto.study.ClassExamPaperAddCmd; +import com.zcloud.edu.dto.study.ClassExamPaperPageQry; +import com.zcloud.edu.dto.study.ClassExamPaperUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/classExamPaper") +@RestController +@AllArgsConstructor +public class ClassExamPaperController { + private final ClassExamPaperServiceI classExamPaperService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody ClassExamPaperAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return classExamPaperService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody ClassExamPaperPageQry qry) { + return classExamPaperService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new ClassExamPaperCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + classExamPaperService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + classExamPaperService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody ClassExamPaperUpdateCmd classExamPaperUpdateCmd) { + classExamPaperService.edit(classExamPaperUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentController.java new file mode 100644 index 0000000..a097a64 --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.StudentServiceI; +import com.zcloud.edu.dto.clientobject.study.StudentCO; +import com.zcloud.edu.dto.study.StudentAddCmd; +import com.zcloud.edu.dto.study.StudentPageQry; +import com.zcloud.edu.dto.study.StudentUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/student") +@RestController +@AllArgsConstructor +public class StudentController { + private final StudentServiceI studentService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody StudentAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return studentService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody StudentPageQry qry) { + return studentService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new StudentCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + studentService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + studentService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody StudentUpdateCmd studentUpdateCmd) { + studentService.edit(studentUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordController.java new file mode 100644 index 0000000..8f02cf1 --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.StudentExamRecordServiceI; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordCO; +import com.zcloud.edu.dto.study.StudentExamRecordAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/studentExamRecord") +@RestController +@AllArgsConstructor +public class StudentExamRecordController { + private final StudentExamRecordServiceI studentExamRecordService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody StudentExamRecordAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return studentExamRecordService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody StudentExamRecordPageQry qry) { + return studentExamRecordService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new StudentExamRecordCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + studentExamRecordService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + studentExamRecordService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody StudentExamRecordUpdateCmd studentExamRecordUpdateCmd) { + studentExamRecordService.edit(studentExamRecordUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordItemController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordItemController.java new file mode 100644 index 0000000..0134a63 --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentExamRecordItemController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.StudentExamRecordItemServiceI; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordItemCO; +import com.zcloud.edu.dto.study.StudentExamRecordItemAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordItemPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordItemUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/studentExamRecordItem") +@RestController +@AllArgsConstructor +public class StudentExamRecordItemController { + private final StudentExamRecordItemServiceI studentExamRecordItemService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody StudentExamRecordItemAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return studentExamRecordItemService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody StudentExamRecordItemPageQry qry) { + return studentExamRecordItemService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new StudentExamRecordItemCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + studentExamRecordItemService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + studentExamRecordItemService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody StudentExamRecordItemUpdateCmd studentExamRecordItemUpdateCmd) { + studentExamRecordItemService.edit(studentExamRecordItemUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentSignController.java b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentSignController.java new file mode 100644 index 0000000..1b01636 --- /dev/null +++ b/web-adapter/src/main/java/com/zcloud/edu/web/study/StudentSignController.java @@ -0,0 +1,82 @@ +package com.zcloud.edu.web.study; + + +import com.alibaba.cola.dto.MultiResponse; +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.Response; +import com.alibaba.cola.dto.SingleResponse; +import com.jjb.saas.framework.auth.model.SSOUser; +import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.edu.api.study.StudentSignServiceI; +import com.zcloud.edu.dto.clientobject.study.StudentSignCO; +import com.zcloud.edu.dto.study.StudentSignAddCmd; +import com.zcloud.edu.dto.study.StudentSignPageQry; +import com.zcloud.edu.dto.study.StudentSignUpdateCmd; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import java.util.ArrayList; + +/** + * web-adapter + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Api(tags = "班级信息") +@RequestMapping("/${application.gateway}/studentSign") +@RestController +@AllArgsConstructor +public class StudentSignController { + private final StudentSignServiceI studentSignService; + + @ApiOperation("新增") + @PostMapping("/save") + public SingleResponse add(@Validated @RequestBody StudentSignAddCmd cmd) { + SSOUser ssoUser = AuthContext.getCurrentUser(); + return studentSignService.add(cmd); + } + + @ApiOperation("分页") + @PostMapping("/list") + public PageResponse page(@RequestBody StudentSignPageQry qry) { + return studentSignService.listPage(qry); + } + + @ApiOperation("所有数据") + @GetMapping("/listAll") + public MultiResponse listAll() { + return MultiResponse.of(new ArrayList()); + } + + @ApiOperation("详情") + @GetMapping("/{id}") + public SingleResponse getInfoById(@PathVariable("id") Long id) { + return SingleResponse.of(new StudentSignCO()); + } + + @ApiOperation("删除") + @DeleteMapping("/{id}") + public Response remove(@PathVariable("id") Long id) { + studentSignService.remove(id); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("删除多个") + @DeleteMapping("/ids") + public Response removeBatch(@RequestParam Long[] ids) { + studentSignService.removeBatch(ids); + return SingleResponse.buildSuccess(); + } + + @ApiOperation("修改") + @PutMapping("/edit") + public SingleResponse edit(@Validated @RequestBody StudentSignUpdateCmd studentSignUpdateCmd) { + studentSignService.edit(studentSignUpdateCmd); + return SingleResponse.buildSuccess(); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCoConvertor.java new file mode 100644 index 0000000..c48a901 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.ClassCO; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Mapper(componentModel = "spring") +public interface ClassCoConvertor { + /** + * @param classDOs + * @return + */ + List converDOsToCOs(List classDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCurriculumCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCurriculumCoConvertor.java new file mode 100644 index 0000000..20d9ddd --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassCurriculumCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.ClassCurriculumCO; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Mapper(componentModel = "spring") +public interface ClassCurriculumCoConvertor { + /** + * @param classCurriculumDOs + * @return + */ + List converDOsToCOs(List classCurriculumDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassExamPaperCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassExamPaperCoConvertor.java new file mode 100644 index 0000000..a523b34 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/ClassExamPaperCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.ClassExamPaperCO; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Mapper(componentModel = "spring") +public interface ClassExamPaperCoConvertor { + /** + * @param classExamPaperDOs + * @return + */ + List converDOsToCOs(List classExamPaperDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentCoConvertor.java new file mode 100644 index 0000000..a286561 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.StudentCO; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Mapper(componentModel = "spring") +public interface StudentCoConvertor { + /** + * @param studentDOs + * @return + */ + List converDOsToCOs(List studentDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordCoConvertor.java new file mode 100644 index 0000000..ca0059a --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordCO; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Mapper(componentModel = "spring") +public interface StudentExamRecordCoConvertor { + /** + * @param studentExamRecordDOs + * @return + */ + List converDOsToCOs(List studentExamRecordDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordItemCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordItemCoConvertor.java new file mode 100644 index 0000000..72a1a1b --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentExamRecordItemCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordItemCO; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Mapper(componentModel = "spring") +public interface StudentExamRecordItemCoConvertor { + /** + * @param studentExamRecordItemDOs + * @return + */ + List converDOsToCOs(List studentExamRecordItemDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentSignCoConvertor.java b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentSignCoConvertor.java new file mode 100644 index 0000000..002f70f --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/convertor/study/StudentSignCoConvertor.java @@ -0,0 +1,24 @@ +package com.zcloud.edu.command.convertor.study; + +import com.zcloud.edu.dto.clientobject.study.StudentSignCO; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; +import org.mapstruct.Mapper; + +import java.util.List; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Mapper(componentModel = "spring") +public interface StudentSignCoConvertor { + /** + * @param studentSignDOs + * @return + */ + List converDOsToCOs(List studentSignDOs); +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassCurriculumQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassCurriculumQueryExe.java new file mode 100644 index 0000000..258aa81 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassCurriculumQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.ClassCurriculumCoConvertor; +import com.zcloud.edu.dto.clientobject.study.ClassCurriculumCO; +import com.zcloud.edu.dto.study.ClassCurriculumPageQry; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; +import com.zcloud.edu.persistence.repository.study.ClassCurriculumRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Component +@AllArgsConstructor +public class ClassCurriculumQueryExe { + private final ClassCurriculumRepository classCurriculumRepository; + private final ClassCurriculumCoConvertor classCurriculumCoConvertor; + + /** + * 分页 + * + * @param classCurriculumPageQry + * @return + */ + public PageResponse execute(ClassCurriculumPageQry classCurriculumPageQry) { + Map params = PageQueryHelper.toHashMap(classCurriculumPageQry); + PageResponse pageResponse = classCurriculumRepository.listPage(params); + List examCenterCOS = classCurriculumCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassExamPaperQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassExamPaperQueryExe.java new file mode 100644 index 0000000..3ec5dc4 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassExamPaperQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.ClassExamPaperCoConvertor; +import com.zcloud.edu.dto.clientobject.study.ClassExamPaperCO; +import com.zcloud.edu.dto.study.ClassExamPaperPageQry; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; +import com.zcloud.edu.persistence.repository.study.ClassExamPaperRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Component +@AllArgsConstructor +public class ClassExamPaperQueryExe { + private final ClassExamPaperRepository classExamPaperRepository; + private final ClassExamPaperCoConvertor classExamPaperCoConvertor; + + /** + * 分页 + * + * @param classExamPaperPageQry + * @return + */ + public PageResponse execute(ClassExamPaperPageQry classExamPaperPageQry) { + Map params = PageQueryHelper.toHashMap(classExamPaperPageQry); + PageResponse pageResponse = classExamPaperRepository.listPage(params); + List examCenterCOS = classExamPaperCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassQueryExe.java new file mode 100644 index 0000000..9483cb2 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/ClassQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.ClassCoConvertor; +import com.zcloud.edu.dto.clientobject.study.ClassCO; +import com.zcloud.edu.dto.study.ClassPageQry; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; +import com.zcloud.edu.persistence.repository.study.ClassRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Component +@AllArgsConstructor +public class ClassQueryExe { + private final ClassRepository classRepository; + private final ClassCoConvertor classCoConvertor; + + /** + * 分页 + * + * @param classPageQry + * @return + */ + public PageResponse execute(ClassPageQry classPageQry) { + Map params = PageQueryHelper.toHashMap(classPageQry); + PageResponse pageResponse = classRepository.listPage(params); + List examCenterCOS = classCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordItemQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordItemQueryExe.java new file mode 100644 index 0000000..4813920 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordItemQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.StudentExamRecordItemCoConvertor; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordItemCO; +import com.zcloud.edu.dto.study.StudentExamRecordItemPageQry; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordItemRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordItemQueryExe { + private final StudentExamRecordItemRepository studentExamRecordItemRepository; + private final StudentExamRecordItemCoConvertor studentExamRecordItemCoConvertor; + + /** + * 分页 + * + * @param studentExamRecordItemPageQry + * @return + */ + public PageResponse execute(StudentExamRecordItemPageQry studentExamRecordItemPageQry) { + Map params = PageQueryHelper.toHashMap(studentExamRecordItemPageQry); + PageResponse pageResponse = studentExamRecordItemRepository.listPage(params); + List examCenterCOS = studentExamRecordItemCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordQueryExe.java new file mode 100644 index 0000000..6ded692 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentExamRecordQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.StudentExamRecordCoConvertor; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordCO; +import com.zcloud.edu.dto.study.StudentExamRecordPageQry; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordQueryExe { + private final StudentExamRecordRepository studentExamRecordRepository; + private final StudentExamRecordCoConvertor studentExamRecordCoConvertor; + + /** + * 分页 + * + * @param studentExamRecordPageQry + * @return + */ + public PageResponse execute(StudentExamRecordPageQry studentExamRecordPageQry) { + Map params = PageQueryHelper.toHashMap(studentExamRecordPageQry); + PageResponse pageResponse = studentExamRecordRepository.listPage(params); + List examCenterCOS = studentExamRecordCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentQueryExe.java new file mode 100644 index 0000000..7ec13e5 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.StudentCoConvertor; +import com.zcloud.edu.dto.clientobject.study.StudentCO; +import com.zcloud.edu.dto.study.StudentPageQry; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; +import com.zcloud.edu.persistence.repository.study.StudentRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Component +@AllArgsConstructor +public class StudentQueryExe { + private final StudentRepository studentRepository; + private final StudentCoConvertor studentCoConvertor; + + /** + * 分页 + * + * @param studentPageQry + * @return + */ + public PageResponse execute(StudentPageQry studentPageQry) { + Map params = PageQueryHelper.toHashMap(studentPageQry); + PageResponse pageResponse = studentRepository.listPage(params); + List examCenterCOS = studentCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentSignQueryExe.java b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentSignQueryExe.java new file mode 100644 index 0000000..605e240 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/query/study/StudentSignQueryExe.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.command.query.study; + +import com.alibaba.cola.dto.PageResponse; +import com.zcloud.edu.command.convertor.study.StudentSignCoConvertor; +import com.zcloud.edu.dto.clientobject.study.StudentSignCO; +import com.zcloud.edu.dto.study.StudentSignPageQry; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; +import com.zcloud.edu.persistence.repository.study.StudentSignRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; + +import java.util.List; +import java.util.Map; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Component +@AllArgsConstructor +public class StudentSignQueryExe { + private final StudentSignRepository studentSignRepository; + private final StudentSignCoConvertor studentSignCoConvertor; + + /** + * 分页 + * + * @param studentSignPageQry + * @return + */ + public PageResponse execute(StudentSignPageQry studentSignPageQry) { + Map params = PageQueryHelper.toHashMap(studentSignPageQry); + PageResponse pageResponse = studentSignRepository.listPage(params); + List examCenterCOS = studentSignCoConvertor.converDOsToCOs(pageResponse.getData()); + return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex()); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassAddExe.java new file mode 100644 index 0000000..31f065f --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassGateway; +import com.zcloud.edu.domain.model.study.ClassE; +import com.zcloud.edu.dto.study.ClassAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Component +@AllArgsConstructor +public class ClassAddExe { + private final ClassGateway classGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(ClassAddCmd cmd) { + ClassE classE = new ClassE(); + BeanUtils.copyProperties(cmd, classE); + boolean res = false; + try { + res = classGateway.add(classE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumAddExe.java new file mode 100644 index 0000000..9e7933b --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassCurriculumGateway; +import com.zcloud.edu.domain.model.study.ClassCurriculumE; +import com.zcloud.edu.dto.study.ClassCurriculumAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Component +@AllArgsConstructor +public class ClassCurriculumAddExe { + private final ClassCurriculumGateway classCurriculumGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(ClassCurriculumAddCmd cmd) { + ClassCurriculumE classCurriculumE = new ClassCurriculumE(); + BeanUtils.copyProperties(cmd, classCurriculumE); + boolean res = false; + try { + res = classCurriculumGateway.add(classCurriculumE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumRemoveExe.java new file mode 100644 index 0000000..ab6ecb7 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassCurriculumGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Component +@AllArgsConstructor +public class ClassCurriculumRemoveExe { + private final ClassCurriculumGateway classCurriculumGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = classCurriculumGateway.deletedClassCurriculumById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = classCurriculumGateway.deletedClassCurriculumByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumUpdateExe.java new file mode 100644 index 0000000..c797ffe --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassCurriculumUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassCurriculumGateway; +import com.zcloud.edu.domain.model.study.ClassCurriculumE; +import com.zcloud.edu.dto.study.ClassCurriculumUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Component +@AllArgsConstructor +public class ClassCurriculumUpdateExe { + private final ClassCurriculumGateway classCurriculumGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(ClassCurriculumUpdateCmd classCurriculumUpdateCmd) { + ClassCurriculumE classCurriculumE = new ClassCurriculumE(); + BeanUtils.copyProperties(classCurriculumUpdateCmd, classCurriculumE); + boolean res = classCurriculumGateway.update(classCurriculumE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperAddExe.java new file mode 100644 index 0000000..68daf96 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassExamPaperGateway; +import com.zcloud.edu.domain.model.study.ClassExamPaperE; +import com.zcloud.edu.dto.study.ClassExamPaperAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Component +@AllArgsConstructor +public class ClassExamPaperAddExe { + private final ClassExamPaperGateway classExamPaperGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(ClassExamPaperAddCmd cmd) { + ClassExamPaperE classExamPaperE = new ClassExamPaperE(); + BeanUtils.copyProperties(cmd, classExamPaperE); + boolean res = false; + try { + res = classExamPaperGateway.add(classExamPaperE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperRemoveExe.java new file mode 100644 index 0000000..8e52666 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassExamPaperGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Component +@AllArgsConstructor +public class ClassExamPaperRemoveExe { + private final ClassExamPaperGateway classExamPaperGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = classExamPaperGateway.deletedClassExamPaperById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = classExamPaperGateway.deletedClassExamPaperByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperUpdateExe.java new file mode 100644 index 0000000..80f01e2 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassExamPaperUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassExamPaperGateway; +import com.zcloud.edu.domain.model.study.ClassExamPaperE; +import com.zcloud.edu.dto.study.ClassExamPaperUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:22 + */ +@Component +@AllArgsConstructor +public class ClassExamPaperUpdateExe { + private final ClassExamPaperGateway classExamPaperGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(ClassExamPaperUpdateCmd classExamPaperUpdateCmd) { + ClassExamPaperE classExamPaperE = new ClassExamPaperE(); + BeanUtils.copyProperties(classExamPaperUpdateCmd, classExamPaperE); + boolean res = classExamPaperGateway.update(classExamPaperE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassRemoveExe.java new file mode 100644 index 0000000..634fbf8 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Component +@AllArgsConstructor +public class ClassRemoveExe { + private final ClassGateway classGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = classGateway.deletedClassById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = classGateway.deletedClassByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/ClassUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/ClassUpdateExe.java new file mode 100644 index 0000000..9f5a153 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/ClassUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.ClassGateway; +import com.zcloud.edu.domain.model.study.ClassE; +import com.zcloud.edu.dto.study.ClassUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Component +@AllArgsConstructor +public class ClassUpdateExe { + private final ClassGateway classGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(ClassUpdateCmd classUpdateCmd) { + ClassE classE = new ClassE(); + BeanUtils.copyProperties(classUpdateCmd, classE); + boolean res = classGateway.update(classE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentAddExe.java new file mode 100644 index 0000000..d0dd6fe --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentGateway; +import com.zcloud.edu.domain.model.study.StudentE; +import com.zcloud.edu.dto.study.StudentAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Component +@AllArgsConstructor +public class StudentAddExe { + private final StudentGateway studentGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(StudentAddCmd cmd) { + StudentE studentE = new StudentE(); + BeanUtils.copyProperties(cmd, studentE); + boolean res = false; + try { + res = studentGateway.add(studentE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordAddExe.java new file mode 100644 index 0000000..b0c3a70 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordE; +import com.zcloud.edu.dto.study.StudentExamRecordAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordAddExe { + private final StudentExamRecordGateway studentExamRecordGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(StudentExamRecordAddCmd cmd) { + StudentExamRecordE studentExamRecordE = new StudentExamRecordE(); + BeanUtils.copyProperties(cmd, studentExamRecordE); + boolean res = false; + try { + res = studentExamRecordGateway.add(studentExamRecordE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemAddExe.java new file mode 100644 index 0000000..82724b0 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordItemGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordItemE; +import com.zcloud.edu.dto.study.StudentExamRecordItemAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordItemAddExe { + private final StudentExamRecordItemGateway studentExamRecordItemGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(StudentExamRecordItemAddCmd cmd) { + StudentExamRecordItemE studentExamRecordItemE = new StudentExamRecordItemE(); + BeanUtils.copyProperties(cmd, studentExamRecordItemE); + boolean res = false; + try { + res = studentExamRecordItemGateway.add(studentExamRecordItemE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemRemoveExe.java new file mode 100644 index 0000000..f15cea2 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordItemGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordItemRemoveExe { + private final StudentExamRecordItemGateway studentExamRecordItemGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = studentExamRecordItemGateway.deletedStudentExamRecordItemById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = studentExamRecordItemGateway.deletedStudentExamRecordItemByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemUpdateExe.java new file mode 100644 index 0000000..e893acf --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordItemUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordItemGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordItemE; +import com.zcloud.edu.dto.study.StudentExamRecordItemUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordItemUpdateExe { + private final StudentExamRecordItemGateway studentExamRecordItemGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(StudentExamRecordItemUpdateCmd studentExamRecordItemUpdateCmd) { + StudentExamRecordItemE studentExamRecordItemE = new StudentExamRecordItemE(); + BeanUtils.copyProperties(studentExamRecordItemUpdateCmd, studentExamRecordItemE); + boolean res = studentExamRecordItemGateway.update(studentExamRecordItemE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordRemoveExe.java new file mode 100644 index 0000000..027fa4b --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordRemoveExe { + private final StudentExamRecordGateway studentExamRecordGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = studentExamRecordGateway.deletedStudentExamRecordById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = studentExamRecordGateway.deletedStudentExamRecordByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordUpdateExe.java new file mode 100644 index 0000000..5b87739 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentExamRecordUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentExamRecordGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordE; +import com.zcloud.edu.dto.study.StudentExamRecordUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Component +@AllArgsConstructor +public class StudentExamRecordUpdateExe { + private final StudentExamRecordGateway studentExamRecordGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(StudentExamRecordUpdateCmd studentExamRecordUpdateCmd) { + StudentExamRecordE studentExamRecordE = new StudentExamRecordE(); + BeanUtils.copyProperties(studentExamRecordUpdateCmd, studentExamRecordE); + boolean res = studentExamRecordGateway.update(studentExamRecordE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentRemoveExe.java new file mode 100644 index 0000000..2b8fb34 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Component +@AllArgsConstructor +public class StudentRemoveExe { + private final StudentGateway studentGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = studentGateway.deletedStudentById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = studentGateway.deletedStudentByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignAddExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignAddExe.java new file mode 100644 index 0000000..281c1f5 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignAddExe.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentSignGateway; +import com.zcloud.edu.domain.model.study.StudentSignE; +import com.zcloud.edu.dto.study.StudentSignAddCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Component +@AllArgsConstructor +public class StudentSignAddExe { + private final StudentSignGateway studentSignGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(StudentSignAddCmd cmd) { + StudentSignE studentSignE = new StudentSignE(); + BeanUtils.copyProperties(cmd, studentSignE); + boolean res = false; + try { + res = studentSignGateway.add(studentSignE); + } catch (Exception e) { + throw new RuntimeException(e); + } + if (!res) { + throw new BizException("保存失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignRemoveExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignRemoveExe.java new file mode 100644 index 0000000..85058b3 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignRemoveExe.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentSignGateway; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Component +@AllArgsConstructor +public class StudentSignRemoveExe { + private final StudentSignGateway studentSignGateway; + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long id) { + boolean res = studentSignGateway.deletedStudentSignById(id); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } + + @Transactional(rollbackFor = Exception.class) + public boolean execute(Long[] ids) { + boolean res = studentSignGateway.deletedStudentSignByIds(ids); + if (!res) { + throw new BizException("删除失败"); + } + return true; + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignUpdateExe.java new file mode 100644 index 0000000..0d71678 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentSignUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentSignGateway; +import com.zcloud.edu.domain.model.study.StudentSignE; +import com.zcloud.edu.dto.study.StudentSignUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Component +@AllArgsConstructor +public class StudentSignUpdateExe { + private final StudentSignGateway studentSignGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(StudentSignUpdateCmd studentSignUpdateCmd) { + StudentSignE studentSignE = new StudentSignE(); + BeanUtils.copyProperties(studentSignUpdateCmd, studentSignE); + boolean res = studentSignGateway.update(studentSignE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/command/study/StudentUpdateExe.java b/web-app/src/main/java/com/zcloud/edu/command/study/StudentUpdateExe.java new file mode 100644 index 0000000..533b4dc --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/command/study/StudentUpdateExe.java @@ -0,0 +1,34 @@ +package com.zcloud.edu.command.study; + +import com.alibaba.cola.exception.BizException; +import com.zcloud.edu.domain.gateway.study.StudentGateway; +import com.zcloud.edu.domain.model.study.StudentE; +import com.zcloud.edu.dto.study.StudentUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; + + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Component +@AllArgsConstructor +public class StudentUpdateExe { + private final StudentGateway studentGateway; + + @Transactional(rollbackFor = Exception.class) + public void execute(StudentUpdateCmd studentUpdateCmd) { + StudentE studentE = new StudentE(); + BeanUtils.copyProperties(studentUpdateCmd, studentE); + boolean res = studentGateway.update(studentE); + if (!res) { + throw new BizException("修改失败"); + } + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/ClassCurriculumServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/ClassCurriculumServiceImpl.java new file mode 100644 index 0000000..d1eba89 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/ClassCurriculumServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.ClassCurriculumServiceI; +import com.zcloud.edu.command.query.study.ClassCurriculumQueryExe; +import com.zcloud.edu.command.study.ClassCurriculumAddExe; +import com.zcloud.edu.command.study.ClassCurriculumRemoveExe; +import com.zcloud.edu.command.study.ClassCurriculumUpdateExe; +import com.zcloud.edu.dto.clientobject.study.ClassCurriculumCO; +import com.zcloud.edu.dto.study.ClassCurriculumAddCmd; +import com.zcloud.edu.dto.study.ClassCurriculumPageQry; +import com.zcloud.edu.dto.study.ClassCurriculumUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Service +@AllArgsConstructor +public class ClassCurriculumServiceImpl implements ClassCurriculumServiceI { + private final ClassCurriculumAddExe classCurriculumAddExe; + private final ClassCurriculumUpdateExe classCurriculumUpdateExe; + private final ClassCurriculumRemoveExe classCurriculumRemoveExe; + private final ClassCurriculumQueryExe classCurriculumQueryExe; + + @Override + public PageResponse listPage(ClassCurriculumPageQry qry) { + + return classCurriculumQueryExe.execute(qry); + } + + @Override + public SingleResponse add(ClassCurriculumAddCmd cmd) { + + classCurriculumAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(ClassCurriculumUpdateCmd classCurriculumUpdateCmd) { + classCurriculumUpdateExe.execute(classCurriculumUpdateCmd); + } + + @Override + public void remove(Long id) { + classCurriculumRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + classCurriculumRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/ClassExamPaperServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/ClassExamPaperServiceImpl.java new file mode 100644 index 0000000..75c30d0 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/ClassExamPaperServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.ClassExamPaperServiceI; +import com.zcloud.edu.command.query.study.ClassExamPaperQueryExe; +import com.zcloud.edu.command.study.ClassExamPaperAddExe; +import com.zcloud.edu.command.study.ClassExamPaperRemoveExe; +import com.zcloud.edu.command.study.ClassExamPaperUpdateExe; +import com.zcloud.edu.dto.clientobject.study.ClassExamPaperCO; +import com.zcloud.edu.dto.study.ClassExamPaperAddCmd; +import com.zcloud.edu.dto.study.ClassExamPaperPageQry; +import com.zcloud.edu.dto.study.ClassExamPaperUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Service +@AllArgsConstructor +public class ClassExamPaperServiceImpl implements ClassExamPaperServiceI { + private final ClassExamPaperAddExe classExamPaperAddExe; + private final ClassExamPaperUpdateExe classExamPaperUpdateExe; + private final ClassExamPaperRemoveExe classExamPaperRemoveExe; + private final ClassExamPaperQueryExe classExamPaperQueryExe; + + @Override + public PageResponse listPage(ClassExamPaperPageQry qry) { + + return classExamPaperQueryExe.execute(qry); + } + + @Override + public SingleResponse add(ClassExamPaperAddCmd cmd) { + + classExamPaperAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(ClassExamPaperUpdateCmd classExamPaperUpdateCmd) { + classExamPaperUpdateExe.execute(classExamPaperUpdateCmd); + } + + @Override + public void remove(Long id) { + classExamPaperRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + classExamPaperRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/ClassServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/ClassServiceImpl.java new file mode 100644 index 0000000..a99c2f7 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/ClassServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.ClassServiceI; +import com.zcloud.edu.command.query.study.ClassQueryExe; +import com.zcloud.edu.command.study.ClassAddExe; +import com.zcloud.edu.command.study.ClassRemoveExe; +import com.zcloud.edu.command.study.ClassUpdateExe; +import com.zcloud.edu.dto.clientobject.study.ClassCO; +import com.zcloud.edu.dto.study.ClassAddCmd; +import com.zcloud.edu.dto.study.ClassPageQry; +import com.zcloud.edu.dto.study.ClassUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Service +@AllArgsConstructor +public class ClassServiceImpl implements ClassServiceI { + private final ClassAddExe classAddExe; + private final ClassUpdateExe classUpdateExe; + private final ClassRemoveExe classRemoveExe; + private final ClassQueryExe classQueryExe; + + @Override + public PageResponse listPage(ClassPageQry qry) { + + return classQueryExe.execute(qry); + } + + @Override + public SingleResponse add(ClassAddCmd cmd) { + + classAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(ClassUpdateCmd classUpdateCmd) { + classUpdateExe.execute(classUpdateCmd); + } + + @Override + public void remove(Long id) { + classRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + classRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordItemServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordItemServiceImpl.java new file mode 100644 index 0000000..b6100bf --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordItemServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.StudentExamRecordItemServiceI; +import com.zcloud.edu.command.query.study.StudentExamRecordItemQueryExe; +import com.zcloud.edu.command.study.StudentExamRecordItemAddExe; +import com.zcloud.edu.command.study.StudentExamRecordItemRemoveExe; +import com.zcloud.edu.command.study.StudentExamRecordItemUpdateExe; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordItemCO; +import com.zcloud.edu.dto.study.StudentExamRecordItemAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordItemPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordItemUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Service +@AllArgsConstructor +public class StudentExamRecordItemServiceImpl implements StudentExamRecordItemServiceI { + private final StudentExamRecordItemAddExe studentExamRecordItemAddExe; + private final StudentExamRecordItemUpdateExe studentExamRecordItemUpdateExe; + private final StudentExamRecordItemRemoveExe studentExamRecordItemRemoveExe; + private final StudentExamRecordItemQueryExe studentExamRecordItemQueryExe; + + @Override + public PageResponse listPage(StudentExamRecordItemPageQry qry) { + + return studentExamRecordItemQueryExe.execute(qry); + } + + @Override + public SingleResponse add(StudentExamRecordItemAddCmd cmd) { + + studentExamRecordItemAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(StudentExamRecordItemUpdateCmd studentExamRecordItemUpdateCmd) { + studentExamRecordItemUpdateExe.execute(studentExamRecordItemUpdateCmd); + } + + @Override + public void remove(Long id) { + studentExamRecordItemRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + studentExamRecordItemRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordServiceImpl.java new file mode 100644 index 0000000..2bd75d0 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/StudentExamRecordServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.StudentExamRecordServiceI; +import com.zcloud.edu.command.query.study.StudentExamRecordQueryExe; +import com.zcloud.edu.command.study.StudentExamRecordAddExe; +import com.zcloud.edu.command.study.StudentExamRecordRemoveExe; +import com.zcloud.edu.command.study.StudentExamRecordUpdateExe; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordCO; +import com.zcloud.edu.dto.study.StudentExamRecordAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Service +@AllArgsConstructor +public class StudentExamRecordServiceImpl implements StudentExamRecordServiceI { + private final StudentExamRecordAddExe studentExamRecordAddExe; + private final StudentExamRecordUpdateExe studentExamRecordUpdateExe; + private final StudentExamRecordRemoveExe studentExamRecordRemoveExe; + private final StudentExamRecordQueryExe studentExamRecordQueryExe; + + @Override + public PageResponse listPage(StudentExamRecordPageQry qry) { + + return studentExamRecordQueryExe.execute(qry); + } + + @Override + public SingleResponse add(StudentExamRecordAddCmd cmd) { + + studentExamRecordAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(StudentExamRecordUpdateCmd studentExamRecordUpdateCmd) { + studentExamRecordUpdateExe.execute(studentExamRecordUpdateCmd); + } + + @Override + public void remove(Long id) { + studentExamRecordRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + studentExamRecordRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/StudentServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/StudentServiceImpl.java new file mode 100644 index 0000000..9d33772 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/StudentServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.StudentServiceI; +import com.zcloud.edu.command.query.study.StudentQueryExe; +import com.zcloud.edu.command.study.StudentAddExe; +import com.zcloud.edu.command.study.StudentRemoveExe; +import com.zcloud.edu.command.study.StudentUpdateExe; +import com.zcloud.edu.dto.clientobject.study.StudentCO; +import com.zcloud.edu.dto.study.StudentAddCmd; +import com.zcloud.edu.dto.study.StudentPageQry; +import com.zcloud.edu.dto.study.StudentUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Service +@AllArgsConstructor +public class StudentServiceImpl implements StudentServiceI { + private final StudentAddExe studentAddExe; + private final StudentUpdateExe studentUpdateExe; + private final StudentRemoveExe studentRemoveExe; + private final StudentQueryExe studentQueryExe; + + @Override + public PageResponse listPage(StudentPageQry qry) { + + return studentQueryExe.execute(qry); + } + + @Override + public SingleResponse add(StudentAddCmd cmd) { + + studentAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(StudentUpdateCmd studentUpdateCmd) { + studentUpdateExe.execute(studentUpdateCmd); + } + + @Override + public void remove(Long id) { + studentRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + studentRemoveExe.execute(ids); + } +} + diff --git a/web-app/src/main/java/com/zcloud/edu/service/study/StudentSignServiceImpl.java b/web-app/src/main/java/com/zcloud/edu/service/study/StudentSignServiceImpl.java new file mode 100644 index 0000000..93cd311 --- /dev/null +++ b/web-app/src/main/java/com/zcloud/edu/service/study/StudentSignServiceImpl.java @@ -0,0 +1,59 @@ +package com.zcloud.edu.service.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.api.study.StudentSignServiceI; +import com.zcloud.edu.command.query.study.StudentSignQueryExe; +import com.zcloud.edu.command.study.StudentSignAddExe; +import com.zcloud.edu.command.study.StudentSignRemoveExe; +import com.zcloud.edu.command.study.StudentSignUpdateExe; +import com.zcloud.edu.dto.clientobject.study.StudentSignCO; +import com.zcloud.edu.dto.study.StudentSignAddCmd; +import com.zcloud.edu.dto.study.StudentSignPageQry; +import com.zcloud.edu.dto.study.StudentSignUpdateCmd; +import lombok.AllArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * web-app + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Service +@AllArgsConstructor +public class StudentSignServiceImpl implements StudentSignServiceI { + private final StudentSignAddExe studentSignAddExe; + private final StudentSignUpdateExe studentSignUpdateExe; + private final StudentSignRemoveExe studentSignRemoveExe; + private final StudentSignQueryExe studentSignQueryExe; + + @Override + public PageResponse listPage(StudentSignPageQry qry) { + + return studentSignQueryExe.execute(qry); + } + + @Override + public SingleResponse add(StudentSignAddCmd cmd) { + + studentSignAddExe.execute(cmd); + return SingleResponse.buildSuccess(); + } + + @Override + public void edit(StudentSignUpdateCmd studentSignUpdateCmd) { + studentSignUpdateExe.execute(studentSignUpdateCmd); + } + + @Override + public void remove(Long id) { + studentSignRemoveExe.execute(id); + } + + @Override + public void removeBatch(Long[] ids) { + studentSignRemoveExe.execute(ids); + } +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/ClassCurriculumServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/ClassCurriculumServiceI.java new file mode 100644 index 0000000..0e06c45 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/ClassCurriculumServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.ClassCurriculumCO; +import com.zcloud.edu.dto.study.ClassCurriculumAddCmd; +import com.zcloud.edu.dto.study.ClassCurriculumPageQry; +import com.zcloud.edu.dto.study.ClassCurriculumUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +public interface ClassCurriculumServiceI { + PageResponse listPage(ClassCurriculumPageQry qry); + + SingleResponse add(ClassCurriculumAddCmd cmd); + + void edit(ClassCurriculumUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/ClassExamPaperServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/ClassExamPaperServiceI.java new file mode 100644 index 0000000..79debef --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/ClassExamPaperServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.ClassExamPaperCO; +import com.zcloud.edu.dto.study.ClassExamPaperAddCmd; +import com.zcloud.edu.dto.study.ClassExamPaperPageQry; +import com.zcloud.edu.dto.study.ClassExamPaperUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +public interface ClassExamPaperServiceI { + PageResponse listPage(ClassExamPaperPageQry qry); + + SingleResponse add(ClassExamPaperAddCmd cmd); + + void edit(ClassExamPaperUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/ClassServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/ClassServiceI.java new file mode 100644 index 0000000..3c73bc3 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/ClassServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.ClassCO; +import com.zcloud.edu.dto.study.ClassAddCmd; +import com.zcloud.edu.dto.study.ClassPageQry; +import com.zcloud.edu.dto.study.ClassUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +public interface ClassServiceI { + PageResponse listPage(ClassPageQry qry); + + SingleResponse add(ClassAddCmd cmd); + + void edit(ClassUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordItemServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordItemServiceI.java new file mode 100644 index 0000000..be6b93a --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordItemServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordItemCO; +import com.zcloud.edu.dto.study.StudentExamRecordItemAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordItemPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordItemUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +public interface StudentExamRecordItemServiceI { + PageResponse listPage(StudentExamRecordItemPageQry qry); + + SingleResponse add(StudentExamRecordItemAddCmd cmd); + + void edit(StudentExamRecordItemUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordServiceI.java new file mode 100644 index 0000000..98fcb45 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/StudentExamRecordServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.StudentExamRecordCO; +import com.zcloud.edu.dto.study.StudentExamRecordAddCmd; +import com.zcloud.edu.dto.study.StudentExamRecordPageQry; +import com.zcloud.edu.dto.study.StudentExamRecordUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +public interface StudentExamRecordServiceI { + PageResponse listPage(StudentExamRecordPageQry qry); + + SingleResponse add(StudentExamRecordAddCmd cmd); + + void edit(StudentExamRecordUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/StudentServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/StudentServiceI.java new file mode 100644 index 0000000..902cf18 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/StudentServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.StudentCO; +import com.zcloud.edu.dto.study.StudentAddCmd; +import com.zcloud.edu.dto.study.StudentPageQry; +import com.zcloud.edu.dto.study.StudentUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +public interface StudentServiceI { + PageResponse listPage(StudentPageQry qry); + + SingleResponse add(StudentAddCmd cmd); + + void edit(StudentUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/api/study/StudentSignServiceI.java b/web-client/src/main/java/com/zcloud/edu/api/study/StudentSignServiceI.java new file mode 100644 index 0000000..2f11987 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/api/study/StudentSignServiceI.java @@ -0,0 +1,27 @@ +package com.zcloud.edu.api.study; + +import com.alibaba.cola.dto.PageResponse; +import com.alibaba.cola.dto.SingleResponse; +import com.zcloud.edu.dto.clientobject.study.StudentSignCO; +import com.zcloud.edu.dto.study.StudentSignAddCmd; +import com.zcloud.edu.dto.study.StudentSignPageQry; +import com.zcloud.edu.dto.study.StudentSignUpdateCmd; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +public interface StudentSignServiceI { + PageResponse listPage(StudentSignPageQry qry); + + SingleResponse add(StudentSignAddCmd cmd); + + void edit(StudentSignUpdateCmd cmd); + + void remove(Long id); + + void removeBatch(Long[] ids); +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCO.java new file mode 100644 index 0000000..795d443 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCO.java @@ -0,0 +1,104 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Data +public class ClassCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String classId; + //班级名称 + @ApiModelProperty(value = "班级名称") + private String name; + //培训日期 开始时间 + @ApiModelProperty(value = "培训日期 开始时间") + private String startTime; + //培训日期 结束日期 + @ApiModelProperty(value = "培训日期 结束日期") + private String endTime; + //培训教师id + @ApiModelProperty(value = "培训教师id") + private Long teacherId; + //教师名称 + @ApiModelProperty(value = "教师名称") + private String teacherName; + //培训行业类型 + @ApiModelProperty(value = "培训行业类型") + private String trainType; + //培训行业类型名称 + @ApiModelProperty(value = "培训行业类型名称") + private String trainTypeName; + //培训地点 + @ApiModelProperty(value = "培训地点") + private String trainingLocation; + //机构ID + @ApiModelProperty(value = "机构ID") + private String corpinfoId; + //状态:1-未申请 2-待开班 3- 培训中 4-培训结束 + @ApiModelProperty(value = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 ") + private String state; + //培训有效期日期 开始时间 + @ApiModelProperty(value = "培训有效期日期 开始时间") + private String validStartTime; + //培训有效期日期 结束时间 + @ApiModelProperty(value = "培训有效期日期 结束时间") + private String validEndTime; + //1考试0不考试 + @ApiModelProperty(value = "1考试0不考试") + private Integer examination; + //考试次数只有考试时候有用 + @ApiModelProperty(value = "考试次数只有考试时候有用") + private Integer numberofexams; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; + //环境 + @ApiModelProperty(value = "环境") + private String env; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCurriculumCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCurriculumCO.java new file mode 100644 index 0000000..28008ad --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassCurriculumCO.java @@ -0,0 +1,71 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Data +public class ClassCurriculumCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String classCurriculumId; + //课程id + @ApiModelProperty(value = "课程id") + private String curriculumId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //课程名称 + @ApiModelProperty(value = "课程名称") + private String curriculumName; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; + //环境 + @ApiModelProperty(value = "环境") + private String env; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassExamPaperCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassExamPaperCO.java new file mode 100644 index 0000000..d4c4ba0 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/ClassExamPaperCO.java @@ -0,0 +1,83 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Data +public class ClassExamPaperCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String classExamPaperId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //试卷id + @ApiModelProperty(value = "试卷id") + private String examPaperId; + //企业ID + @ApiModelProperty(value = "企业ID") + private Long corpinfoId; + //试卷名称 + @ApiModelProperty(value = "试卷名称") + private String examName; + //试卷总分数 + @ApiModelProperty(value = "试卷总分数") + private String examScore; + //合格分数 + @ApiModelProperty(value = "合格分数") + private String passScore; + //考试时长(分钟) + @ApiModelProperty(value = "考试时长(分钟)") + private String examTime; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; + //环境 + @ApiModelProperty(value = "环境") + private String env; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentCO.java new file mode 100644 index 0000000..7ad5c50 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentCO.java @@ -0,0 +1,131 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Data +public class StudentCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String studentId; + private Integer userId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + private String name; + private Long corpinfoId; + //手机号 + @ApiModelProperty(value = "手机号") + private String phone; + //身份证号 + @ApiModelProperty(value = "身份证号") + private String userIdCard; + //民族编码 + @ApiModelProperty(value = "民族编码") + private String nation; + //民族名称 + @ApiModelProperty(value = "民族名称") + private String nationName; + //人脸照片url + @ApiModelProperty(value = "人脸照片url") + private String userAvatarUrl; + //现住址 + @ApiModelProperty(value = "现住址") + private String currentAddress; + //户口所在地 + @ApiModelProperty(value = "户口所在地") + private String locationAddress; + //文化程度 数据字典 + @ApiModelProperty(value = "文化程度 数据字典") + private String culturalLevel; + //文化程度名称 + @ApiModelProperty(value = "文化程度名称") + private String culturalLevelName; + //婚姻状态 + @ApiModelProperty(value = "婚姻状态") + private String maritalStatus; + //婚姻状态名称 + @ApiModelProperty(value = "婚姻状态名称") + private String maritalStatusName; + //政治面貌 + @ApiModelProperty(value = "政治面貌") + private String politicalAffiliation; + //政治面貌名称 + @ApiModelProperty(value = "政治面貌名称") + private String politicalAffiliationName; + //岗位名称 + @ApiModelProperty(value = "岗位名称") + private String postName; + //签到状态 0-未签到 1-已签到 + @ApiModelProperty(value = "签到状态 0-未签到 1-已签到") + private Integer signFlag; + //考试签到状态 0-未签到 1-已签到 + @ApiModelProperty(value = "考试签到状态 0-未签到 1-已签到") + private Integer examSignFlag; + //学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过 + @ApiModelProperty(value = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过") + private Integer state; + //相关方id集合 + @ApiModelProperty(value = "相关方id集合") + private String interestedIds; + //相关方名称集合 + @ApiModelProperty(value = "相关方名称集合") + private String interestedNames; + //项目id集合 + @ApiModelProperty(value = "项目id集合") + private String projectIds; + //项目名称集合 + @ApiModelProperty(value = "项目名称集合") + private String projectNames; + //环境 + @ApiModelProperty(value = "环境") + private String env; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordCO.java new file mode 100644 index 0000000..08e7e85 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordCO.java @@ -0,0 +1,101 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Data +public class StudentExamRecordCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String studentExamRecordId; + //用户id + @ApiModelProperty(value = "用户id") + private Long userId; + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //企业id + @ApiModelProperty(value = "企业id") + private Long corpinfoId; + //班级-试卷 表ID + @ApiModelProperty(value = "班级-试卷 表ID") + private String classExamPaperId; + //试卷id + @ApiModelProperty(value = "试卷id") + private String examPaperId; + //考试时间 + @ApiModelProperty(value = "考试时间") + private String examTimeBegin; + //考试交卷时间 + @ApiModelProperty(value = "考试交卷时间") + private String examTimeEnd; + //考试总题数 + @ApiModelProperty(value = "考试总题数") + private Integer examQuestionNum; + //考试对题数 + @ApiModelProperty(value = "考试对题数") + private Integer examQuestionRight; + //考试错题数 + @ApiModelProperty(value = "考试错题数") + private Integer examQuestionWrong; + //考试得分 + @ApiModelProperty(value = "考试得分") + private Object examScore; + //考试结果 0 -不通过 1-通过 + @ApiModelProperty(value = "考试结果 0 -不通过 1-通过") + private Integer result; + //环境 + @ApiModelProperty(value = "环境") + private String env; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordItemCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordItemCO.java new file mode 100644 index 0000000..8e748a2 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentExamRecordItemCO.java @@ -0,0 +1,77 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Data +public class StudentExamRecordItemCO extends ClientObject { + private Long id; + //业务id + @ApiModelProperty(value = "业务id") + private String studentExamRecordItemId; + //考试记录id + @ApiModelProperty(value = "考试记录id") + private String studentExamRecordId; + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //习题ID + @ApiModelProperty(value = "习题ID") + private String questionId; + //学员答案 + @ApiModelProperty(value = "学员答案") + private String answer; + //正确答案 + @ApiModelProperty(value = "正确答案") + private String answerRight; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; + //环境 + @ApiModelProperty(value = "环境") + private String env; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentSignCO.java b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentSignCO.java new file mode 100644 index 0000000..4b76477 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/clientobject/study/StudentSignCO.java @@ -0,0 +1,80 @@ +package com.zcloud.edu.dto.clientobject.study; + +import com.alibaba.cola.dto.ClientObject; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.time.LocalDateTime; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Data +public class StudentSignCO extends ClientObject { + private Long id; + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //业务id + @ApiModelProperty(value = "业务id") + private String studentSignId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //用户id + @ApiModelProperty(value = "用户id") + private Long userId; + //企业id + @ApiModelProperty(value = "企业id") + private Long corpinfoId; + //签到人脸路径 + @ApiModelProperty(value = "签到人脸路径") + private String faceUrl; + //签到类型 1-打卡签到 2-人脸签到 + @ApiModelProperty(value = "签到类型 1-打卡签到 2-人脸签到") + private Integer type; + //环境 + @ApiModelProperty(value = "环境") + private String env; + //删除标识true false + @ApiModelProperty(value = "删除标识true false") + private String deleteEnum; + //备注 + @ApiModelProperty(value = "备注") + private String remarks; + //创建人姓名 + @ApiModelProperty(value = "创建人姓名") + private String createName; + //更新人姓名 + @ApiModelProperty(value = "更新人姓名") + private String updateName; + //租户id + @ApiModelProperty(value = "租户id") + private Long tenantId; + //单位id + @ApiModelProperty(value = "单位id") + private Long orgId; + //版本 + @ApiModelProperty(value = "版本") + private Integer version; + //创建时间 + @ApiModelProperty(value = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + //修改时间 + @ApiModelProperty(value = "修改时间") + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDateTime updateTime; + //创建人id + @ApiModelProperty(value = "创建人id") + private Long createId; + //修改人id + @ApiModelProperty(value = "修改人id") + private Long updateId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassAddCmd.java new file mode 100644 index 0000000..e255ba4 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassAddCmd.java @@ -0,0 +1,85 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "classId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classId; + + @ApiModelProperty(value = "班级名称", name = "name", required = true) + @NotEmpty(message = "班级名称不能为空") + private String name; + + @ApiModelProperty(value = "培训日期 开始时间", name = "startTime", required = true) + @NotEmpty(message = "培训日期 开始时间不能为空") + private String startTime; + + @ApiModelProperty(value = "培训日期 结束日期", name = "endTime", required = true) + @NotEmpty(message = "培训日期 结束日期不能为空") + private String endTime; + + @ApiModelProperty(value = "培训教师id", name = "teacherId", required = true) + @NotNull(message = "培训教师id不能为空") + private Long teacherId; + + @ApiModelProperty(value = "教师名称", name = "teacherName", required = true) + @NotEmpty(message = "教师名称不能为空") + private String teacherName; + + @ApiModelProperty(value = "培训行业类型", name = "trainType", required = true) + @NotEmpty(message = "培训行业类型不能为空") + private String trainType; + + @ApiModelProperty(value = "培训行业类型名称", name = "trainTypeName", required = true) + @NotEmpty(message = "培训行业类型名称不能为空") + private String trainTypeName; + + @ApiModelProperty(value = "培训地点", name = "trainingLocation", required = true) + @NotEmpty(message = "培训地点不能为空") + private String trainingLocation; + + @ApiModelProperty(value = "机构ID", name = "corpinfoId", required = true) + @NotEmpty(message = "机构ID不能为空") + private String corpinfoId; + + @ApiModelProperty(value = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 ", name = "state", required = true) + @NotEmpty(message = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 不能为空") + private String state; + + @ApiModelProperty(value = "培训有效期日期 开始时间", name = "validStartTime", required = true) + @NotEmpty(message = "培训有效期日期 开始时间不能为空") + private String validStartTime; + + @ApiModelProperty(value = "培训有效期日期 结束时间", name = "validEndTime", required = true) + @NotEmpty(message = "培训有效期日期 结束时间不能为空") + private String validEndTime; + + @ApiModelProperty(value = "1考试0不考试", name = "examination", required = true) + @NotNull(message = "1考试0不考试不能为空") + private Integer examination; + + @ApiModelProperty(value = "考试次数只有考试时候有用", name = "numberofexams", required = true) + @NotNull(message = "考试次数只有考试时候有用不能为空") + private Integer numberofexams; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumAddCmd.java new file mode 100644 index 0000000..dc29d4e --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumAddCmd.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassCurriculumAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "classCurriculumId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classCurriculumId; + + @ApiModelProperty(value = "课程id", name = "curriculumId", required = true) + @NotEmpty(message = "课程id不能为空") + private String curriculumId; + + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + + @ApiModelProperty(value = "课程名称", name = "curriculumName", required = true) + @NotEmpty(message = "课程名称不能为空") + private String curriculumName; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumPageQry.java new file mode 100644 index 0000000..80a58d7 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Data +public class ClassCurriculumPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeClassCurriculumId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumUpdateCmd.java new file mode 100644 index 0000000..f7ca238 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassCurriculumUpdateCmd.java @@ -0,0 +1,40 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassCurriculumUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "classCurriculumId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classCurriculumId; + @ApiModelProperty(value = "课程id", name = "curriculumId", required = true) + @NotEmpty(message = "课程id不能为空") + private String curriculumId; + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + @ApiModelProperty(value = "课程名称", name = "curriculumName", required = true) + @NotEmpty(message = "课程名称不能为空") + private String curriculumName; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperAddCmd.java new file mode 100644 index 0000000..0e10e68 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperAddCmd.java @@ -0,0 +1,57 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassExamPaperAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "classExamPaperId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classExamPaperId; + + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + + @ApiModelProperty(value = "试卷id", name = "examPaperId", required = true) + @NotEmpty(message = "试卷id不能为空") + private String examPaperId; + + @ApiModelProperty(value = "企业ID", name = "corpinfoId", required = true) + @NotNull(message = "企业ID不能为空") + private Long corpinfoId; + + @ApiModelProperty(value = "试卷名称", name = "examName", required = true) + @NotEmpty(message = "试卷名称不能为空") + private String examName; + + @ApiModelProperty(value = "试卷总分数", name = "examScore", required = true) + @NotEmpty(message = "试卷总分数不能为空") + private String examScore; + + @ApiModelProperty(value = "合格分数", name = "passScore", required = true) + @NotEmpty(message = "合格分数不能为空") + private String passScore; + + @ApiModelProperty(value = "考试时长(分钟)", name = "examTime", required = true) + @NotEmpty(message = "考试时长(分钟)不能为空") + private String examTime; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperPageQry.java new file mode 100644 index 0000000..4aaffb0 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Data +public class ClassExamPaperPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeClassExamPaperId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperUpdateCmd.java new file mode 100644 index 0000000..07c4887 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassExamPaperUpdateCmd.java @@ -0,0 +1,52 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassExamPaperUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "classExamPaperId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classExamPaperId; + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + @ApiModelProperty(value = "试卷id", name = "examPaperId", required = true) + @NotEmpty(message = "试卷id不能为空") + private String examPaperId; + @ApiModelProperty(value = "企业ID", name = "corpinfoId", required = true) + @NotNull(message = "企业ID不能为空") + private Long corpinfoId; + @ApiModelProperty(value = "试卷名称", name = "examName", required = true) + @NotEmpty(message = "试卷名称不能为空") + private String examName; + @ApiModelProperty(value = "试卷总分数", name = "examScore", required = true) + @NotEmpty(message = "试卷总分数不能为空") + private String examScore; + @ApiModelProperty(value = "合格分数", name = "passScore", required = true) + @NotEmpty(message = "合格分数不能为空") + private String passScore; + @ApiModelProperty(value = "考试时长(分钟)", name = "examTime", required = true) + @NotEmpty(message = "考试时长(分钟)不能为空") + private String examTime; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassPageQry.java new file mode 100644 index 0000000..166a18f --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Data +public class ClassPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeClassId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/ClassUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassUpdateCmd.java new file mode 100644 index 0000000..600a704 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/ClassUpdateCmd.java @@ -0,0 +1,73 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class ClassUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "classId", required = true) + @NotEmpty(message = "业务id不能为空") + private String classId; + @ApiModelProperty(value = "班级名称", name = "name", required = true) + @NotEmpty(message = "班级名称不能为空") + private String name; + @ApiModelProperty(value = "培训日期 开始时间", name = "startTime", required = true) + @NotEmpty(message = "培训日期 开始时间不能为空") + private String startTime; + @ApiModelProperty(value = "培训日期 结束日期", name = "endTime", required = true) + @NotEmpty(message = "培训日期 结束日期不能为空") + private String endTime; + @ApiModelProperty(value = "培训教师id", name = "teacherId", required = true) + @NotNull(message = "培训教师id不能为空") + private Long teacherId; + @ApiModelProperty(value = "教师名称", name = "teacherName", required = true) + @NotEmpty(message = "教师名称不能为空") + private String teacherName; + @ApiModelProperty(value = "培训行业类型", name = "trainType", required = true) + @NotEmpty(message = "培训行业类型不能为空") + private String trainType; + @ApiModelProperty(value = "培训行业类型名称", name = "trainTypeName", required = true) + @NotEmpty(message = "培训行业类型名称不能为空") + private String trainTypeName; + @ApiModelProperty(value = "培训地点", name = "trainingLocation", required = true) + @NotEmpty(message = "培训地点不能为空") + private String trainingLocation; + @ApiModelProperty(value = "机构ID", name = "corpinfoId", required = true) + @NotEmpty(message = "机构ID不能为空") + private String corpinfoId; + @ApiModelProperty(value = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 ", name = "state", required = true) + @NotEmpty(message = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 不能为空") + private String state; + @ApiModelProperty(value = "培训有效期日期 开始时间", name = "validStartTime", required = true) + @NotEmpty(message = "培训有效期日期 开始时间不能为空") + private String validStartTime; + @ApiModelProperty(value = "培训有效期日期 结束时间", name = "validEndTime", required = true) + @NotEmpty(message = "培训有效期日期 结束时间不能为空") + private String validEndTime; + @ApiModelProperty(value = "1考试0不考试", name = "examination", required = true) + @NotNull(message = "1考试0不考试不能为空") + private Integer examination; + @ApiModelProperty(value = "考试次数只有考试时候有用", name = "numberofexams", required = true) + @NotNull(message = "考试次数只有考试时候有用不能为空") + private Integer numberofexams; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentAddCmd.java new file mode 100644 index 0000000..b32dac0 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentAddCmd.java @@ -0,0 +1,129 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "studentId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentId; + + @ApiModelProperty(value = "${column.comment}", name = "userId", required = true) + @NotNull(message = "${column.comment}不能为空") + private Integer userId; + + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + + @ApiModelProperty(value = "${column.comment}", name = "name", required = true) + @NotEmpty(message = "${column.comment}不能为空") + private String name; + + @ApiModelProperty(value = "${column.comment}", name = "corpinfoId", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long corpinfoId; + + @ApiModelProperty(value = "手机号", name = "phone", required = true) + @NotEmpty(message = "手机号不能为空") + private String phone; + + @ApiModelProperty(value = "身份证号", name = "userIdCard", required = true) + @NotEmpty(message = "身份证号不能为空") + private String userIdCard; + + @ApiModelProperty(value = "民族编码", name = "nation", required = true) + @NotEmpty(message = "民族编码不能为空") + private String nation; + + @ApiModelProperty(value = "民族名称", name = "nationName", required = true) + @NotEmpty(message = "民族名称不能为空") + private String nationName; + + @ApiModelProperty(value = "人脸照片url", name = "userAvatarUrl", required = true) + @NotEmpty(message = "人脸照片url不能为空") + private String userAvatarUrl; + + @ApiModelProperty(value = "现住址", name = "currentAddress", required = true) + @NotEmpty(message = "现住址不能为空") + private String currentAddress; + + @ApiModelProperty(value = "户口所在地", name = "locationAddress", required = true) + @NotEmpty(message = "户口所在地不能为空") + private String locationAddress; + + @ApiModelProperty(value = "文化程度 数据字典", name = "culturalLevel", required = true) + @NotEmpty(message = "文化程度 数据字典不能为空") + private String culturalLevel; + + @ApiModelProperty(value = "文化程度名称", name = "culturalLevelName", required = true) + @NotEmpty(message = "文化程度名称不能为空") + private String culturalLevelName; + + @ApiModelProperty(value = "婚姻状态", name = "maritalStatus", required = true) + @NotEmpty(message = "婚姻状态不能为空") + private String maritalStatus; + + @ApiModelProperty(value = "婚姻状态名称", name = "maritalStatusName", required = true) + @NotEmpty(message = "婚姻状态名称不能为空") + private String maritalStatusName; + + @ApiModelProperty(value = "政治面貌", name = "politicalAffiliation", required = true) + @NotEmpty(message = "政治面貌不能为空") + private String politicalAffiliation; + + @ApiModelProperty(value = "政治面貌名称", name = "politicalAffiliationName", required = true) + @NotEmpty(message = "政治面貌名称不能为空") + private String politicalAffiliationName; + + @ApiModelProperty(value = "岗位名称", name = "postName", required = true) + @NotEmpty(message = "岗位名称不能为空") + private String postName; + + @ApiModelProperty(value = "签到状态 0-未签到 1-已签到", name = "signFlag", required = true) + @NotNull(message = "签到状态 0-未签到 1-已签到不能为空") + private Integer signFlag; + + @ApiModelProperty(value = "考试签到状态 0-未签到 1-已签到", name = "examSignFlag", required = true) + @NotNull(message = "考试签到状态 0-未签到 1-已签到不能为空") + private Integer examSignFlag; + + @ApiModelProperty(value = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过", name = "state", required = true) + @NotNull(message = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过不能为空") + private Integer state; + + @ApiModelProperty(value = "相关方id集合", name = "interestedIds", required = true) + @NotEmpty(message = "相关方id集合不能为空") + private String interestedIds; + + @ApiModelProperty(value = "相关方名称集合", name = "interestedNames", required = true) + @NotEmpty(message = "相关方名称集合不能为空") + private String interestedNames; + + @ApiModelProperty(value = "项目id集合", name = "projectIds", required = true) + @NotEmpty(message = "项目id集合不能为空") + private String projectIds; + + @ApiModelProperty(value = "项目名称集合", name = "projectNames", required = true) + @NotEmpty(message = "项目名称集合不能为空") + private String projectNames; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordAddCmd.java new file mode 100644 index 0000000..0aa2111 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordAddCmd.java @@ -0,0 +1,81 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentExamRecordAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "studentExamRecordId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentExamRecordId; + + @ApiModelProperty(value = "用户id", name = "userId", required = true) + @NotNull(message = "用户id不能为空") + private Long userId; + + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + + @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true) + @NotNull(message = "企业id不能为空") + private Long corpinfoId; + + @ApiModelProperty(value = "班级-试卷 表ID", name = "classExamPaperId", required = true) + @NotEmpty(message = "班级-试卷 表ID不能为空") + private String classExamPaperId; + + @ApiModelProperty(value = "试卷id", name = "examPaperId", required = true) + @NotEmpty(message = "试卷id不能为空") + private String examPaperId; + + @ApiModelProperty(value = "考试时间", name = "examTimeBegin", required = true) + @NotEmpty(message = "考试时间不能为空") + private String examTimeBegin; + + @ApiModelProperty(value = "考试交卷时间", name = "examTimeEnd", required = true) + @NotEmpty(message = "考试交卷时间不能为空") + private String examTimeEnd; + + @ApiModelProperty(value = "考试总题数", name = "examQuestionNum", required = true) + @NotNull(message = "考试总题数不能为空") + private Integer examQuestionNum; + + @ApiModelProperty(value = "考试对题数", name = "examQuestionRight", required = true) + @NotNull(message = "考试对题数不能为空") + private Integer examQuestionRight; + + @ApiModelProperty(value = "考试错题数", name = "examQuestionWrong", required = true) + @NotNull(message = "考试错题数不能为空") + private Integer examQuestionWrong; + + @ApiModelProperty(value = "考试得分", name = "examScore", required = true) + @NotEmpty(message = "考试得分不能为空") + private Object examScore; + + @ApiModelProperty(value = "考试结果 0 -不通过 1-通过", name = "result", required = true) + @NotNull(message = "考试结果 0 -不通过 1-通过不能为空") + private Integer result; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemAddCmd.java new file mode 100644 index 0000000..57cee40 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemAddCmd.java @@ -0,0 +1,48 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentExamRecordItemAddCmd extends Command { + @ApiModelProperty(value = "业务id", name = "studentExamRecordItemId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentExamRecordItemId; + + @ApiModelProperty(value = "考试记录id", name = "studentExamRecordId", required = true) + @NotEmpty(message = "考试记录id不能为空") + private String studentExamRecordId; + + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + + @ApiModelProperty(value = "习题ID", name = "questionId", required = true) + @NotEmpty(message = "习题ID不能为空") + private String questionId; + + @ApiModelProperty(value = "学员答案", name = "answer", required = true) + @NotEmpty(message = "学员答案不能为空") + private String answer; + + @ApiModelProperty(value = "正确答案", name = "answerRight", required = true) + @NotEmpty(message = "正确答案不能为空") + private String answerRight; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemPageQry.java new file mode 100644 index 0000000..563a40d --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Data +public class StudentExamRecordItemPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeStudentExamRecordItemId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemUpdateCmd.java new file mode 100644 index 0000000..ff90164 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordItemUpdateCmd.java @@ -0,0 +1,46 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentExamRecordItemUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "studentExamRecordItemId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentExamRecordItemId; + @ApiModelProperty(value = "考试记录id", name = "studentExamRecordId", required = true) + @NotEmpty(message = "考试记录id不能为空") + private String studentExamRecordId; + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + @ApiModelProperty(value = "习题ID", name = "questionId", required = true) + @NotEmpty(message = "习题ID不能为空") + private String questionId; + @ApiModelProperty(value = "学员答案", name = "answer", required = true) + @NotEmpty(message = "学员答案不能为空") + private String answer; + @ApiModelProperty(value = "正确答案", name = "answerRight", required = true) + @NotEmpty(message = "正确答案不能为空") + private String answerRight; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordPageQry.java new file mode 100644 index 0000000..61e10ea --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Data +public class StudentExamRecordPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeStudentExamRecordId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordUpdateCmd.java new file mode 100644 index 0000000..74f4127 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentExamRecordUpdateCmd.java @@ -0,0 +1,70 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentExamRecordUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "studentExamRecordId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentExamRecordId; + @ApiModelProperty(value = "用户id", name = "userId", required = true) + @NotNull(message = "用户id不能为空") + private Long userId; + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true) + @NotNull(message = "企业id不能为空") + private Long corpinfoId; + @ApiModelProperty(value = "班级-试卷 表ID", name = "classExamPaperId", required = true) + @NotEmpty(message = "班级-试卷 表ID不能为空") + private String classExamPaperId; + @ApiModelProperty(value = "试卷id", name = "examPaperId", required = true) + @NotEmpty(message = "试卷id不能为空") + private String examPaperId; + @ApiModelProperty(value = "考试时间", name = "examTimeBegin", required = true) + @NotEmpty(message = "考试时间不能为空") + private String examTimeBegin; + @ApiModelProperty(value = "考试交卷时间", name = "examTimeEnd", required = true) + @NotEmpty(message = "考试交卷时间不能为空") + private String examTimeEnd; + @ApiModelProperty(value = "考试总题数", name = "examQuestionNum", required = true) + @NotNull(message = "考试总题数不能为空") + private Integer examQuestionNum; + @ApiModelProperty(value = "考试对题数", name = "examQuestionRight", required = true) + @NotNull(message = "考试对题数不能为空") + private Integer examQuestionRight; + @ApiModelProperty(value = "考试错题数", name = "examQuestionWrong", required = true) + @NotNull(message = "考试错题数不能为空") + private Integer examQuestionWrong; + @ApiModelProperty(value = "考试得分", name = "examScore", required = true) + @NotEmpty(message = "考试得分不能为空") + private Object examScore; + @ApiModelProperty(value = "考试结果 0 -不通过 1-通过", name = "result", required = true) + @NotNull(message = "考试结果 0 -不通过 1-通过不能为空") + private Integer result; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentPageQry.java new file mode 100644 index 0000000..41d3c9b --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Data +public class StudentPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeStudentId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignAddCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignAddCmd.java new file mode 100644 index 0000000..efc4098 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignAddCmd.java @@ -0,0 +1,53 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentSignAddCmd extends Command { + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + + @ApiModelProperty(value = "业务id", name = "studentSignId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentSignId; + + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + + @ApiModelProperty(value = "用户id", name = "userId", required = true) + @NotNull(message = "用户id不能为空") + private Long userId; + + @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true) + @NotNull(message = "企业id不能为空") + private Long corpinfoId; + + @ApiModelProperty(value = "签到人脸路径", name = "faceUrl", required = true) + @NotEmpty(message = "签到人脸路径不能为空") + private String faceUrl; + + @ApiModelProperty(value = "签到类型 1-打卡签到 2-人脸签到", name = "type", required = true) + @NotNull(message = "签到类型 1-打卡签到 2-人脸签到不能为空") + private Integer type; + +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignPageQry.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignPageQry.java new file mode 100644 index 0000000..2f4325c --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignPageQry.java @@ -0,0 +1,28 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.PageQuery; +import lombok.Data; + + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Data +public class StudentSignPageQry extends PageQuery { + + /** + * 查询条件操作前缀,支持以下几种数据库查询操作: + * - `like`: 模糊匹配查询,对应SQL的LIKE操作符 + * - `eq`: 等值查询,对应SQL的=操作符 + * - `gt`: 大于比较查询 + * - `lt`: 小于比较查询 + * - `ge`: 大于等于比较查询 + * - `le`: 小于等于比较查询 + * - `ne`: 不等比较查询,对应SQL的!=操作符 + */ + private String likeStudentId; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignUpdateCmd.java new file mode 100644 index 0000000..6b11567 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentSignUpdateCmd.java @@ -0,0 +1,49 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentSignUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "学员id", name = "studentId", required = true) + @NotEmpty(message = "学员id不能为空") + private String studentId; + @ApiModelProperty(value = "业务id", name = "studentSignId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentSignId; + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + @ApiModelProperty(value = "用户id", name = "userId", required = true) + @NotNull(message = "用户id不能为空") + private Long userId; + @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true) + @NotNull(message = "企业id不能为空") + private Long corpinfoId; + @ApiModelProperty(value = "签到人脸路径", name = "faceUrl", required = true) + @NotEmpty(message = "签到人脸路径不能为空") + private String faceUrl; + @ApiModelProperty(value = "签到类型 1-打卡签到 2-人脸签到", name = "type", required = true) + @NotNull(message = "签到类型 1-打卡签到 2-人脸签到不能为空") + private Integer type; +} + diff --git a/web-client/src/main/java/com/zcloud/edu/dto/study/StudentUpdateCmd.java b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentUpdateCmd.java new file mode 100644 index 0000000..689aeb8 --- /dev/null +++ b/web-client/src/main/java/com/zcloud/edu/dto/study/StudentUpdateCmd.java @@ -0,0 +1,106 @@ +package com.zcloud.edu.dto.study; + +import com.alibaba.cola.dto.Command; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +/** + * web-client + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@EqualsAndHashCode(callSuper = true) +@Data +@NoArgsConstructor +@AllArgsConstructor +public class StudentUpdateCmd extends Command { + @ApiModelProperty(value = "${column.comment}", name = "id", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long id; + @ApiModelProperty(value = "业务id", name = "studentId", required = true) + @NotEmpty(message = "业务id不能为空") + private String studentId; + @ApiModelProperty(value = "${column.comment}", name = "userId", required = true) + @NotNull(message = "${column.comment}不能为空") + private Integer userId; + @ApiModelProperty(value = "班级id", name = "classId", required = true) + @NotEmpty(message = "班级id不能为空") + private String classId; + @ApiModelProperty(value = "${column.comment}", name = "name", required = true) + @NotEmpty(message = "${column.comment}不能为空") + private String name; + @ApiModelProperty(value = "${column.comment}", name = "corpinfoId", required = true) + @NotNull(message = "${column.comment}不能为空") + private Long corpinfoId; + @ApiModelProperty(value = "手机号", name = "phone", required = true) + @NotEmpty(message = "手机号不能为空") + private String phone; + @ApiModelProperty(value = "身份证号", name = "userIdCard", required = true) + @NotEmpty(message = "身份证号不能为空") + private String userIdCard; + @ApiModelProperty(value = "民族编码", name = "nation", required = true) + @NotEmpty(message = "民族编码不能为空") + private String nation; + @ApiModelProperty(value = "民族名称", name = "nationName", required = true) + @NotEmpty(message = "民族名称不能为空") + private String nationName; + @ApiModelProperty(value = "人脸照片url", name = "userAvatarUrl", required = true) + @NotEmpty(message = "人脸照片url不能为空") + private String userAvatarUrl; + @ApiModelProperty(value = "现住址", name = "currentAddress", required = true) + @NotEmpty(message = "现住址不能为空") + private String currentAddress; + @ApiModelProperty(value = "户口所在地", name = "locationAddress", required = true) + @NotEmpty(message = "户口所在地不能为空") + private String locationAddress; + @ApiModelProperty(value = "文化程度 数据字典", name = "culturalLevel", required = true) + @NotEmpty(message = "文化程度 数据字典不能为空") + private String culturalLevel; + @ApiModelProperty(value = "文化程度名称", name = "culturalLevelName", required = true) + @NotEmpty(message = "文化程度名称不能为空") + private String culturalLevelName; + @ApiModelProperty(value = "婚姻状态", name = "maritalStatus", required = true) + @NotEmpty(message = "婚姻状态不能为空") + private String maritalStatus; + @ApiModelProperty(value = "婚姻状态名称", name = "maritalStatusName", required = true) + @NotEmpty(message = "婚姻状态名称不能为空") + private String maritalStatusName; + @ApiModelProperty(value = "政治面貌", name = "politicalAffiliation", required = true) + @NotEmpty(message = "政治面貌不能为空") + private String politicalAffiliation; + @ApiModelProperty(value = "政治面貌名称", name = "politicalAffiliationName", required = true) + @NotEmpty(message = "政治面貌名称不能为空") + private String politicalAffiliationName; + @ApiModelProperty(value = "岗位名称", name = "postName", required = true) + @NotEmpty(message = "岗位名称不能为空") + private String postName; + @ApiModelProperty(value = "签到状态 0-未签到 1-已签到", name = "signFlag", required = true) + @NotNull(message = "签到状态 0-未签到 1-已签到不能为空") + private Integer signFlag; + @ApiModelProperty(value = "考试签到状态 0-未签到 1-已签到", name = "examSignFlag", required = true) + @NotNull(message = "考试签到状态 0-未签到 1-已签到不能为空") + private Integer examSignFlag; + @ApiModelProperty(value = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过", name = "state", required = true) + @NotNull(message = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过不能为空") + private Integer state; + @ApiModelProperty(value = "相关方id集合", name = "interestedIds", required = true) + @NotEmpty(message = "相关方id集合不能为空") + private String interestedIds; + @ApiModelProperty(value = "相关方名称集合", name = "interestedNames", required = true) + @NotEmpty(message = "相关方名称集合不能为空") + private String interestedNames; + @ApiModelProperty(value = "项目id集合", name = "projectIds", required = true) + @NotEmpty(message = "项目id集合不能为空") + private String projectIds; + @ApiModelProperty(value = "项目名称集合", name = "projectNames", required = true) + @NotEmpty(message = "项目名称集合不能为空") + private String projectNames; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassCurriculumGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassCurriculumGateway.java new file mode 100644 index 0000000..07a8bc2 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassCurriculumGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.ClassCurriculumE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +public interface ClassCurriculumGateway { + + /** + * 新增 + */ + Boolean add(ClassCurriculumE classCurriculumE); + + /** + * 修改 + */ + Boolean update(ClassCurriculumE classCurriculumE); + + /** + * 删除 + */ + Boolean deletedClassCurriculumById(Long id); + + Boolean deletedClassCurriculumByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassExamPaperGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassExamPaperGateway.java new file mode 100644 index 0000000..4aa39f0 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassExamPaperGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.ClassExamPaperE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +public interface ClassExamPaperGateway { + + /** + * 新增 + */ + Boolean add(ClassExamPaperE classExamPaperE); + + /** + * 修改 + */ + Boolean update(ClassExamPaperE classExamPaperE); + + /** + * 删除 + */ + Boolean deletedClassExamPaperById(Long id); + + Boolean deletedClassExamPaperByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassGateway.java new file mode 100644 index 0000000..c88edda --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/ClassGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.ClassE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +public interface ClassGateway { + + /** + * 新增 + */ + Boolean add(ClassE classE); + + /** + * 修改 + */ + Boolean update(ClassE classE); + + /** + * 删除 + */ + Boolean deletedClassById(Long id); + + Boolean deletedClassByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordGateway.java new file mode 100644 index 0000000..8fb258c --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.StudentExamRecordE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +public interface StudentExamRecordGateway { + + /** + * 新增 + */ + Boolean add(StudentExamRecordE studentExamRecordE); + + /** + * 修改 + */ + Boolean update(StudentExamRecordE studentExamRecordE); + + /** + * 删除 + */ + Boolean deletedStudentExamRecordById(Long id); + + Boolean deletedStudentExamRecordByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordItemGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordItemGateway.java new file mode 100644 index 0000000..68c4e46 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentExamRecordItemGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.StudentExamRecordItemE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +public interface StudentExamRecordItemGateway { + + /** + * 新增 + */ + Boolean add(StudentExamRecordItemE studentExamRecordItemE); + + /** + * 修改 + */ + Boolean update(StudentExamRecordItemE studentExamRecordItemE); + + /** + * 删除 + */ + Boolean deletedStudentExamRecordItemById(Long id); + + Boolean deletedStudentExamRecordItemByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentGateway.java new file mode 100644 index 0000000..021b3cc --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.StudentE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +public interface StudentGateway { + + /** + * 新增 + */ + Boolean add(StudentE studentE); + + /** + * 修改 + */ + Boolean update(StudentE studentE); + + /** + * 删除 + */ + Boolean deletedStudentById(Long id); + + Boolean deletedStudentByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentSignGateway.java b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentSignGateway.java new file mode 100644 index 0000000..45c87c8 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/gateway/study/StudentSignGateway.java @@ -0,0 +1,31 @@ +package com.zcloud.edu.domain.gateway.study; + + +import com.zcloud.edu.domain.model.study.StudentSignE; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +public interface StudentSignGateway { + + /** + * 新增 + */ + Boolean add(StudentSignE studentSignE); + + /** + * 修改 + */ + Boolean update(StudentSignE studentSignE); + + /** + * 删除 + */ + Boolean deletedStudentSignById(Long id); + + Boolean deletedStudentSignByIds(Long[] id); +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassCurriculumE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassCurriculumE.java new file mode 100644 index 0000000..f05afbe --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassCurriculumE.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Data +public class ClassCurriculumE extends BaseE { + private Long id; + //业务id + private String classCurriculumId; + //课程id + private String curriculumId; + //班级id + private String classId; + //课程名称 + private String curriculumName; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; + //环境 + private String env; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassE.java new file mode 100644 index 0000000..821feb5 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassE.java @@ -0,0 +1,72 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Data +public class ClassE extends BaseE { + private Long id; + //业务id + private String classId; + //班级名称 + private String name; + //培训日期 开始时间 + private String startTime; + //培训日期 结束日期 + private String endTime; + //培训教师id + private Long teacherId; + //教师名称 + private String teacherName; + //培训行业类型 + private String trainType; + //培训行业类型名称 + private String trainTypeName; + //培训地点 + private String trainingLocation; + //机构ID + private String corpinfoId; + //状态:1-未申请 2-待开班 3- 培训中 4-培训结束 + private String state; + //培训有效期日期 开始时间 + private String validStartTime; + //培训有效期日期 结束时间 + private String validEndTime; + //1考试0不考试 + private Integer examination; + //考试次数只有考试时候有用 + private Integer numberofexams; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; + //环境 + private String env; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassExamPaperE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassExamPaperE.java new file mode 100644 index 0000000..48c5941 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/ClassExamPaperE.java @@ -0,0 +1,58 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Data +public class ClassExamPaperE extends BaseE { + private Long id; + //业务id + private String classExamPaperId; + //班级id + private String classId; + //试卷id + private String examPaperId; + //企业ID + private Long corpinfoId; + //试卷名称 + private String examName; + //试卷总分数 + private String examScore; + //合格分数 + private String passScore; + //考试时长(分钟) + private String examTime; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; + //环境 + private String env; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentE.java new file mode 100644 index 0000000..d02bd31 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentE.java @@ -0,0 +1,91 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Data +public class StudentE extends BaseE { + private Long id; + //业务id + private String studentId; + private Integer userId; + //班级id + private String classId; + private String name; + private Long corpinfoId; + //手机号 + private String phone; + //身份证号 + private String userIdCard; + //民族编码 + private String nation; + //民族名称 + private String nationName; + //人脸照片url + private String userAvatarUrl; + //现住址 + private String currentAddress; + //户口所在地 + private String locationAddress; + //文化程度 数据字典 + private String culturalLevel; + //文化程度名称 + private String culturalLevelName; + //婚姻状态 + private String maritalStatus; + //婚姻状态名称 + private String maritalStatusName; + //政治面貌 + private String politicalAffiliation; + //政治面貌名称 + private String politicalAffiliationName; + //岗位名称 + private String postName; + //签到状态 0-未签到 1-已签到 + private Integer signFlag; + //考试签到状态 0-未签到 1-已签到 + private Integer examSignFlag; + //学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过 + private Integer state; + //相关方id集合 + private String interestedIds; + //相关方名称集合 + private String interestedNames; + //项目id集合 + private String projectIds; + //项目名称集合 + private String projectNames; + //环境 + private String env; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordE.java new file mode 100644 index 0000000..ba50c48 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordE.java @@ -0,0 +1,70 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Data +public class StudentExamRecordE extends BaseE { + private Long id; + //业务id + private String studentExamRecordId; + //用户id + private Long userId; + //学员id + private String studentId; + //班级id + private String classId; + //企业id + private Long corpinfoId; + //班级-试卷 表ID + private String classExamPaperId; + //试卷id + private String examPaperId; + //考试时间 + private String examTimeBegin; + //考试交卷时间 + private String examTimeEnd; + //考试总题数 + private Integer examQuestionNum; + //考试对题数 + private Integer examQuestionRight; + //考试错题数 + private Integer examQuestionWrong; + //考试得分 + private Object examScore; + //考试结果 0 -不通过 1-通过 + private Integer result; + //环境 + private String env; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordItemE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordItemE.java new file mode 100644 index 0000000..edaf276 --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentExamRecordItemE.java @@ -0,0 +1,54 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Data +public class StudentExamRecordItemE extends BaseE { + private Long id; + //业务id + private String studentExamRecordItemId; + //考试记录id + private String studentExamRecordId; + //学员id + private String studentId; + //习题ID + private String questionId; + //学员答案 + private String answer; + //正确答案 + private String answerRight; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; + //环境 + private String env; +} + diff --git a/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentSignE.java b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentSignE.java new file mode 100644 index 0000000..ecc364a --- /dev/null +++ b/web-domain/src/main/java/com/zcloud/edu/domain/model/study/StudentSignE.java @@ -0,0 +1,56 @@ +package com.zcloud.edu.domain.model.study; + +import com.jjb.saas.framework.domain.model.BaseE; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * web-domain + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Data +public class StudentSignE extends BaseE { + private Long id; + //学员id + private String studentId; + //业务id + private String studentSignId; + //班级id + private String classId; + //用户id + private Long userId; + //企业id + private Long corpinfoId; + //签到人脸路径 + private String faceUrl; + //签到类型 1-打卡签到 2-人脸签到 + private Integer type; + //环境 + private String env; + //删除标识true false + private String deleteEnum; + //备注 + private String remarks; + //创建人姓名 + private String createName; + //更新人姓名 + private String updateName; + //租户id + private Long tenantId; + //单位id + private Long orgId; + //版本 + private Integer version; + //创建时间 + private LocalDateTime createTime; + //修改时间 + private LocalDateTime updateTime; + //创建人id + private Long createId; + //修改人id + private Long updateId; +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassCurriculumGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassCurriculumGatewayImpl.java new file mode 100644 index 0000000..3c43528 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassCurriculumGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.ClassCurriculumGateway; +import com.zcloud.edu.domain.model.study.ClassCurriculumE; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; +import com.zcloud.edu.persistence.repository.study.ClassCurriculumRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Service +@AllArgsConstructor +public class ClassCurriculumGatewayImpl implements ClassCurriculumGateway { + private final ClassCurriculumRepository classCurriculumRepository; + + @Override + public Boolean add(ClassCurriculumE classCurriculumE) { + ClassCurriculumDO d = new ClassCurriculumDO(); + BeanUtils.copyProperties(classCurriculumE, d); + classCurriculumRepository.save(d); + return true; + } + + @Override + public Boolean update(ClassCurriculumE classCurriculumE) { + ClassCurriculumDO d = new ClassCurriculumDO(); + BeanUtils.copyProperties(classCurriculumE, d); + classCurriculumRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedClassCurriculumById(Long id) { + return classCurriculumRepository.removeById(id); + } + + @Override + public Boolean deletedClassCurriculumByIds(Long[] ids) { + return classCurriculumRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassExamPaperGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassExamPaperGatewayImpl.java new file mode 100644 index 0000000..91027ae --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassExamPaperGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.ClassExamPaperGateway; +import com.zcloud.edu.domain.model.study.ClassExamPaperE; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; +import com.zcloud.edu.persistence.repository.study.ClassExamPaperRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Service +@AllArgsConstructor +public class ClassExamPaperGatewayImpl implements ClassExamPaperGateway { + private final ClassExamPaperRepository classExamPaperRepository; + + @Override + public Boolean add(ClassExamPaperE classExamPaperE) { + ClassExamPaperDO d = new ClassExamPaperDO(); + BeanUtils.copyProperties(classExamPaperE, d); + classExamPaperRepository.save(d); + return true; + } + + @Override + public Boolean update(ClassExamPaperE classExamPaperE) { + ClassExamPaperDO d = new ClassExamPaperDO(); + BeanUtils.copyProperties(classExamPaperE, d); + classExamPaperRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedClassExamPaperById(Long id) { + return classExamPaperRepository.removeById(id); + } + + @Override + public Boolean deletedClassExamPaperByIds(Long[] ids) { + return classExamPaperRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassGatewayImpl.java new file mode 100644 index 0000000..2ba948c --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/ClassGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.ClassGateway; +import com.zcloud.edu.domain.model.study.ClassE; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; +import com.zcloud.edu.persistence.repository.study.ClassRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Service +@AllArgsConstructor +public class ClassGatewayImpl implements ClassGateway { + private final ClassRepository classRepository; + + @Override + public Boolean add(ClassE classE) { + ClassDO d = new ClassDO(); + BeanUtils.copyProperties(classE, d); + classRepository.save(d); + return true; + } + + @Override + public Boolean update(ClassE classE) { + ClassDO d = new ClassDO(); + BeanUtils.copyProperties(classE, d); + classRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedClassById(Long id) { + return classRepository.removeById(id); + } + + @Override + public Boolean deletedClassByIds(Long[] ids) { + return classRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordGatewayImpl.java new file mode 100644 index 0000000..cac9675 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.StudentExamRecordGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordE; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Service +@AllArgsConstructor +public class StudentExamRecordGatewayImpl implements StudentExamRecordGateway { + private final StudentExamRecordRepository studentExamRecordRepository; + + @Override + public Boolean add(StudentExamRecordE studentExamRecordE) { + StudentExamRecordDO d = new StudentExamRecordDO(); + BeanUtils.copyProperties(studentExamRecordE, d); + studentExamRecordRepository.save(d); + return true; + } + + @Override + public Boolean update(StudentExamRecordE studentExamRecordE) { + StudentExamRecordDO d = new StudentExamRecordDO(); + BeanUtils.copyProperties(studentExamRecordE, d); + studentExamRecordRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedStudentExamRecordById(Long id) { + return studentExamRecordRepository.removeById(id); + } + + @Override + public Boolean deletedStudentExamRecordByIds(Long[] ids) { + return studentExamRecordRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordItemGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordItemGatewayImpl.java new file mode 100644 index 0000000..001543b --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentExamRecordItemGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.StudentExamRecordItemGateway; +import com.zcloud.edu.domain.model.study.StudentExamRecordItemE; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordItemRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Service +@AllArgsConstructor +public class StudentExamRecordItemGatewayImpl implements StudentExamRecordItemGateway { + private final StudentExamRecordItemRepository studentExamRecordItemRepository; + + @Override + public Boolean add(StudentExamRecordItemE studentExamRecordItemE) { + StudentExamRecordItemDO d = new StudentExamRecordItemDO(); + BeanUtils.copyProperties(studentExamRecordItemE, d); + studentExamRecordItemRepository.save(d); + return true; + } + + @Override + public Boolean update(StudentExamRecordItemE studentExamRecordItemE) { + StudentExamRecordItemDO d = new StudentExamRecordItemDO(); + BeanUtils.copyProperties(studentExamRecordItemE, d); + studentExamRecordItemRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedStudentExamRecordItemById(Long id) { + return studentExamRecordItemRepository.removeById(id); + } + + @Override + public Boolean deletedStudentExamRecordItemByIds(Long[] ids) { + return studentExamRecordItemRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentGatewayImpl.java new file mode 100644 index 0000000..321d90d --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.StudentGateway; +import com.zcloud.edu.domain.model.study.StudentE; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; +import com.zcloud.edu.persistence.repository.study.StudentRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Service +@AllArgsConstructor +public class StudentGatewayImpl implements StudentGateway { + private final StudentRepository studentRepository; + + @Override + public Boolean add(StudentE studentE) { + StudentDO d = new StudentDO(); + BeanUtils.copyProperties(studentE, d); + studentRepository.save(d); + return true; + } + + @Override + public Boolean update(StudentE studentE) { + StudentDO d = new StudentDO(); + BeanUtils.copyProperties(studentE, d); + studentRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedStudentById(Long id) { + return studentRepository.removeById(id); + } + + @Override + public Boolean deletedStudentByIds(Long[] ids) { + return studentRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentSignGatewayImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentSignGatewayImpl.java new file mode 100644 index 0000000..891507d --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/gatewayimpl/study/StudentSignGatewayImpl.java @@ -0,0 +1,50 @@ +package com.zcloud.edu.gatewayimpl.study; + +import com.zcloud.edu.domain.gateway.study.StudentSignGateway; +import com.zcloud.edu.domain.model.study.StudentSignE; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; +import com.zcloud.edu.persistence.repository.study.StudentSignRepository; +import lombok.AllArgsConstructor; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import java.util.Collections; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Service +@AllArgsConstructor +public class StudentSignGatewayImpl implements StudentSignGateway { + private final StudentSignRepository studentSignRepository; + + @Override + public Boolean add(StudentSignE studentSignE) { + StudentSignDO d = new StudentSignDO(); + BeanUtils.copyProperties(studentSignE, d); + studentSignRepository.save(d); + return true; + } + + @Override + public Boolean update(StudentSignE studentSignE) { + StudentSignDO d = new StudentSignDO(); + BeanUtils.copyProperties(studentSignE, d); + studentSignRepository.updateById(d); + return true; + } + + @Override + public Boolean deletedStudentSignById(Long id) { + return studentSignRepository.removeById(id); + } + + @Override + public Boolean deletedStudentSignByIds(Long[] ids) { + return studentSignRepository.removeByIds(Collections.singletonList(ids)); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassCurriculumDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassCurriculumDO.java new file mode 100644 index 0000000..adda542 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassCurriculumDO.java @@ -0,0 +1,36 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Data +@TableName("class_curriculum") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class ClassCurriculumDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String classCurriculumId; + //课程id + @ApiModelProperty(value = "课程id") + private String curriculumId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //课程名称 + @ApiModelProperty(value = "课程名称") + private String curriculumName; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassDO.java new file mode 100644 index 0000000..0c13b90 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassDO.java @@ -0,0 +1,69 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:11 + */ +@Data +@TableName("class") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class ClassDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String classId; + //班级名称 + @ApiModelProperty(value = "班级名称") + private String name; + //培训日期 开始时间 + @ApiModelProperty(value = "培训日期 开始时间") + private String startTime; + //培训日期 结束日期 + @ApiModelProperty(value = "培训日期 结束日期") + private String endTime; + //培训教师id + @ApiModelProperty(value = "培训教师id") + private Long teacherId; + //教师名称 + @ApiModelProperty(value = "教师名称") + private String teacherName; + //培训行业类型 + @ApiModelProperty(value = "培训行业类型") + private String trainType; + //培训行业类型名称 + @ApiModelProperty(value = "培训行业类型名称") + private String trainTypeName; + //培训地点 + @ApiModelProperty(value = "培训地点") + private String trainingLocation; + //机构ID + @ApiModelProperty(value = "机构ID") + private String corpinfoId; + //状态:1-未申请 2-待开班 3- 培训中 4-培训结束 + @ApiModelProperty(value = "状态:1-未申请 2-待开班 3- 培训中 4-培训结束 ") + private String state; + //培训有效期日期 开始时间 + @ApiModelProperty(value = "培训有效期日期 开始时间") + private String validStartTime; + //培训有效期日期 结束时间 + @ApiModelProperty(value = "培训有效期日期 结束时间") + private String validEndTime; + //1考试0不考试 + @ApiModelProperty(value = "1考试0不考试") + private Integer examination; + //考试次数只有考试时候有用 + @ApiModelProperty(value = "考试次数只有考试时候有用") + private Integer numberofexams; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassExamPaperDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassExamPaperDO.java new file mode 100644 index 0000000..ac71c63 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/ClassExamPaperDO.java @@ -0,0 +1,48 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Data +@TableName("class_exam_paper") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class ClassExamPaperDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String classExamPaperId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //试卷id + @ApiModelProperty(value = "试卷id") + private String examPaperId; + //企业ID + @ApiModelProperty(value = "企业ID") + private Long corpinfoId; + //试卷名称 + @ApiModelProperty(value = "试卷名称") + private String examName; + //试卷总分数 + @ApiModelProperty(value = "试卷总分数") + private String examScore; + //合格分数 + @ApiModelProperty(value = "合格分数") + private String passScore; + //考试时长(分钟) + @ApiModelProperty(value = "考试时长(分钟)") + private String examTime; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentDO.java new file mode 100644 index 0000000..c3085d9 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentDO.java @@ -0,0 +1,96 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Data +@TableName("student") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class StudentDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String studentId; + private Integer userId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + private String name; + private Long corpinfoId; + //手机号 + @ApiModelProperty(value = "手机号") + private String phone; + //身份证号 + @ApiModelProperty(value = "身份证号") + private String userIdCard; + //民族编码 + @ApiModelProperty(value = "民族编码") + private String nation; + //民族名称 + @ApiModelProperty(value = "民族名称") + private String nationName; + //人脸照片url + @ApiModelProperty(value = "人脸照片url") + private String userAvatarUrl; + //现住址 + @ApiModelProperty(value = "现住址") + private String currentAddress; + //户口所在地 + @ApiModelProperty(value = "户口所在地") + private String locationAddress; + //文化程度 数据字典 + @ApiModelProperty(value = "文化程度 数据字典") + private String culturalLevel; + //文化程度名称 + @ApiModelProperty(value = "文化程度名称") + private String culturalLevelName; + //婚姻状态 + @ApiModelProperty(value = "婚姻状态") + private String maritalStatus; + //婚姻状态名称 + @ApiModelProperty(value = "婚姻状态名称") + private String maritalStatusName; + //政治面貌 + @ApiModelProperty(value = "政治面貌") + private String politicalAffiliation; + //政治面貌名称 + @ApiModelProperty(value = "政治面貌名称") + private String politicalAffiliationName; + //岗位名称 + @ApiModelProperty(value = "岗位名称") + private String postName; + //签到状态 0-未签到 1-已签到 + @ApiModelProperty(value = "签到状态 0-未签到 1-已签到") + private Integer signFlag; + //考试签到状态 0-未签到 1-已签到 + @ApiModelProperty(value = "考试签到状态 0-未签到 1-已签到") + private Integer examSignFlag; + //学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过 + @ApiModelProperty(value = "学员状态 0-未学习 1-已签到 2-考试通过 3-未签到 4-考试未通过") + private Integer state; + //相关方id集合 + @ApiModelProperty(value = "相关方id集合") + private String interestedIds; + //相关方名称集合 + @ApiModelProperty(value = "相关方名称集合") + private String interestedNames; + //项目id集合 + @ApiModelProperty(value = "项目id集合") + private String projectIds; + //项目名称集合 + @ApiModelProperty(value = "项目名称集合") + private String projectNames; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordDO.java new file mode 100644 index 0000000..276c048 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordDO.java @@ -0,0 +1,66 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Data +@TableName("student_exam_record") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class StudentExamRecordDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String studentExamRecordId; + //用户id + @ApiModelProperty(value = "用户id") + private Long userId; + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //企业id + @ApiModelProperty(value = "企业id") + private Long corpinfoId; + //班级-试卷 表ID + @ApiModelProperty(value = "班级-试卷 表ID") + private String classExamPaperId; + //试卷id + @ApiModelProperty(value = "试卷id") + private String examPaperId; + //考试时间 + @ApiModelProperty(value = "考试时间") + private String examTimeBegin; + //考试交卷时间 + @ApiModelProperty(value = "考试交卷时间") + private String examTimeEnd; + //考试总题数 + @ApiModelProperty(value = "考试总题数") + private Integer examQuestionNum; + //考试对题数 + @ApiModelProperty(value = "考试对题数") + private Integer examQuestionRight; + //考试错题数 + @ApiModelProperty(value = "考试错题数") + private Integer examQuestionWrong; + //考试得分 + @ApiModelProperty(value = "考试得分") + private Object examScore; + //考试结果 0 -不通过 1-通过 + @ApiModelProperty(value = "考试结果 0 -不通过 1-通过") + private Integer result; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordItemDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordItemDO.java new file mode 100644 index 0000000..cf23534 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentExamRecordItemDO.java @@ -0,0 +1,42 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Data +@TableName("student_exam_record_item") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class StudentExamRecordItemDO extends BaseDO { + //业务id + @ApiModelProperty(value = "业务id") + private String studentExamRecordItemId; + //考试记录id + @ApiModelProperty(value = "考试记录id") + private String studentExamRecordId; + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //习题ID + @ApiModelProperty(value = "习题ID") + private String questionId; + //学员答案 + @ApiModelProperty(value = "学员答案") + private String answer; + //正确答案 + @ApiModelProperty(value = "正确答案") + private String answerRight; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentSignDO.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentSignDO.java new file mode 100644 index 0000000..17b955c --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/dataobject/study/StudentSignDO.java @@ -0,0 +1,45 @@ +package com.zcloud.edu.persistence.dataobject.study; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.jjb.saas.framework.repository.basedo.BaseDO; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Data +@TableName("student_sign") +@NoArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class StudentSignDO extends BaseDO { + //学员id + @ApiModelProperty(value = "学员id") + private String studentId; + //业务id + @ApiModelProperty(value = "业务id") + private String studentSignId; + //班级id + @ApiModelProperty(value = "班级id") + private String classId; + //用户id + @ApiModelProperty(value = "用户id") + private Long userId; + //企业id + @ApiModelProperty(value = "企业id") + private Long corpinfoId; + //签到人脸路径 + @ApiModelProperty(value = "签到人脸路径") + private String faceUrl; + //签到类型 1-打卡签到 2-人脸签到 + @ApiModelProperty(value = "签到类型 1-打卡签到 2-人脸签到") + private Integer type; + + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassCurriculumMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassCurriculumMapper.java new file mode 100644 index 0000000..59b61c5 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassCurriculumMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:13 + */ +@Mapper +public interface ClassCurriculumMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassExamPaperMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassExamPaperMapper.java new file mode 100644 index 0000000..3ab03ef --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassExamPaperMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Mapper +public interface ClassExamPaperMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassMapper.java new file mode 100644 index 0000000..3f995ea --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/ClassMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Mapper +public interface ClassMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordItemMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordItemMapper.java new file mode 100644 index 0000000..676f37d --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordItemMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:18 + */ +@Mapper +public interface StudentExamRecordItemMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordMapper.java new file mode 100644 index 0000000..d302fc3 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentExamRecordMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:16 + */ +@Mapper +public interface StudentExamRecordMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentMapper.java new file mode 100644 index 0000000..2ad8eaa --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Mapper +public interface StudentMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentSignMapper.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentSignMapper.java new file mode 100644 index 0000000..511ebfd --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/mapper/study/StudentSignMapper.java @@ -0,0 +1,17 @@ +package com.zcloud.edu.persistence.mapper.study; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; +import org.apache.ibatis.annotations.Mapper; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Mapper +public interface StudentSignMapper extends BaseMapper { + +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassCurriculumRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassCurriculumRepositoryImpl.java new file mode 100644 index 0000000..5897c6d --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassCurriculumRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; +import com.zcloud.edu.persistence.mapper.study.ClassCurriculumMapper; +import com.zcloud.edu.persistence.repository.study.ClassCurriculumRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +@Service +@RequiredArgsConstructor +public class ClassCurriculumRepositoryImpl extends BaseRepositoryImpl implements ClassCurriculumRepository { + private final ClassCurriculumMapper classCurriculumMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = classCurriculumMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassExamPaperRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassExamPaperRepositoryImpl.java new file mode 100644 index 0000000..c559c89 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassExamPaperRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; +import com.zcloud.edu.persistence.mapper.study.ClassExamPaperMapper; +import com.zcloud.edu.persistence.repository.study.ClassExamPaperRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +@Service +@RequiredArgsConstructor +public class ClassExamPaperRepositoryImpl extends BaseRepositoryImpl implements ClassExamPaperRepository { + private final ClassExamPaperMapper classExamPaperMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = classExamPaperMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassRepositoryImpl.java new file mode 100644 index 0000000..6d294b7 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/ClassRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; +import com.zcloud.edu.persistence.mapper.study.ClassMapper; +import com.zcloud.edu.persistence.repository.study.ClassRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +@Service +@RequiredArgsConstructor +public class ClassRepositoryImpl extends BaseRepositoryImpl implements ClassRepository { + private final ClassMapper classMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = classMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordItemRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordItemRepositoryImpl.java new file mode 100644 index 0000000..2d5da09 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordItemRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; +import com.zcloud.edu.persistence.mapper.study.StudentExamRecordItemMapper; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordItemRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +@Service +@RequiredArgsConstructor +public class StudentExamRecordItemRepositoryImpl extends BaseRepositoryImpl implements StudentExamRecordItemRepository { + private final StudentExamRecordItemMapper studentExamRecordItemMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = studentExamRecordItemMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordRepositoryImpl.java new file mode 100644 index 0000000..e653132 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentExamRecordRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; +import com.zcloud.edu.persistence.mapper.study.StudentExamRecordMapper; +import com.zcloud.edu.persistence.repository.study.StudentExamRecordRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +@Service +@RequiredArgsConstructor +public class StudentExamRecordRepositoryImpl extends BaseRepositoryImpl implements StudentExamRecordRepository { + private final StudentExamRecordMapper studentExamRecordMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = studentExamRecordMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentRepositoryImpl.java new file mode 100644 index 0000000..b215531 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; +import com.zcloud.edu.persistence.mapper.study.StudentMapper; +import com.zcloud.edu.persistence.repository.study.StudentRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +@Service +@RequiredArgsConstructor +public class StudentRepositoryImpl extends BaseRepositoryImpl implements StudentRepository { + private final StudentMapper studentMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = studentMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentSignRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentSignRepositoryImpl.java new file mode 100644 index 0000000..99aee20 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/impl/study/StudentSignRepositoryImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.edu.persistence.repository.impl.study; + +import com.alibaba.cola.dto.PageResponse; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.jjb.saas.framework.repository.common.PageHelper; +import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; +import com.zcloud.edu.persistence.mapper.study.StudentSignMapper; +import com.zcloud.edu.persistence.repository.study.StudentSignRepository; +import com.zcloud.gbscommon.utils.PageQueryHelper; +import com.zcloud.gbscommon.utils.Query; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +@Service +@RequiredArgsConstructor +public class StudentSignRepositoryImpl extends BaseRepositoryImpl implements StudentSignRepository { + private final StudentSignMapper studentSignMapper; + + @Override + public PageResponse listPage(Map params) { + IPage iPage = new Query().getPage(params); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params); + queryWrapper.orderByDesc("create_time"); + IPage result = studentSignMapper.selectPage(iPage, queryWrapper); + return PageHelper.pageToResponse(result, result.getRecords()); + } +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassCurriculumRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassCurriculumRepository.java new file mode 100644 index 0000000..0cb28f0 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassCurriculumRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.ClassCurriculumDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:14 + */ +public interface ClassCurriculumRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassExamPaperRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassExamPaperRepository.java new file mode 100644 index 0000000..54b0088 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassExamPaperRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.ClassExamPaperDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:21 + */ +public interface ClassExamPaperRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassRepository.java new file mode 100644 index 0000000..6450df3 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/ClassRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.ClassDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:12 + */ +public interface ClassRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordItemRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordItemRepository.java new file mode 100644 index 0000000..2ef3418 --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordItemRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordItemDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:19 + */ +public interface StudentExamRecordItemRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordRepository.java new file mode 100644 index 0000000..57e7b8a --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentExamRecordRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.StudentExamRecordDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:17 + */ +public interface StudentExamRecordRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentRepository.java new file mode 100644 index 0000000..e53148b --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.StudentDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:15 + */ +public interface StudentRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentSignRepository.java b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentSignRepository.java new file mode 100644 index 0000000..a23612a --- /dev/null +++ b/web-infrastructure/src/main/java/com/zcloud/edu/persistence/repository/study/StudentSignRepository.java @@ -0,0 +1,18 @@ +package com.zcloud.edu.persistence.repository.study; + +import com.alibaba.cola.dto.PageResponse; +import com.jjb.saas.framework.repository.repo.BaseRepository; +import com.zcloud.edu.persistence.dataobject.study.StudentSignDO; + +import java.util.Map; + +/** + * web-infrastructure + * + * @Author zhangyue + * @Date 2026-01-13 14:18:20 + */ +public interface StudentSignRepository extends BaseRepository { + PageResponse listPage(Map params); +} + diff --git a/web-infrastructure/src/main/resources/mapper/study/ClassCurriculumMapper.xml b/web-infrastructure/src/main/resources/mapper/study/ClassCurriculumMapper.xml new file mode 100644 index 0000000..533e107 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/ClassCurriculumMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/ClassExamPaperMapper.xml b/web-infrastructure/src/main/resources/mapper/study/ClassExamPaperMapper.xml new file mode 100644 index 0000000..c3fe5c5 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/ClassExamPaperMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml b/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml new file mode 100644 index 0000000..21ea9b3 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordItemMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordItemMapper.xml new file mode 100644 index 0000000..5ac2ad7 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordItemMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordMapper.xml new file mode 100644 index 0000000..99d240b --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/StudentExamRecordMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml new file mode 100644 index 0000000..d280065 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentSignMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentSignMapper.xml new file mode 100644 index 0000000..e4b8556 --- /dev/null +++ b/web-infrastructure/src/main/resources/mapper/study/StudentSignMapper.xml @@ -0,0 +1,8 @@ + + + + + + +