袁少华 il y a 4 ans
Parent
commit
af9e85f62f
17 fichiers modifiés avec 1516 ajouts et 2 suppressions
  1. 37 2
      src/main/java/org/jeecg/modules/fbsDispatchList/controller/FbsDispatchListController.java
  2. 13 0
      src/main/java/org/jeecg/modules/fbsDispatchList/mapper/FbsDispatchListMapper.java
  3. 26 0
      src/main/java/org/jeecg/modules/fbsDispatchList/mapper/xml/FbsDispatchListMapper.xml
  4. 14 0
      src/main/java/org/jeecg/modules/fbsDispatchList/service/IFbsDispatchListService.java
  5. 13 0
      src/main/java/org/jeecg/modules/fbsDispatchList/service/impl/FbsDispatchListServiceImpl.java
  6. 237 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/controller/FbsRdrecord32Controller.java
  7. 237 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/controller/FbsRdrecords32Controller.java
  8. 332 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/entity/FbsRdrecord32.java
  9. 497 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/entity/FbsRdrecords32.java
  10. 17 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/FbsRdrecord32Mapper.java
  11. 17 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/FbsRdrecords32Mapper.java
  12. 5 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/xml/FbsRdrecord32Mapper.xml
  13. 5 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/xml/FbsRdrecords32Mapper.xml
  14. 14 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/service/IFbsRdrecord32Service.java
  15. 14 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/service/IFbsRdrecords32Service.java
  16. 19 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/service/impl/FbsRdrecord32ServiceImpl.java
  17. 19 0
      src/main/java/org/jeecg/modules/fbsRdrecord32/service/impl/FbsRdrecords32ServiceImpl.java

+ 37 - 2
src/main/java/org/jeecg/modules/fbsDispatchList/controller/FbsDispatchListController.java

