Browse Source

采购到货退货单

袁少华 4 years ago
parent
commit
0459dec3d8

+ 237 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/controller/FbsArrivalVouchsController.java

@@ -0,0 +1,237 @@
+package org.jeecg.modules.fbsPuArrivalvouch.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsArrivalVouchs;
+import org.jeecg.modules.fbsPuArrivalvouch.service.IFbsArrivalVouchsService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+
+ /**
+ * @Title: Controller
+ * @Description: 采购到货退货单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@RestController
+@RequestMapping("/fbsPuArrivalvouch/fbsArrivalVouchs")
+@Slf4j
+public class FbsArrivalVouchsController {
+	@Autowired
+	private IFbsArrivalVouchsService fbsArrivalVouchsService;
+	
+	/**
+	  * 分页列表查询
+	 * @param fbsArrivalVouchs
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<FbsArrivalVouchs>> queryPageList(FbsArrivalVouchs fbsArrivalVouchs,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<FbsArrivalVouchs>> result = new Result<IPage<FbsArrivalVouchs>>();
+		QueryWrapper<FbsArrivalVouchs> queryWrapper = QueryGenerator.initQueryWrapper(fbsArrivalVouchs, req.getParameterMap());
+		Page<FbsArrivalVouchs> page = new Page<FbsArrivalVouchs>(pageNo, pageSize);
+		IPage<FbsArrivalVouchs> pageList = fbsArrivalVouchsService.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param fbsArrivalVouchs
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<FbsArrivalVouchs> add(@RequestBody FbsArrivalVouchs fbsArrivalVouchs) {
+		Result<FbsArrivalVouchs> result = new Result<FbsArrivalVouchs>();
+		try {
+			fbsArrivalVouchsService.save(fbsArrivalVouchs);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			e.printStackTrace();
+			log.info(e.getMessage());
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param fbsArrivalVouchs
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<FbsArrivalVouchs> edit(@RequestBody FbsArrivalVouchs fbsArrivalVouchs) {
+		Result<FbsArrivalVouchs> result = new Result<FbsArrivalVouchs>();
+		FbsArrivalVouchs fbsArrivalVouchsEntity = fbsArrivalVouchsService.getById(fbsArrivalVouchs.getId());
+		if(fbsArrivalVouchsEntity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsArrivalVouchsService.updateById(fbsArrivalVouchs);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<FbsArrivalVouchs> delete(@RequestParam(name="id",required=true) String id) {
+		Result<FbsArrivalVouchs> result = new Result<FbsArrivalVouchs>();
+		FbsArrivalVouchs fbsArrivalVouchs = fbsArrivalVouchsService.getById(id);
+		if(fbsArrivalVouchs==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsArrivalVouchsService.removeById(id);
+			if(ok) {
+				result.success("删除成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<FbsArrivalVouchs> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<FbsArrivalVouchs> result = new Result<FbsArrivalVouchs>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.fbsArrivalVouchsService.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<FbsArrivalVouchs> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<FbsArrivalVouchs> result = new Result<FbsArrivalVouchs>();
+		FbsArrivalVouchs fbsArrivalVouchs = fbsArrivalVouchsService.getById(id);
+		if(fbsArrivalVouchs==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(fbsArrivalVouchs);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
+      // Step.1 组装查询条件
+      QueryWrapper<FbsArrivalVouchs> queryWrapper = null;
+      try {
+          String paramsStr = request.getParameter("paramsStr");
+          if (oConvertUtils.isNotEmpty(paramsStr)) {
+              String deString = URLDecoder.decode(paramsStr, "UTF-8");
+              FbsArrivalVouchs fbsArrivalVouchs = JSON.parseObject(deString, FbsArrivalVouchs.class);
+              queryWrapper = QueryGenerator.initQueryWrapper(fbsArrivalVouchs, request.getParameterMap());
+          }
+      } catch (UnsupportedEncodingException e) {
+          e.printStackTrace();
+      }
+
+      //Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      List<FbsArrivalVouchs> pageList = fbsArrivalVouchsService.list(queryWrapper);
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "采购到货退货单主表(表体)列表");
+      mv.addObject(NormalExcelConstants.CLASS, FbsArrivalVouchs.class);
+      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("采购到货退货单主表(表体)列表数据", "导出人:Jeecg", "导出信息"));
+      mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
+      return mv;
+  }
+
+  /**
+      * 通过excel导入数据
+   *
+   * @param request
+   * @param response
+   * @return
+   */
+  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+          MultipartFile file = entity.getValue();// 获取上传文件对象
+          ImportParams params = new ImportParams();
+          params.setTitleRows(2);
+          params.setHeadRows(1);
+          params.setNeedSave(true);
+          try {
+              List<FbsArrivalVouchs> listFbsArrivalVouchss = ExcelImportUtil.importExcel(file.getInputStream(), FbsArrivalVouchs.class, params);
+              for (FbsArrivalVouchs fbsArrivalVouchsExcel : listFbsArrivalVouchss) {
+                  fbsArrivalVouchsService.save(fbsArrivalVouchsExcel);
+              }
+              return Result.ok("文件导入成功!数据行数:" + listFbsArrivalVouchss.size());
+          } catch (Exception e) {
+              log.error(e.getMessage());
+              return Result.error("文件导入失败!");
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 237 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/controller/FbsPuArrivalvouchController.java

@@ -0,0 +1,237 @@
+package org.jeecg.modules.fbsPuArrivalvouch.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsPuArrivalvouch;
+import org.jeecg.modules.fbsPuArrivalvouch.service.IFbsPuArrivalvouchService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+
+ /**
+ * @Title: Controller
+ * @Description: 采购到货退货单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@RestController
+@RequestMapping("/fbsPuArrivalvouch/fbsPuArrivalvouch")
+@Slf4j
+public class FbsPuArrivalvouchController {
+	@Autowired
+	private IFbsPuArrivalvouchService fbsPuArrivalvouchService;
+	
+	/**
+	  * 分页列表查询
+	 * @param fbsPuArrivalvouch
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<FbsPuArrivalvouch>> queryPageList(FbsPuArrivalvouch fbsPuArrivalvouch,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<FbsPuArrivalvouch>> result = new Result<IPage<FbsPuArrivalvouch>>();
+		QueryWrapper<FbsPuArrivalvouch> queryWrapper = QueryGenerator.initQueryWrapper(fbsPuArrivalvouch, req.getParameterMap());
+		Page<FbsPuArrivalvouch> page = new Page<FbsPuArrivalvouch>(pageNo, pageSize);
+		IPage<FbsPuArrivalvouch> pageList = fbsPuArrivalvouchService.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param fbsPuArrivalvouch
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<FbsPuArrivalvouch> add(@RequestBody FbsPuArrivalvouch fbsPuArrivalvouch) {
+		Result<FbsPuArrivalvouch> result = new Result<FbsPuArrivalvouch>();
+		try {
+			fbsPuArrivalvouchService.save(fbsPuArrivalvouch);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			e.printStackTrace();
+			log.info(e.getMessage());
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param fbsPuArrivalvouch
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<FbsPuArrivalvouch> edit(@RequestBody FbsPuArrivalvouch fbsPuArrivalvouch) {
+		Result<FbsPuArrivalvouch> result = new Result<FbsPuArrivalvouch>();
+		FbsPuArrivalvouch fbsPuArrivalvouchEntity = fbsPuArrivalvouchService.getById(fbsPuArrivalvouch.getId());
+		if(fbsPuArrivalvouchEntity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsPuArrivalvouchService.updateById(fbsPuArrivalvouch);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<FbsPuArrivalvouch> delete(@RequestParam(name="id",required=true) String id) {
+		Result<FbsPuArrivalvouch> result = new Result<FbsPuArrivalvouch>();
+		FbsPuArrivalvouch fbsPuArrivalvouch = fbsPuArrivalvouchService.getById(id);
+		if(fbsPuArrivalvouch==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsPuArrivalvouchService.removeById(id);
+			if(ok) {
+				result.success("删除成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<FbsPuArrivalvouch> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<FbsPuArrivalvouch> result = new Result<FbsPuArrivalvouch>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.fbsPuArrivalvouchService.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<FbsPuArrivalvouch> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<FbsPuArrivalvouch> result = new Result<FbsPuArrivalvouch>();
+		FbsPuArrivalvouch fbsPuArrivalvouch = fbsPuArrivalvouchService.getById(id);
+		if(fbsPuArrivalvouch==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(fbsPuArrivalvouch);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
+      // Step.1 组装查询条件
+      QueryWrapper<FbsPuArrivalvouch> queryWrapper = null;
+      try {
+          String paramsStr = request.getParameter("paramsStr");
+          if (oConvertUtils.isNotEmpty(paramsStr)) {
+              String deString = URLDecoder.decode(paramsStr, "UTF-8");
+              FbsPuArrivalvouch fbsPuArrivalvouch = JSON.parseObject(deString, FbsPuArrivalvouch.class);
+              queryWrapper = QueryGenerator.initQueryWrapper(fbsPuArrivalvouch, request.getParameterMap());
+          }
+      } catch (UnsupportedEncodingException e) {
+          e.printStackTrace();
+      }
+
+      //Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      List<FbsPuArrivalvouch> pageList = fbsPuArrivalvouchService.list(queryWrapper);
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "采购到货退货单主表(表头)列表");
+      mv.addObject(NormalExcelConstants.CLASS, FbsPuArrivalvouch.class);
+      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("采购到货退货单主表(表头)列表数据", "导出人:Jeecg", "导出信息"));
+      mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
+      return mv;
+  }
+
+  /**
+      * 通过excel导入数据
+   *
+   * @param request
+   * @param response
+   * @return
+   */
+  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+          MultipartFile file = entity.getValue();// 获取上传文件对象
+          ImportParams params = new ImportParams();
+          params.setTitleRows(2);
+          params.setHeadRows(1);
+          params.setNeedSave(true);
+          try {
+              List<FbsPuArrivalvouch> listFbsPuArrivalvouchs = ExcelImportUtil.importExcel(file.getInputStream(), FbsPuArrivalvouch.class, params);
+              for (FbsPuArrivalvouch fbsPuArrivalvouchExcel : listFbsPuArrivalvouchs) {
+                  fbsPuArrivalvouchService.save(fbsPuArrivalvouchExcel);
+              }
+              return Result.ok("文件导入成功!数据行数:" + listFbsPuArrivalvouchs.size());
+          } catch (Exception e) {
+              log.error(e.getMessage());
+              return Result.error("文件导入失败!");
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 482 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/entity/FbsArrivalVouchs.java

@@ -0,0 +1,482 @@
+package org.jeecg.modules.fbsPuArrivalvouch.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+
+/**
+ * @Description: 采购到货退货单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@Data
+@TableName("pu_arrivalvouchs")
+public class FbsArrivalVouchs implements Serializable {
+    private static final long serialVersionUID = 1L;
+    
+	/**autoid*/
+	@Excel(name = "autoid", width = 15)
+	private Integer autoid;
+	/**id*/
+	@TableId(type = IdType.UUID)
+	private Integer id;
+	/**cwhcode*/
+	@Excel(name = "cwhcode", width = 15)
+	private String cwhcode;
+	/**cinvcode*/
+	@Excel(name = "cinvcode", width = 15)
+	private String cinvcode;
+	/**inum*/
+	@Excel(name = "inum", width = 15)
+	private java.math.BigDecimal inum;
+	/**iquantity*/
+	@Excel(name = "iquantity", width = 15)
+	private java.math.BigDecimal iquantity;
+	/**ioricost*/
+	@Excel(name = "ioricost", width = 15)
+	private java.math.BigDecimal ioricost;
+	/**ioritaxcost*/
+	@Excel(name = "ioritaxcost", width = 15)
+	private java.math.BigDecimal ioritaxcost;
+	/**iorimoney*/
+	@Excel(name = "iorimoney", width = 15)
+	private Object iorimoney;
+	/**ioritaxprice*/
+	@Excel(name = "ioritaxprice", width = 15)
+	private Object ioritaxprice;
+	/**iorisum*/
+	@Excel(name = "iorisum", width = 15)
+	private Object iorisum;
+	/**icost*/
+	@Excel(name = "icost", width = 15)
+	private java.math.BigDecimal icost;
+	/**imoney*/
+	@Excel(name = "imoney", width = 15)
+	private Object imoney;
+	/**itaxprice*/
+	@Excel(name = "itaxprice", width = 15)
+	private Object itaxprice;
+	/**isum*/
+	@Excel(name = "isum", width = 15)
+	private Object isum;
+	/**cfree1*/
+	@Excel(name = "cfree1", width = 15)
+	private String cfree1;
+	/**cfree2*/
+	@Excel(name = "cfree2", width = 15)
+	private String cfree2;
+	/**cfree3*/
+	@Excel(name = "cfree3", width = 15)
+	private String cfree3;
+	/**cfree4*/
+	@Excel(name = "cfree4", width = 15)
+	private String cfree4;
+	/**cfree5*/
+	@Excel(name = "cfree5", width = 15)
+	private String cfree5;
+	/**cfree6*/
+	@Excel(name = "cfree6", width = 15)
+	private String cfree6;
+	/**cfree7*/
+	@Excel(name = "cfree7", width = 15)
+	private String cfree7;
+	/**cfree8*/
+	@Excel(name = "cfree8", width = 15)
+	private String cfree8;
+	/**cfree9*/
+	@Excel(name = "cfree9", width = 15)
+	private String cfree9;
+	/**cfree10*/
+	@Excel(name = "cfree10", width = 15)
+	private String cfree10;
+	/**itaxrate*/
+	@Excel(name = "itaxrate", width = 15)
+	private java.math.BigDecimal itaxrate;
+	/**cdefine22*/
+	@Excel(name = "cdefine22", width = 15)
+	private String cdefine22;
+	/**cdefine23*/
+	@Excel(name = "cdefine23", width = 15)
+	private String cdefine23;
+	/**cdefine24*/
+	@Excel(name = "cdefine24", width = 15)
+	private String cdefine24;
+	/**cdefine25*/
+	@Excel(name = "cdefine25", width = 15)
+	private String cdefine25;
+	/**cdefine26*/
+	@Excel(name = "cdefine26", width = 15)
+	private Float cdefine26;
+	/**cdefine27*/
+	@Excel(name = "cdefine27", width = 15)
+	private Float cdefine27;
+	/**cdefine28*/
+	@Excel(name = "cdefine28", width = 15)
+	private String cdefine28;
+	/**cdefine29*/
+	@Excel(name = "cdefine29", width = 15)
+	private String cdefine29;
+	/**cdefine30*/
+	@Excel(name = "cdefine30", width = 15)
+	private String cdefine30;
+	/**cdefine31*/
+	@Excel(name = "cdefine31", width = 15)
+	private String cdefine31;
+	/**cdefine32*/
+	@Excel(name = "cdefine32", width = 15)
+	private String cdefine32;
+	/**cdefine33*/
+	@Excel(name = "cdefine33", width = 15)
+	private String cdefine33;
+	/**cdefine34*/
+	@Excel(name = "cdefine34", width = 15)
+	private Integer cdefine34;
+	/**cdefine35*/
+	@Excel(name = "cdefine35", width = 15)
+	private Integer cdefine35;
+	/**cdefine36*/
+	@Excel(name = "cdefine36", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cdefine36;
+	/**cdefine37*/
+	@Excel(name = "cdefine37", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cdefine37;
+	/**citemClass*/
+	@Excel(name = "citemClass", width = 15)
+	private String citemClass;
+	/**citemcode*/
+	@Excel(name = "citemcode", width = 15)
+	private String citemcode;
+	/**iposid*/
+	@Excel(name = "iposid", width = 15)
+	private Integer iposid;
+	/**citemname*/
+	@Excel(name = "citemname", width = 15)
+	private String citemname;
+	/**cunitid*/
+	@Excel(name = "cunitid", width = 15)
+	private String cunitid;
+	/**fvalidinquan*/
+	@Excel(name = "fvalidinquan", width = 15)
+	private java.math.BigDecimal fvalidinquan;
+	/**fkpquantity*/
+	@Excel(name = "fkpquantity", width = 15)
+	private java.math.BigDecimal fkpquantity;
+	/**frealquantity*/
+	@Excel(name = "frealquantity", width = 15)
+	private java.math.BigDecimal frealquantity;
+	/**fvalidquantity*/
+	@Excel(name = "fvalidquantity", width = 15)
+	private java.math.BigDecimal fvalidquantity;
+	/**finvalidquantity*/
+	@Excel(name = "finvalidquantity", width = 15)
+	private java.math.BigDecimal finvalidquantity;
+	/**ccloser*/
+	@Excel(name = "ccloser", width = 15)
+	private String ccloser;
+	/**icorid*/
+	@Excel(name = "icorid", width = 15)
+	private Integer icorid;
+	/**fretquantity*/
+	@Excel(name = "fretquantity", width = 15)
+	private java.math.BigDecimal fretquantity;
+	/**finvalidinquan*/
+	@Excel(name = "finvalidinquan", width = 15)
+	private java.math.BigDecimal finvalidinquan;
+	/**bgsp*/
+	@Excel(name = "bgsp", width = 15)
+	private Integer bgsp;
+	/**cbatch*/
+	@Excel(name = "cbatch", width = 15)
+	private String cbatch;
+	/**dvdate*/
+	@Excel(name = "dvdate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dvdate;
+	/**dpdate*/
+	@Excel(name = "dpdate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dpdate;
+	/**frefusequantity*/
+	@Excel(name = "frefusequantity", width = 15)
+	private java.math.BigDecimal frefusequantity;
+	/**cgspstate*/
+	@Excel(name = "cgspstate", width = 15)
+	private String cgspstate;
+	/**fvalidnum*/
+	@Excel(name = "fvalidnum", width = 15)
+	private java.math.BigDecimal fvalidnum;
+	/**fvalidinnum*/
+	@Excel(name = "fvalidinnum", width = 15)
+	private java.math.BigDecimal fvalidinnum;
+	/**finvalidnum*/
+	@Excel(name = "finvalidnum", width = 15)
+	private java.math.BigDecimal finvalidnum;
+	/**frealnum*/
+	@Excel(name = "frealnum", width = 15)
+	private java.math.BigDecimal frealnum;
+	/**btaxcost*/
+	@Excel(name = "btaxcost", width = 15)
+	private Object btaxcost;
+	/**binspect*/
+	@Excel(name = "binspect", width = 15)
+	private Integer binspect;
+	/**frefusenum*/
+	@Excel(name = "frefusenum", width = 15)
+	private java.math.BigDecimal frefusenum;
+	/**ippartid*/
+	@Excel(name = "ippartid", width = 15)
+	private Integer ippartid;
+	/**ipquantity*/
+	@Excel(name = "ipquantity", width = 15)
+	private java.math.BigDecimal ipquantity;
+	/**iptoseq*/
+	@Excel(name = "iptoseq", width = 15)
+	private Integer iptoseq;
+	/**sodid*/
+	@Excel(name = "sodid", width = 15)
+	private String sodid;
+	/**sotype*/
+	@Excel(name = "sotype", width = 15)
+	private Integer sotype;
+	/**contractrowguid*/
+	@Excel(name = "contractrowguid", width = 15)
+	private Object contractrowguid;
+	/**imassdate*/
+	@Excel(name = "imassdate", width = 15)
+	private Integer imassdate;
+	/**cmassunit*/
+	@Excel(name = "cmassunit", width = 15)
+	private Integer cmassunit;
+	/**bexigency*/
+	@Excel(name = "bexigency", width = 15)
+	private Integer bexigency;
+	/**cbcloser*/
+	@Excel(name = "cbcloser", width = 15)
+	private String cbcloser;
+	/**fsumrefusequantity*/
+	@Excel(name = "fsumrefusequantity", width = 15)
+	private java.math.BigDecimal fsumrefusequantity;
+	/**fsumrefusenum*/
+	@Excel(name = "fsumrefusenum", width = 15)
+	private java.math.BigDecimal fsumrefusenum;
+	/**fretnum*/
+	@Excel(name = "fretnum", width = 15)
+	private java.math.BigDecimal fretnum;
+	/**fdtquantity*/
+	@Excel(name = "fdtquantity", width = 15)
+	private java.math.BigDecimal fdtquantity;
+	/**finvalidinnum*/
+	@Excel(name = "finvalidinnum", width = 15)
+	private java.math.BigDecimal finvalidinnum;
+	/**fdegradequantity*/
+	@Excel(name = "fdegradequantity", width = 15)
+	private java.math.BigDecimal fdegradequantity;
+	/**fdegradenum*/
+	@Excel(name = "fdegradenum", width = 15)
+	private java.math.BigDecimal fdegradenum;
+	/**fdegradeinquantity*/
+	@Excel(name = "fdegradeinquantity", width = 15)
+	private java.math.BigDecimal fdegradeinquantity;
+	/**fdegradeinnum*/
+	@Excel(name = "fdegradeinnum", width = 15)
+	private java.math.BigDecimal fdegradeinnum;
+	/**finspectquantity*/
+	@Excel(name = "finspectquantity", width = 15)
+	private java.math.BigDecimal finspectquantity;
+	/**finspectnum*/
+	@Excel(name = "finspectnum", width = 15)
+	private java.math.BigDecimal finspectnum;
+	/**iinvmpcost*/
+	@Excel(name = "iinvmpcost", width = 15)
+	private java.math.BigDecimal iinvmpcost;
+	/**guids*/
+	@Excel(name = "guids", width = 15)
+	private String guids;
+	/**iinvexchrate*/
+	@Excel(name = "iinvexchrate", width = 15)
+	private java.math.BigDecimal iinvexchrate;
+	/**objectidSource*/
+	@Excel(name = "objectidSource", width = 15)
+	private String objectidSource;
+	/**autoidSource*/
+	@Excel(name = "autoidSource", width = 15)
+	private Integer autoidSource;
+	/**uftsSource*/
+	@Excel(name = "uftsSource", width = 15)
+	private String uftsSource;
+	/**irownoSource*/
+	@Excel(name = "irownoSource", width = 15)
+	private Integer irownoSource;
+	/**csocode*/
+	@Excel(name = "csocode", width = 15)
+	private String csocode;
+	/**isorowno*/
+	@Excel(name = "isorowno", width = 15)
+	private Integer isorowno;
+	/**iorderid*/
+	@Excel(name = "iorderid", width = 15)
+	private Integer iorderid;
+	/**cordercode*/
+	@Excel(name = "cordercode", width = 15)
+	private String cordercode;
+	/**iorderrowno*/
+	@Excel(name = "iorderrowno", width = 15)
+	private Integer iorderrowno;
+	/**dlineclosedate*/
+	@Excel(name = "dlineclosedate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dlineclosedate;
+	/**contractcode*/
+	@Excel(name = "contractcode", width = 15)
+	private String contractcode;
+	/**contractrowno*/
+	@Excel(name = "contractrowno", width = 15)
+	private String contractrowno;
+	/**rejectsource*/
+	@Excel(name = "rejectsource", width = 15)
+	private Object rejectsource;
+	/**iciqbookid*/
+	@Excel(name = "iciqbookid", width = 15)
+	private Integer iciqbookid;
+	/**cciqbookcode*/
+	@Excel(name = "cciqbookcode", width = 15)
+	private String cciqbookcode;
+	/**cciqcode*/
+	@Excel(name = "cciqcode", width = 15)
+	private String cciqcode;
+	/**fciqchangrate*/
+	@Excel(name = "fciqchangrate", width = 15)
+	private java.math.BigDecimal fciqchangrate;
+	/**irejectautoid*/
+	@Excel(name = "irejectautoid", width = 15)
+	private Integer irejectautoid;
+	/**iexpiratdatecalcu*/
+	@Excel(name = "iexpiratdatecalcu", width = 15)
+	private Integer iexpiratdatecalcu;
+	/**cexpirationdate*/
+	@Excel(name = "cexpirationdate", width = 15)
+	private String cexpirationdate;
+	/**dexpirationdate*/
+	@Excel(name = "dexpirationdate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dexpirationdate;
+	/**cupsocode*/
+	@Excel(name = "cupsocode", width = 15)
+	private String cupsocode;
+	/**iorderdid*/
+	@Excel(name = "iorderdid", width = 15)
+	private Integer iorderdid;
+	/**iordertype*/
+	@Excel(name = "iordertype", width = 15)
+	private Integer iordertype;
+	/**csoordercode*/
+	@Excel(name = "csoordercode", width = 15)
+	private String csoordercode;
+	/**iorderseq*/
+	@Excel(name = "iorderseq", width = 15)
+	private Integer iorderseq;
+	/**cbatchproperty1*/
+	@Excel(name = "cbatchproperty1", width = 15)
+	private java.math.BigDecimal cbatchproperty1;
+	/**cbatchproperty2*/
+	@Excel(name = "cbatchproperty2", width = 15)
+	private java.math.BigDecimal cbatchproperty2;
+	/**cbatchproperty3*/
+	@Excel(name = "cbatchproperty3", width = 15)
+	private java.math.BigDecimal cbatchproperty3;
+	/**cbatchproperty4*/
+	@Excel(name = "cbatchproperty4", width = 15)
+	private java.math.BigDecimal cbatchproperty4;
+	/**cbatchproperty5*/
+	@Excel(name = "cbatchproperty5", width = 15)
+	private java.math.BigDecimal cbatchproperty5;
+	/**cbatchproperty6*/
+	@Excel(name = "cbatchproperty6", width = 15)
+	private String cbatchproperty6;
+	/**cbatchproperty7*/
+	@Excel(name = "cbatchproperty7", width = 15)
+	private String cbatchproperty7;
+	/**cbatchproperty8*/
+	@Excel(name = "cbatchproperty8", width = 15)
+	private String cbatchproperty8;
+	/**cbatchproperty9*/
+	@Excel(name = "cbatchproperty9", width = 15)
+	private String cbatchproperty9;
+	/**cbatchproperty10*/
+	@Excel(name = "cbatchproperty10", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cbatchproperty10;
+	/**ivouchrowno*/
+	@Excel(name = "ivouchrowno", width = 15)
+	private Integer ivouchrowno;
+	/**irowno*/
+	@Excel(name = "irowno", width = 15)
+	private Integer irowno;
+	/**cbmemo*/
+	@Excel(name = "cbmemo", width = 15)
+	private String cbmemo;
+	/**cbsysbarcode*/
+	@Excel(name = "cbsysbarcode", width = 15)
+	private String cbsysbarcode;
+	/**carrivalcode*/
+	@Excel(name = "carrivalcode", width = 15)
+	private String carrivalcode;
+	/**ipickedquantity*/
+	@Excel(name = "ipickedquantity", width = 15)
+	private Float ipickedquantity;
+	/**ipickednum*/
+	@Excel(name = "ipickednum", width = 15)
+	private Float ipickednum;
+	/**isourcemocode*/
+	@Excel(name = "isourcemocode", width = 15)
+	private String isourcemocode;
+	/**isourcemodetailsid*/
+	@Excel(name = "isourcemodetailsid", width = 15)
+	private Integer isourcemodetailsid;
+	/**freworkquantity*/
+	@Excel(name = "freworkquantity", width = 15)
+	private java.math.BigDecimal freworkquantity;
+	/**freworknum*/
+	@Excel(name = "freworknum", width = 15)
+	private java.math.BigDecimal freworknum;
+	/**fsumreworkquantity*/
+	@Excel(name = "fsumreworkquantity", width = 15)
+	private java.math.BigDecimal fsumreworkquantity;
+	/**fsumreworknum*/
+	@Excel(name = "fsumreworknum", width = 15)
+	private java.math.BigDecimal fsumreworknum;
+	/**iproducttype*/
+	@Excel(name = "iproducttype", width = 15)
+	private Integer iproducttype;
+	/**cmaininvcode*/
+	@Excel(name = "cmaininvcode", width = 15)
+	private String cmaininvcode;
+	/**imainmodetailsid*/
+	@Excel(name = "imainmodetailsid", width = 15)
+	private Integer imainmodetailsid;
+	/**planlotnumber*/
+	@Excel(name = "planlotnumber", width = 15)
+	private String planlotnumber;
+	/**bgift*/
+	@Excel(name = "bgift", width = 15)
+	private Integer bgift;
+	/**cfactorycode*/
+	@Excel(name = "cfactorycode", width = 15)
+	private String cfactorycode;
+}

+ 253 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/entity/FbsPuArrivalvouch.java

@@ -0,0 +1,253 @@
+package org.jeecg.modules.fbsPuArrivalvouch.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+
+/**
+ * @Description: 采购到货退货单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@Data
+@TableName("pu_arrivalvouch")
+public class FbsPuArrivalvouch implements Serializable {
+    private static final long serialVersionUID = 1L;
+    
+	/**ivtid*/
+	@Excel(name = "ivtid", width = 15)
+	private Integer ivtid;
+	/**ufts*/
+	private Date ufts;
+	/**id*/
+	@TableId(type = IdType.UUID)
+	private Integer id;
+	/**ccode*/
+	@Excel(name = "ccode", width = 15)
+	private String ccode;
+	/**cptcode*/
+	@Excel(name = "cptcode", width = 15)
+	private String cptcode;
+	/**ddate*/
+	@Excel(name = "ddate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date ddate;
+	/**cvencode*/
+	@Excel(name = "cvencode", width = 15)
+	private String cvencode;
+	/**cdepcode*/
+	@Excel(name = "cdepcode", width = 15)
+	private String cdepcode;
+	/**cpersoncode*/
+	@Excel(name = "cpersoncode", width = 15)
+	private String cpersoncode;
+	/**cpaycode*/
+	@Excel(name = "cpaycode", width = 15)
+	private String cpaycode;
+	/**csccode*/
+	@Excel(name = "csccode", width = 15)
+	private String csccode;
+	/**cexchName*/
+	@Excel(name = "cexchName", width = 15)
+	private String cexchName;
+	/**iexchrate*/
+	@Excel(name = "iexchrate", width = 15)
+	private Float iexchrate;
+	/**itaxrate*/
+	@Excel(name = "itaxrate", width = 15)
+	private java.math.BigDecimal itaxrate;
+	/**cmemo*/
+	@Excel(name = "cmemo", width = 15)
+	private String cmemo;
+	/**cbustype*/
+	@Excel(name = "cbustype", width = 15)
+	private String cbustype;
+	/**cmaker*/
+	@Excel(name = "cmaker", width = 15)
+	private String cmaker;
+	/**bnegative*/
+	@Excel(name = "bnegative", width = 15)
+	private Integer bnegative;
+	/**cdefine1*/
+	@Excel(name = "cdefine1", width = 15)
+	private String cdefine1;
+	/**cdefine2*/
+	@Excel(name = "cdefine2", width = 15)
+	private String cdefine2;
+	/**cdefine3*/
+	@Excel(name = "cdefine3", width = 15)
+	private String cdefine3;
+	/**cdefine4*/
+	@Excel(name = "cdefine4", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cdefine4;
+	/**cdefine5*/
+	@Excel(name = "cdefine5", width = 15)
+	private Integer cdefine5;
+	/**cdefine6*/
+	@Excel(name = "cdefine6", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cdefine6;
+	/**cdefine7*/
+	@Excel(name = "cdefine7", width = 15)
+	private Float cdefine7;
+	/**cdefine8*/
+	@Excel(name = "cdefine8", width = 15)
+	private String cdefine8;
+	/**cdefine9*/
+	@Excel(name = "cdefine9", width = 15)
+	private String cdefine9;
+	/**cdefine10*/
+	@Excel(name = "cdefine10", width = 15)
+	private String cdefine10;
+	/**cdefine11*/
+	@Excel(name = "cdefine11", width = 15)
+	private String cdefine11;
+	/**cdefine12*/
+	@Excel(name = "cdefine12", width = 15)
+	private String cdefine12;
+	/**cdefine13*/
+	@Excel(name = "cdefine13", width = 15)
+	private String cdefine13;
+	/**cdefine14*/
+	@Excel(name = "cdefine14", width = 15)
+	private String cdefine14;
+	/**cdefine15*/
+	@Excel(name = "cdefine15", width = 15)
+	private Integer cdefine15;
+	/**cdefine16*/
+	@Excel(name = "cdefine16", width = 15)
+	private Float cdefine16;
+	/**ccloser*/
+	@Excel(name = "ccloser", width = 15)
+	private String ccloser;
+	/**idiscounttaxtype*/
+	@Excel(name = "idiscounttaxtype", width = 15)
+	private Integer idiscounttaxtype;
+	/**ibilltype*/
+	@Excel(name = "ibilltype", width = 15)
+	private Integer ibilltype;
+	/**cvouchtype*/
+	@Excel(name = "cvouchtype", width = 15)
+	private String cvouchtype;
+	/**cgeneralordercode*/
+	@Excel(name = "cgeneralordercode", width = 15)
+	private String cgeneralordercode;
+	/**ctmcode*/
+	@Excel(name = "ctmcode", width = 15)
+	private String ctmcode;
+	/**cincotermcode*/
+	@Excel(name = "cincotermcode", width = 15)
+	private String cincotermcode;
+	/**ctransordercode*/
+	@Excel(name = "ctransordercode", width = 15)
+	private String ctransordercode;
+	/**dportdate*/
+	@Excel(name = "dportdate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dportdate;
+	/**csportcode*/
+	@Excel(name = "csportcode", width = 15)
+	private String csportcode;
+	/**caportcode*/
+	@Excel(name = "caportcode", width = 15)
+	private String caportcode;
+	/**csvencode*/
+	@Excel(name = "csvencode", width = 15)
+	private String csvencode;
+	/**carrivalplace*/
+	@Excel(name = "carrivalplace", width = 15)
+	private String carrivalplace;
+	/**dclosedate*/
+	@Excel(name = "dclosedate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date dclosedate;
+	/**idec*/
+	@Excel(name = "idec", width = 15)
+	private Integer idec;
+	/**bcal*/
+	@Excel(name = "bcal", width = 15)
+	private Object bcal;
+	/**guid*/
+	@Excel(name = "guid", width = 15)
+	private String guid;
+	/**cmaketime*/
+	@Excel(name = "cmaketime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cmaketime;
+	/**cmodifytime*/
+	@Excel(name = "cmodifytime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cmodifytime;
+	/**cmodifydate*/
+	@Excel(name = "cmodifydate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cmodifydate;
+	/**creviser*/
+	@Excel(name = "creviser", width = 15)
+	private String creviser;
+	/**iverifystate*/
+	@Excel(name = "iverifystate", width = 15)
+	private Integer iverifystate;
+	/**cauditdate*/
+	@Excel(name = "cauditdate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date cauditdate;
+	/**caudittime*/
+	@Excel(name = "caudittime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	private Date caudittime;
+	/**cverifier*/
+	@Excel(name = "cverifier", width = 15)
+	private String cverifier;
+	/**iverifystateex*/
+	@Excel(name = "iverifystateex", width = 15)
+	private Integer iverifystateex;
+	/**ireturncount*/
+	@Excel(name = "ireturncount", width = 15)
+	private Integer ireturncount;
+	/**iswfcontrolled*/
+	@Excel(name = "iswfcontrolled", width = 15)
+	private Object iswfcontrolled;
+	/**cvenpuomprotocol*/
+	@Excel(name = "cvenpuomprotocol", width = 15)
+	private String cvenpuomprotocol;
+	/**cchanger*/
+	@Excel(name = "cchanger", width = 15)
+	private String cchanger;
+	/**iflowid*/
+	@Excel(name = "iflowid", width = 15)
+	private Integer iflowid;
+	/**iprintcount*/
+	@Excel(name = "iprintcount", width = 15)
+	private Integer iprintcount;
+	/**ccleanver*/
+	@Excel(name = "ccleanver", width = 15)
+	private String ccleanver;
+	/**cpocode*/
+	@Excel(name = "cpocode", width = 15)
+	private String cpocode;
+	/**csysbarcode*/
+	@Excel(name = "csysbarcode", width = 15)
+	private String csysbarcode;
+	/**ccurrentauditor*/
+	@Excel(name = "ccurrentauditor", width = 15)
+	private String ccurrentauditor;
+}

+ 17 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/mapper/FbsArrivalVouchsMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.fbsPuArrivalvouch.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsArrivalVouchs;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 采购到货退货单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+public interface FbsArrivalVouchsMapper extends BaseMapper<FbsArrivalVouchs> {
+
+}

+ 17 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/mapper/FbsPuArrivalvouchMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.fbsPuArrivalvouch.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsPuArrivalvouch;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 采购到货退货单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+public interface FbsPuArrivalvouchMapper extends BaseMapper<FbsPuArrivalvouch> {
+
+}

+ 5 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/mapper/xml/FbsArrivalVouchsMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.jeecg.modules.fbsPuArrivalvouch.mapper.FbsArrivalVouchsMapper">
+
+</mapper>

+ 5 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/mapper/xml/FbsPuArrivalvouchMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.jeecg.modules.fbsPuArrivalvouch.mapper.FbsPuArrivalvouchMapper">
+
+</mapper>

+ 14 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/service/IFbsArrivalVouchsService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.fbsPuArrivalvouch.service;
+
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsArrivalVouchs;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 采购到货退货单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+public interface IFbsArrivalVouchsService extends IService<FbsArrivalVouchs> {
+
+}

+ 14 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/service/IFbsPuArrivalvouchService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.fbsPuArrivalvouch.service;
+
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsPuArrivalvouch;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 采购到货退货单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+public interface IFbsPuArrivalvouchService extends IService<FbsPuArrivalvouch> {
+
+}

+ 19 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/service/impl/FbsArrivalVouchsServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.fbsPuArrivalvouch.service.impl;
+
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsArrivalVouchs;
+import org.jeecg.modules.fbsPuArrivalvouch.mapper.FbsArrivalVouchsMapper;
+import org.jeecg.modules.fbsPuArrivalvouch.service.IFbsArrivalVouchsService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 采购到货退货单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@Service
+public class FbsArrivalVouchsServiceImpl extends ServiceImpl<FbsArrivalVouchsMapper, FbsArrivalVouchs> implements IFbsArrivalVouchsService {
+
+}

+ 19 - 0
src/main/java/org/jeecg/modules/fbsPuArrivalvouch/service/impl/FbsPuArrivalvouchServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.fbsPuArrivalvouch.service.impl;
+
+import org.jeecg.modules.fbsPuArrivalvouch.entity.FbsPuArrivalvouch;
+import org.jeecg.modules.fbsPuArrivalvouch.mapper.FbsPuArrivalvouchMapper;
+import org.jeecg.modules.fbsPuArrivalvouch.service.IFbsPuArrivalvouchService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 采购到货退货单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-21
+ * @version: V1.0
+ */
+@Service
+public class FbsPuArrivalvouchServiceImpl extends ServiceImpl<FbsPuArrivalvouchMapper, FbsPuArrivalvouch> implements IFbsPuArrivalvouchService {
+
+}