From 8e21d7797323c2fc08cbef8dd012c456f504d981 Mon Sep 17 00:00:00 2001 From: jiasudu Date: Tue, 28 May 2019 16:57:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/RpPeriodInOutController.java | 24 ++-- .../bm/controller/MvCusCostController.java | 13 +- .../bm/controller/WvDayCostSumController.java | 1 + .../controller/FxjOtherLoginController.java | 63 ++++------ .../conf/controller/WxConfigController.java | 63 ++++------ .../conf/entity/FxjOtherLoginEntity.java | 11 +- .../com/zzjee/conf/entity/WxConfigEntity.java | 11 +- .../zzjee/md/controller/MdBinController.java | 80 ++++-------- .../zzjee/md/controller/MdCusController.java | 71 ++++------- .../md/controller/MdGoodsController.java | 117 +++++++----------- .../zzjee/md/controller/MdSupController.java | 73 ++++------- .../md/controller/MvCusOtherController.java | 63 ++++------ .../md/controller/MvGoodsController.java | 73 ++++------- .../java/com/zzjee/md/entity/MdBinEntity.java | 11 +- .../java/com/zzjee/md/entity/MdCusEntity.java | 11 +- .../com/zzjee/md/entity/MdCusOtherEntity.java | 11 +- .../com/zzjee/md/entity/MdGoodsEntity.java | 11 +- .../java/com/zzjee/md/entity/MdSupEntity.java | 11 +- .../java/com/zzjee/md/entity/MvCusEntity.java | 11 +- .../com/zzjee/md/entity/MvCusOtherEntity.java | 11 +- .../com/zzjee/md/entity/MvGoodsEntity.java | 11 +- 21 files changed, 253 insertions(+), 498 deletions(-) diff --git a/src/main/java/com/zzjee/bireport/controller/RpPeriodInOutController.java b/src/main/java/com/zzjee/bireport/controller/RpPeriodInOutController.java index 6e8535bb..2ab35f1b 100644 --- a/src/main/java/com/zzjee/bireport/controller/RpPeriodInOutController.java +++ b/src/main/java/com/zzjee/bireport/controller/RpPeriodInOutController.java @@ -1,8 +1,10 @@ package com.zzjee.bireport.controller; -import com.zzjee.bireport.entity.RpPeriodInOutEntity; -import com.zzjee.bireport.service.RpPeriodInOutServiceI; -import com.zzjee.wmutil.wmUtil; +import java.util.List; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + import org.apache.log4j.Logger; import org.jeecgframework.core.common.controller.BaseController; import org.jeecgframework.core.common.exception.BusinessException; @@ -13,17 +15,15 @@ import org.jeecgframework.core.util.StringUtil; import org.jeecgframework.poi.excel.entity.ExportParams; 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.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.validation.Validator; -import java.util.List; +import com.zzjee.bireport.entity.RpPeriodInOutEntity; +import com.zzjee.bireport.service.RpPeriodInOutServiceI; +import com.zzjee.wmutil.wmUtil; /** * @author onlineGenerator @@ -42,10 +42,10 @@ public class RpPeriodInOutController extends BaseController { @Autowired private RpPeriodInOutServiceI rpPeriodInOutService; - @Autowired - private SystemService systemService; - @Autowired - private Validator validator; +// @Autowired +// private SystemService systemService; +// @Autowired +// private Validator validator; /** diff --git a/src/main/java/com/zzjee/bm/controller/MvCusCostController.java b/src/main/java/com/zzjee/bm/controller/MvCusCostController.java index 3866afe2..5eb6ab0e 100644 --- a/src/main/java/com/zzjee/bm/controller/MvCusCostController.java +++ b/src/main/java/com/zzjee/bm/controller/MvCusCostController.java @@ -18,14 +18,19 @@ import javax.validation.ConstraintViolation; import javax.validation.Validator; import org.apache.log4j.Logger; -import org.apache.poi.hssf.usermodel.*; +import org.apache.poi.hssf.usermodel.HSSFCell; +import org.apache.poi.hssf.usermodel.HSSFCellStyle; +import org.apache.poi.hssf.usermodel.HSSFClientAnchor; +import org.apache.poi.hssf.usermodel.HSSFPatriarch; +import org.apache.poi.hssf.usermodel.HSSFPrintSetup; +import org.apache.poi.hssf.usermodel.HSSFSheet; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.Font; import org.apache.poi.ss.usermodel.IndexedColors; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.tools.ant.taskdefs.Exit; import org.jeecgframework.core.beanvalidator.BeanValidators; import org.jeecgframework.core.common.controller.BaseController; import org.jeecgframework.core.common.exception.BusinessException; @@ -160,12 +165,12 @@ public class MvCusCostController extends BaseController { public void downReceiveExcelysd(MvCusCostEntity mvCusCost,HttpServletRequest request,HttpServletResponse response) { OutputStream fileOut = null; BufferedImage bufferImg = null; - String codedFileName = null; +// String codedFileName = null; mvCusCost = systemService.getEntity(MvCusCostEntity.class, request.getParameter("id"));// 获取抬头 // 先把读进来的图片放到一个ByteArrayOutputStream中,以便产生ByteArray try { - codedFileName = java.net.URLEncoder.encode("中文", "UTF-8"); +// codedFileName = java.net.URLEncoder.encode("中文", "UTF-8"); response.setHeader("content-disposition", "attachment;filename=" + mvCusCost.getCusCode()+"("+request.getParameter("begindate")+" "+request.getParameter("enddate")+").xls"); HSSFWorkbook wb = new HSSFWorkbook(); diff --git a/src/main/java/com/zzjee/bm/controller/WvDayCostSumController.java b/src/main/java/com/zzjee/bm/controller/WvDayCostSumController.java index a4500798..a283e50c 100644 --- a/src/main/java/com/zzjee/bm/controller/WvDayCostSumController.java +++ b/src/main/java/com/zzjee/bm/controller/WvDayCostSumController.java @@ -194,6 +194,7 @@ public class WvDayCostSumController extends BaseController { + sdayCostHsj + ""); } catch (Exception e) { // TODO: handle exception + throw new BusinessException(e.getMessage()); } TagUtil.datagrid(response, dataGrid); diff --git a/src/main/java/com/zzjee/conf/controller/FxjOtherLoginController.java b/src/main/java/com/zzjee/conf/controller/FxjOtherLoginController.java index 3d59903b..369b957e 100644 --- a/src/main/java/com/zzjee/conf/controller/FxjOtherLoginController.java +++ b/src/main/java/com/zzjee/conf/controller/FxjOtherLoginController.java @@ -1,70 +1,55 @@ package com.zzjee.conf.controller; -import com.zzjee.conf.entity.FxjOtherLoginEntity; -import com.zzjee.conf.service.FxjOtherLoginServiceI; +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.StringUtil; -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.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; -import java.io.IOException; -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; -import java.net.URI; -import org.springframework.http.MediaType; +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 com.zzjee.conf.entity.FxjOtherLoginEntity; +import com.zzjee.conf.service.FxjOtherLoginServiceI; + /** * @Title: Controller * @Description: 第三方登录 diff --git a/src/main/java/com/zzjee/conf/controller/WxConfigController.java b/src/main/java/com/zzjee/conf/controller/WxConfigController.java index 997128ec..280bffba 100644 --- a/src/main/java/com/zzjee/conf/controller/WxConfigController.java +++ b/src/main/java/com/zzjee/conf/controller/WxConfigController.java @@ -1,70 +1,55 @@ package com.zzjee.conf.controller; -import com.zzjee.conf.entity.WxConfigEntity; -import com.zzjee.conf.service.WxConfigServiceI; +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.StringUtil; -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.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; -import java.io.IOException; -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; -import java.net.URI; -import org.springframework.http.MediaType; +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 com.zzjee.conf.entity.WxConfigEntity; +import com.zzjee.conf.service.WxConfigServiceI; + /** * @Title: Controller * @Description: 配置信息 diff --git a/src/main/java/com/zzjee/conf/entity/FxjOtherLoginEntity.java b/src/main/java/com/zzjee/conf/entity/FxjOtherLoginEntity.java index d51bae1e..92257c46 100644 --- a/src/main/java/com/zzjee/conf/entity/FxjOtherLoginEntity.java +++ b/src/main/java/com/zzjee/conf/entity/FxjOtherLoginEntity.java @@ -1,21 +1,14 @@ package com.zzjee.conf.entity; -import java.math.BigDecimal; import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; + import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/conf/entity/WxConfigEntity.java b/src/main/java/com/zzjee/conf/entity/WxConfigEntity.java index d46731ee..3b2c59d2 100644 --- a/src/main/java/com/zzjee/conf/entity/WxConfigEntity.java +++ b/src/main/java/com/zzjee/conf/entity/WxConfigEntity.java @@ -1,21 +1,14 @@ package com.zzjee.conf.entity; -import java.math.BigDecimal; import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; + import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/controller/MdBinController.java b/src/main/java/com/zzjee/md/controller/MdBinController.java index 23fadb3b..b21e7325 100644 --- a/src/main/java/com/zzjee/md/controller/MdBinController.java +++ b/src/main/java/com/zzjee/md/controller/MdBinController.java @@ -1,85 +1,59 @@ package com.zzjee.md.controller; -import com.zzjee.md.entity.MdBinEntity; -import com.zzjee.md.service.MdBinServiceI; - +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; -import java.util.Date; +import java.util.HashMap; 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.HttpServletResponse; - -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.MutiLangUtil; -import org.jeecgframework.core.util.StringUtil; -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.web.system.sms.entity.TSSmsEntity; +import org.jeecgframework.core.util.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; - -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; - -import java.io.IOException; - -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; - -import java.net.URI; - -import org.springframework.http.MediaType; +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 com.zzjee.md.entity.MdBinEntity; +import com.zzjee.md.service.MdBinServiceI; + +import net.sf.json.JSONArray; +import net.sf.json.JSONObject; + /** * @Title: Controller * @Description: 仓位定义 diff --git a/src/main/java/com/zzjee/md/controller/MdCusController.java b/src/main/java/com/zzjee/md/controller/MdCusController.java index cb9caa77..1635415b 100644 --- a/src/main/java/com/zzjee/md/controller/MdCusController.java +++ b/src/main/java/com/zzjee/md/controller/MdCusController.java @@ -1,79 +1,56 @@ package com.zzjee.md.controller; -import com.zzjee.md.entity.MdCusEntity; -import com.zzjee.md.service.MdCusServiceI; - +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; +import java.util.HashMap; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.StringUtil; -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.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; - -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; - -import java.io.IOException; - -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; - -import java.net.URI; - -import org.springframework.http.MediaType; +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 com.zzjee.md.entity.MdCusEntity; +import com.zzjee.md.service.MdCusServiceI; + /** * @Title: Controller * @Description: 客户 diff --git a/src/main/java/com/zzjee/md/controller/MdGoodsController.java b/src/main/java/com/zzjee/md/controller/MdGoodsController.java index 822ea7bc..5b1da59e 100644 --- a/src/main/java/com/zzjee/md/controller/MdGoodsController.java +++ b/src/main/java/com/zzjee/md/controller/MdGoodsController.java @@ -1,83 +1,62 @@ package com.zzjee.md.controller; +import java.io.IOException; +import java.net.URI; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.validation.Validator; + +import org.apache.log4j.Logger; +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.ResponseEntity; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.PathVariable; +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 com.zzjee.api.ResultDO; import com.zzjee.md.entity.MdCusOtherEntity; import com.zzjee.md.entity.MdGoodsEntity; import com.zzjee.md.entity.MvGoodsEntity; import com.zzjee.md.service.MdGoodsServiceI; - -import java.util.ArrayList; -import java.util.List; -import java.text.SimpleDateFormat; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import com.zzjee.wm.entity.*; -import com.zzjee.wm.page.WmNoticeImpPage; +import com.zzjee.wm.entity.WmOmNoticeHEntity; +import com.zzjee.wm.entity.WmOmNoticeIEntity; import com.zzjee.wm.service.WmOmNoticeHServiceI; -import com.zzjee.wmapi.entity.WvGiEntity; import com.zzjee.wmutil.wmIntUtil; import com.zzjee.wmutil.wmUtil; import com.zzjee.wmutil.yyUtil; -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.pojo.base.TSRole; -import org.jeecgframework.web.system.pojo.base.TSRoleUser; -import org.jeecgframework.web.system.pojo.base.TSUser; -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.Validator; - -import java.net.URI; - -import org.springframework.http.MediaType; -import org.springframework.web.util.UriComponentsBuilder; /** * @Title: Controller diff --git a/src/main/java/com/zzjee/md/controller/MdSupController.java b/src/main/java/com/zzjee/md/controller/MdSupController.java index 54f8d3cc..5c863bc1 100644 --- a/src/main/java/com/zzjee/md/controller/MdSupController.java +++ b/src/main/java/com/zzjee/md/controller/MdSupController.java @@ -1,82 +1,57 @@ package com.zzjee.md.controller; -import com.zzjee.md.entity.MdCusEntity; -import com.zzjee.md.entity.MdSupEntity; -import com.zzjee.md.service.MdSupServiceI; - +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; -import com.zzjee.wmutil.wmIntUtil; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.StringUtil; -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.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; - -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; - -import java.io.IOException; - -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; - -import java.net.URI; - -import org.springframework.http.MediaType; +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 com.zzjee.md.entity.MdSupEntity; +import com.zzjee.md.service.MdSupServiceI; +import com.zzjee.wmutil.wmIntUtil; + /** * @Title: Controller * @Description: 供应商 diff --git a/src/main/java/com/zzjee/md/controller/MvCusOtherController.java b/src/main/java/com/zzjee/md/controller/MvCusOtherController.java index 05663af5..6af7acce 100644 --- a/src/main/java/com/zzjee/md/controller/MvCusOtherController.java +++ b/src/main/java/com/zzjee/md/controller/MvCusOtherController.java @@ -1,70 +1,55 @@ package com.zzjee.md.controller; -import com.zzjee.md.entity.MvCusOtherEntity; -import com.zzjee.md.service.MvCusOtherServiceI; +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.StringUtil; -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.ExceptionUtil; import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; -import org.jeecgframework.core.util.BrowserUtils; -import org.jeecgframework.poi.excel.ExcelExportUtil; +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.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 org.jeecgframework.core.util.ResourceUtil; -import java.io.IOException; -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; -import java.net.URI; -import org.springframework.http.MediaType; +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 com.zzjee.md.entity.MvCusOtherEntity; +import com.zzjee.md.service.MvCusOtherServiceI; + /** * @Title: Controller * @Description: mv_cus_other diff --git a/src/main/java/com/zzjee/md/controller/MvGoodsController.java b/src/main/java/com/zzjee/md/controller/MvGoodsController.java index 8f8921ae..fbadb43f 100644 --- a/src/main/java/com/zzjee/md/controller/MvGoodsController.java +++ b/src/main/java/com/zzjee/md/controller/MvGoodsController.java @@ -1,83 +1,56 @@ package com.zzjee.md.controller; -import com.zzjee.md.entity.MvGoodsEntity; -import com.zzjee.md.service.MvGoodsServiceI; - +import java.io.IOException; +import java.net.URI; import java.util.ArrayList; 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.HttpServletResponse; +import javax.validation.ConstraintViolation; +import javax.validation.Validator; import org.apache.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -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.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.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.core.util.ExceptionUtil; +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.tag.core.easyui.TagUtil; -import org.jeecgframework.web.system.pojo.base.TSDepart; -import org.jeecgframework.web.system.pojo.base.TSRole; -import org.jeecgframework.web.system.pojo.base.TSRoleUser; -import org.jeecgframework.web.system.pojo.base.TSUser; -import org.jeecgframework.web.system.service.SystemService; -import org.jeecgframework.core.util.MyBeanUtils; - -import java.io.OutputStream; - -import org.jeecgframework.core.util.BrowserUtils; -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 org.jeecgframework.core.util.ResourceUtil; - -import java.io.IOException; - -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.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.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.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; -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.Validator; - -import java.net.URI; - -import org.springframework.http.MediaType; +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 com.zzjee.md.entity.MvGoodsEntity; +import com.zzjee.md.service.MvGoodsServiceI; + /** * @Title: Controller * @Description: 商品视图 diff --git a/src/main/java/com/zzjee/md/entity/MdBinEntity.java b/src/main/java/com/zzjee/md/entity/MdBinEntity.java index 8d02e6f7..8e116f24 100644 --- a/src/main/java/com/zzjee/md/entity/MdBinEntity.java +++ b/src/main/java/com/zzjee/md/entity/MdBinEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MdCusEntity.java b/src/main/java/com/zzjee/md/entity/MdCusEntity.java index ab4d4bfb..9aa081d2 100644 --- a/src/main/java/com/zzjee/md/entity/MdCusEntity.java +++ b/src/main/java/com/zzjee/md/entity/MdCusEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MdCusOtherEntity.java b/src/main/java/com/zzjee/md/entity/MdCusOtherEntity.java index cdc54a42..af6eb723 100644 --- a/src/main/java/com/zzjee/md/entity/MdCusOtherEntity.java +++ b/src/main/java/com/zzjee/md/entity/MdCusOtherEntity.java @@ -1,21 +1,14 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; + import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MdGoodsEntity.java b/src/main/java/com/zzjee/md/entity/MdGoodsEntity.java index 4eb7302e..62aef297 100644 --- a/src/main/java/com/zzjee/md/entity/MdGoodsEntity.java +++ b/src/main/java/com/zzjee/md/entity/MdGoodsEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MdSupEntity.java b/src/main/java/com/zzjee/md/entity/MdSupEntity.java index 61963613..13f7de2c 100644 --- a/src/main/java/com/zzjee/md/entity/MdSupEntity.java +++ b/src/main/java/com/zzjee/md/entity/MdSupEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MvCusEntity.java b/src/main/java/com/zzjee/md/entity/MvCusEntity.java index ae4fdf32..0777a308 100644 --- a/src/main/java/com/zzjee/md/entity/MvCusEntity.java +++ b/src/main/java/com/zzjee/md/entity/MvCusEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MvCusOtherEntity.java b/src/main/java/com/zzjee/md/entity/MvCusOtherEntity.java index 9d2c3852..5f8cc1c2 100644 --- a/src/main/java/com/zzjee/md/entity/MvCusOtherEntity.java +++ b/src/main/java/com/zzjee/md/entity/MvCusOtherEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /** diff --git a/src/main/java/com/zzjee/md/entity/MvGoodsEntity.java b/src/main/java/com/zzjee/md/entity/MvGoodsEntity.java index 75412148..0dd3648f 100644 --- a/src/main/java/com/zzjee/md/entity/MvGoodsEntity.java +++ b/src/main/java/com/zzjee/md/entity/MvGoodsEntity.java @@ -1,21 +1,12 @@ package com.zzjee.md.entity; -import java.math.BigDecimal; -import java.util.Date; -import java.lang.String; -import java.lang.Double; -import java.lang.Integer; -import java.math.BigDecimal; -import javax.xml.soap.Text; -import java.sql.Blob; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; + import org.hibernate.annotations.GenericGenerator; -import javax.persistence.SequenceGenerator; import org.jeecgframework.poi.excel.annotation.Excel; /**