91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 43.38MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-08-04
  • 語言: 數(shù)據(jù)庫
  • 標(biāo)簽:

資源簡介

spring+springmvc+mybatis搭建的一個(gè)華儀酒店管理系統(tǒng)附帶mysql數(shù)據(jù)庫(正式版),之前上傳錯(cuò)誤了,把典當(dāng)當(dāng)成酒店上傳了

資源截圖

代碼片段和文件信息

package?com.hy.controller;

import?java.io.IOException;
import?java.util.List;

import?net.sf.json.JSONSerializer;

import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.stereotype.Controller;
import?org.springframework.web.bind.annotation.RequestMapping;

import?com.hy.page.Page;
import?com.hy.po.Accountbook;
import?com.hy.po.Accountbookanditems;
import?com.hy.po.Accountitems;
import?com.hy.service.AccountbookService;
import?com.hy.service.AccountbookanditemsService;
import?com.hy.service.AccountitemsService;

@Controller
@RequestMapping(“accountBookController“)
public?class?AccountBookController?extends?baseController?{

@Autowired
private?AccountbookService?accountbookService;
@Autowired
private?AccountitemsService?accountitemsService;
@Autowired
private?AccountbookanditemsService?accountbookanditemsService;

@RequestMapping(“l(fā)ist“)
public?String?list(String?accountbookname?Page?page?){

page?=?accountbookService.queryPage(accountbookname?page);
model.addAttribute(“page“?page);
model.addAttribute(“accountbookname“?accountbookname);

return?“/accountbook/list“;
}

@RequestMapping(“addView“)
public?String?addView(){
List?accountitems?=?accountitemsService.findAll();
model.addAttribute(“accountitems“?accountitems);

return?“/accountbook/add“;
}

@RequestMapping(“save“)
public?String?save(Accountbook?accountbookint[]?accountitems){
try?{

int?id?=?accountbookService.insertSelective(accountbook);
Accountbookanditems?vo?=?new?Accountbookanditems();
int?count?=?0;
for?(int?i?:?accountitems)?{
vo.setAccountbookid(accountbook.getAccountbookid());
vo.setAccountitemsid(i);
count?=?accountbookanditemsService.insert(vo);
}
if(count>0?&&?id?>?0){

return?“redirect:/accountBookController/list.do“;
}else?{
return?“/error/500“;
}

}?catch?(Exception?e)?{
System.err.println(e.getMessage());
return?“/error/500“;
}
}

@RequestMapping(“updateView“)
public?String?updateView(int?id){
Accountbook?accountbook?=?accountbookService.selectByPrimaryKey(id);
List?accountitems?=?accountitemsService.findAll();

model.addAttribute(“accountitems“?accountitems);
model.addAttribute(“accountbook“?accountbook);
return?“/accountbook/update“;
}

@RequestMapping(“findByKey“)
public?void?findByKey(int?id){
List?vo?=?accountbookanditemsService.findByKey(id);
String?result?=?JSONSerializer.toJSON(vo).toString();
try?{
response.getWriter().write(result);

}?catch?(IOException?e)?{
System.err.println(e.getMessage());
}
}


@RequestMapping(“update“)
public?String?update(Accountbook?accountbookint[]?accountitems){
try?{

int?count?=?accountbookanditemsService.deleteByKey(accountbook.getAccountbookid());

boolean?status?=?false;

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-02-23?17:51??華儀酒店管理系統(tǒng)\
?????目錄???????????0??2017-03-02?17:47??華儀酒店管理系統(tǒng)\任務(wù)計(jì)劃書和需求\
?????文件????41409838??2016-11-02?08:49??華儀酒店管理系統(tǒng)\任務(wù)計(jì)劃書和需求\ok?華儀酒店管理軟件說明書.pdf
?????目錄???????????0??2017-02-23?17:51??華儀酒店管理系統(tǒng)\數(shù)據(jù)庫文件\
?????目錄???????????0??2017-02-23?17:51??華儀酒店管理系統(tǒng)\數(shù)據(jù)庫文件\pdm\
?????文件??????213679??2017-01-14?17:08??華儀酒店管理系統(tǒng)\數(shù)據(jù)庫文件\pdm\華儀酒店管理數(shù)據(jù)庫模型.pdm
?????目錄???????????0??2017-02-23?17:51??華儀酒店管理系統(tǒng)\數(shù)據(jù)庫文件\sql\
?????文件???????35290??2017-03-15?16:20??華儀酒店管理系統(tǒng)\數(shù)據(jù)庫文件\sql\sql.sql
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\
?????文件?????????845??2016-12-10?21:44??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.classpath
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\
?????文件?????????214??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\all-wcprops
?????文件?????????417??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\entries
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\prop-base\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\props\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\text-base\
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\tmp\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\tmp\prop-base\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\tmp\props\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.myeclipse\.svn\tmp\text-base\
?????文件?????????336??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.mymetadata
?????文件????????1764??2016-11-13?19:47??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.project
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\
?????文件?????????500??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.jsdtscope
?????目錄???????????0??2017-03-15?16:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.svn\
?????文件????????2171??2016-11-29?08:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.svn\all-wcprops
?????文件????????1586??2016-11-29?08:20??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.svn\entries
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.svn\prop-base\
?????目錄???????????0??2016-11-13?19:48??華儀酒店管理系統(tǒng)\源代碼\HotelManagementSystem\.settings\.svn\props\
............此處省略2448個(gè)文件信息

評(píng)論

共有 條評(píng)論