From 455c8934bd0dfcd773939cbe6dbf0c214425e036 Mon Sep 17 00:00:00 2001
From: bin <1178635798@qq.com>
Date: Tue, 25 Feb 2025 14:16:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E4=BD=9C=E4=B8=9A=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../template/dao/impl/NoticeDaoImpl.java | 2 ++
.../com/wetoband/template/entity/Notice.java | 3 ++
.../src/views/Home/AssignmentList.vue | 30 ++++++++++++++++++-
3 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/HomeWork-java/src/com/wetoband/template/dao/impl/NoticeDaoImpl.java b/HomeWork-java/src/com/wetoband/template/dao/impl/NoticeDaoImpl.java
index ded182e..d1eefc0 100644
--- a/HomeWork-java/src/com/wetoband/template/dao/impl/NoticeDaoImpl.java
+++ b/HomeWork-java/src/com/wetoband/template/dao/impl/NoticeDaoImpl.java
@@ -2,11 +2,13 @@ package com.wetoband.template.dao.impl;
import com.wetoband.template.dao.NoticeDao;
import com.wetoband.template.entity.Notice;
+import org.springframework.stereotype.Repository;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
+@Repository
public class NoticeDaoImpl implements NoticeDao {
@Override
diff --git a/HomeWork-java/src/com/wetoband/template/entity/Notice.java b/HomeWork-java/src/com/wetoband/template/entity/Notice.java
index a392612..6397c62 100644
--- a/HomeWork-java/src/com/wetoband/template/entity/Notice.java
+++ b/HomeWork-java/src/com/wetoband/template/entity/Notice.java
@@ -1,8 +1,11 @@
package com.wetoband.template.entity;
+import lombok.Data;
+
import javax.persistence.Column;
import javax.persistence.Table;
+@Data
@Table(name = "notice")
public class Notice {
@Column(name = "student_id")
diff --git a/HomeWork-vite/src/views/Home/AssignmentList.vue b/HomeWork-vite/src/views/Home/AssignmentList.vue
index 374de07..68fbbbc 100644
--- a/HomeWork-vite/src/views/Home/AssignmentList.vue
+++ b/HomeWork-vite/src/views/Home/AssignmentList.vue
@@ -1,6 +1,6 @@
-
+
@@ -8,15 +8,20 @@
+
+