@@ -45,8 +45,43 @@ import com.alibaba.fastjson.JSON;
 public class FbsDispatchListController {
 	@Autowired
 	private IFbsDispatchListService fbsDispatchListService;
-	
-	/**
+
+     /**
+      * 发货通知(仓库管理看板)
+      * @return
+      */
+     @RequestMapping(value = "/getWatingSendList")
+     public Result<List<Map<String,Object>>> getWatingSendList(){
+         Result<List<Map<String,Object>>> result=new Result<>();
+
+         try {
+             List<Map<String,Object>> map=fbsDispatchListService.getWatingSendList();
+             result.setResult(map);
+             result.success("操作成功");
+
+         } catch (Exception e) {
+             e.printStackTrace();
+             result.error500("操作失败:"+e.getMessage());
+         }
+
+         return result;
+     }
+
+     /**
+      * 已入库数量(仓库管理看板)
+      * @return
+      */
+     @RequestMapping(value = "/getSendSum")
+     public int getSendSum(){
+         return fbsDispatchListService.getSendSum();
+     }
+
+
+
+
+
+
+     /**
 	  * 分页列表查询
 	 * @param fbsDispatchList
 	 * @param pageNo

+ 13 - 0
src/main/java/org/jeecg/modules/fbsDispatchList/mapper/FbsDispatchListMapper.java

@@ -1,6 +1,7 @@
 package org.jeecg.modules.fbsDispatchList.mapper;
 
 import java.util.List;
+import java.util.Map;
 
 import org.apache.ibatis.annotations.Param;
 import org.jeecg.modules.fbsDispatchList.entity.FbsDispatchList;
@@ -14,4 +15,16 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  */
 public interface FbsDispatchListMapper extends BaseMapper<FbsDispatchList> {
 
+    /**
+     * 发货通知
+     * @return
+     */
+    List<Map<String,Object>> getWatingSendList();
+
+    /**
+     * 已入库数量
+     * @return
+     */
+    int getSendSum();
+
 }

+ 26 - 0
src/main/java/org/jeecg/modules/fbsDispatchList/mapper/xml/FbsDispatchListMapper.xml

@@ -1,5 +1,31 @@
 <?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.fbsDispatchList.mapper.FbsDispatchListMapper">
+    <select id="getWatingSendList" resultType="java.util.HashMap">
 
+         SELECT top 6 <!--c.cWhName '仓库',a.cInvCode '物料编码',d.cInvName '物料名称',d.cInvStd '规格',
+                a.iQuantity - a.fOutQuantity '已做发货单未出库数据',b.dDate '到货日期'-->
+                c.cWhName warehouseName,a.cInvCode materialCode,d.cInvName materialName,d.cInvStd specs,
+                a.iQuantity - a.fOutQuantity sendSum,b.,CONVERT(varchar(30),b.dDate,23) planSendDate
+        FROM
+             DispatchLists a
+             left join DispatchList b on a.DLID  = b.DLID
+             left join Warehouse c on a.cWhCode = c.cWhCode
+             left join Inventory d on a.cInvCode = d.cInvCode
+          where  (a.iQuantity - a.fOutQuantity) &gt; 0
+					order by b.dDate desc
+
+    </select>
+
+     <select id="getSendSum" resultType="int">
+
+         SELECT COUNT (1)
+        FROM
+             DispatchLists a
+             left join DispatchList b on a.DLID  = b.DLID
+             left join Warehouse c on a.cWhCode = c.cWhCode
+             left join Inventory d on a.cInvCode = d.cInvCode
+          where  (a.iQuantity - a.fOutQuantity) &lt;= 0
+
+    </select>
 </mapper>

+ 14 - 0
src/main/java/org/jeecg/modules/fbsDispatchList/service/IFbsDispatchListService.java

@@ -3,6 +3,9 @@ package org.jeecg.modules.fbsDispatchList.service;
 import org.jeecg.modules.fbsDispatchList.entity.FbsDispatchList;
 import com.baomidou.mybatisplus.extension.service.IService;
 
+import java.util.List;
+import java.util.Map;
+
 /**
  * @Description: 销售发货退货单主表(表头)
  * @author: jeecg-boot
@@ -10,5 +13,16 @@ import com.baomidou.mybatisplus.extension.service.IService;
  * @version: V1.0
  */
 public interface IFbsDispatchListService extends IService<FbsDispatchList> {
+    /**
+     * 发货通知
+     * @return
+     */
+    public List<Map<String,Object>> getWatingSendList();
+
+    /**
+     * 已入库数量
+     * @return
+     */
+    public int getSendSum();
 
 }

+ 13 - 0
src/main/java/org/jeecg/modules/fbsDispatchList/service/impl/FbsDispatchListServiceImpl.java

@@ -8,6 +8,10 @@ import org.springframework.stereotype.Service;
 
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 
+import javax.annotation.Resource;
+import java.util.List;
+import java.util.Map;
+
 /**
  * @Description: 销售发货退货单主表(表头)
  * @author: jeecg-boot
@@ -17,5 +21,14 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 @Service
 @DS("multi-datasource1")
 public class FbsDispatchListServiceImpl extends ServiceImpl<FbsDispatchListMapper, FbsDispatchList> implements IFbsDispatchListService {
+    @Resource
+    private FbsDispatchListMapper fbsDispatchListMapper;
+
+    public List<Map<String,Object>> getWatingSendList(){
+        return fbsDispatchListMapper.getWatingSendList();
+    }
 
+    public int getSendSum(){
+        return fbsDispatchListMapper.getSendSum();
+    }
 }

+ 237 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/controller/FbsRdrecord32Controller.java

@@ -0,0 +1,237 @@
+package org.jeecg.modules.fbsRdrecord32.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.fbsRdrecord32.entity.FbsRdrecord32;
+import org.jeecg.modules.fbsRdrecord32.service.IFbsRdrecord32Service;
+
+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-22
+ * @version: V1.0
+ */
+@RestController
+@RequestMapping("/fbsRdrecord32/fbsRdrecord32")
+@Slf4j
+public class FbsRdrecord32Controller {
+	@Autowired
+	private IFbsRdrecord32Service fbsRdrecord32Service;
+	
+	/**
+	  * 分页列表查询
+	 * @param fbsRdrecord32
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<FbsRdrecord32>> queryPageList(FbsRdrecord32 fbsRdrecord32,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<FbsRdrecord32>> result = new Result<IPage<FbsRdrecord32>>();
+		QueryWrapper<FbsRdrecord32> queryWrapper = QueryGenerator.initQueryWrapper(fbsRdrecord32, req.getParameterMap());
+		Page<FbsRdrecord32> page = new Page<FbsRdrecord32>(pageNo, pageSize);
+		IPage<FbsRdrecord32> pageList = fbsRdrecord32Service.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param fbsRdrecord32
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<FbsRdrecord32> add(@RequestBody FbsRdrecord32 fbsRdrecord32) {
+		Result<FbsRdrecord32> result = new Result<FbsRdrecord32>();
+		try {
+			fbsRdrecord32Service.save(fbsRdrecord32);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			e.printStackTrace();
+			log.info(e.getMessage());
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param fbsRdrecord32
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<FbsRdrecord32> edit(@RequestBody FbsRdrecord32 fbsRdrecord32) {
+		Result<FbsRdrecord32> result = new Result<FbsRdrecord32>();
+		FbsRdrecord32 fbsRdrecord32Entity = fbsRdrecord32Service.getById(fbsRdrecord32.getId());
+		if(fbsRdrecord32Entity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsRdrecord32Service.updateById(fbsRdrecord32);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<FbsRdrecord32> delete(@RequestParam(name="id",required=true) String id) {
+		Result<FbsRdrecord32> result = new Result<FbsRdrecord32>();
+		FbsRdrecord32 fbsRdrecord32 = fbsRdrecord32Service.getById(id);
+		if(fbsRdrecord32==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsRdrecord32Service.removeById(id);
+			if(ok) {
+				result.success("删除成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<FbsRdrecord32> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<FbsRdrecord32> result = new Result<FbsRdrecord32>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.fbsRdrecord32Service.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<FbsRdrecord32> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<FbsRdrecord32> result = new Result<FbsRdrecord32>();
+		FbsRdrecord32 fbsRdrecord32 = fbsRdrecord32Service.getById(id);
+		if(fbsRdrecord32==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(fbsRdrecord32);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
+      // Step.1 组装查询条件
+      QueryWrapper<FbsRdrecord32> queryWrapper = null;
+      try {
+          String paramsStr = request.getParameter("paramsStr");
+          if (oConvertUtils.isNotEmpty(paramsStr)) {
+              String deString = URLDecoder.decode(paramsStr, "UTF-8");
+              FbsRdrecord32 fbsRdrecord32 = JSON.parseObject(deString, FbsRdrecord32.class);
+              queryWrapper = QueryGenerator.initQueryWrapper(fbsRdrecord32, request.getParameterMap());
+          }
+      } catch (UnsupportedEncodingException e) {
+          e.printStackTrace();
+      }
+
+      //Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      List<FbsRdrecord32> pageList = fbsRdrecord32Service.list(queryWrapper);
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "销售出库单主表(表头)列表");
+      mv.addObject(NormalExcelConstants.CLASS, FbsRdrecord32.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<FbsRdrecord32> listFbsRdrecord32s = ExcelImportUtil.importExcel(file.getInputStream(), FbsRdrecord32.class, params);
+              for (FbsRdrecord32 fbsRdrecord32Excel : listFbsRdrecord32s) {
+                  fbsRdrecord32Service.save(fbsRdrecord32Excel);
+              }
+              return Result.ok("文件导入成功!数据行数:" + listFbsRdrecord32s.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/fbsRdrecord32/controller/FbsRdrecords32Controller.java

@@ -0,0 +1,237 @@
+package org.jeecg.modules.fbsRdrecord32.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.fbsRdrecord32.entity.FbsRdrecords32;
+import org.jeecg.modules.fbsRdrecord32.service.IFbsRdrecords32Service;
+
+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-22
+ * @version: V1.0
+ */
+@RestController
+@RequestMapping("/fbsRdrecord32/fbsRdrecords32")
+@Slf4j
+public class FbsRdrecords32Controller {
+	@Autowired
+	private IFbsRdrecords32Service fbsRdrecords32Service;
+	
+	/**
+	  * 分页列表查询
+	 * @param fbsRdrecords32
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<FbsRdrecords32>> queryPageList(FbsRdrecords32 fbsRdrecords32,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<FbsRdrecords32>> result = new Result<IPage<FbsRdrecords32>>();
+		QueryWrapper<FbsRdrecords32> queryWrapper = QueryGenerator.initQueryWrapper(fbsRdrecords32, req.getParameterMap());
+		Page<FbsRdrecords32> page = new Page<FbsRdrecords32>(pageNo, pageSize);
+		IPage<FbsRdrecords32> pageList = fbsRdrecords32Service.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param fbsRdrecords32
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<FbsRdrecords32> add(@RequestBody FbsRdrecords32 fbsRdrecords32) {
+		Result<FbsRdrecords32> result = new Result<FbsRdrecords32>();
+		try {
+			fbsRdrecords32Service.save(fbsRdrecords32);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			e.printStackTrace();
+			log.info(e.getMessage());
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param fbsRdrecords32
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<FbsRdrecords32> edit(@RequestBody FbsRdrecords32 fbsRdrecords32) {
+		Result<FbsRdrecords32> result = new Result<FbsRdrecords32>();
+		FbsRdrecords32 fbsRdrecords32Entity = fbsRdrecords32Service.getById(fbsRdrecords32.getId());
+		if(fbsRdrecords32Entity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsRdrecords32Service.updateById(fbsRdrecords32);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<FbsRdrecords32> delete(@RequestParam(name="id",required=true) String id) {
+		Result<FbsRdrecords32> result = new Result<FbsRdrecords32>();
+		FbsRdrecords32 fbsRdrecords32 = fbsRdrecords32Service.getById(id);
+		if(fbsRdrecords32==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = fbsRdrecords32Service.removeById(id);
+			if(ok) {
+				result.success("删除成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<FbsRdrecords32> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<FbsRdrecords32> result = new Result<FbsRdrecords32>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.fbsRdrecords32Service.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<FbsRdrecords32> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<FbsRdrecords32> result = new Result<FbsRdrecords32>();
+		FbsRdrecords32 fbsRdrecords32 = fbsRdrecords32Service.getById(id);
+		if(fbsRdrecords32==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(fbsRdrecords32);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
+      // Step.1 组装查询条件
+      QueryWrapper<FbsRdrecords32> queryWrapper = null;
+      try {
+          String paramsStr = request.getParameter("paramsStr");
+          if (oConvertUtils.isNotEmpty(paramsStr)) {
+              String deString = URLDecoder.decode(paramsStr, "UTF-8");
+              FbsRdrecords32 fbsRdrecords32 = JSON.parseObject(deString, FbsRdrecords32.class);
+              queryWrapper = QueryGenerator.initQueryWrapper(fbsRdrecords32, request.getParameterMap());
+          }
+      } catch (UnsupportedEncodingException e) {
+          e.printStackTrace();
+      }
+
+      //Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      List<FbsRdrecords32> pageList = fbsRdrecords32Service.list(queryWrapper);
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "销售出库单主表(表体)列表");
+      mv.addObject(NormalExcelConstants.CLASS, FbsRdrecords32.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<FbsRdrecords32> listFbsRdrecords32s = ExcelImportUtil.importExcel(file.getInputStream(), FbsRdrecords32.class, params);
+              for (FbsRdrecords32 fbsRdrecords32Excel : listFbsRdrecords32s) {
+                  fbsRdrecords32Service.save(fbsRdrecords32Excel);
+              }
+              return Result.ok("文件导入成功!数据行数:" + listFbsRdrecords32s.size());
+          } catch (Exception e) {
+              log.error(e.getMessage());
+              return Result.error("文件导入失败!");
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 332 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/entity/FbsRdrecord32.java

@@ -0,0 +1,332 @@
+package org.jeecg.modules.fbsRdrecord32.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-22
+ * @version: V1.0
+ */
+@Data
+@TableName("rdrecord32")
+public class FbsRdrecord32 implements Serializable {
+    private static final long serialVersionUID = 1L;
+    
+	/**id*/
+	@TableId(type = IdType.UUID)
+	private Integer id;
+	/**brdflag*/
+	@Excel(name = "brdflag", width = 15)
+	private Integer brdflag;
+	/**cvouchtype*/
+	@Excel(name = "cvouchtype", width = 15)
+	private String cvouchtype;
+	/**cbustype*/
+	@Excel(name = "cbustype", width = 15)
+	private String cbustype;
+	/**csource*/
+	@Excel(name = "csource", width = 15)
+	private String csource;
+	/**cbuscode*/
+	@Excel(name = "cbuscode", width = 15)
+	private String cbuscode;
+	/**cwhcode*/
+	@Excel(name = "cwhcode", width = 15)
+	private String cwhcode;
+	/**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;
+	/**ccode*/
+	@Excel(name = "ccode", width = 15)
+	private String ccode;
+	/**crdcode*/
+	@Excel(name = "crdcode", width = 15)
+	private String crdcode;
+	/**cdepcode*/
+	@Excel(name = "cdepcode", width = 15)
+	private String cdepcode;
+	/**cpersoncode*/
+	@Excel(name = "cpersoncode", width = 15)
+	private String cpersoncode;
+	/**cptcode*/
+	@Excel(name = "cptcode", width = 15)
+	private String cptcode;
+	/**cstcode*/
+	@Excel(name = "cstcode", width = 15)
+	private String cstcode;
+	/**ccuscode*/
+	@Excel(name = "ccuscode", width = 15)
+	private String ccuscode;
+	/**cvencode*/
+	@Excel(name = "cvencode", width = 15)
+	private String cvencode;
+	/**cordercode*/
+	@Excel(name = "cordercode", width = 15)
+	private String cordercode;
+	/**carvcode*/
+	@Excel(name = "carvcode", width = 15)
+	private String carvcode;
+	/**cbillcode*/
+	@Excel(name = "cbillcode", width = 15)
+	private Integer cbillcode;
+	/**cdlcode*/
+	@Excel(name = "cdlcode", width = 15)
+	private Integer cdlcode;
+	/**cprobatch*/
+	@Excel(name = "cprobatch", width = 15)
+	private String cprobatch;
+	/**chandler*/
+	@Excel(name = "chandler", width = 15)
+	private String chandler;
+	/**cmemo*/
+	@Excel(name = "cmemo", width = 15)
+	private String cmemo;
+	/**btransflag*/
+	@Excel(name = "btransflag", width = 15)
+	private Object btransflag;
+	/**caccounter*/
+	@Excel(name = "caccounter", width = 15)
+	private String caccounter;
+	/**cmaker*/
+	@Excel(name = "cmaker", width = 15)
+	private String cmaker;
+	/**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;
+	/**dkeepdate*/
+	@Excel(name = "dkeepdate", width = 15)
+	private String dkeepdate;
+	/**dveridate*/
+	@Excel(name = "dveridate", 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 dveridate;
+	/**bpufirst*/
+	@Excel(name = "bpufirst", width = 15)
+	private Object bpufirst;
+	/**biafirst*/
+	@Excel(name = "biafirst", width = 15)
+	private Object biafirst;
+	/**imquantity*/
+	@Excel(name = "imquantity", width = 15)
+	private Float imquantity;
+	/**darvdate*/
+	@Excel(name = "darvdate", 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 darvdate;
+	/**cchkcode*/
+	@Excel(name = "cchkcode", width = 15)
+	private String cchkcode;
+	/**dchkdate*/
+	@Excel(name = "dchkdate", 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 dchkdate;
+	/**cchkperson*/
+	@Excel(name = "cchkperson", width = 15)
+	private String cchkperson;
+	/**vtId*/
+	@Excel(name = "vtId", width = 15)
+	private Integer vtId;
+	/**bisstqc*/
+	@Excel(name = "bisstqc", width = 15)
+	private Object bisstqc;
+	/**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;
+	/**gspcheck*/
+	@Excel(name = "gspcheck", width = 15)
+	private String gspcheck;
+	/**isalebillid*/
+	@Excel(name = "isalebillid", width = 15)
+	private String isalebillid;
+	/**ufts*/
+	private Date ufts;
+	/**iexchrate*/
+	@Excel(name = "iexchrate", width = 15)
+	private Float iexchrate;
+	/**cexchName*/
+	@Excel(name = "cexchName", width = 15)
+	private String cexchName;
+	/**cshipaddress*/
+	@Excel(name = "cshipaddress", width = 15)
+	private String cshipaddress;
+	/**caddcode*/
+	@Excel(name = "caddcode", width = 15)
+	private String caddcode;
+	/**bomfirst*/
+	@Excel(name = "bomfirst", width = 15)
+	private Object bomfirst;
+	/**bfrompreyear*/
+	@Excel(name = "bfrompreyear", width = 15)
+	private Object bfrompreyear;
+	/**bislsquery*/
+	@Excel(name = "bislsquery", width = 15)
+	private Object bislsquery;
+	/**biscomplement*/
+	@Excel(name = "biscomplement", width = 15)
+	private Integer biscomplement;
+	/**idiscounttaxtype*/
+	@Excel(name = "idiscounttaxtype", width = 15)
+	private Integer idiscounttaxtype;
+	/**ireturncount*/
+	@Excel(name = "ireturncount", width = 15)
+	private Integer ireturncount;
+	/**iverifystate*/
+	@Excel(name = "iverifystate", width = 15)
+	private Integer iverifystate;
+	/**iswfcontrolled*/
+	@Excel(name = "iswfcontrolled", width = 15)
+	private Integer iswfcontrolled;
+	/**cmodifyperson*/
+	@Excel(name = "cmodifyperson", width = 15)
+	private String cmodifyperson;
+	/**dmodifydate*/
+	@Excel(name = "dmodifydate", 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 dmodifydate;
+	/**dnmaketime*/
+	@Excel(name = "dnmaketime", 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 dnmaketime;
+	/**dnmodifytime*/
+	@Excel(name = "dnmodifytime", 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 dnmodifytime;
+	/**dnverifytime*/
+	@Excel(name = "dnverifytime", 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 dnverifytime;
+	/**bredvouch*/
+	@Excel(name = "bredvouch", width = 15)
+	private Integer bredvouch;
+	/**iflowid*/
+	@Excel(name = "iflowid", width = 15)
+	private Integer iflowid;
+	/**cpzid*/
+	@Excel(name = "cpzid", width = 15)
+	private String cpzid;
+	/**csourcels*/
+	@Excel(name = "csourcels", width = 15)
+	private String csourcels;
+	/**csourcecodels*/
+	@Excel(name = "csourcecodels", width = 15)
+	private String csourcecodels;
+	/**iprintcount*/
+	@Excel(name = "iprintcount", width = 15)
+	private Integer iprintcount;
+	/**csysbarcode*/
+	@Excel(name = "csysbarcode", width = 15)
+	private String csysbarcode;
+	/**ccurrentauditor*/
+	@Excel(name = "ccurrentauditor", width = 15)
+	private String ccurrentauditor;
+	/**cinvoicecompany*/
+	@Excel(name = "cinvoicecompany", width = 15)
+	private String cinvoicecompany;
+	/**febweight*/
+	@Excel(name = "febweight", width = 15)
+	private java.math.BigDecimal febweight;
+	/**cebweightunit*/
+	@Excel(name = "cebweightunit", width = 15)
+	private String cebweightunit;
+	/**cebexpresscode*/
+	@Excel(name = "cebexpresscode", width = 15)
+	private String cebexpresscode;
+	/**bscanexpress*/
+	@Excel(name = "bscanexpress", width = 15)
+	private Integer bscanexpress;
+	/**cinspector*/
+	@Excel(name = "cinspector", width = 15)
+	private String cinspector;
+	/**dinspecttime*/
+	@Excel(name = "dinspecttime", 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 dinspecttime;
+	/**cweighter*/
+	@Excel(name = "cweighter", width = 15)
+	private String cweighter;
+	/**dweighttime*/
+	@Excel(name = "dweighttime", 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 dweighttime;
+	/**buploaded*/
+	@Excel(name = "buploaded", width = 15)
+	private Integer buploaded;
+	/**outid*/
+	@Excel(name = "outid", width = 15)
+	private Object outid;
+	/**ismddispatch*/
+	@Excel(name = "ismddispatch", width = 15)
+	private Integer ismddispatch;
+	/**cchecksignflag*/
+	@Excel(name = "cchecksignflag", width = 15)
+	private String cchecksignflag;
+	/**cgcroutecode*/
+	@Excel(name = "cgcroutecode", width = 15)
+	private String cgcroutecode;
+}

+ 497 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/entity/FbsRdrecords32.java

@@ -0,0 +1,497 @@
+package org.jeecg.modules.fbsRdrecord32.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-22
+ * @version: V1.0
+ */
+@Data
+@TableName("rdrecords32")
+public class FbsRdrecords32 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;
+	/**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;
+	/**iunitcost*/
+	@Excel(name = "iunitcost", width = 15)
+	private java.math.BigDecimal iunitcost;
+	/**iprice*/
+	@Excel(name = "iprice", width = 15)
+	private Object iprice;
+	/**iaprice*/
+	@Excel(name = "iaprice", width = 15)
+	private Object iaprice;
+	/**ipunitcost*/
+	@Excel(name = "ipunitcost", width = 15)
+	private java.math.BigDecimal ipunitcost;
+	/**ipprice*/
+	@Excel(name = "ipprice", width = 15)
+	private Object ipprice;
+	/**cbatch*/
+	@Excel(name = "cbatch", width = 15)
+	private String cbatch;
+	/**cvouchcode*/
+	@Excel(name = "cvouchcode", width = 15)
+	private Integer cvouchcode;
+	/**cinvouchcode*/
+	@Excel(name = "cinvouchcode", width = 15)
+	private String cinvouchcode;
+	/**cinvouchtype*/
+	@Excel(name = "cinvouchtype", width = 15)
+	private String cinvouchtype;
+	/**isoutquantity*/
+	@Excel(name = "isoutquantity", width = 15)
+	private java.math.BigDecimal isoutquantity;
+	/**isoutnum*/
+	@Excel(name = "isoutnum", width = 15)
+	private java.math.BigDecimal isoutnum;
+	/**coutvouchid*/
+	@Excel(name = "coutvouchid", width = 15)
+	private Integer coutvouchid;
+	/**coutvouchtype*/
+	@Excel(name = "coutvouchtype", width = 15)
+	private String coutvouchtype;
+	/**isredoutquantity*/
+	@Excel(name = "isredoutquantity", width = 15)
+	private java.math.BigDecimal isredoutquantity;
+	/**isredoutnum*/
+	@Excel(name = "isredoutnum", width = 15)
+	private java.math.BigDecimal isredoutnum;
+	/**cfree1*/
+	@Excel(name = "cfree1", width = 15)
+	private String cfree1;
+	/**cfree2*/
+	@Excel(name = "cfree2", width = 15)
+	private String cfree2;
+	/**iflag*/
+	@Excel(name = "iflag", width = 15)
+	private Integer iflag;
+	/**ifnum*/
+	@Excel(name = "ifnum", width = 15)
+	private java.math.BigDecimal ifnum;
+	/**ifquantity*/
+	@Excel(name = "ifquantity", width = 15)
+	private java.math.BigDecimal ifquantity;
+	/**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;
+	/**cposition*/
+	@Excel(name = "cposition", width = 15)
+	private String cposition;
+	/**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;
+	/**citemClass*/
+	@Excel(name = "citemClass", width = 15)
+	private String citemClass;
+	/**citemcode*/
+	@Excel(name = "citemcode", width = 15)
+	private String citemcode;
+	/**idlsid*/
+	@Excel(name = "idlsid", width = 15)
+	private Integer idlsid;
+	/**isbsid*/
+	@Excel(name = "isbsid", width = 15)
+	private Integer isbsid;
+	/**isendquantity*/
+	@Excel(name = "isendquantity", width = 15)
+	private java.math.BigDecimal isendquantity;
+	/**isendnum*/
+	@Excel(name = "isendnum", width = 15)
+	private java.math.BigDecimal isendnum;
+	/**iensid*/
+	@Excel(name = "iensid", width = 15)
+	private Integer iensid;
+	/**cname*/
+	@Excel(name = "cname", width = 15)
+	private String cname;
+	/**citemcname*/
+	@Excel(name = "citemcname", width = 15)
+	private String citemcname;
+	/**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;
+	/**cbarcode*/
+	@Excel(name = "cbarcode", width = 15)
+	private String cbarcode;
+	/**inquantity*/
+	@Excel(name = "inquantity", width = 15)
+	private java.math.BigDecimal inquantity;
+	/**innum*/
+	@Excel(name = "innum", width = 15)
+	private java.math.BigDecimal innum;
+	/**cassunit*/
+	@Excel(name = "cassunit", width = 15)
+	private String cassunit;
+	/**dmadedate*/
+	@Excel(name = "dmadedate", 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 dmadedate;
+	/**imassdate*/
+	@Excel(name = "imassdate", width = 15)
+	private Integer imassdate;
+	/**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;
+	/**icheckids*/
+	@Excel(name = "icheckids", width = 15)
+	private Integer icheckids;
+	/**cbvencode*/
+	@Excel(name = "cbvencode", width = 15)
+	private String cbvencode;
+	/**bgsp*/
+	@Excel(name = "bgsp", width = 15)
+	private Object bgsp;
+	/**cgspstate*/
+	@Excel(name = "cgspstate", width = 15)
+	private String cgspstate;
+	/**ccheckcode*/
+	@Excel(name = "ccheckcode", width = 15)
+	private String ccheckcode;
+	/**icheckidbaks*/
+	@Excel(name = "icheckidbaks", width = 15)
+	private Integer icheckidbaks;
+	/**crejectcode*/
+	@Excel(name = "crejectcode", width = 15)
+	private String crejectcode;
+	/**irejectids*/
+	@Excel(name = "irejectids", width = 15)
+	private Integer irejectids;
+	/**ccheckpersoncode*/
+	@Excel(name = "ccheckpersoncode", width = 15)
+	private String ccheckpersoncode;
+	/**dcheckdate*/
+	@Excel(name = "dcheckdate", 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 dcheckdate;
+	/**cmassunit*/
+	@Excel(name = "cmassunit", width = 15)
+	private Integer cmassunit;
+	/**irefundinspectflag*/
+	@Excel(name = "irefundinspectflag", width = 15)
+	private Integer irefundinspectflag;
+	/**strcontractid*/
+	@Excel(name = "strcontractid", width = 15)
+	private String strcontractid;
+	/**strcode*/
+	@Excel(name = "strcode", width = 15)
+	private String strcode;
+	/**bchecked*/
+	@Excel(name = "bchecked", width = 15)
+	private Object bchecked;
+	/**ieqdid*/
+	@Excel(name = "ieqdid", width = 15)
+	private Integer ieqdid;
+	/**blpusefree*/
+	@Excel(name = "blpusefree", width = 15)
+	private Object blpusefree;
+	/**irsrowno*/
+	@Excel(name = "irsrowno", width = 15)
+	private Integer irsrowno;
+	/**ioritrackid*/
+	@Excel(name = "ioritrackid", width = 15)
+	private Integer ioritrackid;
+	/**coritracktype*/
+	@Excel(name = "coritracktype", width = 15)
+	private String coritracktype;
+	/**cbaccounter*/
+	@Excel(name = "cbaccounter", width = 15)
+	private String cbaccounter;
+	/**dbkeepdate*/
+	@Excel(name = "dbkeepdate", 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 dbkeepdate;
+	/**bcosting*/
+	@Excel(name = "bcosting", width = 15)
+	private Object bcosting;
+	/**bvmiused*/
+	@Excel(name = "bvmiused", width = 15)
+	private Object bvmiused;
+	/**ivmisettlequantity*/
+	@Excel(name = "ivmisettlequantity", width = 15)
+	private java.math.BigDecimal ivmisettlequantity;
+	/**ivmisettlenum*/
+	@Excel(name = "ivmisettlenum", width = 15)
+	private java.math.BigDecimal ivmisettlenum;
+	/**cvmivencode*/
+	@Excel(name = "cvmivencode", width = 15)
+	private String cvmivencode;
+	/**iinvsncount*/
+	@Excel(name = "iinvsncount", width = 15)
+	private Integer iinvsncount;
+	/**cwhpersoncode*/
+	@Excel(name = "cwhpersoncode", width = 15)
+	private String cwhpersoncode;
+	/**cwhpersonname*/
+	@Excel(name = "cwhpersonname", width = 15)
+	private String cwhpersonname;
+	/**cserviceoid*/
+	@Excel(name = "cserviceoid", width = 15)
+	private String cserviceoid;
+	/**cbserviceoid*/
+	@Excel(name = "cbserviceoid", width = 15)
+	private String cbserviceoid;
+	/**iinvexchrate*/
+	@Excel(name = "iinvexchrate", width = 15)
+	private java.math.BigDecimal iinvexchrate;
+	/**cbdlcode*/
+	@Excel(name = "cbdlcode", width = 15)
+	private String cbdlcode;
+	/**corufts*/
+	@Excel(name = "corufts", width = 15)
+	private String corufts;
+	/**strcontractguid*/
+	@Excel(name = "strcontractguid", width = 15)
+	private Object strcontractguid;
+	/**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;
+	/**cciqbookcode*/
+	@Excel(name = "cciqbookcode", width = 15)
+	private String cciqbookcode;
+	/**ibondedsumqty*/
+	@Excel(name = "ibondedsumqty", width = 15)
+	private java.math.BigDecimal ibondedsumqty;
+	/**ccusinvcode*/
+	@Excel(name = "ccusinvcode", width = 15)
+	private String ccusinvcode;
+	/**ccusinvname*/
+	@Excel(name = "ccusinvname", width = 15)
+	private String ccusinvname;
+	/**iorderdid*/
+	@Excel(name = "iorderdid", width = 15)
+	private Integer iorderdid;
+	/**iordertype*/
+	@Excel(name = "iordertype", width = 15)
+	private Integer iordertype;
+	/**iordercode*/
+	@Excel(name = "iordercode", width = 15)
+	private String iordercode;
+	/**iorderseq*/
+	@Excel(name = "iorderseq", width = 15)
+	private Integer iorderseq;
+	/**ipesodid*/
+	@Excel(name = "ipesodid", width = 15)
+	private String ipesodid;
+	/**ipesotype*/
+	@Excel(name = "ipesotype", width = 15)
+	private Integer ipesotype;
+	/**cpesocode*/
+	@Excel(name = "cpesocode", width = 15)
+	private String cpesocode;
+	/**ipesoseq*/
+	@Excel(name = "ipesoseq", width = 15)
+	private Integer ipesoseq;
+	/**isodid*/
+	@Excel(name = "isodid", width = 15)
+	private String isodid;
+	/**isotype*/
+	@Excel(name = "isotype", width = 15)
+	private Integer isotype;
+	/**csocode*/
+	@Excel(name = "csocode", width = 15)
+	private String csocode;
+	/**isoseq*/
+	@Excel(name = "isoseq", width = 15)
+	private Integer isoseq;
+	/**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;
+	/**cbmemo*/
+	@Excel(name = "cbmemo", width = 15)
+	private String cbmemo;
+	/**irowno*/
+	@Excel(name = "irowno", width = 15)
+	private Integer irowno;
+	/**strowguid*/
+	@Excel(name = "strowguid", width = 15)
+	private Object strowguid;
+	/**rowufts*/
+	private Date rowufts;
+	/**ipreuseqty*/
+	@Excel(name = "ipreuseqty", width = 15)
+	private java.math.BigDecimal ipreuseqty;
+	/**ipreuseinum*/
+	@Excel(name = "ipreuseinum", width = 15)
+	private java.math.BigDecimal ipreuseinum;
+	/**idebitids*/
+	@Excel(name = "idebitids", width = 15)
+	private Integer idebitids;
+	/**fsettleqty*/
+	@Excel(name = "fsettleqty", width = 15)
+	private java.math.BigDecimal fsettleqty;
+	/**fretqtywkp*/
+	@Excel(name = "fretqtywkp", width = 15)
+	private java.math.BigDecimal fretqtywkp;
+	/**fretqtyykp*/
+	@Excel(name = "fretqtyykp", width = 15)
+	private java.math.BigDecimal fretqtyykp;
+	/**cbsysbarcode*/
+	@Excel(name = "cbsysbarcode", width = 15)
+	private String cbsysbarcode;
+	/**biacreatebill*/
+	@Excel(name = "biacreatebill", width = 15)
+	private Object biacreatebill;
+	/**bsaleoutcreatebill*/
+	@Excel(name = "bsaleoutcreatebill", width = 15)
+	private Object bsaleoutcreatebill;
+	/**isaleoutid*/
+	@Excel(name = "isaleoutid", width = 15)
+	private Integer isaleoutid;
+	/**bneedbill*/
+	@Excel(name = "bneedbill", width = 15)
+	private Object bneedbill;
+	/**iposflag*/
+	@Excel(name = "iposflag", width = 15)
+	private Integer iposflag;
+	/**bodyOutid*/
+	@Excel(name = "bodyOutid", width = 15)
+	private Object bodyOutid;
+	/**gcsourceid*/
+	@Excel(name = "gcsourceid", width = 15)
+	private Integer gcsourceid;
+	/**gcsourceids*/
+	@Excel(name = "gcsourceids", width = 15)
+	private Integer gcsourceids;
+	/**cconfirmer*/
+	@Excel(name = "cconfirmer", width = 15)
+	private String cconfirmer;
+	/**dconfirmdate*/
+	@Excel(name = "dconfirmdate", 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 dconfirmdate;
+}

+ 17 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/FbsRdrecord32Mapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.fbsRdrecord32.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecord32;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 销售出库单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+public interface FbsRdrecord32Mapper extends BaseMapper<FbsRdrecord32> {
+
+}

+ 17 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/FbsRdrecords32Mapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.fbsRdrecord32.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecords32;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 销售出库单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+public interface FbsRdrecords32Mapper extends BaseMapper<FbsRdrecords32> {
+
+}

+ 5 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/xml/FbsRdrecord32Mapper.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.fbsRdrecord32.mapper.FbsRdrecord32Mapper">
+
+</mapper>

+ 5 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/mapper/xml/FbsRdrecords32Mapper.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.fbsRdrecord32.mapper.FbsRdrecords32Mapper">
+
+</mapper>

+ 14 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/service/IFbsRdrecord32Service.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.fbsRdrecord32.service;
+
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecord32;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 销售出库单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+public interface IFbsRdrecord32Service extends IService<FbsRdrecord32> {
+
+}

+ 14 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/service/IFbsRdrecords32Service.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.fbsRdrecord32.service;
+
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecords32;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 销售出库单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+public interface IFbsRdrecords32Service extends IService<FbsRdrecords32> {
+
+}

+ 19 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/service/impl/FbsRdrecord32ServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.fbsRdrecord32.service.impl;
+
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecord32;
+import org.jeecg.modules.fbsRdrecord32.mapper.FbsRdrecord32Mapper;
+import org.jeecg.modules.fbsRdrecord32.service.IFbsRdrecord32Service;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 销售出库单主表(表头)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+@Service
+public class FbsRdrecord32ServiceImpl extends ServiceImpl<FbsRdrecord32Mapper, FbsRdrecord32> implements IFbsRdrecord32Service {
+
+}

+ 19 - 0
src/main/java/org/jeecg/modules/fbsRdrecord32/service/impl/FbsRdrecords32ServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.fbsRdrecord32.service.impl;
+
+import org.jeecg.modules.fbsRdrecord32.entity.FbsRdrecords32;
+import org.jeecg.modules.fbsRdrecord32.mapper.FbsRdrecords32Mapper;
+import org.jeecg.modules.fbsRdrecord32.service.IFbsRdrecords32Service;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 销售出库单主表(表体)
+ * @author: jeecg-boot
+ * @date:   2020-10-22
+ * @version: V1.0
+ */
+@Service
+public class FbsRdrecords32ServiceImpl extends ServiceImpl<FbsRdrecords32Mapper, FbsRdrecords32> implements IFbsRdrecords32Service {
+
+}