去除无用代码
parent
fc46a8907c
commit
2172905e93
|
@ -1,70 +1,55 @@
|
||||||
package com.zzjee.report.controller;
|
package com.zzjee.report.controller;
|
||||||
import com.zzjee.report.entity.RpWmHisStockKuEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.report.service.RpWmHisStockKuServiceI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.report.entity.RpWmHisStockKuEntity;
|
||||||
|
import com.zzjee.report.service.RpWmHisStockKuServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: rp_wm_his_stock_ku
|
* @Description: rp_wm_his_stock_ku
|
||||||
|
@ -302,7 +287,7 @@ public class RpWmHisStockKuController extends BaseController {
|
||||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
//@SuppressWarnings("unchecked")
|
||||||
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
|
@ -1,70 +1,55 @@
|
||||||
package com.zzjee.report.controller;
|
package com.zzjee.report.controller;
|
||||||
import com.zzjee.report.entity.RpWmInQmEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.report.service.RpWmInQmServiceI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.report.entity.RpWmInQmEntity;
|
||||||
|
import com.zzjee.report.service.RpWmInQmServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: rp_wm_in_qm
|
* @Description: rp_wm_in_qm
|
||||||
|
@ -302,7 +287,7 @@ public class RpWmInQmController extends BaseController {
|
||||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
// @SuppressWarnings("unchecked")
|
||||||
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
|
@ -1,70 +1,55 @@
|
||||||
package com.zzjee.report.controller;
|
package com.zzjee.report.controller;
|
||||||
import com.zzjee.report.entity.RpWmToDownGoodsEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.report.service.RpWmToDownGoodsServiceI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.report.entity.RpWmToDownGoodsEntity;
|
||||||
|
import com.zzjee.report.service.RpWmToDownGoodsServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: rp_wm_to_down_goods
|
* @Description: rp_wm_to_down_goods
|
||||||
|
@ -302,7 +287,6 @@ public class RpWmToDownGoodsController extends BaseController {
|
||||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
|
@ -1,70 +1,55 @@
|
||||||
package com.zzjee.report.controller;
|
package com.zzjee.report.controller;
|
||||||
import com.zzjee.report.entity.RpWmToUpGoodsEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.report.service.RpWmToUpGoodsServiceI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.report.entity.RpWmToUpGoodsEntity;
|
||||||
|
import com.zzjee.report.service.RpWmToUpGoodsServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: rp_wm_to_up_goods
|
* @Description: rp_wm_to_up_goods
|
||||||
|
@ -302,7 +287,6 @@ public class RpWmToUpGoodsController extends BaseController {
|
||||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
|
@ -1,70 +1,55 @@
|
||||||
package com.zzjee.report.controller;
|
package com.zzjee.report.controller;
|
||||||
import com.zzjee.report.entity.RpWmUpAndDownEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.report.service.RpWmUpAndDownServiceI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.report.entity.RpWmUpAndDownEntity;
|
||||||
|
import com.zzjee.report.service.RpWmUpAndDownServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: rp_wm_up_and_down
|
* @Description: rp_wm_up_and_down
|
||||||
|
@ -302,7 +287,6 @@ public class RpWmUpAndDownController extends BaseController {
|
||||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
@RequestMapping(params = "importExcel", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
public AjaxJson importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
|
@ -1,83 +1,59 @@
|
||||||
package com.zzjee.wm.controller;
|
package com.zzjee.wm.controller;
|
||||||
import com.zzjee.wm.entity.WmPlatIoEntity;
|
import java.io.IOException;
|
||||||
import com.zzjee.wm.service.WmPlatIoServiceI;
|
import java.net.URI;
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.DateUtils;
|
import org.jeecgframework.core.util.DateUtils;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
|
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.p3.core.common.utils.DateUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.http.HttpHeaders;
|
||||||
import java.io.IOException;
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.MediaType;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
|
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.wm.entity.WmPlatIoEntity;
|
||||||
|
import com.zzjee.wm.service.WmPlatIoServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: 月台进出
|
* @Description: 月台进出
|
||||||
|
|
|
@ -1,58 +1,60 @@
|
||||||
package com.zzjee.wm.controller;
|
package com.zzjee.wm.controller;
|
||||||
import com.zzjee.api.ResultDO;
|
import java.io.IOException;
|
||||||
import com.zzjee.md.entity.MvGoodsEntity;
|
|
||||||
import com.zzjee.wm.entity.*;
|
|
||||||
import com.zzjee.wm.service.WmSttInGoodsServiceI;
|
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.jeecgframework.core.util.*;
|
|
||||||
import org.jeecgframework.web.system.sms.util.Constants;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
import org.jeecgframework.core.util.JSONHelper;
|
||||||
import com.zzjee.wmutil.wmUtil;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import java.io.IOException;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
|
import org.jeecgframework.web.system.sms.util.Constants;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.MediaType;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import javax.validation.Validator;
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.http.MediaType;
|
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.api.ResultDO;
|
||||||
|
import com.zzjee.md.entity.MvGoodsEntity;
|
||||||
|
import com.zzjee.wm.entity.WmSttInGoodsEntity;
|
||||||
|
import com.zzjee.wm.entity.WmToDownGoodsEntity;
|
||||||
|
import com.zzjee.wm.entity.WmToUpGoodsEntity;
|
||||||
|
import com.zzjee.wm.service.WmSttInGoodsServiceI;
|
||||||
|
import com.zzjee.wmutil.wmUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: 库存盘点
|
* @Description: 库存盘点
|
||||||
|
|
|
@ -1,76 +1,62 @@
|
||||||
package com.zzjee.wm.controller;
|
package com.zzjee.wm.controller;
|
||||||
import com.zzjee.api.ResultDO;
|
import java.io.IOException;
|
||||||
import com.zzjee.md.entity.MdGoodsEntity;
|
import java.net.URI;
|
||||||
import com.zzjee.wm.entity.*;
|
|
||||||
import com.zzjee.wm.page.omqmpage;
|
|
||||||
import com.zzjee.wm.page.wmtomovepage;
|
|
||||||
import com.zzjee.wm.service.WmToMoveGoodsServiceI;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import com.zzjee.wmutil.wmUtil;
|
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
import org.jeecgframework.core.util.*;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
|
||||||
import org.jeecgframework.core.constant.Globals;
|
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
|
|
||||||
import java.io.OutputStream;
|
|
||||||
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.http.HttpHeaders;
|
|
||||||
import org.springframework.http.HttpStatus;
|
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
import javax.validation.ConstraintViolation;
|
import javax.validation.ConstraintViolation;
|
||||||
import javax.validation.Validator;
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import java.net.URI;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
|
import org.jeecgframework.core.constant.Globals;
|
||||||
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
|
import org.jeecgframework.core.util.JSONHelper;
|
||||||
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.http.HttpHeaders;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.http.MediaType;
|
import org.springframework.http.MediaType;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.api.ResultDO;
|
||||||
|
import com.zzjee.wm.entity.WmToMoveGoodsEntity;
|
||||||
|
import com.zzjee.wm.page.wmtomovepage;
|
||||||
|
import com.zzjee.wm.service.WmToMoveGoodsServiceI;
|
||||||
|
import com.zzjee.wmutil.wmUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: 库存转移
|
* @Description: 库存转移
|
||||||
|
|
|
@ -1,80 +1,63 @@
|
||||||
package com.zzjee.wm.controller;
|
package com.zzjee.wm.controller;
|
||||||
import com.alibaba.fastjson.JSON;
|
import java.io.IOException;
|
||||||
import com.zzjee.api.ResultDO;
|
|
||||||
import com.zzjee.md.entity.MvGoodsEntity;
|
|
||||||
import com.zzjee.wm.entity.WmInQmIEntity;
|
|
||||||
import com.zzjee.wm.entity.WmToDownGoodsEntity;
|
|
||||||
import com.zzjee.wm.entity.WmToUpGoodsEntity;
|
|
||||||
import com.zzjee.wm.page.Delrowpage;
|
|
||||||
import com.zzjee.wm.page.wmtoupgoodspage;
|
|
||||||
import com.zzjee.wm.service.WmToUpGoodsServiceI;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import com.zzjee.wmapi.entity.WvNoticeEntity;
|
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
|
||||||
import org.apache.commons.io.CopyUtils;
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
import org.jeecgframework.core.util.*;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
|
||||||
import org.jeecgframework.core.constant.Globals;
|
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
|
|
||||||
import java.io.OutputStream;
|
|
||||||
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.http.HttpHeaders;
|
|
||||||
import org.springframework.http.HttpStatus;
|
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
import javax.validation.ConstraintViolation;
|
import javax.validation.ConstraintViolation;
|
||||||
import javax.validation.Validator;
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import java.net.URI;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
|
import org.jeecgframework.core.constant.Globals;
|
||||||
|
import org.jeecgframework.core.util.DateUtils;
|
||||||
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
|
import org.jeecgframework.core.util.JSONHelper;
|
||||||
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
|
import org.jeecgframework.core.util.oConvertUtils;
|
||||||
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.http.MediaType;
|
import org.springframework.http.MediaType;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.api.ResultDO;
|
||||||
|
import com.zzjee.md.entity.MvGoodsEntity;
|
||||||
|
import com.zzjee.wm.entity.WmInQmIEntity;
|
||||||
|
import com.zzjee.wm.entity.WmToUpGoodsEntity;
|
||||||
|
import com.zzjee.wm.page.wmtoupgoodspage;
|
||||||
|
import com.zzjee.wm.service.WmToUpGoodsServiceI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: 上架列表
|
* @Description: 上架列表
|
||||||
|
@ -304,7 +287,7 @@ public class WmToUpGoodsController extends BaseController {
|
||||||
@RequestMapping(params = "updateRows")
|
@RequestMapping(params = "updateRows")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson updateRows(wmtoupgoodspage page){
|
public AjaxJson updateRows(wmtoupgoodspage page){
|
||||||
String message = null;
|
// String message = null;
|
||||||
List<WmToUpGoodsEntity> demos=page.getUprows();
|
List<WmToUpGoodsEntity> demos=page.getUprows();
|
||||||
AjaxJson j = new AjaxJson();
|
AjaxJson j = new AjaxJson();
|
||||||
if(CollectionUtils.isNotEmpty(demos)){
|
if(CollectionUtils.isNotEmpty(demos)){
|
||||||
|
|
|
@ -1,71 +1,58 @@
|
||||||
package com.zzjee.wmapi.controller;
|
package com.zzjee.wmapi.controller;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import java.io.IOException;
|
||||||
import com.zzjee.api.ResultDO;
|
import java.net.URI;
|
||||||
import com.zzjee.wmapi.entity.WvGiEntity;
|
|
||||||
import com.zzjee.wmapi.entity.WvGiNoticeEntity;
|
|
||||||
import com.zzjee.wmapi.entity.WvNoticeEntity;
|
|
||||||
import com.zzjee.wmapi.service.WvGiNoticeServiceI;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import com.zzjee.wmutil.wmUtil;
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
import org.springframework.http.MediaType;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.api.ResultDO;
|
||||||
|
import com.zzjee.wmapi.entity.WvGiNoticeEntity;
|
||||||
|
import com.zzjee.wmapi.service.WvGiNoticeServiceI;
|
||||||
|
import com.zzjee.wmutil.wmUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: wv_gi_notice
|
* @Description: wv_gi_notice
|
||||||
|
|
|
@ -1,71 +1,58 @@
|
||||||
package com.zzjee.wmapi.controller;
|
package com.zzjee.wmapi.controller;
|
||||||
import com.zzjee.api.ResultDO;
|
import java.io.IOException;
|
||||||
import com.zzjee.wm.entity.WmInQmIEntity;
|
import java.net.URI;
|
||||||
import com.zzjee.wmapi.entity.WvGiEntity;
|
|
||||||
import com.zzjee.wmapi.entity.WvGiNoticeEntity;
|
|
||||||
import com.zzjee.wmapi.entity.WvNoticeEntity;
|
|
||||||
import com.zzjee.wmapi.service.WvNoticeServiceI;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.text.SimpleDateFormat;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.validation.ConstraintViolation;
|
||||||
|
import javax.validation.Validator;
|
||||||
|
|
||||||
import com.zzjee.wmutil.wmUtil;
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.ui.ModelMap;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
|
||||||
|
|
||||||
import org.jeecgframework.core.common.controller.BaseController;
|
import org.jeecgframework.core.common.controller.BaseController;
|
||||||
import org.jeecgframework.core.common.exception.BusinessException;
|
import org.jeecgframework.core.common.exception.BusinessException;
|
||||||
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
|
||||||
import org.jeecgframework.core.common.model.common.TreeChildCount;
|
|
||||||
import org.jeecgframework.core.common.model.json.AjaxJson;
|
import org.jeecgframework.core.common.model.json.AjaxJson;
|
||||||
import org.jeecgframework.core.common.model.json.DataGrid;
|
import org.jeecgframework.core.common.model.json.DataGrid;
|
||||||
import org.jeecgframework.core.constant.Globals;
|
import org.jeecgframework.core.constant.Globals;
|
||||||
import org.jeecgframework.core.util.StringUtil;
|
import org.jeecgframework.core.util.ExceptionUtil;
|
||||||
import org.jeecgframework.tag.core.easyui.TagUtil;
|
|
||||||
import org.jeecgframework.web.system.pojo.base.TSDepart;
|
|
||||||
import org.jeecgframework.web.system.service.SystemService;
|
|
||||||
import org.jeecgframework.core.util.MyBeanUtils;
|
import org.jeecgframework.core.util.MyBeanUtils;
|
||||||
|
import org.jeecgframework.core.util.ResourceUtil;
|
||||||
import java.io.OutputStream;
|
import org.jeecgframework.core.util.StringUtil;
|
||||||
import org.jeecgframework.core.util.BrowserUtils;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
|
|
||||||
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
|
||||||
import org.jeecgframework.poi.excel.entity.vo.TemplateExcelConstants;
|
import org.jeecgframework.tag.core.easyui.TagUtil;
|
||||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
import org.jeecgframework.web.system.service.SystemService;
|
||||||
import org.jeecgframework.core.util.ResourceUtil;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import org.jeecgframework.core.util.ExceptionUtil;
|
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.http.HttpHeaders;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.jeecgframework.core.beanvalidator.BeanValidators;
|
|
||||||
import java.util.Set;
|
|
||||||
import javax.validation.ConstraintViolation;
|
|
||||||
import javax.validation.Validator;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.springframework.http.MediaType;
|
import org.springframework.http.MediaType;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.web.util.UriComponentsBuilder;
|
import org.springframework.web.util.UriComponentsBuilder;
|
||||||
|
|
||||||
|
import com.zzjee.api.ResultDO;
|
||||||
|
import com.zzjee.wmapi.entity.WvNoticeEntity;
|
||||||
|
import com.zzjee.wmapi.service.WvNoticeServiceI;
|
||||||
|
import com.zzjee.wmutil.wmUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Title: Controller
|
* @Title: Controller
|
||||||
* @Description: wv_notice
|
* @Description: wv_notice
|
||||||
|
|
Loading…
Reference in New Issue