package com.yuki.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.yuki.dao.Staff_Jdbc; import com.yuki.staff.Staff; /** * 删除员工控制器 * @author Ryosetsu_Tsan * */ @WebServlet("/staffInfoDelete") @SuppressWarnings("serial") public class StaffInfoDeleteServlet extends HttpServlet{ @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { this.doPost(req, resp); } @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { //根据id删除 Staff staff=new Staff(); staff.setId(Integer.parseInt(req.getParameter("id"))); boolean ret=new Staff_Jdbc().shan(staff); req.getRequestDispatcher("staffInfoList").forward(req,resp); } }

long123_356 LV8
2024年12月22日
cong58cong LV8
2024年6月26日
今晚都别睡啦 LV9
2024年6月1日
微信网友_6906962132258816 LV7
2024年3月22日
RAINK_L LV3
2023年12月13日
jiemomo LV12
2023年10月19日
微信网友_6672184532766720 LV3
2023年10月10日
诺一啊啊啊啊啊 LV3
2023年6月15日
KAIzx11 LV7
2023年6月13日
gala209 LV3
2023年2月2日

444105047 LV6
1月17日
cxdddd LV1
2024年12月31日
yongle LV1
2024年12月31日
long123_356 LV8
2024年12月22日
120_wu LV4
2024年12月2日
yimaoermao LV1
2024年11月28日
张泽帅 LV6
2024年10月18日
040313 LV1
2024年10月16日
4324234ty
2024年7月2日
暂无贡献等级
cong58cong LV8
2024年6月26日