Subversion Repositories hayato1

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/hayato/src/main/java/org/drug/store/ZaikoController.java
16,9 → 16,11
private ZaikoService zaikoService;
@RequestMapping(path="/zaiko",method = RequestMethod.GET)
String index(Model model) {
List<Zaiko>list = this.zaikoService.getZaikoList();
model.addAttribute("list", list);
String index(Model model) {
List<Zaiko>list = this.zaikoService.getZaikoList();
model.addAttribute("list", list);
System.out.println("list.size:" + list.size());
 
return "zaiko/zaiko";
}
}
}
/hayato/src/main/java/org/drug/store/ZaikoMapper.java
13,6 → 13,10
{
List<Zaiko> list = new ArrayList<>();
String test = "aaa";
ArrayList<String> arrTest = new ArrayList<String>();
arrTest.add(test);
arrTest.add(test);
System.out.println("arrTest.length :" + arrTest.size());
do {
Zaiko zaiko = new Zaiko();
zaiko.setUserid(rs.getString("userid"));