瀏覽代碼

Merge branch 'dev' of https://git.yingcaibx.com/tl/api into dev

brealinxx 5 月之前
父節點
當前提交
9a0ffd0f47
共有 100 個文件被更改,包括 152 次插入490 次删除
  1. 0 1
      src/main/java/com/xjrsoft/module/assessment/controller/AssessmentTemplateController.java
  2. 1 7
      src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanAnswerClassDto.java
  3. 1 7
      src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanAnswerStudentDto.java
  4. 1 7
      src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanQuestionDto.java
  5. 2 9
      src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentTemplatePlanDto.java
  6. 0 2
      src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanAnswerStudentDto.java
  7. 0 1
      src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanAnswerSubmitDto.java
  8. 0 1
      src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanSubmitDto.java
  9. 0 6
      src/main/java/com/xjrsoft/module/assessment/dto/AssessmentTemplatePlanPageDto.java
  10. 0 11
      src/main/java/com/xjrsoft/module/assessment/dto/UpdateAssessmentTemplatePlanDto.java
  11. 2 6
      src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanAnswerClass.java
  12. 2 6
      src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanAnswerStudent.java
  13. 1 6
      src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanQuestion.java
  14. 0 2
      src/main/java/com/xjrsoft/module/assessment/entity/AssessmentQuestion.java
  15. 3 5
      src/main/java/com/xjrsoft/module/assessment/entity/AssessmentTemplatePlan.java
  16. 0 1
      src/main/java/com/xjrsoft/module/assessment/mapper/AssessmentPlanAnswerStudentMapper.java
  17. 0 1
      src/main/java/com/xjrsoft/module/assessment/mapper/AssessmentPlanQuestionMapper.java
  18. 0 6
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanAnswerClassVo.java
  19. 0 6
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanAnswerStudentVo.java
  20. 0 6
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanQuestionVo.java
  21. 0 1
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentQuestionOptionResultVo.java
  22. 0 1
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentQuestionVo.java
  23. 0 7
      src/main/java/com/xjrsoft/module/assessment/vo/AssessmentTemplatePlanVo.java
  24. 13 7
      src/main/java/com/xjrsoft/module/asset/controller/WfAssetManageController.java
  25. 17 18
      src/main/java/com/xjrsoft/module/asset/controller/WfAssetManageInventoryController.java
  26. 1 6
      src/main/java/com/xjrsoft/module/asset/dto/AddWfAssetManageDto.java
  27. 1 7
      src/main/java/com/xjrsoft/module/asset/dto/AddWfAssetManageInventoryDto.java
  28. 0 8
      src/main/java/com/xjrsoft/module/asset/dto/UpdateWfAssetManageDto.java
  29. 0 8
      src/main/java/com/xjrsoft/module/asset/dto/UpdateWfAssetManageInventoryDto.java
  30. 0 2
      src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageConditionalSearchQueryDto.java
  31. 0 7
      src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageInventoryPageDto.java
  32. 0 6
      src/main/java/com/xjrsoft/module/asset/dto/WfAssetManagePageDto.java
  33. 0 1
      src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageSelectRecordQueryDto.java
  34. 2 5
      src/main/java/com/xjrsoft/module/asset/entity/WfAssetManage.java
  35. 2 6
      src/main/java/com/xjrsoft/module/asset/entity/WfAssetManageInventory.java
  36. 0 1
      src/main/java/com/xjrsoft/module/asset/mapper/WfAssetManageInventoryMapper.java
  37. 0 2
      src/main/java/com/xjrsoft/module/asset/mapper/WfAssetManageMapper.java
  38. 0 3
      src/main/java/com/xjrsoft/module/asset/service/IWfAssetManageInventoryService.java
  39. 0 3
      src/main/java/com/xjrsoft/module/asset/service/IWfAssetManageService.java
  40. 0 2
      src/main/java/com/xjrsoft/module/asset/service/impl/WfAssetManageInventoryServiceImpl.java
  41. 0 1
      src/main/java/com/xjrsoft/module/asset/service/impl/WfAssetManageServiceImpl.java
  42. 0 7
      src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageInventoryPageVo.java
  43. 0 6
      src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageInventoryVo.java
  44. 0 6
      src/main/java/com/xjrsoft/module/asset/vo/WfAssetManagePageVo.java
  45. 0 4
      src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageVo.java
  46. 11 11
      src/main/java/com/xjrsoft/module/attendance/controller/AttendanceMessageSetController.java
  47. 11 13
      src/main/java/com/xjrsoft/module/attendance/controller/StudentAttendanceRecordController.java
  48. 11 12
      src/main/java/com/xjrsoft/module/attendance/controller/TeacherAttendanceRecordController.java
  49. 1 7
      src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceMessageSetDto.java
  50. 1 7
      src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceMessageUserRelationDto.java
  51. 0 1
      src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceRuleCategoryDto.java
  52. 1 7
      src/main/java/com/xjrsoft/module/attendance/dto/AddStudentAttendanceRecordDto.java
  53. 1 7
      src/main/java/com/xjrsoft/module/attendance/dto/AddTeacherAttendanceRecordDto.java
  54. 0 7
      src/main/java/com/xjrsoft/module/attendance/dto/AttendanceMessageSetPageDto.java
  55. 0 2
      src/main/java/com/xjrsoft/module/attendance/dto/AttendanceStatisticDto.java
  56. 0 4
      src/main/java/com/xjrsoft/module/attendance/dto/StudentAttendanceRecordPageDto.java
  57. 0 4
      src/main/java/com/xjrsoft/module/attendance/dto/TeacherAttendanceRecordPageDto.java
  58. 0 9
      src/main/java/com/xjrsoft/module/attendance/dto/UpdateAttendanceMessageSetDto.java
  59. 0 8
      src/main/java/com/xjrsoft/module/attendance/dto/UpdateStudentAttendanceRecordDto.java
  60. 0 8
      src/main/java/com/xjrsoft/module/attendance/dto/UpdateTeacherAttendanceRecordDto.java
  61. 3 5
      src/main/java/com/xjrsoft/module/attendance/entity/AttendanceMessageSet.java
  62. 2 6
      src/main/java/com/xjrsoft/module/attendance/entity/AttendanceMessageUserRelation.java
  63. 2 6
      src/main/java/com/xjrsoft/module/attendance/entity/StudentAttendanceRecord.java
  64. 2 6
      src/main/java/com/xjrsoft/module/attendance/entity/TeacherAttendanceRecord.java
  65. 0 1
      src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceMessageSetMapper.java
  66. 0 1
      src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceMessageUserRelationMapper.java
  67. 0 2
      src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceRuleCategoryMapper.java
  68. 0 1
      src/main/java/com/xjrsoft/module/attendance/mapper/StudentAttendanceRecordMapper.java
  69. 0 1
      src/main/java/com/xjrsoft/module/attendance/mapper/TeacherAttendanceRecordMapper.java
  70. 1 2
      src/main/java/com/xjrsoft/module/attendance/service/IAttendanceMessageSetService.java
  71. 0 3
      src/main/java/com/xjrsoft/module/attendance/service/IStudentAttendanceRecordService.java
  72. 0 3
      src/main/java/com/xjrsoft/module/attendance/service/ITeacherAttendanceRecordService.java
  73. 4 5
      src/main/java/com/xjrsoft/module/attendance/service/impl/AttendanceMessageSetServiceImpl.java
  74. 0 6
      src/main/java/com/xjrsoft/module/attendance/service/impl/StudentAttendanceRecordServiceImpl.java
  75. 0 6
      src/main/java/com/xjrsoft/module/attendance/service/impl/TeacherAttendanceRecordServiceImpl.java
  76. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageSetPageVo.java
  77. 0 5
      src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageSetVo.java
  78. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageUserRelationVo.java
  79. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/StudentAttendanceRecordPageVo.java
  80. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/StudentAttendanceRecordVo.java
  81. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/TeacherAttendanceRecordPageVo.java
  82. 0 6
      src/main/java/com/xjrsoft/module/attendance/vo/TeacherAttendanceRecordVo.java
  83. 0 2
      src/main/java/com/xjrsoft/module/attendance/vo/TeacherStatisticsVo.java
  84. 20 3
      src/main/java/com/xjrsoft/module/authority/utils/AuthorityUtil.java
  85. 23 7
      src/main/java/com/xjrsoft/module/base/controller/BaseClassCourseController.java
  86. 1 7
      src/main/java/com/xjrsoft/module/base/dto/AddBaseClassCourseDto.java
  87. 0 1
      src/main/java/com/xjrsoft/module/base/dto/AddBaseClassPageDto.java
  88. 0 1
      src/main/java/com/xjrsoft/module/base/dto/BaseClassCourseListDto.java
  89. 0 6
      src/main/java/com/xjrsoft/module/base/dto/BaseClassCoursePageDto.java
  90. 0 2
      src/main/java/com/xjrsoft/module/base/dto/BaseClassPageDto.java
  91. 0 8
      src/main/java/com/xjrsoft/module/base/dto/UpdateBaseClassCourseDto.java
  92. 0 3
      src/main/java/com/xjrsoft/module/base/dto/UpdateBaseClassPageDto.java
  93. 2 6
      src/main/java/com/xjrsoft/module/base/entity/BaseClassCourse.java
  94. 0 2
      src/main/java/com/xjrsoft/module/base/entity/CourseTextbookPair.java
  95. 6 1
      src/main/java/com/xjrsoft/module/base/service/impl/BaseClassCourseServiceImpl.java
  96. 0 2
      src/main/java/com/xjrsoft/module/base/vo/BaseClassCourseListVo.java
  97. 0 7
      src/main/java/com/xjrsoft/module/base/vo/BaseClassCoursePageVo.java
  98. 0 6
      src/main/java/com/xjrsoft/module/base/vo/BaseClassCourseVo.java
  99. 0 1
      src/main/java/com/xjrsoft/module/base/vo/BaseClassPageVo.java
  100. 0 1
      src/main/java/com/xjrsoft/module/concat/controller/ConcatController.java

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/controller/AssessmentTemplateController.java

