• 大小: 20.34MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-14
  • 语言: 其他
  • 标签: Intellij  IDEA  2018  汉化  

资源简介

Intellij IDEA汉化包。支持最新版本2018.直接复制lib即可。file-seting可用。 设置下菜单可正常打开。

资源截图

代码片段和文件信息

package com.car.controller;
import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.car.domain.Car_second;
import com.car.domain.Carorder;
import com.car.domain.User;
import com.car.serviceinter.CarServiceInter;
import com.car.serviceinter.OrderServiceInter;
@Controller
@RequestMapping(“/car“)
public class CarController {

@Autowired
@Qualifier(“carService“)
private CarServiceInter carServiceInter;

@Autowired
@Qualifier(“orderService“)
private OrderServiceInter orderServiceInter;

//根据一级分类得到车辆
//传回到前端
@RequestMapping(value=“/getSecondCarByFirstCarId“)
public void getSecondCarByFirstCarId(@RequestParam(“leixing“) Integer leixing
HttpServletResponse response) throws IOException
{
response.setCharacterEncoding(“utf-8“);
System.out.println(“得到的值为:“+leixing);
String str=“[“;
List cars=carServiceInter.getSecondCarByFirstCarId(leixing);
for(Car_second aa:cars)
{
str=str+“{\“secondid\“:“+“\““+aa.getSecondid()+“\““+“\“secondname\“:“+“\““+aa.getSecondname()+“\““+“}“;
}
int a=str.lastIndexOf(‘‘);
str=str.substring(0a);
str=str+“]“;
System.out.println(str);
response.getWriter().println(str);
}


//删除该方法无用
@RequestMapping(value=“/getSecondCarByFirstCarId2“)
public String getSecondCarByFirstCarId2(@RequestParam(“leixing“) Integer leixingModel model)
{
System.out.println(“得到的值为:“+leixing);
List cars=carServiceInter.getSecondCarByFirstCarId(leixing);
for(Car_second aa:cars)
{
System.out.println(aa.getPicture());
}
model.addAttribute(“cars“cars);
return “Car“;
}

//前台的分页分页查询车辆
@RequestMapping(value=“/getSecondCarByFirstCarIdFenYe“)
public String getSecondCarByFirstCarIdFenYe(@RequestParam(“leixing“) Integer leixing
@RequestParam(“pageNow“) Integer pageNowModel model)
{
int count=0;
Integer total=carServiceInter.selectSecondCarCountBySecondId(leixing);
if(total%16==0)
{
count=total/16;
}
else
{
count=total/16+1;
}
//第三个参数为pageSize*(pageNow-1)
//5为pageSize
int start=(pageNow-1)*16;
List cars=carServiceInter.getSecondByFenYe(leixing16start);
for(Car_second aa:cars)
{
System.out.println(aa.getPicture());
}
model.addAttribute(“pageNow“ pageNow);
model.addAttribute(“count“count);
model.addAttribute

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-11 23:12  SSM_Car\
     文件        4774  2018-03-15 14:39  SSM_Car\.classpath
     目录           0  2018-03-07 15:00  SSM_Car\.myeclipse\
     文件         294  2018-05-20 19:08  SSM_Car\.mymetadata
     文件        1225  2018-03-07 15:26  SSM_Car\.project
     目录           0  2018-04-11 23:12  SSM_Car\.settings\
     文件         330  2018-03-07 15:40  SSM_Car\.settings\org.eclipse.jdt.core.prefs
     目录           0  2018-04-11 23:12  SSM_Car\src\
     文件        2311  2018-03-07 15:27  SSM_Car\src\applicationContext.xml
     目录           0  2018-04-11 23:12  SSM_Car\src\com\
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\controller\
     文件        7469  2018-03-16 16:00  SSM_Car\src\com\car\controller\CarController.java
     文件        6027  2018-03-15 23:18  SSM_Car\src\com\car\controller\OrderController.java
     文件       16635  2018-03-17 13:53  SSM_Car\src\com\car\controller\UserController.java
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\dao\
     文件        2953  2018-03-15 22:26  SSM_Car\src\com\car\dao\CarDao.java
     文件        4656  2018-03-14 21:02  SSM_Car\src\com\car\dao\OrderDao.java
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\dao\provider\
     文件        1861  2018-03-14 14:51  SSM_Car\src\com\car\dao\provider\CarOrderDynaSqlProvider.java
     文件         578  2018-03-14 19:38  SSM_Car\src\com\car\dao\provider\CarsecondDynaSqlProvider.java
     文件         800  2018-03-15 14:54  SSM_Car\src\com\car\dao\provider\UserDynaSqlProvider.java
     文件        2613  2018-03-17 13:40  SSM_Car\src\com\car\dao\UserDao.java
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\domain\
     文件        1572  2018-03-10 21:51  SSM_Car\src\com\car\domain\Carorder.java
     文件         522  2018-03-08 20:27  SSM_Car\src\com\car\domain\Car_first.java
     文件         988  2018-03-11 16:38  SSM_Car\src\com\car\domain\Car_second.java
     文件         496  2018-03-16 22:20  SSM_Car\src\com\car\domain\GuanLiYuan.java
     文件         521  2018-03-15 16:50  SSM_Car\src\com\car\domain\JiHuo.java
     文件        1745  2018-03-14 21:54  SSM_Car\src\com\car\domain\User.java
     目录           0  2018-04-11 23:12  SSM_Car\src\com\car\serviceimpl\
............此处省略788个文件信息

评论

共有 条评论