资源简介
apartment.zip
代码片段和文件信息
package com.design.apartment.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.design.apartment.pojo.Apartment;
import com.design.apartment.service.ApartmentService;
import com.github.pagehelper.PageInfo;
@Controller
@RequestMapping(“/apartment“)
public class ApartmentController {
@Autowired
ApartmentService apartmentService;
//新增公寓
@RequestMapping(value = “/addApartment“)
@ResponseBody
public String addApartment(Apartment apartment) {
System.out.println(apartment);
int result = apartmentService.addApartment(apartment);
if (result > 0) {
return “addApartmentSuccess“;
}
return “false“;
}
//查询公寓 默认查询所有
@RequestMapping(“/queryApartment“)
@ResponseBody
public PageInfo queryApartment(String nameInteger pageNumInteger pageSize){
System.out.println(“###########################“);
System.out.println(“name“+name);
System.out.println(“pageNum“+pageNum);
System.out.println(“pageSize“+pageSize);
System.out.println(“###########################“);
List apartment=apartmentService.queryApartment(name pageNum pageSize);
for (Apartment apartment2 : apartment) {
System.out.println(apartment2);
}
return new PageInfo(apartment);
}
//查询一个或一类公寓
public List queryOneOrMoreApartment(){
return null;
}
//清空公寓
@RequestMapping(“/updateNullBeds“)
@ResponseBody
public int updateNullBeds(String id){
apartmentService.updateNullBeds(id);
return 1;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-24 21:04 apartment\
文件 1536 2018-05-24 09:43 apartment\.classpath
文件 1446 2018-04-24 21:05 apartment\.project
目录 0 2018-04-24 21:04 apartment\.settings\
文件 639 2018-04-13 09:48 apartment\.settings\.jsdtscope
文件 83 2018-04-13 10:49 apartment\.settings\org.eclipse.core.resources.prefs
文件 430 2018-04-13 10:04 apartment\.settings\org.eclipse.jdt.core.prefs
文件 90 2018-04-13 09:48 apartment\.settings\org.eclipse.m2e.core.prefs
文件 669 2018-04-24 21:07 apartment\.settings\org.eclipse.wst.common.component
文件 321 2018-04-13 15:07 apartment\.settings\org.eclipse.wst.common.project.facet.core.prefs.xm
文件 346 2018-04-13 15:07 apartment\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2018-04-13 09:48 apartment\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2018-04-13 09:48 apartment\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 50 2018-04-13 09:48 apartment\.settings\org.eclipse.wst.validation.prefs
目录 0 2018-04-24 21:04 apartment\emailjars\
文件 188671 2016-11-09 21:44 apartment\emailjars\commons-beanutils-1.7.0.jar
文件 571259 2016-11-09 21:44 apartment\emailjars\commons-collections-3.2.jar
文件 51239 2016-11-11 14:32 apartment\emailjars\commons-email-1.4.jar
文件 245274 2016-11-09 21:40 apartment\emailjars\commons-lang-2.3.jar
文件 26388 2016-11-09 21:43 apartment\emailjars\commons-logging.jar
文件 19171 2016-11-11 14:32 apartment\emailjars\dsn.jar
文件 77826 2016-11-09 21:43 apartment\emailjars\ezmorph-1.0.3.jar
文件 14769 2016-11-11 14:32 apartment\emailjars\gimap.jar
文件 181492 2016-11-11 14:32 apartment\emailjars\imap.jar
文件 653275 2018-04-22 11:42 apartment\emailjars\javax.mail.jar
文件 521000 2016-11-11 14:32 apartment\emailjars\mail.jar
文件 279893 2016-11-11 14:32 apartment\emailjars\mailapi.jar
文件 44405 2016-11-11 14:32 apartment\emailjars\pop3.jar
文件 52869 2016-11-11 14:32 apartment\emailjars\smtp.jar
目录 0 2018-04-24 21:04 apartment\generator\
文件 2191 2018-05-21 20:02 apartment\generator\generator.xm
............此处省略418个文件信息
- 上一篇:显微镜光学设计与计算
- 下一篇:格理论和密码学
相关资源
- shen_j_9612574.zip
- ET199狗写狗程序狗数据写狗程序写狗视
- PDF打印机破解版pdfFactory.Pro.zip
- NIITsm3在线考试切图有答案
- k60409.pdf
- 红蜘蛛软件.rar
- 2ahwp4.rar
- thinkgem-jeesite4-master.zip
- 组合答案.zip
- b2f660aed9284154afc0d45c45eb04fe.zip
- 326e42de0f904729a2a9d27539d0f543.zip
- 3b415c3eb87d4e0a88a07e8299ea4b2a.zip
- 2eb5efc9c29b4c3585bb03030272e835.zip
- 5419da33c2cc4d4c82f518b6c2c86d0f.zip
- a76ef0c8207447188509c83a0bc5412f.zip
- b5f50707683f4c8eb0a86a22d95052a6.zip
- a65303c06bfc45eeab774e3dc8931003.zip
- 1a013c41e45c42b3b94710d82efe07d6.zip
- 103e65004e274205a5983c6ed6473bf6.zip
- 569640d10b334e32a85fc856def1daff.zip
- 71c81110c9f24c1aab653c40f8566b6f.zip
- OneDrive_2019-03-01.zip
- 5eba672a7f244f2bba6dc93e912172b7.zip
- 2387377a89124256b945dd13e7b5c2f3.zip
- 2d0cdf9098cb4e779e81a15ca8d48198.zip
- 1e4f43daa36449e3a47bb7eb463ae63f.zip
- 13c9781824654a32848959bc1e28af7d.zip
- IDM6.31.3绿色版.zip
- b197f6f048494deaa79e2cde4ddbf2f3.zip
- 86fdc1d065d049ea9dd1100f5185425d.zip
评论
共有 条评论