2024-03-01 10:01:48 +08:00
|
|
|
|
package com.zcloud.controller.operatingvehicles;
|
|
|
|
|
|
|
|
|
|
import com.zcloud.controller.base.BaseController;
|
|
|
|
|
import com.zcloud.entity.Page;
|
|
|
|
|
import com.zcloud.entity.PageData;
|
|
|
|
|
import com.zcloud.logs.LogAnno;
|
2024-03-25 08:55:44 +08:00
|
|
|
|
import com.zcloud.service.assignedManage.AssignedManageService;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
import com.zcloud.service.operatingvehicles.OperatingVehiclesService;
|
2024-03-14 09:04:40 +08:00
|
|
|
|
import com.zcloud.service.scrapManage.ScrapManageService;
|
2024-03-26 18:06:10 +08:00
|
|
|
|
import com.zcloud.service.system.DepartmentService;
|
2024-03-19 14:02:24 +08:00
|
|
|
|
import com.zcloud.service.system.ImgFilesService;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
import com.zcloud.util.*;
|
2024-03-26 18:06:10 +08:00
|
|
|
|
import net.sf.json.JSONArray;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
2024-03-25 08:55:44 +08:00
|
|
|
|
import org.springframework.util.ObjectUtils;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
2024-03-29 13:30:29 +08:00
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
|
2024-03-26 18:06:10 +08:00
|
|
|
|
import java.util.*;
|
2024-03-01 10:01:48 +08:00
|
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
@RequestMapping("/operatingvehicles")
|
|
|
|
|
public class OperatingVehiclesController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private OperatingVehiclesService operatingVehiclesService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private Smb smb;
|
|
|
|
|
|
2024-03-19 14:02:24 +08:00
|
|
|
|
@Autowired
|
|
|
|
|
private ImgFilesService imgfilesService;
|
|
|
|
|
|
2024-03-14 09:04:40 +08:00
|
|
|
|
@Autowired
|
|
|
|
|
private ScrapManageService scrapManageService;
|
|
|
|
|
|
2024-03-25 08:55:44 +08:00
|
|
|
|
@Autowired
|
|
|
|
|
private AssignedManageService assignedManageService;
|
|
|
|
|
|
2024-03-26 18:06:10 +08:00
|
|
|
|
@Autowired
|
|
|
|
|
private DepartmentService departmentService;
|
|
|
|
|
|
2024-03-01 10:01:48 +08:00
|
|
|
|
/**新增
|
|
|
|
|
* @param
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/add")
|
|
|
|
|
@ResponseBody
|
2024-03-26 18:06:10 +08:00
|
|
|
|
public Object add() throws Exception{
|
2024-03-01 10:01:48 +08:00
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
pd.put("OPERATING_ID", this.get32UUID()); //运营车辆主键
|
|
|
|
|
pd.put("ISDELETE", "0"); //是否删除(0:有效 1:删除)
|
|
|
|
|
pd.put("CREATOR", Jurisdiction.getUSER_ID()); //添加人id
|
|
|
|
|
pd.put("CREATORNAME", Jurisdiction.getUsername()); //添加人名字
|
|
|
|
|
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
|
|
|
|
|
pd.put("OPERATOR", Jurisdiction.getUSER_ID()); //修改人id
|
|
|
|
|
pd.put("OPERATORNAME", Jurisdiction.getUsername()); // 修改人名字
|
|
|
|
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); // 修改时间
|
2024-03-06 09:41:06 +08:00
|
|
|
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
2024-03-26 18:06:10 +08:00
|
|
|
|
pd.put("NETWORK_STATUS", "未入网");
|
2024-03-28 18:32:23 +08:00
|
|
|
|
pd.put("ISSCRAP", "0");
|
2024-03-01 10:01:48 +08:00
|
|
|
|
operatingVehiclesService.save(pd);
|
|
|
|
|
map.put("pd", pd);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**删除
|
|
|
|
|
* @param
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/delete")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object delete() throws Exception{
|
|
|
|
|
Map<String,String> map = new HashMap<String,String>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
2024-03-14 09:04:40 +08:00
|
|
|
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
|
|
|
|
if(Tools.notEmpty(pd.getString("OPERATING_ID"))) {
|
|
|
|
|
PageData findPageData = operatingVehiclesService.findById(pd);
|
|
|
|
|
PageData scrapAddData = new PageData();
|
|
|
|
|
scrapAddData.put("SCRAP_ID",this.get32UUID());
|
|
|
|
|
scrapAddData.put("RECORD_NUMBER", findPageData.get("GOODSSELFNUMBER"));
|
|
|
|
|
scrapAddData.put("FRAMES_NUMBER", findPageData.get("FRAMES_NUMBER"));
|
|
|
|
|
scrapAddData.put("PLATE_NUMBER", findPageData.get("PLATE_NUMBER"));
|
|
|
|
|
scrapAddData.put("SCRAP_VEHICLEMODEL", "运输车辆");
|
|
|
|
|
scrapAddData.put("VEHICLEOWNER", findPageData.get("VEHICLEOWNER"));
|
|
|
|
|
scrapAddData.put("CONTACT_NUMBER", findPageData.get("CONTACT_NUMBER"));
|
|
|
|
|
scrapAddData.put("SCRAP_DATE", DateUtil.date2Str(new Date()));
|
|
|
|
|
scrapAddData.put("REGISTRANT", Jurisdiction.getUsername());
|
|
|
|
|
scrapAddData.put("CREATTIME", DateUtil.date2Str(new Date()));
|
|
|
|
|
scrapAddData.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
|
|
|
|
scrapAddData.put("VEHICLEOWNER_NUMBER", findPageData.get("VEHICLEOWNER_NUMBER"));
|
|
|
|
|
scrapAddData.put("FIRSTSHOW_DATE", findPageData.get("FIRSTSHOW_DATE"));
|
|
|
|
|
scrapAddData.put("BRAND", findPageData.get("VEHICLE_BRAND"));
|
|
|
|
|
scrapAddData.put("VEHICLE_MODEL", findPageData.get("VEHICLE_MODEL"));
|
|
|
|
|
scrapAddData.put("TRANSACTION_DATE", DateUtil.date2Str(new Date()));
|
|
|
|
|
scrapAddData.put("CORPINFO_ID", findPageData.get("CORPINFO_ID"));
|
|
|
|
|
scrapAddData.put("SCRAP_VEHICLE", findPageData.get("PLATE_NUMBER"));
|
|
|
|
|
scrapAddData.put("ISDELETE", "0");
|
|
|
|
|
scrapManageService.save(scrapAddData);
|
|
|
|
|
}
|
2024-03-06 09:41:06 +08:00
|
|
|
|
pd.put("DELETOR", Jurisdiction.getUSER_ID());
|
|
|
|
|
pd.put("DELETORNAME", Jurisdiction.getUsername());
|
|
|
|
|
pd.put("DELETTIME", DateUtil.date2Str(new Date()));
|
|
|
|
|
operatingVehiclesService.delete(pd);
|
2024-03-01 10:01:48 +08:00
|
|
|
|
map.put("result", errInfo); //返回结果
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**修改
|
|
|
|
|
* @param
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/edit")
|
|
|
|
|
@ResponseBody
|
2024-03-25 08:55:44 +08:00
|
|
|
|
public Object edit() throws Exception{
|
2024-03-01 10:01:48 +08:00
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
pd.put("OPERATOR", Jurisdiction.getCORPINFO_ID());
|
|
|
|
|
pd.put("OPERATORNAME", Jurisdiction.getUsername());
|
|
|
|
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
2024-03-25 08:55:44 +08:00
|
|
|
|
PageData operation = operatingVehiclesService.findById(pd);
|
|
|
|
|
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID"));
|
|
|
|
|
for (PageData assigned : assignedList) {
|
|
|
|
|
if(operation.get("PLATE_NUMBER").equals(assigned.get("RAW_PLATE_NUMBER"))) {
|
|
|
|
|
assigned.put("RAW_PLATE_NUMBER", pd.get("PLATE_NUMBER"));
|
|
|
|
|
assigned.put("RAW_OWNERS", pd.get("VEHICLEOWNER"));
|
|
|
|
|
assignedManageService.edit(assigned);
|
|
|
|
|
}
|
2024-03-01 10:01:48 +08:00
|
|
|
|
}
|
|
|
|
|
operatingVehiclesService.edit(pd);
|
|
|
|
|
map.put("pd", pd);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
/**去修改页面获取数据
|
|
|
|
|
* @param
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/goEdit")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object goEdit() throws Exception{
|
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
2024-03-14 09:04:40 +08:00
|
|
|
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
2024-03-01 10:01:48 +08:00
|
|
|
|
pd = operatingVehiclesService.findById(pd);
|
2024-03-19 14:02:24 +08:00
|
|
|
|
|
|
|
|
|
pd.put("FOREIGN_KEY", pd.getString("OPERATING_ID"));
|
|
|
|
|
pd.put("TYPE",130);
|
|
|
|
|
List<PageData> headstockphoto = imgfilesService.listAll(pd);//车头照片
|
2024-03-27 18:10:54 +08:00
|
|
|
|
pd.put("TYPE",121);
|
|
|
|
|
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
2024-03-19 14:02:24 +08:00
|
|
|
|
pd.put("TYPE",132);
|
|
|
|
|
List<PageData> operatingcertificatephoto = imgfilesService.listAll(pd);//运营证照片
|
2024-03-26 18:06:10 +08:00
|
|
|
|
|
|
|
|
|
List<PageData> zdepartmentPdList = new ArrayList<PageData>();
|
|
|
|
|
PageData dept = new PageData();
|
|
|
|
|
dept.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
|
|
|
|
dept = this.departmentService.findByCorpId(dept);
|
|
|
|
|
String ZDEPARTMENT_ID = dept.getString("DEPARTMENT_ID");
|
|
|
|
|
|
|
|
|
|
PageData node = new PageData();
|
|
|
|
|
node.put("id", dept.get("DEPARTMENT_ID"));
|
|
|
|
|
node.put("parentId", dept.get("PARENT_ID"));
|
|
|
|
|
node.put("name", dept.get("NAME"));
|
|
|
|
|
node.put("icon", "../../../assets/images/user.gif");
|
|
|
|
|
zdepartmentPdList.add(node);
|
|
|
|
|
JSONArray arr = JSONArray
|
|
|
|
|
.fromObject(departmentService.listAllDepartmentToSelect(ZDEPARTMENT_ID, zdepartmentPdList));
|
|
|
|
|
map.put("zTreeNodes", (null == arr ? "" : "{\"treeNodes\":" + arr.toString() + "}"));
|
|
|
|
|
|
2024-03-01 10:01:48 +08:00
|
|
|
|
map.put("pd", pd);
|
2024-03-19 14:02:24 +08:00
|
|
|
|
map.put("headstockphoto", headstockphoto);
|
2024-03-27 18:10:54 +08:00
|
|
|
|
map.put("drivinglicensephoto", drivingLicenseImgs);
|
2024-03-19 14:02:24 +08:00
|
|
|
|
map.put("operatingcertificatephoto", operatingcertificatephoto);
|
2024-03-01 10:01:48 +08:00
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-08 17:43:31 +08:00
|
|
|
|
@RequestMapping(value = "/list")
|
|
|
|
|
// @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR)
|
2024-03-01 10:01:48 +08:00
|
|
|
|
@ResponseBody
|
2024-03-08 17:43:31 +08:00
|
|
|
|
@LogAnno(menuType = "基础信息管理", menuServer = "货运挂车", instructionsOperate = "货运挂车", instructionsType = "列表")
|
|
|
|
|
public Object list(Page page) throws Exception {
|
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
2024-03-01 10:01:48 +08:00
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
2024-03-08 17:43:31 +08:00
|
|
|
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
2024-03-01 10:01:48 +08:00
|
|
|
|
page.setPd(pd);
|
2024-03-08 17:43:31 +08:00
|
|
|
|
List<PageData> varList = operatingVehiclesService.list(page); //列出Question列表
|
2024-03-01 10:01:48 +08:00
|
|
|
|
map.put("varList", varList);
|
|
|
|
|
map.put("page", page);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
2024-03-08 17:43:31 +08:00
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/operationvehicleList")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object operationVehicleList() throws Exception {
|
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
String corpId = Jurisdiction.getCORPINFO_ID();
|
|
|
|
|
List<PageData> list = operatingVehiclesService.operationVehicleList(corpId); //列出Question列表
|
|
|
|
|
map.put("list", list);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-14 09:04:40 +08:00
|
|
|
|
@RequestMapping(value = "/findById")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object findById() throws Exception {
|
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
pd.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
2024-03-19 14:02:24 +08:00
|
|
|
|
|
|
|
|
|
pd.put("FOREIGN_KEY", pd.getString("OPERATING_ID"));
|
|
|
|
|
pd.put("TYPE",130);
|
|
|
|
|
List<PageData> headstockphoto = imgfilesService.listAll(pd);//车头照片
|
|
|
|
|
pd.put("TYPE",131);
|
|
|
|
|
List<PageData> drivinglicensephoto = imgfilesService.listAll(pd);//行驶证照片
|
|
|
|
|
pd.put("TYPE",132);
|
|
|
|
|
List<PageData> operatingcertificatephoto = imgfilesService.listAll(pd);//运营证照片
|
|
|
|
|
map.put("pd", pd);
|
|
|
|
|
map.put("headstockphoto", headstockphoto);
|
|
|
|
|
map.put("drivinglicensephoto", drivinglicensephoto);
|
|
|
|
|
map.put("operatingcertificatephoto", operatingcertificatephoto);
|
2024-03-14 09:04:40 +08:00
|
|
|
|
pd = operatingVehiclesService.findById(pd);
|
|
|
|
|
map.put("pd", pd);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-27 18:10:54 +08:00
|
|
|
|
@RequestMapping(value = "/setOperationsScrapStatus")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object setOperationsScrapStatus() throws Exception {
|
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
pd.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
2024-03-28 18:32:23 +08:00
|
|
|
|
operatingVehiclesService.setScrapStatus(pd);
|
2024-03-27 18:10:54 +08:00
|
|
|
|
map.put("pd", pd);
|
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 14:02:24 +08:00
|
|
|
|
@RequestMapping(value = "/corpList")
|
2024-03-08 17:43:31 +08:00
|
|
|
|
@ResponseBody
|
2024-03-19 14:02:24 +08:00
|
|
|
|
public Object corpList() throws Exception {
|
2024-03-08 17:43:31 +08:00
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
|
String errInfo = "success";
|
2024-03-19 14:02:24 +08:00
|
|
|
|
String corpId = Jurisdiction.getCORPINFO_ID();
|
|
|
|
|
List<PageData> list = operatingVehiclesService.corpList(corpId); //列出Question列表
|
|
|
|
|
map.put("list", list);
|
2024-03-08 17:43:31 +08:00
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
2024-03-19 14:02:24 +08:00
|
|
|
|
}
|
2024-03-25 08:55:44 +08:00
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/findByPlateNumber")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Object findByPlateNumber() throws Exception{
|
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
String errInfo = "success";
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
|
|
|
|
pd.put("PLATE_NUMBER", pd.getString("vehicleNumber"));
|
2024-03-26 18:06:10 +08:00
|
|
|
|
PageData resData = operatingVehiclesService.findByfindByPlateNumber(pd);
|
|
|
|
|
map.put("pd", resData);
|
2024-03-25 08:55:44 +08:00
|
|
|
|
map.put("result", errInfo);
|
|
|
|
|
return map;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-29 13:30:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**导出到excel
|
|
|
|
|
* @param
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/excel")
|
|
|
|
|
// // @RequiresPermissions("toExcel")
|
|
|
|
|
public ModelAndView exportExcel() throws Exception{
|
|
|
|
|
ModelAndView mv = new ModelAndView();
|
|
|
|
|
PageData pd = new PageData();
|
|
|
|
|
pd = this.getPageData();
|
|
|
|
|
String DATA_IDS = pd.getString("DATA_IDS");
|
|
|
|
|
if(Tools.notEmpty(DATA_IDS)){
|
|
|
|
|
String[] ArrayDATA_IDS = DATA_IDS.split(",");
|
|
|
|
|
pd.put("ArrayDATA_IDS",ArrayDATA_IDS);
|
|
|
|
|
}
|
|
|
|
|
Map<String,Object> dataMap = new HashMap<String,Object>();
|
|
|
|
|
List<String> titles = new ArrayList<String>();
|
|
|
|
|
titles.add("车牌号"); //1
|
|
|
|
|
titles.add("车架号"); //2
|
|
|
|
|
//titles.add("车身编号"); //3
|
|
|
|
|
titles.add("车辆类型"); //4
|
|
|
|
|
titles.add("运营证号"); //5
|
|
|
|
|
titles.add("归属部门"); //6
|
|
|
|
|
titles.add("车主"); //7
|
|
|
|
|
titles.add("车主电话"); //8
|
|
|
|
|
titles.add("初登日期"); //9
|
|
|
|
|
titles.add("发证日期"); //10
|
|
|
|
|
titles.add("到期日期"); //11
|
|
|
|
|
titles.add("车辆品牌"); //12
|
|
|
|
|
titles.add("车辆型号"); //13
|
|
|
|
|
titles.add("核定总质量"); //14
|
|
|
|
|
titles.add("核定载质量"); //15
|
|
|
|
|
//titles.add("容积"); //16
|
|
|
|
|
dataMap.put("titles", titles);
|
|
|
|
|
List<PageData> varOList = operatingVehiclesService.listOut(pd);
|
|
|
|
|
List<PageData> varList = new ArrayList<PageData>();
|
|
|
|
|
for(int i=0;i<varOList.size();i++){
|
|
|
|
|
PageData vpd = new PageData();
|
|
|
|
|
vpd.put("var1", varOList.get(i).getString("PLATE_NUMBER"));//1
|
|
|
|
|
vpd.put("var2", varOList.get(i).getString("FRAMES_NUMBER"));//2
|
|
|
|
|
//vpd.put("var3", varOList.get(i).getString("VEHICLE_BODY_NUMBER"));//3
|
|
|
|
|
vpd.put("var4", varOList.get(i).getString("VEHICLE_TYPE"));//4
|
|
|
|
|
vpd.put("var5", varOList.get(i).getString("OPERATING_CERTIFICATE"));//5
|
|
|
|
|
vpd.put("var6", varOList.get(i).getString("BELONGING_DEPARTMENT"));//6
|
|
|
|
|
vpd.put("var7", varOList.get(i).getString("VEHICLEOWNER"));//7
|
|
|
|
|
vpd.put("var8", varOList.get(i).getString("VEHICLEOWNER_NUMBER"));//8
|
|
|
|
|
vpd.put("var9", varOList.get(i).getString("FIRSTSHOW_DATE"));//9
|
|
|
|
|
vpd.put("var10", varOList.get(i).getString("CERTIFICATE_DATE"));//10
|
|
|
|
|
vpd.put("var11", varOList.get(i).getString("EXPIRE_DATE"));//11
|
|
|
|
|
vpd.put("var12", varOList.get(i).getString("VEHICLE_BRAND"));//12
|
|
|
|
|
vpd.put("var13", varOList.get(i).getString("VEHICLE_MODEL"));//13
|
|
|
|
|
vpd.put("var14", varOList.get(i).getString("VOUCH_TOTALMASS"));//14
|
|
|
|
|
vpd.put("var15", varOList.get(i).getString("VOUCH_PAYLOAD"));//15
|
|
|
|
|
//vpd.put("var16", varOList.get(i).getString("VOLUME"));//16
|
|
|
|
|
varList.add(vpd);
|
|
|
|
|
}
|
|
|
|
|
dataMap.put("varList", varList);
|
|
|
|
|
ObjectExcelView erv = new ObjectExcelView();
|
|
|
|
|
mv = new ModelAndView(erv,dataMap);
|
|
|
|
|
return mv;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-01 10:01:48 +08:00
|
|
|
|
}
|