團隊名稱-衝刺日誌(第五天)
阿新 • • 發佈:2021-06-26
這個作業屬於哪個課程 | https://edu.cnblogs.com/campus/zswxy/computer-science-class1-2018 |
---|---|
這個作業要求在哪裡 | https://edu.cnblogs.com/campus/zswxy/computer-science-class1-2018/homework/12064 |
這個作業的目標 | 清晰自己的專案到底進行到了哪一天,完成度到底如何 |
小組的組號和隊名 | 第二組冰菓不是冰葉組 |
小組的隊長姓名 | 賀勇 |
SCRUM部分:
每個成員描述:
(1)我今天的進度(完成了哪些任務,花了多少時間,還剩餘多少時間),今天遇到了哪些問題,今天解決了哪些問題,(參見前面計劃的要求),明天的計劃。(可以以表格形式列出)
今天的進度 | 遇到的問題 | 解決問題方法 | 明天的計劃 |
---|---|---|---|
賀勇負責的管理員對查詢到的資料進行增刪改除 | 好多好多,點選無效,點選報錯,點選後404都有,連線不到資料庫都來了 | 在網上瘋狂找資料,問了問強的離譜大佬,加了一些相關QQ群總之就是瘋狂問,問問題又不收費 | 使用者部分的實現 |
陳強 | / | / | / |
黎志洋 | / | / | / |
羅宇樑 | / | / | / |
喻達龍 | / | / | / |
陳子揚 | / | / | / |
(2)團隊成員的工作如果是開發工作必須有程式碼簽入,給出簽入記錄對應的Issue內容與連結,程式碼必須每天可執行(當天截圖,沒有倒扣分)
程式碼
刪除查詢到的銷售資訊或使用者資訊
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.sql.*" %> <html> <head> <title>資料刪除</title> </head> <body> <%! public static final String DBDRIVER="com.mysql.cj.jdbc.Driver"; public static final String DBURL="jdbc:mysql://localhost:3307/runoob?useSSL=false&serverTimezone=UTC"; public static final String DBUSER="root"; public static final String DBPASS="13574231893"; %> <% Connection conn=null; PreparedStatement pst=null; int rs=0; String admid=request.getParameter("admid"); %> <% try{ Class.forName(DBDRIVER); conn=DriverManager.getConnection(DBURL,DBUSER,DBPASS); String sql_delete="delete from user where admid="+admid+""; //獲取要刪除的此id的資料庫資訊 pst=conn.prepareStatement(sql_delete); rs=pst.executeUpdate(); if(rs!=0){ out.println("刪除成功"); %> <jsp:forward page="cha1.jsp"> <jsp:param name="ids" value="id"/> </jsp:forward> <% } } catch(Exception e){ out.println(e); } %> </body> </html>
更新查詢到的銷售資訊和使用者資訊
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.sql.*" %> <html> <head> <title>資料更新</title> </head> <body> <%! public static final String DBDRIVER="com.mysql.cj.jdbc.Driver"; public static final String DBURL="jdbc:mysql://localhost:3307/runoob?useSSL=false&serverTimezone=UTC"; public static final String DBUSER="root"; public static final String DBPASS="13574231893"; %> <% Connection conn=null; PreparedStatement pst=null; int rs=0; String admid=null; String acount=null; String passwords=null; String Email=null; %> <% try{ Class.forName(DBDRIVER); conn=DriverManager.getConnection(DBURL,DBUSER,DBPASS); request.setCharacterEncoding("utf-8"); admid=request.getParameter("admid"); acount=request.getParameter(" acount"); passwords=request.getParameter("passwords"); Email=request.getParameter("Email"); String sql_update="update user set acount='"+acount+"',passwords='"+passwords+"',Email='"+Email+"'where admid='"+admid+"'"; pst=conn.prepareStatement(sql_update); rs=pst.executeUpdate(); if(rs!=0){ out.println("更新成功"); %> <jsp:forward page="select.jsp"></jsp:forward> <%--修改之後轉到展示頁面--%> <% } } catch(Exception e){ out.println(e); } %> </body> </html>
插入查詢到的銷售資訊和使用者資訊
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>資料插入</title>
</head>
<body>
<form action="doinsert.jsp" method="post">
<%--申請插入頁面--%>
姓名:<input type="text" name="username1" value=""><br>
使用者名稱:<input type="text" name="username2" value=""><br>
密 碼:<input type="password" name="password" value=""><br>
郵箱 :<input type="text" name="type" value=""><br>
使用者型別:
<select name="type">
<option>管理員</option>
<option>普通使用者</option>
</select><br>
<input type="submit" name="" value="新增">
</form>
</body>
</html>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.sql.*" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<%!
public static final String DBDRIVER="com.mysql.cj.jdbc.Driver";
public static final String DBURL="jdbc:mysql://localhost:3307/runoob?useSSL=false&serverTimezone=UTC";
public static final String DBUSER="root";
public static final String DBPASS="13574231893";
%>
<%!
String username1=null;
String username2=null;
String password=null;
String type=null;
Connection conn=null;
%>
<%
try{
Class.forName(DBDRIVER);
conn= DriverManager.getConnection(DBURL,DBUSER,DBPASS);
request.setCharacterEncoding("utf-8");
username1=request.getParameter("admid");
username2=request.getParameter("acount");
password=request.getParameter("passwords");
type=request.getParameter("Email");
String sql_insert="insert into user(admid,acount, passwords, Email) values ('"+username1+" ',' "+username2+"','"+password+"','"+type+"')";
PreparedStatement pst=conn.prepareStatement(sql_insert);
int rs=pst.executeUpdate();
if(rs!=0){
%>
<jsp:forward page="cha1.jsp"></jsp:forward>
<%
}
}
catch(Exception e){
out.println(e);
}
%>
</body>
</html>
截圖
一、一個按鈕的功能查詢插入刪除use表
1.查詢功能
2.插入資料後
3.刪除資料後
4.更新資料後
二、另一個按鈕實現查詢插入刪除saleinformation表
1.查詢功能
2.插入功能(插入記錄xiaowu)
3.刪除功能(刪除了zhangsan那條記錄)
4.更新功能(電腦件數改為4)
(3)團隊成員的工作如果是測試等其他工作,那要有具體的結果(截圖,測試報告等)
測試詳情見測試總結
(4)SCRUM 會議的照片一張,會議照片應該是每天衝刺會議的真實非擺拍照片,可以擋住臉保護隱私。照片如果出現複用的情況倒扣分。
(5)至少一張專案程式/模組的最新(執行)截圖。
查詢資料後
插入資料後
刪除資料後
更新資料後
PM 報告:
(1)整個專案預期的任務量 (任務量 = 所有工作的預期時間)和 目前已經花的時間 (所有記錄的 ‘已經花費的時間’),還剩餘的時間(所有工作的 ‘剩餘時間’)
任務量完成度 | 已花費時間 | 剩餘時間 |
---|---|---|
十分之六 | 七天半 | 五天半 |
(2)PM 畫出燃盡圖
(3)畫出一個“任務總量變化線”,體現在工作中發現了多少以前沒有想到的事情。
工作中發現了多少以前沒有想到的事情:可能有幾天專案會沒有進展,這幾天手都打酸了,我真的有點小裂開,還有些細節做得不夠好,我還得完善,剩下的給組員陳強接手使用者部分的功能實現吧,我乏了。
(4)表格形式列出每名成員的貢獻比
小組成員 | 貢獻比 |
---|---|
賀勇 | 24% |
陳強 | 18% |
喻達龍 | 16% |
羅宇樑 | 16% |
陳子楊 | 16% |
黎志洋 | 16% |