陈士柏 2 年 前
コミット
99009a1fe7

+ 43 - 0
src/main/java/com/template/services/SmartScoreManageService.java

@@ -0,0 +1,43 @@
+package com.template.services;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.template.model.evaluate.teacher.SimpleScore;
+import com.template.model.evaluate.teacher.SimpleScoreDetailList;
+import com.template.model.evaluate.teacher.SmartScoreManage;
+import com.template.model.result.PageUtils;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 平分项管理 服务类
+ * </p>
+ *
+ * @author ceshi
+ * @since 2024-01-02
+ */
+public interface SmartScoreManageService extends IService<SmartScoreManage> {
+
+    public int insertSmartScoreManage(SmartScoreManage sa);
+
+    public int updateSmartScoreManage(SmartScoreManage sa);
+
+    public PageUtils<SmartScoreManage> queryPageSmartScoreManage(int currentPage, int pageCount, String name);
+
+    public int deleteSmartScoreManageById(int id);
+
+    public SmartScoreManage getSmartScoreManageById(int id);
+
+    public List<SmartScoreManage> getScoreManageList();
+
+    public List<SmartScoreManage> getScoreManageByKey(QueryWrapper<SmartScoreManage> queryWrapper);
+
+    public String getMaxTerm();
+
+    public SimpleScore queryScoreDetail(String term);
+
+    public SimpleScoreDetailList queryTeacherScoreDetail(String term, String cardNo);
+
+    public SimpleScoreDetailList queryNoTeacherScoreDetail(String term);
+}

+ 35 - 0
src/main/java/com/template/services/SmartSubjectManageService.java

@@ -0,0 +1,35 @@
+package com.template.services;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.template.model.evaluate.student.SmartSubjectManage;
+import com.template.model.result.PageUtils;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 平分项管理 服务类
+ * </p>
+ *
+ * @author ceshi
+ * @since 2024-01-08
+ */
+public interface SmartSubjectManageService extends IService<SmartSubjectManage> {
+
+    public int insertSmartSubjectManage(SmartSubjectManage sa);
+
+    public int updateSmartSubjectManage(SmartSubjectManage sa);
+
+    public PageUtils<SmartSubjectManage> queryPageSmartSubjectManage(int currentPage, int pageCount, QueryWrapper<SmartSubjectManage> queryWrapper);
+
+    public int deleteSmartSubjectManageById(int id);
+
+    public SmartSubjectManage getSmartSubjectManageById(int id);
+
+    public List<SmartSubjectManage> getSmartSubjectManageList();
+
+    public List<SmartSubjectManage> getSmartSubjectManageByKey(QueryWrapper<SmartSubjectManage> queryWrapper);
+
+    public String getMaxTerm();
+}

+ 34 - 0
src/main/java/com/template/services/SmartSubjectRuleService.java

@@ -0,0 +1,34 @@
+package com.template.services;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.template.model.evaluate.student.SmartSubjectRule;
+import com.template.model.result.PageUtils;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 平分项管理 服务类
+ * </p>
+ *
+ * @author ceshi
+ * @since 2024-01-08
+ */
+public interface SmartSubjectRuleService extends IService<SmartSubjectRule> {
+
+    public int insertSmartSubjectRule(SmartSubjectRule sa);
+
+    public int updateSmartSubjectRule(SmartSubjectRule sa);
+
+    public PageUtils<SmartSubjectRule> queryPageSmartSubjectRule(int currentPage, int pageCount, QueryWrapper<SmartSubjectRule> queryWrapper);
+
+    public int deleteSmartSubjectRuleById(int id);
+
+    public SmartSubjectRule getSmartSubjectRuleById(int id);
+
+    public List<SmartSubjectRule> getSmartSubjectRuleList();
+
+    public List<SmartSubjectRule> getSmartSubjectRuleByKey(QueryWrapper<SmartSubjectRule> queryWrapper);
+
+}