From a742f28a2ee526af6336cf2c1cfad1235d37b3bb Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 10 Jan 2024 13:17:13 +0800 Subject: [PATCH] md --- .../web/emis/EmisDestinationController.java | 118 ++++++ .../erp/web/emis/EmisGoodsController.java | 118 ++++++ .../web/emis/EmisTransProductController.java | 118 ++++++ .../erp/emis/domain/EmisDestination.java | 64 +++ .../com/xdadan/erp/emis/domain/EmisGoods.java | 148 +++++++ .../erp/emis/domain/EmisTransProduct.java | 62 +++ .../emis/mapper/EmisDestinationMapper.java | 70 ++++ .../erp/emis/mapper/EmisGoodsMapper.java | 70 ++++ .../emis/mapper/EmisTransProductMapper.java | 70 ++++ .../emis/service/IEmisDestinationService.java | 69 ++++ .../erp/emis/service/IEmisGoodsService.java | 69 ++++ .../service/IEmisTransProductService.java | 69 ++++ .../impl/EmisDestinationServiceImpl.java | 104 +++++ .../service/impl/EmisGoodsServiceImpl.java | 104 +++++ .../impl/EmisTransProductServiceImpl.java | 104 +++++ .../mapper/EmisDestinationMapper.xml | 156 ++++++++ .../main/resources/mapper/EmisGoodsMapper.xml | 366 ++++++++++++++++++ .../mapper/EmisTransProductMapper.xml | 151 ++++++++ 18 files changed, 2030 insertions(+) create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisDestinationController.java create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTransProductController.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTransProduct.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisDestinationMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisGoodsMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisTransProductMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisDestinationService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisGoodsService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisTransProductService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisDestinationServiceImpl.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisGoodsServiceImpl.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisTransProductServiceImpl.java create mode 100644 emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml create mode 100644 emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml create mode 100644 emis-biz/src/main/resources/mapper/EmisTransProductMapper.xml diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisDestinationController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisDestinationController.java new file mode 100644 index 000000000..8ba6cc2a3 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisDestinationController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisDestinationController.java + * @author linfso + * @date 2024-01-10 02:53:35 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