@@ -1,7 +1,6 @@
 package com.xjrsoft.module.assessment.controller;
 
 import cn.dev33.satoken.annotation.SaCheckPermission;
-import cn.hutool.core.bean.BeanUtil;
 import cn.hutool.core.util.StrUtil;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;

+ 1 - 7
src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanAnswerClassDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.assessment.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanAnswerStudentDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.assessment.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentPlanQuestionDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.assessment.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 2 - 9
src/main/java/com/xjrsoft/module/assessment/dto/AddAssessmentTemplatePlanDto.java

@@ -2,17 +2,10 @@ package com.xjrsoft.module.assessment.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
+import java.io.Serializable;
 import java.util.Date;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanQuestion;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerClass;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerStudent;
+import java.util.List;
 
 
 

+ 0 - 2
src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanAnswerStudentDto.java

@@ -5,8 +5,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
-import java.io.Serializable;
-
 
 /**
 * @title: 考核答题提交入参

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanAnswerSubmitDto.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.assessment.dto;
 
-import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/dto/AssessmentPlanSubmitDto.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.assessment.dto;
 
-import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;

+ 0 - 6
src/main/java/com/xjrsoft/module/assessment/dto/AssessmentTemplatePlanPageDto.java

@@ -4,12 +4,6 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 11
src/main/java/com/xjrsoft/module/assessment/dto/UpdateAssessmentTemplatePlanDto.java

@@ -2,17 +2,6 @@ package com.xjrsoft.module.assessment.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanQuestion;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerClass;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerStudent;
 
 
 

+ 2 - 6
src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanAnswerClass.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.assessment.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 2 - 6
src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanAnswerStudent.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.assessment.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 1 - 6
src/main/java/com/xjrsoft/module/assessment/entity/AssessmentPlanQuestion.java

@@ -4,16 +4,11 @@ import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 0 - 2
src/main/java/com/xjrsoft/module/assessment/entity/AssessmentQuestion.java

@@ -5,14 +5,12 @@ import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
 import java.util.Date;
-import java.util.List;
 
 
 /**

+ 3 - 5
src/main/java/com/xjrsoft/module/assessment/entity/AssessmentTemplatePlan.java

@@ -2,19 +2,17 @@ package com.xjrsoft.module.assessment.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
 import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
+import java.util.List;
 
 
 /**

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/mapper/AssessmentPlanAnswerStudentMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.assessment.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.assessment.dto.AssessmentTemplatePlanSureDto;
 import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerStudent;

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/mapper/AssessmentPlanQuestionMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.assessment.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.assessment.entity.AssessmentPlanQuestion;
 import org.apache.ibatis.annotations.Mapper;

+ 0 - 6
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanAnswerClassVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.assessment.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 考核计划答题参与班级表单出参
 * @Author dzx

+ 0 - 6
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanAnswerStudentVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.assessment.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 考核计划答题参与学生表单出参
 * @Author dzx

+ 0 - 6
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentPlanQuestionVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.assessment.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 考核模板题目表单出参
 * @Author dzx

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentQuestionOptionResultVo.java

@@ -4,7 +4,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
-import java.util.List;
 
 /**
 * @title: 考核题目答案出参

+ 0 - 1
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentQuestionVo.java

@@ -1,7 +1,6 @@
 package com.xjrsoft.module.assessment.vo;
 
 import com.xjrsoft.common.model.tree.ITreeNode;
-import com.xjrsoft.module.asset.vo.PlaceTreeVo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 

+ 0 - 7
src/main/java/com/xjrsoft/module/assessment/vo/AssessmentTemplatePlanVo.java

@@ -3,14 +3,7 @@ package com.xjrsoft.module.assessment.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanQuestion;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerClass;
-import com.xjrsoft.module.assessment.entity.AssessmentPlanAnswerStudent;
 
 /**
 * @title: 考核计划表单出参

+ 13 - 7
src/main/java/com/xjrsoft/module/asset/controller/WfAssetManageController.java

@@ -3,7 +3,6 @@ package com.xjrsoft.module.asset.controller;
 import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
 import com.alibaba.excel.support.ExcelTypeEnum;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
 import com.xjrsoft.common.model.result.RT;
@@ -11,7 +10,11 @@ import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
 import com.xjrsoft.common.utils.TreeUtil;
 import com.xjrsoft.common.utils.VoToColumnUtil;
-import com.xjrsoft.module.asset.dto.*;
+import com.xjrsoft.module.asset.dto.AddWfAssetManageDto;
+import com.xjrsoft.module.asset.dto.UpdateWfAssetManageDto;
+import com.xjrsoft.module.asset.dto.WfAssetManageConditionalSearchQueryDto;
+import com.xjrsoft.module.asset.dto.WfAssetManagePageDto;
+import com.xjrsoft.module.asset.dto.WfAssetManageSelectRecordQueryDto;
 import com.xjrsoft.module.asset.entity.WfAssetManage;
 import com.xjrsoft.module.asset.service.IWfAssetManageService;
 import com.xjrsoft.module.asset.vo.BaseOfficeBuildVo;
@@ -22,18 +25,21 @@ import com.xjrsoft.module.base.entity.BaseClassroom;
 import com.xjrsoft.module.base.entity.BaseOfficeBuild;
 import com.xjrsoft.module.base.service.IBaseClassroomService;
 import com.xjrsoft.module.base.service.IBaseOfficeBuildService;
-import com.xjrsoft.module.oa.entity.WfOaPull;
-import com.xjrsoft.module.oa.vo.FileReceivePullPageVo;
 import com.xjrsoft.module.organization.entity.Department;
-import com.xjrsoft.module.organization.entity.User;
 import com.xjrsoft.module.system.entity.DictionaryDetail;
 import com.xjrsoft.module.teacher.entity.XjrUser;
-import com.xjrsoft.module.textbook.dto.TextbookClaimExportQueryDto;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
 import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import javax.validation.Valid;
 import java.io.ByteArrayOutputStream;

+ 17 - 18
src/main/java/com/xjrsoft/module/asset/controller/WfAssetManageInventoryController.java

@@ -1,41 +1,40 @@
 package com.xjrsoft.module.asset.controller;
 
+import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.util.ObjectUtil;
-import cn.hutool.core.util.StrUtil;
+import com.alibaba.excel.EasyExcel;
+import com.alibaba.excel.support.ExcelTypeEnum;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
-import com.xjrsoft.common.constant.GlobalConstant;
-import com.baomidou.mybatisplus.core.toolkit.StringPool;
+import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
-import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.utils.VoToColumnUtil;
 import com.xjrsoft.module.asset.dto.AddWfAssetManageInventoryDto;
 import com.xjrsoft.module.asset.dto.UpdateWfAssetManageInventoryDto;
-import cn.dev33.satoken.annotation.SaCheckPermission;
-import com.alibaba.excel.EasyExcel;
-import org.springframework.web.multipart.MultipartFile;
-import java.io.IOException;
-import com.alibaba.excel.support.ExcelTypeEnum;
-import org.springframework.http.ResponseEntity;
-import java.io.ByteArrayOutputStream;
-import java.util.ArrayList;
-
 import com.xjrsoft.module.asset.dto.WfAssetManageInventoryPageDto;
 import com.xjrsoft.module.asset.entity.WfAssetManageInventory;
 import com.xjrsoft.module.asset.service.IWfAssetManageInventoryService;
 import com.xjrsoft.module.asset.vo.WfAssetManageInventoryPageVo;
-
 import com.xjrsoft.module.asset.vo.WfAssetManageInventoryVo;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
 
 import javax.validation.Valid;
-import javax.validation.constraints.NotNull;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.util.ArrayList;
 import java.util.List;
 
 /**

+ 1 - 6
src/main/java/com/xjrsoft/module/asset/dto/AddWfAssetManageDto.java

@@ -2,14 +2,9 @@ package com.xjrsoft.module.asset.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
+import java.io.Serializable;
 import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/asset/dto/AddWfAssetManageInventoryDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.asset.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 0 - 8
src/main/java/com/xjrsoft/module/asset/dto/UpdateWfAssetManageDto.java

@@ -2,14 +2,6 @@ package com.xjrsoft.module.asset.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 0 - 8
src/main/java/com/xjrsoft/module/asset/dto/UpdateWfAssetManageInventoryDto.java

@@ -2,14 +2,6 @@ package com.xjrsoft.module.asset.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 0 - 2
src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageConditionalSearchQueryDto.java

@@ -4,8 +4,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
-import java.util.List;
-
 
 /**
 * @title: 资产管理分页查询入参

+ 0 - 7
src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageInventoryPageDto.java

@@ -1,15 +1,8 @@
 package com.xjrsoft.module.asset.dto;
 
 import com.xjrsoft.common.page.PageInput;
-import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 6
src/main/java/com/xjrsoft/module/asset/dto/WfAssetManagePageDto.java

@@ -4,12 +4,6 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 1
src/main/java/com/xjrsoft/module/asset/dto/WfAssetManageSelectRecordQueryDto.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.asset.dto;
 
-import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;

+ 2 - 5
src/main/java/com/xjrsoft/module/asset/entity/WfAssetManage.java

@@ -2,18 +2,15 @@ package com.xjrsoft.module.asset.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
 import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 2 - 6
src/main/java/com/xjrsoft/module/asset/entity/WfAssetManageInventory.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.asset.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 0 - 1
src/main/java/com/xjrsoft/module/asset/mapper/WfAssetManageInventoryMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.asset.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.asset.entity.WfAssetManageInventory;
 import org.apache.ibatis.annotations.Mapper;

+ 0 - 2
src/main/java/com/xjrsoft/module/asset/mapper/WfAssetManageMapper.java

@@ -1,7 +1,6 @@
 package com.xjrsoft.module.asset.mapper;
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.asset.dto.WfAssetManageConditionalSearchQueryDto;
 import com.xjrsoft.module.asset.dto.WfAssetManagePageDto;
@@ -12,7 +11,6 @@ import com.xjrsoft.module.asset.vo.WfAssetManageQueryVo;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
-import java.io.ByteArrayOutputStream;
 import java.util.List;
 
 /**

+ 0 - 3
src/main/java/com/xjrsoft/module/asset/service/IWfAssetManageInventoryService.java

@@ -1,10 +1,7 @@
 package com.xjrsoft.module.asset.service;
 
-import com.baomidou.mybatisplus.extension.service.IService;
 import com.github.yulichang.base.MPJBaseService;
 import com.xjrsoft.module.asset.entity.WfAssetManageInventory;
-import lombok.Data;
-import java.util.List;
 
 /**
 * @title: 资产管理盘点

+ 0 - 3
src/main/java/com/xjrsoft/module/asset/service/IWfAssetManageService.java

@@ -1,17 +1,14 @@
 package com.xjrsoft.module.asset.service;
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.service.IService;
 import com.github.yulichang.base.MPJBaseService;
 import com.xjrsoft.module.asset.dto.WfAssetManageConditionalSearchQueryDto;
 import com.xjrsoft.module.asset.dto.WfAssetManagePageDto;
 import com.xjrsoft.module.asset.dto.WfAssetManageSelectRecordQueryDto;
 import com.xjrsoft.module.asset.entity.WfAssetManage;
 import com.xjrsoft.module.asset.vo.WfAssetManagePageVo;
-import lombok.Data;
 
 import java.io.ByteArrayOutputStream;
-import java.util.List;
 
 /**
 * @title: 资产管理

+ 0 - 2
src/main/java/com/xjrsoft/module/asset/service/impl/WfAssetManageInventoryServiceImpl.java

@@ -11,8 +11,6 @@ import com.xjrsoft.module.asset.entity.WfAssetManageInventory;
 import com.xjrsoft.module.asset.mapper.WfAssetManageInventoryMapper;
 import com.xjrsoft.module.asset.service.IWfAssetManageInventoryService;
 import com.xjrsoft.module.asset.service.IWfAssetManageService;
-import com.xjrsoft.module.asset.vo.BaseOfficeBuildVo;
-import com.xjrsoft.module.base.entity.BaseOfficeBuild;
 import com.xjrsoft.module.concat.service.IXjrUserService;
 import com.xjrsoft.module.organization.entity.Department;
 import com.xjrsoft.module.organization.entity.Role;

+ 0 - 1
src/main/java/com/xjrsoft/module/asset/service/impl/WfAssetManageServiceImpl.java

@@ -22,7 +22,6 @@ import org.springframework.stereotype.Service;
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
-import java.lang.reflect.Field;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;

+ 0 - 7
src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageInventoryPageVo.java

@@ -1,17 +1,10 @@
 package com.xjrsoft.module.asset.vo;
 
 import com.alibaba.excel.annotation.ExcelProperty;
-import com.alibaba.excel.annotation.ExcelIgnore;
 import com.alibaba.excel.annotation.write.style.ContentStyle;
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.Date;
 
 /**

+ 0 - 6
src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageInventoryVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.asset.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 资产管理盘点表单出参
 * @Author szs

+ 0 - 6
src/main/java/com/xjrsoft/module/asset/vo/WfAssetManagePageVo.java

@@ -1,16 +1,10 @@
 package com.xjrsoft.module.asset.vo;
 
 import com.baomidou.mybatisplus.annotation.TableId;
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
 import java.math.BigDecimal;
-import java.util.Date;
 
 /**
 * @title: 资产管理分页列表出参

+ 0 - 4
src/main/java/com/xjrsoft/module/asset/vo/WfAssetManageVo.java

@@ -3,11 +3,7 @@ package com.xjrsoft.module.asset.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
 import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
 
 /**
 * @title: 资产管理表单出参

+ 11 - 11
src/main/java/com/xjrsoft/module/attendance/controller/AttendanceMessageSetController.java

@@ -1,28 +1,22 @@
 package com.xjrsoft.module.attendance.controller;
 
+import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
 import cn.hutool.core.util.ObjectUtil;
-import cn.hutool.core.util.StrUtil;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.github.yulichang.toolkit.MPJWrappers;
-import com.xjrsoft.common.constant.GlobalConstant;
-import com.baomidou.mybatisplus.core.toolkit.StringPool;
+import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
-import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.utils.VoToColumnUtil;
 import com.xjrsoft.module.attendance.dto.AddAttendanceMessageSetDto;
 import com.xjrsoft.module.attendance.dto.AttendanceMessageSetDto;
-import com.xjrsoft.module.attendance.dto.UpdateAttendanceMessageSetDto;
-import cn.dev33.satoken.annotation.SaCheckPermission;
-
 import com.xjrsoft.module.attendance.dto.AttendanceMessageSetPageDto;
+import com.xjrsoft.module.attendance.dto.UpdateAttendanceMessageSetDto;
 import com.xjrsoft.module.attendance.entity.AttendanceMessageSet;
 import com.xjrsoft.module.attendance.service.IAttendanceMessageSetService;
 import com.xjrsoft.module.attendance.vo.AttendanceMessageSetPageVo;
-
 import com.xjrsoft.module.attendance.vo.AttendanceMessageSetVo;
 import com.xjrsoft.module.attendance.vo.AttendanceMessageUserRelationVo;
 import com.xjrsoft.module.base.entity.BaseClass;
@@ -34,10 +28,16 @@ import com.xjrsoft.module.teacher.entity.XjrUser;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import javax.validation.Valid;
-import javax.validation.constraints.NotNull;
 import java.util.ArrayList;
 import java.util.List;
 

+ 11 - 13
src/main/java/com/xjrsoft/module/attendance/controller/StudentAttendanceRecordController.java

@@ -1,33 +1,25 @@
 package com.xjrsoft.module.attendance.controller;
 
+import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
 import cn.hutool.core.util.ObjectUtil;
 import cn.hutool.core.util.StrUtil;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.github.yulichang.toolkit.MPJWrappers;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
-import com.xjrsoft.common.constant.GlobalConstant;
-import com.baomidou.mybatisplus.core.toolkit.StringPool;
+import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
-import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.utils.VoToColumnUtil;
 import com.xjrsoft.module.attendance.dto.AddStudentAttendanceRecordDto;
 import com.xjrsoft.module.attendance.dto.StudentAttendanceRecordClassPageDto;
-import com.xjrsoft.module.attendance.dto.UpdateStudentAttendanceRecordDto;
-import cn.dev33.satoken.annotation.SaCheckPermission;
-
 import com.xjrsoft.module.attendance.dto.StudentAttendanceRecordPageDto;
+import com.xjrsoft.module.attendance.dto.UpdateStudentAttendanceRecordDto;
 import com.xjrsoft.module.attendance.entity.StudentAttendanceRecord;
-import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
 import com.xjrsoft.module.attendance.service.IStudentAttendanceRecordService;
 import com.xjrsoft.module.attendance.vo.StudentAttendanceRecordClassPageVo;
 import com.xjrsoft.module.attendance.vo.StudentAttendanceRecordPageVo;
-
 import com.xjrsoft.module.attendance.vo.StudentAttendanceRecordVo;
-import com.xjrsoft.module.attendance.vo.TeacherAttendanceRecordPageVo;
 import com.xjrsoft.module.base.entity.BaseClass;
 import com.xjrsoft.module.outint.entity.TeacherOutInRecord;
 import com.xjrsoft.module.system.entity.DictionaryDetail;
@@ -35,10 +27,16 @@ import com.xjrsoft.module.teacher.entity.XjrUser;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import javax.validation.Valid;
-import javax.validation.constraints.NotNull;
 import java.util.List;
 
 /**

+ 11 - 12
src/main/java/com/xjrsoft/module/attendance/controller/TeacherAttendanceRecordController.java

@@ -1,41 +1,40 @@
 package com.xjrsoft.module.attendance.controller;
 
+import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
 import cn.hutool.core.util.ObjectUtil;
 import cn.hutool.core.util.StrUtil;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.github.yulichang.toolkit.MPJWrappers;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
-import com.xjrsoft.common.constant.GlobalConstant;
-import com.baomidou.mybatisplus.core.toolkit.StringPool;
+import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
-import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.utils.VoToColumnUtil;
 import com.xjrsoft.module.attendance.dto.AddTeacherAttendanceRecordDto;
-import com.xjrsoft.module.attendance.dto.UpdateTeacherAttendanceRecordDto;
-import cn.dev33.satoken.annotation.SaCheckPermission;
-
 import com.xjrsoft.module.attendance.dto.TeacherAttendanceRecordPageDto;
+import com.xjrsoft.module.attendance.dto.UpdateTeacherAttendanceRecordDto;
 import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
 import com.xjrsoft.module.attendance.service.ITeacherAttendanceRecordService;
 import com.xjrsoft.module.attendance.vo.TeacherAttendanceRecordPageVo;
-
 import com.xjrsoft.module.attendance.vo.TeacherAttendanceRecordVo;
 import com.xjrsoft.module.organization.entity.UserDeptRelation;
 import com.xjrsoft.module.outint.entity.TeacherOutInRecord;
-import com.xjrsoft.module.outint.vo.TeacherOutInRecordPageVo;
 import com.xjrsoft.module.system.entity.DictionaryDetail;
 import com.xjrsoft.module.teacher.entity.XjrUser;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import javax.validation.Valid;
-import javax.validation.constraints.NotNull;
 import java.util.List;
 
 /**

+ 1 - 7
src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceMessageSetDto.java

@@ -2,15 +2,9 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
+import java.io.Serializable;
 import java.util.List;
-import java.util.Date;
-import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
 
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceMessageUserRelationDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 0 - 1
src/main/java/com/xjrsoft/module/attendance/dto/AddAttendanceRuleCategoryDto.java

@@ -5,7 +5,6 @@ import lombok.Data;
 
 import java.io.Serializable;
 import java.time.LocalDate;
-import java.util.Date;
 import java.util.List;
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/attendance/dto/AddStudentAttendanceRecordDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 1 - 7
src/main/java/com/xjrsoft/module/attendance/dto/AddTeacherAttendanceRecordDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 0 - 7
src/main/java/com/xjrsoft/module/attendance/dto/AttendanceMessageSetPageDto.java

@@ -1,15 +1,8 @@
 package com.xjrsoft.module.attendance.dto;
 
 import com.xjrsoft.common.page.PageInput;
-import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 2
src/main/java/com/xjrsoft/module/attendance/dto/AttendanceStatisticDto.java

@@ -5,8 +5,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
-import java.time.LocalDate;
-
 @Data
 @EqualsAndHashCode(callSuper = false)
 public class AttendanceStatisticDto extends PageInput {

+ 0 - 4
src/main/java/com/xjrsoft/module/attendance/dto/StudentAttendanceRecordPageDto.java

@@ -5,12 +5,8 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
 
-import java.time.LocalTime;
 import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 4
src/main/java/com/xjrsoft/module/attendance/dto/TeacherAttendanceRecordPageDto.java

@@ -5,12 +5,8 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
 
-import java.time.LocalTime;
 import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 9
src/main/java/com/xjrsoft/module/attendance/dto/UpdateAttendanceMessageSetDto.java

@@ -5,15 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
-import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
 
 
 

+ 0 - 8
src/main/java/com/xjrsoft/module/attendance/dto/UpdateStudentAttendanceRecordDto.java

@@ -2,14 +2,6 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 0 - 8
src/main/java/com/xjrsoft/module/attendance/dto/UpdateTeacherAttendanceRecordDto.java

@@ -2,14 +2,6 @@ package com.xjrsoft.module.attendance.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 3 - 5
src/main/java/com/xjrsoft/module/attendance/entity/AttendanceMessageSet.java

@@ -2,19 +2,17 @@ package com.xjrsoft.module.attendance.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
 import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
+import java.util.List;
 
 
 /**

+ 2 - 6
src/main/java/com/xjrsoft/module/attendance/entity/AttendanceMessageUserRelation.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.attendance.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 2 - 6
src/main/java/com/xjrsoft/module/attendance/entity/StudentAttendanceRecord.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.attendance.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 2 - 6
src/main/java/com/xjrsoft/module/attendance/entity/TeacherAttendanceRecord.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.attendance.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 0 - 1
src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceMessageSetMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.attendance.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.attendance.entity.AttendanceMessageSet;
 import org.apache.ibatis.annotations.Mapper;

+ 0 - 1
src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceMessageUserRelationMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.attendance.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
 import org.apache.ibatis.annotations.Mapper;

+ 0 - 2
src/main/java/com/xjrsoft/module/attendance/mapper/AttendanceRuleCategoryMapper.java

@@ -7,8 +7,6 @@ import com.xjrsoft.module.attendance.entity.AttendanceRuleCategory;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
-import java.util.List;
-
 /**
 * @title: 考勤规则
 * @Author dzx

+ 0 - 1
src/main/java/com/xjrsoft/module/attendance/mapper/StudentAttendanceRecordMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.attendance.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.attendance.entity.StudentAttendanceRecord;
 import org.apache.ibatis.annotations.Mapper;

+ 0 - 1
src/main/java/com/xjrsoft/module/attendance/mapper/TeacherAttendanceRecordMapper.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.attendance.mapper;
 
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.github.yulichang.base.MPJBaseMapper;
 import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
 import org.apache.ibatis.annotations.Mapper;

+ 1 - 2
src/main/java/com/xjrsoft/module/attendance/service/IAttendanceMessageSetService.java

@@ -1,10 +1,9 @@
 package com.xjrsoft.module.attendance.service;
 
-import com.baomidou.mybatisplus.extension.service.IService;
 import com.github.yulichang.base.MPJBaseService;
 import com.xjrsoft.module.attendance.dto.UpdateAttendanceMessageSetDto;
 import com.xjrsoft.module.attendance.entity.AttendanceMessageSet;
-import lombok.Data;
+
 import java.util.List;
 
 /**

+ 0 - 3
src/main/java/com/xjrsoft/module/attendance/service/IStudentAttendanceRecordService.java

@@ -1,10 +1,7 @@
 package com.xjrsoft.module.attendance.service;
 
-import com.baomidou.mybatisplus.extension.service.IService;
 import com.github.yulichang.base.MPJBaseService;
 import com.xjrsoft.module.attendance.entity.StudentAttendanceRecord;
-import lombok.Data;
-import java.util.List;
 
 /**
 * @title: 学生考勤记录

+ 0 - 3
src/main/java/com/xjrsoft/module/attendance/service/ITeacherAttendanceRecordService.java

@@ -1,10 +1,7 @@
 package com.xjrsoft.module.attendance.service;
 
-import com.baomidou.mybatisplus.extension.service.IService;
 import com.github.yulichang.base.MPJBaseService;
 import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
-import lombok.Data;
-import java.util.List;
 
 /**
 * @title: 教师考勤记录

+ 4 - 5
src/main/java/com/xjrsoft/module/attendance/service/impl/AttendanceMessageSetServiceImpl.java

@@ -1,22 +1,21 @@
 package com.xjrsoft.module.attendance.service.impl;
 
 import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.util.ObjectUtil;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.github.yulichang.base.MPJBaseServiceImpl;
 import com.xjrsoft.module.attendance.dto.UpdateAttendanceMessageSetDto;
-import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
-import com.xjrsoft.module.attendance.mapper.AttendanceMessageUserRelationMapper;
 import com.xjrsoft.module.attendance.entity.AttendanceMessageSet;
+import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
 import com.xjrsoft.module.attendance.mapper.AttendanceMessageSetMapper;
+import com.xjrsoft.module.attendance.mapper.AttendanceMessageUserRelationMapper;
 import com.xjrsoft.module.attendance.service.IAttendanceMessageSetService;
 import lombok.AllArgsConstructor;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
+
 import java.util.List;
 import java.util.Objects;
 import java.util.stream.Collectors;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 
 /**
 * @title: 考勤消息设置

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/service/impl/StudentAttendanceRecordServiceImpl.java

@@ -1,17 +1,11 @@
 package com.xjrsoft.module.attendance.service.impl;
 
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.github.yulichang.base.MPJBaseServiceImpl;
 import com.xjrsoft.module.attendance.entity.StudentAttendanceRecord;
 import com.xjrsoft.module.attendance.mapper.StudentAttendanceRecordMapper;
 import com.xjrsoft.module.attendance.service.IStudentAttendanceRecordService;
 import lombok.AllArgsConstructor;
 import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-import java.util.List;
-import java.util.Objects;
-import java.util.stream.Collectors;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 
 /**
 * @title: 学生考勤记录

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/service/impl/TeacherAttendanceRecordServiceImpl.java

@@ -1,17 +1,11 @@
 package com.xjrsoft.module.attendance.service.impl;
 
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.github.yulichang.base.MPJBaseServiceImpl;
 import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
 import com.xjrsoft.module.attendance.mapper.TeacherAttendanceRecordMapper;
 import com.xjrsoft.module.attendance.service.ITeacherAttendanceRecordService;
 import lombok.AllArgsConstructor;
 import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-import java.util.List;
-import java.util.Objects;
-import java.util.stream.Collectors;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 
 /**
 * @title: 教师考勤记录

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageSetPageVo.java

@@ -1,14 +1,8 @@
 package com.xjrsoft.module.attendance.vo;
 
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.Date;
 
 /**

+ 0 - 5
src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageSetVo.java

@@ -3,12 +3,7 @@ package com.xjrsoft.module.attendance.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.List;
-import java.util.Date;
-import com.xjrsoft.module.attendance.entity.AttendanceMessageUserRelation;
 
 /**
 * @title: 考勤消息设置表单出参

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/AttendanceMessageUserRelationVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.attendance.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 考勤消息提醒人员表单出参
 * @Author dzx

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/StudentAttendanceRecordPageVo.java

@@ -1,14 +1,8 @@
 package com.xjrsoft.module.attendance.vo;
 
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.Date;
 
 /**

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/StudentAttendanceRecordVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.attendance.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 学生考勤记录表单出参
 * @Author dzx

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/TeacherAttendanceRecordPageVo.java

@@ -1,14 +1,8 @@
 package com.xjrsoft.module.attendance.vo;
 
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.Date;
 
 /**

+ 0 - 6
src/main/java/com/xjrsoft/module/attendance/vo/TeacherAttendanceRecordVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.attendance.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 教师考勤记录表单出参
 * @Author dzx

+ 0 - 2
src/main/java/com/xjrsoft/module/attendance/vo/TeacherStatisticsVo.java

@@ -3,8 +3,6 @@ package com.xjrsoft.module.attendance.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-
 /**
 * @title: 教职工统计
 * @Author dzx

+ 20 - 3
src/main/java/com/xjrsoft/module/authority/utils/AuthorityUtil.java

@@ -13,14 +13,23 @@ import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
 import com.baomidou.mybatisplus.core.toolkit.StringPool;
 import com.fasterxml.jackson.core.type.TypeReference;
 import com.xjrsoft.common.constant.GlobalConstant;
-import com.xjrsoft.common.enums.*;
+import com.xjrsoft.common.enums.DataAuthConditionTypeEnum;
+import com.xjrsoft.common.enums.DataAuthFieldTypeEnum;
+import com.xjrsoft.common.enums.DataAuthMethodEnum;
+import com.xjrsoft.common.enums.DataAuthScopeEnum;
+import com.xjrsoft.common.enums.DataAuthTypeEnum;
 import com.xjrsoft.common.exception.MyException;
 import com.xjrsoft.common.utils.RedisUtil;
 import com.xjrsoft.module.authority.entity.DataAuth;
 import com.xjrsoft.module.authority.entity.DataAuthConfig;
 import com.xjrsoft.module.authority.entity.DataAuthRelation;
 import com.xjrsoft.module.authority.entity.DataAuthTableRelation;
-import com.xjrsoft.module.organization.entity.*;
+import com.xjrsoft.module.organization.entity.Department;
+import com.xjrsoft.module.organization.entity.Post;
+import com.xjrsoft.module.organization.entity.User;
+import com.xjrsoft.module.organization.entity.UserDeptRelation;
+import com.xjrsoft.module.organization.entity.UserPostRelation;
+import com.xjrsoft.module.organization.entity.UserRoleRelation;
 import lombok.SneakyThrows;
 import net.sf.jsqlparser.expression.Expression;
 import net.sf.jsqlparser.expression.LongValue;
@@ -28,7 +37,15 @@ import net.sf.jsqlparser.expression.Parenthesis;
 import net.sf.jsqlparser.expression.StringValue;
 import net.sf.jsqlparser.expression.operators.conditional.AndExpression;
 import net.sf.jsqlparser.expression.operators.conditional.OrExpression;
-import net.sf.jsqlparser.expression.operators.relational.*;
+import net.sf.jsqlparser.expression.operators.relational.EqualsTo;
+import net.sf.jsqlparser.expression.operators.relational.ExpressionList;
+import net.sf.jsqlparser.expression.operators.relational.GreaterThan;
+import net.sf.jsqlparser.expression.operators.relational.GreaterThanEquals;
+import net.sf.jsqlparser.expression.operators.relational.InExpression;
+import net.sf.jsqlparser.expression.operators.relational.LikeExpression;
+import net.sf.jsqlparser.expression.operators.relational.MinorThan;
+import net.sf.jsqlparser.expression.operators.relational.MinorThanEquals;
+import net.sf.jsqlparser.expression.operators.relational.NotEqualsTo;
 import net.sf.jsqlparser.parser.CCJSqlParserUtil;
 import net.sf.jsqlparser.schema.Column;
 

+ 23 - 7
src/main/java/com/xjrsoft/module/base/controller/BaseClassCourseController.java

@@ -4,15 +4,23 @@ import cn.dev33.satoken.annotation.SaCheckPermission;
 import cn.hutool.core.bean.BeanUtil;
 import com.alibaba.excel.EasyExcel;
 import com.alibaba.excel.support.ExcelTypeEnum;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
 import com.xjrsoft.common.model.result.RT;
 import com.xjrsoft.common.page.ConventPage;
 import com.xjrsoft.common.page.PageOutput;
 import com.xjrsoft.common.utils.VoToColumnUtil;
-import com.xjrsoft.module.base.dto.*;
-import com.xjrsoft.module.base.entity.*;
+import com.xjrsoft.module.base.dto.AddBaseClassCourseDto;
+import com.xjrsoft.module.base.dto.BaseClassCourseListDto;
+import com.xjrsoft.module.base.dto.BaseClassCoursePageDto;
+import com.xjrsoft.module.base.dto.ClassCourseReuseDto;
+import com.xjrsoft.module.base.dto.UpdateBaseClassCourseDto;
+import com.xjrsoft.module.base.entity.BaseClass;
+import com.xjrsoft.module.base.entity.BaseClassCourse;
+import com.xjrsoft.module.base.entity.BaseCourseSubject;
+import com.xjrsoft.module.base.entity.BaseSemester;
+import com.xjrsoft.module.base.entity.ClassCourseTextbook;
+import com.xjrsoft.module.base.entity.CourseBookInfo;
 import com.xjrsoft.module.base.service.IBaseClassCourseService;
 import com.xjrsoft.module.base.service.impl.BaseCourseSubjectServiceImpl;
 import com.xjrsoft.module.base.vo.BaseClassCourseExportListVo;
@@ -20,22 +28,30 @@ import com.xjrsoft.module.base.vo.BaseClassCourseListVo;
 import com.xjrsoft.module.base.vo.BaseClassCoursePageVo;
 import com.xjrsoft.module.base.vo.BaseClassCourseVo;
 import com.xjrsoft.module.textbook.entity.Textbook;
-import com.xjrsoft.module.textbook.entity.TextbookStudentClaim;
 import com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl;
-import com.xjrsoft.module.textbook.vo.TextbookStudentClaimPageVo;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.multipart.MultipartFile;
 
 import javax.validation.Valid;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+import java.util.Map;
 
 /**
  * @title: 班级课程

+ 1 - 7
src/main/java/com/xjrsoft/module/base/dto/AddBaseClassCourseDto.java

@@ -2,14 +2,8 @@ package com.xjrsoft.module.base.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-import com.fasterxml.jackson.annotation.JsonFormat;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
+import java.io.Serializable;
 
 
 

+ 0 - 1
src/main/java/com/xjrsoft/module/base/dto/AddBaseClassPageDto.java

@@ -4,7 +4,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
-import java.util.Date;
 
 /**
  * @author dzx

+ 0 - 1
src/main/java/com/xjrsoft/module/base/dto/BaseClassCourseListDto.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.base.dto;
 
-import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;

+ 0 - 6
src/main/java/com/xjrsoft/module/base/dto/BaseClassCoursePageDto.java

@@ -4,12 +4,6 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.Date;
 
 
 /**

+ 0 - 2
src/main/java/com/xjrsoft/module/base/dto/BaseClassPageDto.java

@@ -4,8 +4,6 @@ import com.xjrsoft.common.page.PageInput;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.io.Serializable;
-
 /**
  * @author dzx
  * @date 2024年4月28日

+ 0 - 8
src/main/java/com/xjrsoft/module/base/dto/UpdateBaseClassCourseDto.java

@@ -2,14 +2,6 @@ package com.xjrsoft.module.base.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import java.io.Serializable;
-
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import java.util.List;
-import java.util.Date;
 
 
 

+ 0 - 3
src/main/java/com/xjrsoft/module/base/dto/UpdateBaseClassPageDto.java

@@ -3,9 +3,6 @@ package com.xjrsoft.module.base.dto;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.io.Serializable;
-import java.util.Date;
-
 /**
  * @author dzx
  * @date 2024年4月28日

+ 2 - 6
src/main/java/com/xjrsoft/module/base/entity/BaseClassCourse.java

@@ -2,18 +2,14 @@ package com.xjrsoft.module.base.entity;
 
 import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.github.yulichang.annotation.EntityMapping;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+
 import java.io.Serializable;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
 import java.util.Date;
 
 

+ 0 - 2
src/main/java/com/xjrsoft/module/base/entity/CourseTextbookPair.java

@@ -1,7 +1,5 @@
 package com.xjrsoft.module.base.entity;
 
-import com.xjrsoft.common.page.PageInput;
-import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 @Data

+ 6 - 1
src/main/java/com/xjrsoft/module/base/service/impl/BaseClassCourseServiceImpl.java

@@ -16,7 +16,12 @@ import lombok.AllArgsConstructor;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.TreeMap;
 
 /**
 * @title: 班级课程

+ 0 - 2
src/main/java/com/xjrsoft/module/base/vo/BaseClassCourseListVo.java

@@ -5,8 +5,6 @@ import com.alibaba.excel.annotation.write.style.ContentStyle;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.util.Date;
-
 /**
 * @title: 班级课程分页列表出参
 * @Author brealinxx

+ 0 - 7
src/main/java/com/xjrsoft/module/base/vo/BaseClassCoursePageVo.java

@@ -1,17 +1,10 @@
 package com.xjrsoft.module.base.vo;
 
 import com.alibaba.excel.annotation.ExcelProperty;
-import com.alibaba.excel.annotation.ExcelIgnore;
 import com.alibaba.excel.annotation.write.style.ContentStyle;
-import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import com.xjrsoft.common.annotation.Trans;
-import com.xjrsoft.common.enums.TransType;
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
 import java.util.Date;
 
 /**

+ 0 - 6
src/main/java/com/xjrsoft/module/base/vo/BaseClassCourseVo.java

@@ -3,12 +3,6 @@ package com.xjrsoft.module.base.vo;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-import java.time.LocalTime;
-import java.time.LocalDateTime;
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Date;
-
 /**
 * @title: 班级课程表单出参
 * @Author brealinxx

+ 0 - 1
src/main/java/com/xjrsoft/module/base/vo/BaseClassPageVo.java

@@ -1,6 +1,5 @@
 package com.xjrsoft.module.base.vo;
 
-import com.alibaba.excel.annotation.write.style.ContentStyle;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 

+ 0 - 1
src/main/java/com/xjrsoft/module/concat/controller/ConcatController.java

@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
 import com.xjrsoft.common.enums.DeleteMark;
 import com.xjrsoft.common.model.result.RT;
-import com.xjrsoft.common.utils.TreeUtil;
 import com.xjrsoft.module.concat.dto.ConcatTreeDto;
 import com.xjrsoft.module.concat.service.IXjrUserService;
 import com.xjrsoft.module.concat.vo.ConcatTreeVo;

Some files were not shown because too many files changed in this diff