目的地 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisDestination; +import com.xdadan.erp.emis.service.IEmisDestinationService; + +/** + * 目的地Controller + * + * @author linfso + * @date 2024-01-10 02:53:35 + */ +@RestController +@RequestMapping("/emis/emisDestination") +public class EmisDestinationController extends BaseController +{ + @Autowired + private IEmisDestinationService emisDestinationService; + + /** + * 查询目的地列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:list')") + @GetMapping("/list") + public TableDataInfo list(EmisDestination emisDestination) + { + startPage(); + List list = emisDestinationService.selectEmisDestinationList(emisDestination); + return getDataTable(list); + } + + /** + * 导出目的地列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:export')") + @Log(title = "目的地", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisDestination emisDestination) + { + List list = emisDestinationService.selectEmisDestinationList(emisDestination); + ExcelUtil util = new ExcelUtil(EmisDestination.class); + util.exportExcel(response, list, "目的地数据"); + } + + /** + * 获取目的地详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return AjaxResult.success(emisDestinationService.selectEmisDestinationById(id)); + } + + /** + * 新增目的地 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:add')") + @Log(title = "目的地", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisDestination emisDestination) + { + return toAjax(emisDestinationService.insertEmisDestination(emisDestination)); + } + + /** + * 修改目的地 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:edit')") + @Log(title = "目的地", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisDestination emisDestination) + { + return toAjax(emisDestinationService.updateEmisDestination(emisDestination)); + } + + /** + * 删除目的地 + */ + @PreAuthorize("@ss.hasPermi('emis:emisDestination:remove')") + @Log(title = "目的地", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(emisDestinationService.deleteEmisDestinationByIds(ids)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java new file mode 100644 index 000000000..a6fdc4531 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisGoodsController.java + * @author linfso + * @date 2024-01-10 03:59:32 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

货物信息 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisGoods; +import com.xdadan.erp.emis.service.IEmisGoodsService; + +/** + * 货物信息Controller + * + * @author linfso + * @date 2024-01-10 03:59:32 + */ +@RestController +@RequestMapping("/emis/emisGoods") +public class EmisGoodsController extends BaseController +{ + @Autowired + private IEmisGoodsService emisGoodsService; + + /** + * 查询货物信息列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:list')") + @GetMapping("/list") + public TableDataInfo list(EmisGoods emisGoods) + { + startPage(); + List list = emisGoodsService.selectEmisGoodsList(emisGoods); + return getDataTable(list); + } + + /** + * 导出货物信息列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:export')") + @Log(title = "货物信息", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisGoods emisGoods) + { + List list = emisGoodsService.selectEmisGoodsList(emisGoods); + ExcelUtil util = new ExcelUtil(EmisGoods.class); + util.exportExcel(response, list, "货物信息数据"); + } + + /** + * 获取货物信息详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return AjaxResult.success(emisGoodsService.selectEmisGoodsById(id)); + } + + /** + * 新增货物信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:add')") + @Log(title = "货物信息", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisGoods emisGoods) + { + return toAjax(emisGoodsService.insertEmisGoods(emisGoods)); + } + + /** + * 修改货物信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:edit')") + @Log(title = "货物信息", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisGoods emisGoods) + { + return toAjax(emisGoodsService.updateEmisGoods(emisGoods)); + } + + /** + * 删除货物信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisGoods:remove')") + @Log(title = "货物信息", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(emisGoodsService.deleteEmisGoodsByIds(ids)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTransProductController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTransProductController.java new file mode 100644 index 000000000..8daea75ac --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTransProductController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisTransProductController.java + * @author linfso + * @date 2024-01-09 11:50:34 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

运输产品类型 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisTransProduct; +import com.xdadan.erp.emis.service.IEmisTransProductService; + +/** + * 运输产品类型Controller + * + * @author linfso + * @date 2024-01-09 11:50:34 + */ +@RestController +@RequestMapping("/emis/emisTransProduct") +public class EmisTransProductController extends BaseController +{ + @Autowired + private IEmisTransProductService emisTransProductService; + + /** + * 查询运输产品类型列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:list')") + @GetMapping("/list") + public TableDataInfo list(EmisTransProduct emisTransProduct) + { + startPage(); + List list = emisTransProductService.selectEmisTransProductList(emisTransProduct); + return getDataTable(list); + } + + /** + * 导出运输产品类型列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:export')") + @Log(title = "运输产品类型", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisTransProduct emisTransProduct) + { + List list = emisTransProductService.selectEmisTransProductList(emisTransProduct); + ExcelUtil util = new ExcelUtil(EmisTransProduct.class); + util.exportExcel(response, list, "运输产品类型数据"); + } + + /** + * 获取运输产品类型详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return AjaxResult.success(emisTransProductService.selectEmisTransProductById(id)); + } + + /** + * 新增运输产品类型 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:add')") + @Log(title = "运输产品类型", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisTransProduct emisTransProduct) + { + return toAjax(emisTransProductService.insertEmisTransProduct(emisTransProduct)); + } + + /** + * 修改运输产品类型 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:edit')") + @Log(title = "运输产品类型", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisTransProduct emisTransProduct) + { + return toAjax(emisTransProductService.updateEmisTransProduct(emisTransProduct)); + } + + /** + * 删除运输产品类型 + */ + @PreAuthorize("@ss.hasPermi('emis:emisTransProduct:remove')") + @Log(title = "运输产品类型", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(emisTransProductService.deleteEmisTransProductByIds(ids)); + } +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java new file mode 100644 index 000000000..905db3713 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java @@ -0,0 +1,64 @@ +/** + * @Project: emis + * @Title: EmisDestination.java + * @author linfso + * @date 2024-01-10 02:53:35 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

目的地 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisDestination + * @Description 目的地 + * @author linfso + * @date 2024-01-10 02:53:35 + */ + @Data +public class EmisDestination extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long id; + /* 目的地编码 */ + private String destCode; + /* 目的地名称 */ + private String destName; + /* 英文名称 */ + private String destNameEn; + /* 启用状态 0-启用 1-停用 */ + private Integer status; + /* 所属国家 */ + private String country; + /* 所属线路 */ + private String transLineCode; + /* 所属线路名称 */ + private String transLine; + /* 服务网点编号 */ + private String siteCode; + /* 服务网点名称 */ + private String siteName; + /* 省 */ + private String province; + /* 市 */ + private String city; + /* 区 */ + private String county; + /* 乡镇 */ + private String town; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java new file mode 100644 index 000000000..1b6344f31 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java @@ -0,0 +1,148 @@ +/** + * @Project: emis + * @Title: EmisGoods.java + * @author linfso + * @date 2024-01-10 03:59:32 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

货物信息 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisGoods + * @Description 货物信息 + * @author linfso + * @date 2024-01-10 03:59:32 + */ + @Data +public class EmisGoods extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long id; + /* 货物编号 */ + private String goodsSn; + /* 货物名称 */ + private String goodsName; + /* 货物英文名称 */ + private String goodsNameEn; + /* 货物类别 */ + private String goodsCat; + /* 型号 */ + private String goodsType; + /* 规格 */ + private String goodsModel; + /* 条码 */ + private String barcode; + /* 原产国 */ + private String orginalNation; + /* 是否实物 0-否 1-是 */ + private Integer isRealGoods; + /* 是否大类 0-否 1-是 */ + private Integer isBigCat; + /* 品牌编号 */ + private String brandId; + /* 品牌名称 */ + private String brand; + /* 单净重 */ + private String netWeight; + /* 单毛重 */ + private String grossWeight; + /* 单件体积 */ + private String singleVolume; + /* 单件长 */ + private Double singleLength; + /* 单件宽 */ + private Double singleWidth; + /* 单件高 */ + private Double singleHeight; + /* 箱件数 */ + private Integer pkgPcs; + /* 箱体积 */ + private String pkgVolume; + /* 箱长 */ + private Double pkgLength; + /* 箱宽 */ + private Double pkgWidth; + /* 箱高 */ + private Double pkgHeight; + /* 海关编码 */ + private String hsCode; + /* 商检编号 */ + private String isCode; + /* 计量单位 */ + private String unit; + /* 法1 */ + private String unit1; + /* 法2 */ + private String unit2; + /* 价格 */ + private String price; + /* 币种 */ + private String currencyType; + /* 适用标准国别 */ + private String ruleNation; + /* 生产企业 */ + private String manufEnterprise; + /* 电商企业海关编码 */ + private String ebcCode; + /* 电商企业商检编码 */ + private String ciqCode; + /* 功能 */ + private String function; + /* 主要成分 */ + private String ingredients; + /* 用途 */ + private String purpose; + /* 产品有效期 */ + private String productValidity; + /* 进口模式 */ + private String cebpMode; + /* 供应商 */ + private String supplier; + /* 申报序列号 */ + private String serialNumber; + /* 状态:0-初始 1-提交审核 2-审核通过 3-审核未通过 */ + private Integer status; + /* 海关回执信息 */ + private String statusMessage; + /* 原货物备件号 */ + private String goodsSn2; + /* 物资序号 */ + private String goodsNo2; + /* 许可证号 */ + private String licNo; + /* 材料地址 */ + private String materialPath; + /* 出厂日期 */ + private String pd; + /* 销售链接地址 */ + private String saleUrl; + /* 口岸编码 */ + private String portCode; + /* ext1 */ + private String ext1; + /* ext2 */ + private String ext2; + /* ext3 */ + private String ext3; + /* ext4 */ + private String ext4; + /* ext5 */ + private String ext5; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTransProduct.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTransProduct.java new file mode 100644 index 000000000..54b0a63d1 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTransProduct.java @@ -0,0 +1,62 @@ +/** + * @Project: emis + * @Title: EmisTransProduct.java + * @author linfso + * @date 2024-01-09 11:50:34 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

运输产品类型 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisTransProduct + * @Description 运输产品类型 + * @author linfso + * @date 2024-01-09 11:50:34 + */ + @Data +public class EmisTransProduct extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long id; + /* 产品代码 */ + private String prodCode; + /* 名称 */ + private String prodName; + /* 英文名称 */ + private String prodNameEn; + /* 启用状态 1-启用 0-禁用 */ + private Integer status; + /* 所属国家 */ + private String country; + /* 所属线路 */ + private String transLineCode; + /* 所属线路名称 */ + private String transLine; + /* 取重方式 */ + private String carryType; + /* 承运方式 字典 */ + private String transType; + /* 时效描述 */ + private String agingDesc; + /* 最小时效 */ + private Integer minAging; + /* 最大时效 */ + private Integer maxAging; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisDestinationMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisDestinationMapper.java new file mode 100644 index 000000000..bd129fd2a --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisDestinationMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisDestinationMapper.java + * @author linfso + * @date 2024-01-10 02:53:35 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

目的地 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisDestination; +/** + * @ClassName EmisDestinationMapper + * @Description

目的地 Mapper 接口

+ * @author linfso + * @date 2024-01-10 02:53:35 + */ +public interface EmisDestinationMapper extends BaseMapper +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisDestination selectEmisDestinationById(Long id); + + /** + * 查询列表 + * + * @param emisDestination + * @return 集合 + */ + public List selectEmisDestinationList(EmisDestination emisDestination); + + /** + * 新增 + * + * @param emisDestination + * @return + */ + public int insertEmisDestination(EmisDestination emisDestination); + + /** + * 修改 + * + * @param emisDestination + * @return + */ + public int updateEmisDestination(EmisDestination emisDestination); + + /** + * 删除 + * + * @param id 主键 + * @return 结果 + */ + public int deleteEmisDestinationById(Long id); + + /** + * 批量删除 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisDestinationByIds(Long[] ids); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisGoodsMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisGoodsMapper.java new file mode 100644 index 000000000..8a64ffa71 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisGoodsMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisGoodsMapper.java + * @author linfso + * @date 2024-01-10 03:59:32 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

货物信息 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisGoods; +/** + * @ClassName EmisGoodsMapper + * @Description

货物信息 Mapper 接口

+ * @author linfso + * @date 2024-01-10 03:59:32 + */ +public interface EmisGoodsMapper extends BaseMapper +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisGoods selectEmisGoodsById(Long id); + + /** + * 查询列表 + * + * @param emisGoods + * @return 集合 + */ + public List selectEmisGoodsList(EmisGoods emisGoods); + + /** + * 新增 + * + * @param emisGoods + * @return + */ + public int insertEmisGoods(EmisGoods emisGoods); + + /** + * 修改 + * + * @param emisGoods + * @return + */ + public int updateEmisGoods(EmisGoods emisGoods); + + /** + * 删除 + * + * @param id 主键 + * @return 结果 + */ + public int deleteEmisGoodsById(Long id); + + /** + * 批量删除 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisGoodsByIds(Long[] ids); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisTransProductMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisTransProductMapper.java new file mode 100644 index 000000000..d44e200ab --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisTransProductMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisTransProductMapper.java + * @author linfso + * @date 2024-01-09 11:50:34 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

运输产品类型 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisTransProduct; +/** + * @ClassName EmisTransProductMapper + * @Description

运输产品类型 Mapper 接口

+ * @author linfso + * @date 2024-01-09 11:50:34 + */ +public interface EmisTransProductMapper extends BaseMapper +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisTransProduct selectEmisTransProductById(Long id); + + /** + * 查询列表 + * + * @param emisTransProduct + * @return 集合 + */ + public List selectEmisTransProductList(EmisTransProduct emisTransProduct); + + /** + * 新增 + * + * @param emisTransProduct + * @return + */ + public int insertEmisTransProduct(EmisTransProduct emisTransProduct); + + /** + * 修改 + * + * @param emisTransProduct + * @return + */ + public int updateEmisTransProduct(EmisTransProduct emisTransProduct); + + /** + * 删除 + * + * @param id 主键 + * @return 结果 + */ + public int deleteEmisTransProductById(Long id); + + /** + * 批量删除 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisTransProductByIds(Long[] ids); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisDestinationService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisDestinationService.java new file mode 100644 index 000000000..cb9f4fc3a --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisDestinationService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisDestinationService.java + * @author linfso + * @date 2024-01-10 02:53:35 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

目的地 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisDestination; + +/** + * @ClassName EmisDestinationService + * @Description 目的地 + * @author linfso + * @date 2024-01-10 02:53:35 + */ +public interface IEmisDestinationService +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisDestination selectEmisDestinationById(Long id); + + /** + * 查询目的地列表 + * + * @param emisDestination 目的地 + * @return 目的地集合 + */ + public List selectEmisDestinationList(EmisDestination emisDestination); + + /** + * 新增目的地 + * + * @param emisDestination 目的地 + * @return 结果 + */ + public int insertEmisDestination(EmisDestination emisDestination); + + /** + * 修改目的地 + * + * @param emisDestination 目的地 + * @return 结果 + */ + public int updateEmisDestination(EmisDestination emisDestination); + + /** + * 批量删除目的地 + * + * @param ids 需要删除的目的地主键集合 + * @return 结果 + */ + public int deleteEmisDestinationByIds(Long[] ids); + + /** + * 删除目的地信息 + * + * @param id 目的地主键 + * @return 结果 + */ + public int deleteEmisDestinationById(Long id); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisGoodsService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisGoodsService.java new file mode 100644 index 000000000..9e1c52d1b --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisGoodsService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisGoodsService.java + * @author linfso + * @date 2024-01-10 03:59:32 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

货物信息 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisGoods; + +/** + * @ClassName EmisGoodsService + * @Description 货物信息 + * @author linfso + * @date 2024-01-10 03:59:32 + */ +public interface IEmisGoodsService +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisGoods selectEmisGoodsById(Long id); + + /** + * 查询货物信息列表 + * + * @param emisGoods 货物信息 + * @return 货物信息集合 + */ + public List selectEmisGoodsList(EmisGoods emisGoods); + + /** + * 新增货物信息 + * + * @param emisGoods 货物信息 + * @return 结果 + */ + public int insertEmisGoods(EmisGoods emisGoods); + + /** + * 修改货物信息 + * + * @param emisGoods 货物信息 + * @return 结果 + */ + public int updateEmisGoods(EmisGoods emisGoods); + + /** + * 批量删除货物信息 + * + * @param ids 需要删除的货物信息主键集合 + * @return 结果 + */ + public int deleteEmisGoodsByIds(Long[] ids); + + /** + * 删除货物信息信息 + * + * @param id 货物信息主键 + * @return 结果 + */ + public int deleteEmisGoodsById(Long id); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisTransProductService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisTransProductService.java new file mode 100644 index 000000000..86362d65e --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisTransProductService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisTransProductService.java + * @author linfso + * @date 2024-01-09 11:50:34 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

运输产品类型 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisTransProduct; + +/** + * @ClassName EmisTransProductService + * @Description 运输产品类型 + * @author linfso + * @date 2024-01-09 11:50:34 + */ +public interface IEmisTransProductService +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisTransProduct selectEmisTransProductById(Long id); + + /** + * 查询运输产品类型列表 + * + * @param emisTransProduct 运输产品类型 + * @return 运输产品类型集合 + */ + public List selectEmisTransProductList(EmisTransProduct emisTransProduct); + + /** + * 新增运输产品类型 + * + * @param emisTransProduct 运输产品类型 + * @return 结果 + */ + public int insertEmisTransProduct(EmisTransProduct emisTransProduct); + + /** + * 修改运输产品类型 + * + * @param emisTransProduct 运输产品类型 + * @return 结果 + */ + public int updateEmisTransProduct(EmisTransProduct emisTransProduct); + + /** + * 批量删除运输产品类型 + * + * @param ids 需要删除的运输产品类型主键集合 + * @return 结果 + */ + public int deleteEmisTransProductByIds(Long[] ids); + + /** + * 删除运输产品类型信息 + * + * @param id 运输产品类型主键 + * @return 结果 + */ + public int deleteEmisTransProductById(Long id); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisDestinationServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisDestinationServiceImpl.java new file mode 100644 index 000000000..fe0c9c0bc --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisDestinationServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisDestinationServiceImpl.java + * @author linfso + * @date 2024-01-10 02:53:35 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

目的地 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisDestination; +import com.xdadan.erp.emis.mapper.EmisDestinationMapper; +import com.xdadan.erp.emis.service.IEmisDestinationService; + +/** + * 目的地Service业务层处理 + * + * @author linfso + * @date 2024-01-10 02:53:35 + */ +@Service +public class EmisDestinationServiceImpl implements IEmisDestinationService +{ + @Autowired + private EmisDestinationMapper emisDestinationMapper; + + /** + * 查询目的地 + * + * @param id 目的地主键 + * @return 目的地 + */ + @Override + public EmisDestination selectEmisDestinationById(Long id) + { + return emisDestinationMapper.selectEmisDestinationById(id); + } + + /** + * 查询目的地列表 + * + * @param emisDestination 目的地 + * @return 目的地 + */ + @Override + public List selectEmisDestinationList(EmisDestination emisDestination) + { + return emisDestinationMapper.selectEmisDestinationList(emisDestination); + } + + /** + * 新增目的地 + * + * @param emisDestination 目的地 + * @return 结果 + */ + @Override + public int insertEmisDestination(EmisDestination emisDestination) + { + return emisDestinationMapper.insertEmisDestination(emisDestination); + } + + /** + * 修改目的地 + * + * @param emisDestination 目的地 + * @return 结果 + */ + @Override + public int updateEmisDestination(EmisDestination emisDestination) + { + return emisDestinationMapper.updateEmisDestination(emisDestination); + } + + /** + * 批量删除目的地 + * + * @param ids 需要删除的目的地主键 + * @return 结果 + */ + @Override + public int deleteEmisDestinationByIds(Long[] ids) + { + return emisDestinationMapper.deleteEmisDestinationByIds(ids); + } + + /** + * 删除目的地信息 + * + * @param id 目的地主键 + * @return 结果 + */ + @Override + public int deleteEmisDestinationById(Long id) + { + return emisDestinationMapper.deleteEmisDestinationById(id); + } + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisGoodsServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisGoodsServiceImpl.java new file mode 100644 index 000000000..b8c8e27ea --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisGoodsServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisGoodsServiceImpl.java + * @author linfso + * @date 2024-01-10 03:59:32 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

货物信息 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisGoods; +import com.xdadan.erp.emis.mapper.EmisGoodsMapper; +import com.xdadan.erp.emis.service.IEmisGoodsService; + +/** + * 货物信息Service业务层处理 + * + * @author linfso + * @date 2024-01-10 03:59:32 + */ +@Service +public class EmisGoodsServiceImpl implements IEmisGoodsService +{ + @Autowired + private EmisGoodsMapper emisGoodsMapper; + + /** + * 查询货物信息 + * + * @param id 货物信息主键 + * @return 货物信息 + */ + @Override + public EmisGoods selectEmisGoodsById(Long id) + { + return emisGoodsMapper.selectEmisGoodsById(id); + } + + /** + * 查询货物信息列表 + * + * @param emisGoods 货物信息 + * @return 货物信息 + */ + @Override + public List selectEmisGoodsList(EmisGoods emisGoods) + { + return emisGoodsMapper.selectEmisGoodsList(emisGoods); + } + + /** + * 新增货物信息 + * + * @param emisGoods 货物信息 + * @return 结果 + */ + @Override + public int insertEmisGoods(EmisGoods emisGoods) + { + return emisGoodsMapper.insertEmisGoods(emisGoods); + } + + /** + * 修改货物信息 + * + * @param emisGoods 货物信息 + * @return 结果 + */ + @Override + public int updateEmisGoods(EmisGoods emisGoods) + { + return emisGoodsMapper.updateEmisGoods(emisGoods); + } + + /** + * 批量删除货物信息 + * + * @param ids 需要删除的货物信息主键 + * @return 结果 + */ + @Override + public int deleteEmisGoodsByIds(Long[] ids) + { + return emisGoodsMapper.deleteEmisGoodsByIds(ids); + } + + /** + * 删除货物信息信息 + * + * @param id 货物信息主键 + * @return 结果 + */ + @Override + public int deleteEmisGoodsById(Long id) + { + return emisGoodsMapper.deleteEmisGoodsById(id); + } + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisTransProductServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisTransProductServiceImpl.java new file mode 100644 index 000000000..679c0ed4c --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisTransProductServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisTransProductServiceImpl.java + * @author linfso + * @date 2024-01-09 11:50:34 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

运输产品类型 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisTransProduct; +import com.xdadan.erp.emis.mapper.EmisTransProductMapper; +import com.xdadan.erp.emis.service.IEmisTransProductService; + +/** + * 运输产品类型Service业务层处理 + * + * @author linfso + * @date 2024-01-09 11:50:34 + */ +@Service +public class EmisTransProductServiceImpl implements IEmisTransProductService +{ + @Autowired + private EmisTransProductMapper emisTransProductMapper; + + /** + * 查询运输产品类型 + * + * @param id 运输产品类型主键 + * @return 运输产品类型 + */ + @Override + public EmisTransProduct selectEmisTransProductById(Long id) + { + return emisTransProductMapper.selectEmisTransProductById(id); + } + + /** + * 查询运输产品类型列表 + * + * @param emisTransProduct 运输产品类型 + * @return 运输产品类型 + */ + @Override + public List selectEmisTransProductList(EmisTransProduct emisTransProduct) + { + return emisTransProductMapper.selectEmisTransProductList(emisTransProduct); + } + + /** + * 新增运输产品类型 + * + * @param emisTransProduct 运输产品类型 + * @return 结果 + */ + @Override + public int insertEmisTransProduct(EmisTransProduct emisTransProduct) + { + return emisTransProductMapper.insertEmisTransProduct(emisTransProduct); + } + + /** + * 修改运输产品类型 + * + * @param emisTransProduct 运输产品类型 + * @return 结果 + */ + @Override + public int updateEmisTransProduct(EmisTransProduct emisTransProduct) + { + return emisTransProductMapper.updateEmisTransProduct(emisTransProduct); + } + + /** + * 批量删除运输产品类型 + * + * @param ids 需要删除的运输产品类型主键 + * @return 结果 + */ + @Override + public int deleteEmisTransProductByIds(Long[] ids) + { + return emisTransProductMapper.deleteEmisTransProductByIds(ids); + } + + /** + * 删除运输产品类型信息 + * + * @param id 运输产品类型主键 + * @return 结果 + */ + @Override + public int deleteEmisTransProductById(Long id) + { + return emisTransProductMapper.deleteEmisTransProductById(id); + } + +} diff --git a/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml b/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml new file mode 100644 index 000000000..fb5d3d6c4 --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, dest_code, dest_name, dest_name_en, status, country, trans_line_code, trans_line, site_code, site_name, province, city, county, town, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from emis_destination + + + + + + + + insert into emis_destination + + id, + dest_code, + dest_name, + dest_name_en, + status, + country, + trans_line_code, + trans_line, + site_code, + site_name, + province, + city, + county, + town, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{id}, + #{destCode}, + #{destName}, + #{destNameEn}, + #{status}, + #{country}, + #{transLineCode}, + #{transLine}, + #{siteCode}, + #{siteName}, + #{province}, + #{city}, + #{county}, + #{town}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update emis_destination + + dest_code = #{destCode}, + dest_name = #{destName}, + dest_name_en = #{destNameEn}, + status = #{status}, + country = #{country}, + trans_line_code = #{transLineCode}, + trans_line = #{transLine}, + site_code = #{siteCode}, + site_name = #{siteName}, + province = #{province}, + city = #{city}, + county = #{county}, + town = #{town}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from emis_destination where id = #{id} + + + + delete from emis_destination where id in + + #{id} + + + \ No newline at end of file diff --git a/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml b/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml new file mode 100644 index 000000000..f6b9b59c7 --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml @@ -0,0 +1,366 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, goods_sn, goods_name, goods_name_en, goods_cat, goods_type, goods_model, barcode, orginal_nation, is_real_goods, is_big_cat, brand_id, brand, net_weight, gross_weight, single_volume, single_length, single_width, single_height, pkg_pcs, pkg_volume, pkg_length, pkg_width, pkg_height, hs_code, is_code, unit, unit1, unit2, price, currency_type, rule_nation, manuf_enterprise, ebc_code, ciq_code, function, ingredients, purpose, product_validity, cebp_mode, supplier, serial_number, status, status_message, goods_sn2, goods_no2, lic_no, material_path, pd, sale_url, port_code, ext1, ext2, ext3, ext4, ext5, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from emis_goods + + + + + + + + insert into emis_goods + + id, + goods_sn, + goods_name, + goods_name_en, + goods_cat, + goods_type, + goods_model, + barcode, + orginal_nation, + is_real_goods, + is_big_cat, + brand_id, + brand, + net_weight, + gross_weight, + single_volume, + single_length, + single_width, + single_height, + pkg_pcs, + pkg_volume, + pkg_length, + pkg_width, + pkg_height, + hs_code, + is_code, + unit, + unit1, + unit2, + price, + currency_type, + rule_nation, + manuf_enterprise, + ebc_code, + ciq_code, + function, + ingredients, + purpose, + product_validity, + cebp_mode, + supplier, + serial_number, + status, + status_message, + goods_sn2, + goods_no2, + lic_no, + material_path, + pd, + sale_url, + port_code, + ext1, + ext2, + ext3, + ext4, + ext5, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{id}, + #{goodsSn}, + #{goodsName}, + #{goodsNameEn}, + #{goodsCat}, + #{goodsType}, + #{goodsModel}, + #{barcode}, + #{orginalNation}, + #{isRealGoods}, + #{isBigCat}, + #{brandId}, + #{brand}, + #{netWeight}, + #{grossWeight}, + #{singleVolume}, + #{singleLength}, + #{singleWidth}, + #{singleHeight}, + #{pkgPcs}, + #{pkgVolume}, + #{pkgLength}, + #{pkgWidth}, + #{pkgHeight}, + #{hsCode}, + #{isCode}, + #{unit}, + #{unit1}, + #{unit2}, + #{price}, + #{currencyType}, + #{ruleNation}, + #{manufEnterprise}, + #{ebcCode}, + #{ciqCode}, + #{function}, + #{ingredients}, + #{purpose}, + #{productValidity}, + #{cebpMode}, + #{supplier}, + #{serialNumber}, + #{status}, + #{statusMessage}, + #{goodsSn2}, + #{goodsNo2}, + #{licNo}, + #{materialPath}, + #{pd}, + #{saleUrl}, + #{portCode}, + #{ext1}, + #{ext2}, + #{ext3}, + #{ext4}, + #{ext5}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update emis_goods + + goods_sn = #{goodsSn}, + goods_name = #{goodsName}, + goods_name_en = #{goodsNameEn}, + goods_cat = #{goodsCat}, + goods_type = #{goodsType}, + goods_model = #{goodsModel}, + barcode = #{barcode}, + orginal_nation = #{orginalNation}, + is_real_goods = #{isRealGoods}, + is_big_cat = #{isBigCat}, + brand_id = #{brandId}, + brand = #{brand}, + net_weight = #{netWeight}, + gross_weight = #{grossWeight}, + single_volume = #{singleVolume}, + single_length = #{singleLength}, + single_width = #{singleWidth}, + single_height = #{singleHeight}, + pkg_pcs = #{pkgPcs}, + pkg_volume = #{pkgVolume}, + pkg_length = #{pkgLength}, + pkg_width = #{pkgWidth}, + pkg_height = #{pkgHeight}, + hs_code = #{hsCode}, + is_code = #{isCode}, + unit = #{unit}, + unit1 = #{unit1}, + unit2 = #{unit2}, + price = #{price}, + currency_type = #{currencyType}, + rule_nation = #{ruleNation}, + manuf_enterprise = #{manufEnterprise}, + ebc_code = #{ebcCode}, + ciq_code = #{ciqCode}, + function = #{function}, + ingredients = #{ingredients}, + purpose = #{purpose}, + product_validity = #{productValidity}, + cebp_mode = #{cebpMode}, + supplier = #{supplier}, + serial_number = #{serialNumber}, + status = #{status}, + status_message = #{statusMessage}, + goods_sn2 = #{goodsSn2}, + goods_no2 = #{goodsNo2}, + lic_no = #{licNo}, + material_path = #{materialPath}, + pd = #{pd}, + sale_url = #{saleUrl}, + port_code = #{portCode}, + ext1 = #{ext1}, + ext2 = #{ext2}, + ext3 = #{ext3}, + ext4 = #{ext4}, + ext5 = #{ext5}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from emis_goods where id = #{id} + + + + delete from emis_goods where id in + + #{id} + + + \ No newline at end of file diff --git a/emis-biz/src/main/resources/mapper/EmisTransProductMapper.xml b/emis-biz/src/main/resources/mapper/EmisTransProductMapper.xml new file mode 100644 index 000000000..917429569 --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisTransProductMapper.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, prod_code, prod_name, prod_name_en, status, country, trans_line_code, trans_line, carry_type, trans_type, aging_desc, min_aging, max_aging, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from emis_trans_product + + + + + + + + insert into emis_trans_product + + id, + prod_code, + prod_name, + prod_name_en, + status, + country, + trans_line_code, + trans_line, + carry_type, + trans_type, + aging_desc, + min_aging, + max_aging, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{id}, + #{prodCode}, + #{prodName}, + #{prodNameEn}, + #{status}, + #{country}, + #{transLineCode}, + #{transLine}, + #{carryType}, + #{transType}, + #{agingDesc}, + #{minAging}, + #{maxAging}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update emis_trans_product + + prod_code = #{prodCode}, + prod_name = #{prodName}, + prod_name_en = #{prodNameEn}, + status = #{status}, + country = #{country}, + trans_line_code = #{transLineCode}, + trans_line = #{transLine}, + carry_type = #{carryType}, + trans_type = #{transType}, + aging_desc = #{agingDesc}, + min_aging = #{minAging}, + max_aging = #{maxAging}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from emis_trans_product where id = #{id} + + + + delete from emis_trans_product where id in + + #{id} + + + \ No newline at end of file