From 6b516a4718a7c2b27112e730a38c34dcb5f22307 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 30 Aug 2023 17:12:27 +0800 Subject: [PATCH] =?UTF-8?q?wms=E6=9C=8D=E5=8A=A1=E9=83=A8=E5=88=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B91.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WmsOdsEmStorageNewsController.java | 97 ++++ .../WmsOdsEmStorageNewsSnController.java | 97 ++++ .../WmsOdsMateStorageNewsController.java | 97 ++++ .../WmsOdsMateStorageNewsSnController.java | 97 ++++ .../op/wms/domain/WmsOdsEmStorageNews.java | 413 ++++++++++++++++++ .../op/wms/domain/WmsOdsEmStorageNewsSn.java | 364 +++++++++++++++ .../op/wms/domain/WmsOdsMateStorageNews.java | 413 ++++++++++++++++++ .../wms/domain/WmsOdsMateStorageNewsSn.java | 364 +++++++++++++++ .../wms/mapper/WmsOdsEmStorageNewsMapper.java | 61 +++ .../mapper/WmsOdsEmStorageNewsSnMapper.java | 61 +++ .../mapper/WmsOdsMateStorageNewsMapper.java | 61 +++ .../mapper/WmsOdsMateStorageNewsSnMapper.java | 61 +++ .../service/IWmsOdsEmStorageNewsService.java | 60 +++ .../IWmsOdsEmStorageNewsSnService.java | 60 +++ .../IWmsOdsMateStorageNewsService.java | 60 +++ .../IWmsOdsMateStorageNewsSnService.java | 60 +++ .../impl/WmsOdsEmStorageNewsServiceImpl.java | 94 ++++ .../WmsOdsEmStorageNewsSnServiceImpl.java | 94 ++++ .../WmsOdsMateStorageNewsServiceImpl.java | 94 ++++ .../WmsOdsMateStorageNewsSnServiceImpl.java | 94 ++++ .../mapper/wms/WmsOdsEmStorageNewsMapper.xml | 213 +++++++++ .../wms/WmsOdsEmStorageNewsSnMapper.xml | 190 ++++++++ .../wms/WmsOdsMateStorageNewsMapper.xml | 213 +++++++++ .../wms/WmsOdsMateStorageNewsSnMapper.xml | 190 ++++++++ 24 files changed, 3608 insertions(+) create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsController.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsSnController.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsController.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsSnController.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNews.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNewsSn.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNews.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNewsSn.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsMapper.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsSnMapper.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsMapper.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsSnMapper.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsService.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsSnService.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsService.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsSnService.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsServiceImpl.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsSnServiceImpl.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsServiceImpl.java create mode 100644 op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsSnServiceImpl.java create mode 100644 op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml create mode 100644 op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsSnMapper.xml create mode 100644 op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsMapper.xml create mode 100644 op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsSnMapper.xml diff --git a/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsController.java b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsController.java new file mode 100644 index 00000000..8b5f21ec --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsController.java @@ -0,0 +1,97 @@ +package com.op.wms.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +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.op.common.log.annotation.Log; +import com.op.common.log.enums.BusinessType; +import com.op.common.security.annotation.RequiresPermissions; +import com.op.wms.domain.WmsOdsEmStorageNews; +import com.op.wms.service.IWmsOdsEmStorageNewsService; +import com.op.common.core.web.controller.BaseController; +import com.op.common.core.web.domain.AjaxResult; +import com.op.common.core.utils.poi.ExcelUtil; +import com.op.common.core.web.page.TableDataInfo; + +/** + * 白胚库存主表Controller + * + * @author Open Platform + * @date 2023-08-30 + */ +@RestController +@RequestMapping("/emnews") +public class WmsOdsEmStorageNewsController extends BaseController { + @Autowired + private IWmsOdsEmStorageNewsService wmsOdsEmStorageNewsService; + + /** + * 查询白胚库存主表列表 + */ + @RequiresPermissions("wms:emnews:list") + @GetMapping("/list") + public TableDataInfo list(WmsOdsEmStorageNews wmsOdsEmStorageNews) { + startPage(); + List list = wmsOdsEmStorageNewsService.selectWmsOdsEmStorageNewsList(wmsOdsEmStorageNews); + return getDataTable(list); + } + + /** + * 导出白胚库存主表列表 + */ + @RequiresPermissions("wms:emnews:export") + @Log(title = "白胚库存主表", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, WmsOdsEmStorageNews wmsOdsEmStorageNews) { + List list = wmsOdsEmStorageNewsService.selectWmsOdsEmStorageNewsList(wmsOdsEmStorageNews); + ExcelUtil util = new ExcelUtil(WmsOdsEmStorageNews.class); + util.exportExcel(response, list, "白胚库存主表数据"); + } + + /** + * 获取白胚库存主表详细信息 + */ + @RequiresPermissions("wms:emnews:query") + @GetMapping(value = "/{storageId}") + public AjaxResult getInfo(@PathVariable("storageId") String storageId) { + return success(wmsOdsEmStorageNewsService.selectWmsOdsEmStorageNewsByStorageId(storageId)); + } + + /** + * 新增白胚库存主表 + */ + @RequiresPermissions("wms:emnews:add") + @Log(title = "白胚库存主表", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody WmsOdsEmStorageNews wmsOdsEmStorageNews) { + return toAjax(wmsOdsEmStorageNewsService.insertWmsOdsEmStorageNews(wmsOdsEmStorageNews)); + } + + /** + * 修改白胚库存主表 + */ + @RequiresPermissions("wms:emnews:edit") + @Log(title = "白胚库存主表", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody WmsOdsEmStorageNews wmsOdsEmStorageNews) { + return toAjax(wmsOdsEmStorageNewsService.updateWmsOdsEmStorageNews(wmsOdsEmStorageNews)); + } + + /** + * 删除白胚库存主表 + */ + @RequiresPermissions("wms:emnews:remove") + @Log(title = "白胚库存主表", businessType = BusinessType.DELETE) + @DeleteMapping("/{storageIds}") + public AjaxResult remove(@PathVariable String[] storageIds) { + return toAjax(wmsOdsEmStorageNewsService.deleteWmsOdsEmStorageNewsByStorageIds(storageIds)); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsSnController.java b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsSnController.java new file mode 100644 index 00000000..4821e872 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsEmStorageNewsSnController.java @@ -0,0 +1,97 @@ +package com.op.wms.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +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.op.common.log.annotation.Log; +import com.op.common.log.enums.BusinessType; +import com.op.common.security.annotation.RequiresPermissions; +import com.op.wms.domain.WmsOdsEmStorageNewsSn; +import com.op.wms.service.IWmsOdsEmStorageNewsSnService; +import com.op.common.core.web.controller.BaseController; +import com.op.common.core.web.domain.AjaxResult; +import com.op.common.core.utils.poi.ExcelUtil; +import com.op.common.core.web.page.TableDataInfo; + +/** + * 白胚库存明细表Controller + * + * @author Open Platform + * @date 2023-08-30 + */ +@RestController +@RequestMapping("/emsn") +public class WmsOdsEmStorageNewsSnController extends BaseController { + @Autowired + private IWmsOdsEmStorageNewsSnService wmsOdsEmStorageNewsSnService; + + /** + * 查询白胚库存明细表列表 + */ + @RequiresPermissions("wms:emsn:list") + @GetMapping("/list") + public TableDataInfo list(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + startPage(); + List list = wmsOdsEmStorageNewsSnService.selectWmsOdsEmStorageNewsSnList(wmsOdsEmStorageNewsSn); + return getDataTable(list); + } + + /** + * 导出白胚库存明细表列表 + */ + @RequiresPermissions("wms:emsn:export") + @Log(title = "白胚库存明细表", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + List list = wmsOdsEmStorageNewsSnService.selectWmsOdsEmStorageNewsSnList(wmsOdsEmStorageNewsSn); + ExcelUtil util = new ExcelUtil(WmsOdsEmStorageNewsSn.class); + util.exportExcel(response, list, "白胚库存明细表数据"); + } + + /** + * 获取白胚库存明细表详细信息 + */ + @RequiresPermissions("wms:emsn:query") + @GetMapping(value = "/{emOrderInSnId}") + public AjaxResult getInfo(@PathVariable("emOrderInSnId") Long emOrderInSnId) { + return success(wmsOdsEmStorageNewsSnService.selectWmsOdsEmStorageNewsSnByEmOrderInSnId(emOrderInSnId)); + } + + /** + * 新增白胚库存明细表 + */ + @RequiresPermissions("wms:emsn:add") + @Log(title = "白胚库存明细表", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + return toAjax(wmsOdsEmStorageNewsSnService.insertWmsOdsEmStorageNewsSn(wmsOdsEmStorageNewsSn)); + } + + /** + * 修改白胚库存明细表 + */ + @RequiresPermissions("wms:emsn:edit") + @Log(title = "白胚库存明细表", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + return toAjax(wmsOdsEmStorageNewsSnService.updateWmsOdsEmStorageNewsSn(wmsOdsEmStorageNewsSn)); + } + + /** + * 删除白胚库存明细表 + */ + @RequiresPermissions("wms:emsn:remove") + @Log(title = "白胚库存明细表", businessType = BusinessType.DELETE) + @DeleteMapping("/{emOrderInSnIds}") + public AjaxResult remove(@PathVariable Long[] emOrderInSnIds) { + return toAjax(wmsOdsEmStorageNewsSnService.deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds(emOrderInSnIds)); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsController.java b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsController.java new file mode 100644 index 00000000..5211d1a3 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsController.java @@ -0,0 +1,97 @@ +package com.op.wms.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +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.op.common.log.annotation.Log; +import com.op.common.log.enums.BusinessType; +import com.op.common.security.annotation.RequiresPermissions; +import com.op.wms.domain.WmsOdsMateStorageNews; +import com.op.wms.service.IWmsOdsMateStorageNewsService; +import com.op.common.core.web.controller.BaseController; +import com.op.common.core.web.domain.AjaxResult; +import com.op.common.core.utils.poi.ExcelUtil; +import com.op.common.core.web.page.TableDataInfo; + +/** + * 包材库存主表Controller + * + * @author Open Platform + * @date 2023-08-30 + */ +@RestController +@RequestMapping("/matenews") +public class WmsOdsMateStorageNewsController extends BaseController { + @Autowired + private IWmsOdsMateStorageNewsService wmsOdsMateStorageNewsService; + + /** + * 查询包材库存主表列表 + */ + @RequiresPermissions("wms:matenews:list") + @GetMapping("/list") + public TableDataInfo list(WmsOdsMateStorageNews wmsOdsMateStorageNews) { + startPage(); + List list = wmsOdsMateStorageNewsService.selectWmsOdsMateStorageNewsList(wmsOdsMateStorageNews); + return getDataTable(list); + } + + /** + * 导出包材库存主表列表 + */ + @RequiresPermissions("wms:matenews:export") + @Log(title = "包材库存主表", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, WmsOdsMateStorageNews wmsOdsMateStorageNews) { + List list = wmsOdsMateStorageNewsService.selectWmsOdsMateStorageNewsList(wmsOdsMateStorageNews); + ExcelUtil util = new ExcelUtil(WmsOdsMateStorageNews.class); + util.exportExcel(response, list, "包材库存主表数据"); + } + + /** + * 获取包材库存主表详细信息 + */ + @RequiresPermissions("wms:matenews:query") + @GetMapping(value = "/{storageId}") + public AjaxResult getInfo(@PathVariable("storageId") String storageId) { + return success(wmsOdsMateStorageNewsService.selectWmsOdsMateStorageNewsByStorageId(storageId)); + } + + /** + * 新增包材库存主表 + */ + @RequiresPermissions("wms:matenews:add") + @Log(title = "包材库存主表", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody WmsOdsMateStorageNews wmsOdsMateStorageNews) { + return toAjax(wmsOdsMateStorageNewsService.insertWmsOdsMateStorageNews(wmsOdsMateStorageNews)); + } + + /** + * 修改包材库存主表 + */ + @RequiresPermissions("wms:matenews:edit") + @Log(title = "包材库存主表", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody WmsOdsMateStorageNews wmsOdsMateStorageNews) { + return toAjax(wmsOdsMateStorageNewsService.updateWmsOdsMateStorageNews(wmsOdsMateStorageNews)); + } + + /** + * 删除包材库存主表 + */ + @RequiresPermissions("wms:matenews:remove") + @Log(title = "包材库存主表", businessType = BusinessType.DELETE) + @DeleteMapping("/{storageIds}") + public AjaxResult remove(@PathVariable String[] storageIds) { + return toAjax(wmsOdsMateStorageNewsService.deleteWmsOdsMateStorageNewsByStorageIds(storageIds)); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsSnController.java b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsSnController.java new file mode 100644 index 00000000..ca25c5fd --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/controller/WmsOdsMateStorageNewsSnController.java @@ -0,0 +1,97 @@ +package com.op.wms.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +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.op.common.log.annotation.Log; +import com.op.common.log.enums.BusinessType; +import com.op.common.security.annotation.RequiresPermissions; +import com.op.wms.domain.WmsOdsMateStorageNewsSn; +import com.op.wms.service.IWmsOdsMateStorageNewsSnService; +import com.op.common.core.web.controller.BaseController; +import com.op.common.core.web.domain.AjaxResult; +import com.op.common.core.utils.poi.ExcelUtil; +import com.op.common.core.web.page.TableDataInfo; + +/** + * 包材库存明细表Controller + * + * @author Open Platform + * @date 2023-08-30 + */ +@RestController +@RequestMapping("/matetowsn") +public class WmsOdsMateStorageNewsSnController extends BaseController { + @Autowired + private IWmsOdsMateStorageNewsSnService wmsOdsMateStorageNewsSnService; + + /** + * 查询包材库存明细表列表 + */ + @RequiresPermissions("wms:matetowsn:list") + @GetMapping("/list") + public TableDataInfo list(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + startPage(); + List list = wmsOdsMateStorageNewsSnService.selectWmsOdsMateStorageNewsSnList(wmsOdsMateStorageNewsSn); + return getDataTable(list); + } + + /** + * 导出包材库存明细表列表 + */ + @RequiresPermissions("wms:matetowsn:export") + @Log(title = "包材库存明细表", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + List list = wmsOdsMateStorageNewsSnService.selectWmsOdsMateStorageNewsSnList(wmsOdsMateStorageNewsSn); + ExcelUtil util = new ExcelUtil(WmsOdsMateStorageNewsSn.class); + util.exportExcel(response, list, "包材库存明细表数据"); + } + + /** + * 获取包材库存明细表详细信息 + */ + @RequiresPermissions("wms:matetowsn:query") + @GetMapping(value = "/{mateOrderInSnId}") + public AjaxResult getInfo(@PathVariable("mateOrderInSnId") Long mateOrderInSnId) { + return success(wmsOdsMateStorageNewsSnService.selectWmsOdsMateStorageNewsSnByMateOrderInSnId(mateOrderInSnId)); + } + + /** + * 新增包材库存明细表 + */ + @RequiresPermissions("wms:matetowsn:add") + @Log(title = "包材库存明细表", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + return toAjax(wmsOdsMateStorageNewsSnService.insertWmsOdsMateStorageNewsSn(wmsOdsMateStorageNewsSn)); + } + + /** + * 修改包材库存明细表 + */ + @RequiresPermissions("wms:matetowsn:edit") + @Log(title = "包材库存明细表", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + return toAjax(wmsOdsMateStorageNewsSnService.updateWmsOdsMateStorageNewsSn(wmsOdsMateStorageNewsSn)); + } + + /** + * 删除包材库存明细表 + */ + @RequiresPermissions("wms:matetowsn:remove") + @Log(title = "包材库存明细表", businessType = BusinessType.DELETE) + @DeleteMapping("/{mateOrderInSnIds}") + public AjaxResult remove(@PathVariable Long[] mateOrderInSnIds) { + return toAjax(wmsOdsMateStorageNewsSnService.deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds(mateOrderInSnIds)); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNews.java b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNews.java new file mode 100644 index 00000000..df354fa6 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNews.java @@ -0,0 +1,413 @@ +package com.op.wms.domain; + +import java.math.BigDecimal; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.op.common.core.annotation.Excel; +import com.op.common.core.web.domain.BaseEntity; + +/** + * 白胚库存主表对象 wms_ods_em_storage_news + * + * @author Open Platform + * @date 2023-08-30 + */ +public class WmsOdsEmStorageNews extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** 唯一序列 */ + @Excel(name = "唯一序列") + private String storageId; + + /** 仓库编码 */ + @Excel(name = "仓库编码") + private String whCode; + + /** 区域编号 */ + @Excel(name = "区域编号") + private String regionCode; + + /** 库区编码 */ + @Excel(name = "库区编码") + private String waCode; + + /** 库存类型:BP-白胚 */ + @Excel(name = "库存类型:BP-白胚") + private String storageType; + + /** 库位编码 */ + @Excel(name = "库位编码") + private String wlCode; + + /** 物料号 */ + @Excel(name = "物料号") + private String materialCode; + + /** 物料描述 */ + @Excel(name = "物料描述") + private String materialDesc; + + /** 总数量 */ + @Excel(name = "总数量") + private BigDecimal amount; + + /** 冻结数量(预留) */ + @Excel(name = "冻结数量", readConverterExp = "预=留") + private BigDecimal storageAmount; + + /** 占用数量 */ + @Excel(name = "占用数量") + private BigDecimal occupyAmount; + + /** LPN(预留) */ + @Excel(name = "LPN", readConverterExp = "预=留") + private String lpn; + + /** 入库批次号(预留) */ + @Excel(name = "入库批次号", readConverterExp = "预=留") + private String productBatch; + + /** 入库时间(预留) */ + @Excel(name = "入库时间", readConverterExp = "预=留") + private Date receiveDate; + + /** 生产时间(预留) */ + @Excel(name = "生产时间", readConverterExp = "预=留") + private Date productDate; + + /** 单位 */ + @Excel(name = "单位") + private String userDefined1; + + /** SAP库位 */ + @Excel(name = "SAP库位") + private String userDefined2; + + /** 备用3 */ + @Excel(name = "备用3") + private String userDefined3; + + /** 备用4 */ + @Excel(name = "备用4") + private String userDefined4; + + /** 备用5 */ + @Excel(name = "备用5") + private String userDefined5; + + /** 备用6 */ + @Excel(name = "备用6") + private String userDefined6; + + /** 备用7 */ + @Excel(name = "备用7") + private String userDefined7; + + /** 备用8 */ + @Excel(name = "备用8") + private String userDefined8; + + /** 备用9 */ + @Excel(name = "备用9") + private String userDefined9; + + /** 备用10 */ + @Excel(name = "备用10") + private String userDefined10; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtCreate; + + /** 最后更新人 */ + @Excel(name = "最后更新人") + private String lastModifiedBy; + + /** 最后更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtModified; + + /** 有效标记 */ + @Excel(name = "有效标记") + private String activeFlag; + + /** 工厂号 */ + @Excel(name = "工厂号") + private String factoryCode; + + /** SAP工厂号 */ + @Excel(name = "SAP工厂号") + private String sapFactoryCode; + + /** 库位名称 */ + @Excel(name = "库位名称") + private String wlName; + + public void setStorageId(String storageId) { + this.storageId = storageId; + } + + public String getStorageId() { + return storageId; + } + public void setWhCode(String whCode) { + this.whCode = whCode; + } + + public String getWhCode() { + return whCode; + } + public void setRegionCode(String regionCode) { + this.regionCode = regionCode; + } + + public String getRegionCode() { + return regionCode; + } + public void setWaCode(String waCode) { + this.waCode = waCode; + } + + public String getWaCode() { + return waCode; + } + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public String getStorageType() { + return storageType; + } + public void setWlCode(String wlCode) { + this.wlCode = wlCode; + } + + public String getWlCode() { + return wlCode; + } + public void setMaterialCode(String materialCode) { + this.materialCode = materialCode; + } + + public String getMaterialCode() { + return materialCode; + } + public void setMaterialDesc(String materialDesc) { + this.materialDesc = materialDesc; + } + + public String getMaterialDesc() { + return materialDesc; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + public BigDecimal getAmount() { + return amount; + } + public void setStorageAmount(BigDecimal storageAmount) { + this.storageAmount = storageAmount; + } + + public BigDecimal getStorageAmount() { + return storageAmount; + } + public void setOccupyAmount(BigDecimal occupyAmount) { + this.occupyAmount = occupyAmount; + } + + public BigDecimal getOccupyAmount() { + return occupyAmount; + } + public void setLpn(String lpn) { + this.lpn = lpn; + } + + public String getLpn() { + return lpn; + } + public void setProductBatch(String productBatch) { + this.productBatch = productBatch; + } + + public String getProductBatch() { + return productBatch; + } + public void setReceiveDate(Date receiveDate) { + this.receiveDate = receiveDate; + } + + public Date getReceiveDate() { + return receiveDate; + } + public void setProductDate(Date productDate) { + this.productDate = productDate; + } + + public Date getProductDate() { + return productDate; + } + public void setUserDefined1(String userDefined1) { + this.userDefined1 = userDefined1; + } + + public String getUserDefined1() { + return userDefined1; + } + public void setUserDefined2(String userDefined2) { + this.userDefined2 = userDefined2; + } + + public String getUserDefined2() { + return userDefined2; + } + public void setUserDefined3(String userDefined3) { + this.userDefined3 = userDefined3; + } + + public String getUserDefined3() { + return userDefined3; + } + public void setUserDefined4(String userDefined4) { + this.userDefined4 = userDefined4; + } + + public String getUserDefined4() { + return userDefined4; + } + public void setUserDefined5(String userDefined5) { + this.userDefined5 = userDefined5; + } + + public String getUserDefined5() { + return userDefined5; + } + public void setUserDefined6(String userDefined6) { + this.userDefined6 = userDefined6; + } + + public String getUserDefined6() { + return userDefined6; + } + public void setUserDefined7(String userDefined7) { + this.userDefined7 = userDefined7; + } + + public String getUserDefined7() { + return userDefined7; + } + public void setUserDefined8(String userDefined8) { + this.userDefined8 = userDefined8; + } + + public String getUserDefined8() { + return userDefined8; + } + public void setUserDefined9(String userDefined9) { + this.userDefined9 = userDefined9; + } + + public String getUserDefined9() { + return userDefined9; + } + public void setUserDefined10(String userDefined10) { + this.userDefined10 = userDefined10; + } + + public String getUserDefined10() { + return userDefined10; + } + public void setGmtCreate(Date gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public Date getGmtCreate() { + return gmtCreate; + } + public void setLastModifiedBy(String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public String getLastModifiedBy() { + return lastModifiedBy; + } + public void setGmtModified(Date gmtModified) { + this.gmtModified = gmtModified; + } + + public Date getGmtModified() { + return gmtModified; + } + public void setActiveFlag(String activeFlag) { + this.activeFlag = activeFlag; + } + + public String getActiveFlag() { + return activeFlag; + } + public void setFactoryCode(String factoryCode) { + this.factoryCode = factoryCode; + } + + public String getFactoryCode() { + return factoryCode; + } + public void setSapFactoryCode(String sapFactoryCode) { + this.sapFactoryCode = sapFactoryCode; + } + + public String getSapFactoryCode() { + return sapFactoryCode; + } + public void setWlName(String wlName) { + this.wlName = wlName; + } + + public String getWlName() { + return wlName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("storageId", getStorageId()) + .append("whCode", getWhCode()) + .append("regionCode", getRegionCode()) + .append("waCode", getWaCode()) + .append("storageType", getStorageType()) + .append("wlCode", getWlCode()) + .append("materialCode", getMaterialCode()) + .append("materialDesc", getMaterialDesc()) + .append("amount", getAmount()) + .append("storageAmount", getStorageAmount()) + .append("occupyAmount", getOccupyAmount()) + .append("lpn", getLpn()) + .append("productBatch", getProductBatch()) + .append("receiveDate", getReceiveDate()) + .append("productDate", getProductDate()) + .append("userDefined1", getUserDefined1()) + .append("userDefined2", getUserDefined2()) + .append("userDefined3", getUserDefined3()) + .append("userDefined4", getUserDefined4()) + .append("userDefined5", getUserDefined5()) + .append("userDefined6", getUserDefined6()) + .append("userDefined7", getUserDefined7()) + .append("userDefined8", getUserDefined8()) + .append("userDefined9", getUserDefined9()) + .append("userDefined10", getUserDefined10()) + .append("createBy", getCreateBy()) + .append("gmtCreate", getGmtCreate()) + .append("lastModifiedBy", getLastModifiedBy()) + .append("gmtModified", getGmtModified()) + .append("activeFlag", getActiveFlag()) + .append("factoryCode", getFactoryCode()) + .append("sapFactoryCode", getSapFactoryCode()) + .append("wlName", getWlName()) + .toString(); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNewsSn.java b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNewsSn.java new file mode 100644 index 00000000..3151e2c7 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsEmStorageNewsSn.java @@ -0,0 +1,364 @@ +package com.op.wms.domain; + +import java.math.BigDecimal; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.op.common.core.annotation.Excel; +import com.op.common.core.web.domain.BaseEntity; + +/** + * 白胚库存明细表对象 wms_ods_em_storage_news_sn + * + * @author Open Platform + * @date 2023-08-30 + */ +public class WmsOdsEmStorageNewsSn extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** 唯一序列号 */ + private Long emOrderInSnId; + + /** 仓库编码 */ + @Excel(name = "仓库编码") + private String whCode; + + /** 库区编码 */ + @Excel(name = "库区编码") + private String waCode; + + /** 库位编码 */ + @Excel(name = "库位编码") + private String wlCode; + + /** 入库单号 */ + @Excel(name = "入库单号") + private String orderNo; + + /** 采购订单号 */ + @Excel(name = "采购订单号") + private String poNo; + + /** 采购订单行项目 */ + @Excel(name = "采购订单行项目") + private String poLine; + + /** 物料号 */ + @Excel(name = "物料号") + private String materialCode; + + /** 物料描述 */ + @Excel(name = "物料描述") + private String materialDesc; + + /** 托盘号 */ + @Excel(name = "托盘号") + private String sn; + + /** 条码 */ + @Excel(name = "条码") + private String barCode; + + /** 数量 */ + @Excel(name = "数量") + private BigDecimal amount; + + /** 备用1 */ + @Excel(name = "备用1") + private String userDefined1; + + /** 备用2 */ + @Excel(name = "备用2") + private String userDefined2; + + /** 备用3 */ + @Excel(name = "备用3") + private String userDefined3; + + /** 备用4 */ + @Excel(name = "备用4") + private String userDefined4; + + /** 备用5 */ + @Excel(name = "备用5") + private String userDefined5; + + /** 备用6 */ + @Excel(name = "备用6") + private String userDefined6; + + /** 备用7 */ + @Excel(name = "备用7") + private String userDefined7; + + /** 备用8 */ + @Excel(name = "备用8") + private String userDefined8; + + /** 备用9 */ + @Excel(name = "备用9") + private String userDefined9; + + /** 备用10 */ + @Excel(name = "备用10") + private String userDefined10; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtCreate; + + /** 最后更新人 */ + @Excel(name = "最后更新人") + private String lastModifiedBy; + + /** 最后更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtModified; + + /** 有效标记 */ + @Excel(name = "有效标记") + private String activeFlag; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String factoryCode; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String sapFactoryCode; + + public void setEmOrderInSnId(Long emOrderInSnId) { + this.emOrderInSnId = emOrderInSnId; + } + + public Long getEmOrderInSnId() { + return emOrderInSnId; + } + public void setWhCode(String whCode) { + this.whCode = whCode; + } + + public String getWhCode() { + return whCode; + } + public void setWaCode(String waCode) { + this.waCode = waCode; + } + + public String getWaCode() { + return waCode; + } + public void setWlCode(String wlCode) { + this.wlCode = wlCode; + } + + public String getWlCode() { + return wlCode; + } + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public String getOrderNo() { + return orderNo; + } + public void setPoNo(String poNo) { + this.poNo = poNo; + } + + public String getPoNo() { + return poNo; + } + public void setPoLine(String poLine) { + this.poLine = poLine; + } + + public String getPoLine() { + return poLine; + } + public void setMaterialCode(String materialCode) { + this.materialCode = materialCode; + } + + public String getMaterialCode() { + return materialCode; + } + public void setMaterialDesc(String materialDesc) { + this.materialDesc = materialDesc; + } + + public String getMaterialDesc() { + return materialDesc; + } + public void setSn(String sn) { + this.sn = sn; + } + + public String getSn() { + return sn; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + + public String getBarCode() { + return barCode; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + public BigDecimal getAmount() { + return amount; + } + public void setUserDefined1(String userDefined1) { + this.userDefined1 = userDefined1; + } + + public String getUserDefined1() { + return userDefined1; + } + public void setUserDefined2(String userDefined2) { + this.userDefined2 = userDefined2; + } + + public String getUserDefined2() { + return userDefined2; + } + public void setUserDefined3(String userDefined3) { + this.userDefined3 = userDefined3; + } + + public String getUserDefined3() { + return userDefined3; + } + public void setUserDefined4(String userDefined4) { + this.userDefined4 = userDefined4; + } + + public String getUserDefined4() { + return userDefined4; + } + public void setUserDefined5(String userDefined5) { + this.userDefined5 = userDefined5; + } + + public String getUserDefined5() { + return userDefined5; + } + public void setUserDefined6(String userDefined6) { + this.userDefined6 = userDefined6; + } + + public String getUserDefined6() { + return userDefined6; + } + public void setUserDefined7(String userDefined7) { + this.userDefined7 = userDefined7; + } + + public String getUserDefined7() { + return userDefined7; + } + public void setUserDefined8(String userDefined8) { + this.userDefined8 = userDefined8; + } + + public String getUserDefined8() { + return userDefined8; + } + public void setUserDefined9(String userDefined9) { + this.userDefined9 = userDefined9; + } + + public String getUserDefined9() { + return userDefined9; + } + public void setUserDefined10(String userDefined10) { + this.userDefined10 = userDefined10; + } + + public String getUserDefined10() { + return userDefined10; + } + public void setGmtCreate(Date gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public Date getGmtCreate() { + return gmtCreate; + } + public void setLastModifiedBy(String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public String getLastModifiedBy() { + return lastModifiedBy; + } + public void setGmtModified(Date gmtModified) { + this.gmtModified = gmtModified; + } + + public Date getGmtModified() { + return gmtModified; + } + public void setActiveFlag(String activeFlag) { + this.activeFlag = activeFlag; + } + + public String getActiveFlag() { + return activeFlag; + } + public void setFactoryCode(String factoryCode) { + this.factoryCode = factoryCode; + } + + public String getFactoryCode() { + return factoryCode; + } + public void setSapFactoryCode(String sapFactoryCode) { + this.sapFactoryCode = sapFactoryCode; + } + + public String getSapFactoryCode() { + return sapFactoryCode; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("emOrderInSnId", getEmOrderInSnId()) + .append("whCode", getWhCode()) + .append("waCode", getWaCode()) + .append("wlCode", getWlCode()) + .append("orderNo", getOrderNo()) + .append("poNo", getPoNo()) + .append("poLine", getPoLine()) + .append("materialCode", getMaterialCode()) + .append("materialDesc", getMaterialDesc()) + .append("sn", getSn()) + .append("barCode", getBarCode()) + .append("amount", getAmount()) + .append("userDefined1", getUserDefined1()) + .append("userDefined2", getUserDefined2()) + .append("userDefined3", getUserDefined3()) + .append("userDefined4", getUserDefined4()) + .append("userDefined5", getUserDefined5()) + .append("userDefined6", getUserDefined6()) + .append("userDefined7", getUserDefined7()) + .append("userDefined8", getUserDefined8()) + .append("userDefined9", getUserDefined9()) + .append("userDefined10", getUserDefined10()) + .append("createBy", getCreateBy()) + .append("gmtCreate", getGmtCreate()) + .append("lastModifiedBy", getLastModifiedBy()) + .append("gmtModified", getGmtModified()) + .append("activeFlag", getActiveFlag()) + .append("factoryCode", getFactoryCode()) + .append("sapFactoryCode", getSapFactoryCode()) + .toString(); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNews.java b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNews.java new file mode 100644 index 00000000..d4db36f9 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNews.java @@ -0,0 +1,413 @@ +package com.op.wms.domain; + +import java.math.BigDecimal; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.op.common.core.annotation.Excel; +import com.op.common.core.web.domain.BaseEntity; + +/** + * 包材库存主表对象 wms_ods_mate_storage_news + * + * @author Open Platform + * @date 2023-08-30 + */ +public class WmsOdsMateStorageNews extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** 唯一序列 */ + @Excel(name = "唯一序列") + private String storageId; + + /** 仓库编码 */ + @Excel(name = "仓库编码") + private String whCode; + + /** 区域编号 */ + @Excel(name = "区域编号") + private String regionCode; + + /** 库区编码 */ + @Excel(name = "库区编码") + private String waCode; + + /** 库存类型:BC-包材 */ + @Excel(name = "库存类型:BC-包材") + private String storageType; + + /** 库位编码 */ + @Excel(name = "库位编码") + private String wlCode; + + /** 物料号 */ + @Excel(name = "物料号") + private String materialCode; + + /** 物料描述 */ + @Excel(name = "物料描述") + private String materialDesc; + + /** 总数量 */ + @Excel(name = "总数量") + private BigDecimal amount; + + /** 冻结数量(预留) */ + @Excel(name = "冻结数量", readConverterExp = "预=留") + private BigDecimal storageAmount; + + /** 占用数量 */ + @Excel(name = "占用数量") + private BigDecimal occupyAmount; + + /** LPN(预留) */ + @Excel(name = "LPN", readConverterExp = "预=留") + private String lpn; + + /** 入库批次号(预留) */ + @Excel(name = "入库批次号", readConverterExp = "预=留") + private String productBatch; + + /** 入库时间x(预留) */ + @Excel(name = "入库时间x", readConverterExp = "预=留") + private Date receiveDate; + + /** 生产时间(预留) */ + @Excel(name = "生产时间", readConverterExp = "预=留") + private Date productDate; + + /** 单位 */ + @Excel(name = "单位") + private String userDefined1; + + /** SAP库位 */ + @Excel(name = "SAP库位") + private String userDefined2; + + /** 备用3 */ + @Excel(name = "备用3") + private String userDefined3; + + /** 备用4 */ + @Excel(name = "备用4") + private String userDefined4; + + /** 备用5 */ + @Excel(name = "备用5") + private String userDefined5; + + /** 备用6 */ + @Excel(name = "备用6") + private String userDefined6; + + /** 备用7 */ + @Excel(name = "备用7") + private String userDefined7; + + /** 备用8 */ + @Excel(name = "备用8") + private String userDefined8; + + /** 备用9 */ + @Excel(name = "备用9") + private String userDefined9; + + /** 备用10 */ + @Excel(name = "备用10") + private String userDefined10; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtCreate; + + /** 最后更新人 */ + @Excel(name = "最后更新人") + private String lastModifiedBy; + + /** 最后更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtModified; + + /** 有效标记 */ + @Excel(name = "有效标记") + private String activeFlag; + + /** 工厂号 */ + @Excel(name = "工厂号") + private String factoryCode; + + /** SAP工厂号 */ + @Excel(name = "SAP工厂号") + private String sapFactoryCode; + + /** 库位名称 */ + @Excel(name = "库位名称") + private String wlName; + + public void setStorageId(String storageId) { + this.storageId = storageId; + } + + public String getStorageId() { + return storageId; + } + public void setWhCode(String whCode) { + this.whCode = whCode; + } + + public String getWhCode() { + return whCode; + } + public void setRegionCode(String regionCode) { + this.regionCode = regionCode; + } + + public String getRegionCode() { + return regionCode; + } + public void setWaCode(String waCode) { + this.waCode = waCode; + } + + public String getWaCode() { + return waCode; + } + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public String getStorageType() { + return storageType; + } + public void setWlCode(String wlCode) { + this.wlCode = wlCode; + } + + public String getWlCode() { + return wlCode; + } + public void setMaterialCode(String materialCode) { + this.materialCode = materialCode; + } + + public String getMaterialCode() { + return materialCode; + } + public void setMaterialDesc(String materialDesc) { + this.materialDesc = materialDesc; + } + + public String getMaterialDesc() { + return materialDesc; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + public BigDecimal getAmount() { + return amount; + } + public void setStorageAmount(BigDecimal storageAmount) { + this.storageAmount = storageAmount; + } + + public BigDecimal getStorageAmount() { + return storageAmount; + } + public void setOccupyAmount(BigDecimal occupyAmount) { + this.occupyAmount = occupyAmount; + } + + public BigDecimal getOccupyAmount() { + return occupyAmount; + } + public void setLpn(String lpn) { + this.lpn = lpn; + } + + public String getLpn() { + return lpn; + } + public void setProductBatch(String productBatch) { + this.productBatch = productBatch; + } + + public String getProductBatch() { + return productBatch; + } + public void setReceiveDate(Date receiveDate) { + this.receiveDate = receiveDate; + } + + public Date getReceiveDate() { + return receiveDate; + } + public void setProductDate(Date productDate) { + this.productDate = productDate; + } + + public Date getProductDate() { + return productDate; + } + public void setUserDefined1(String userDefined1) { + this.userDefined1 = userDefined1; + } + + public String getUserDefined1() { + return userDefined1; + } + public void setUserDefined2(String userDefined2) { + this.userDefined2 = userDefined2; + } + + public String getUserDefined2() { + return userDefined2; + } + public void setUserDefined3(String userDefined3) { + this.userDefined3 = userDefined3; + } + + public String getUserDefined3() { + return userDefined3; + } + public void setUserDefined4(String userDefined4) { + this.userDefined4 = userDefined4; + } + + public String getUserDefined4() { + return userDefined4; + } + public void setUserDefined5(String userDefined5) { + this.userDefined5 = userDefined5; + } + + public String getUserDefined5() { + return userDefined5; + } + public void setUserDefined6(String userDefined6) { + this.userDefined6 = userDefined6; + } + + public String getUserDefined6() { + return userDefined6; + } + public void setUserDefined7(String userDefined7) { + this.userDefined7 = userDefined7; + } + + public String getUserDefined7() { + return userDefined7; + } + public void setUserDefined8(String userDefined8) { + this.userDefined8 = userDefined8; + } + + public String getUserDefined8() { + return userDefined8; + } + public void setUserDefined9(String userDefined9) { + this.userDefined9 = userDefined9; + } + + public String getUserDefined9() { + return userDefined9; + } + public void setUserDefined10(String userDefined10) { + this.userDefined10 = userDefined10; + } + + public String getUserDefined10() { + return userDefined10; + } + public void setGmtCreate(Date gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public Date getGmtCreate() { + return gmtCreate; + } + public void setLastModifiedBy(String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public String getLastModifiedBy() { + return lastModifiedBy; + } + public void setGmtModified(Date gmtModified) { + this.gmtModified = gmtModified; + } + + public Date getGmtModified() { + return gmtModified; + } + public void setActiveFlag(String activeFlag) { + this.activeFlag = activeFlag; + } + + public String getActiveFlag() { + return activeFlag; + } + public void setFactoryCode(String factoryCode) { + this.factoryCode = factoryCode; + } + + public String getFactoryCode() { + return factoryCode; + } + public void setSapFactoryCode(String sapFactoryCode) { + this.sapFactoryCode = sapFactoryCode; + } + + public String getSapFactoryCode() { + return sapFactoryCode; + } + public void setWlName(String wlName) { + this.wlName = wlName; + } + + public String getWlName() { + return wlName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("storageId", getStorageId()) + .append("whCode", getWhCode()) + .append("regionCode", getRegionCode()) + .append("waCode", getWaCode()) + .append("storageType", getStorageType()) + .append("wlCode", getWlCode()) + .append("materialCode", getMaterialCode()) + .append("materialDesc", getMaterialDesc()) + .append("amount", getAmount()) + .append("storageAmount", getStorageAmount()) + .append("occupyAmount", getOccupyAmount()) + .append("lpn", getLpn()) + .append("productBatch", getProductBatch()) + .append("receiveDate", getReceiveDate()) + .append("productDate", getProductDate()) + .append("userDefined1", getUserDefined1()) + .append("userDefined2", getUserDefined2()) + .append("userDefined3", getUserDefined3()) + .append("userDefined4", getUserDefined4()) + .append("userDefined5", getUserDefined5()) + .append("userDefined6", getUserDefined6()) + .append("userDefined7", getUserDefined7()) + .append("userDefined8", getUserDefined8()) + .append("userDefined9", getUserDefined9()) + .append("userDefined10", getUserDefined10()) + .append("createBy", getCreateBy()) + .append("gmtCreate", getGmtCreate()) + .append("lastModifiedBy", getLastModifiedBy()) + .append("gmtModified", getGmtModified()) + .append("activeFlag", getActiveFlag()) + .append("factoryCode", getFactoryCode()) + .append("sapFactoryCode", getSapFactoryCode()) + .append("wlName", getWlName()) + .toString(); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNewsSn.java b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNewsSn.java new file mode 100644 index 00000000..77c3fbbc --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/domain/WmsOdsMateStorageNewsSn.java @@ -0,0 +1,364 @@ +package com.op.wms.domain; + +import java.math.BigDecimal; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.op.common.core.annotation.Excel; +import com.op.common.core.web.domain.BaseEntity; + +/** + * 包材库存明细表对象 wms_ods_mate_storage_news_sn + * + * @author Open Platform + * @date 2023-08-30 + */ +public class WmsOdsMateStorageNewsSn extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** 唯一序列号 */ + private Long mateOrderInSnId; + + /** 仓库编码 */ + @Excel(name = "仓库编码") + private String whCode; + + /** 库区编码 */ + @Excel(name = "库区编码") + private String waCode; + + /** 库位编码 */ + @Excel(name = "库位编码") + private String wlCode; + + /** 入库单号 */ + @Excel(name = "入库单号") + private String orderNo; + + /** 采购订单号 */ + @Excel(name = "采购订单号") + private String poNo; + + /** 采购订单行项目 */ + @Excel(name = "采购订单行项目") + private String poLine; + + /** 物料号 */ + @Excel(name = "物料号") + private String materialCode; + + /** 物料描述 */ + @Excel(name = "物料描述") + private String materialDesc; + + /** 托盘号 */ + @Excel(name = "托盘号") + private String sn; + + /** 条码 */ + @Excel(name = "条码") + private String barCode; + + /** 数量 */ + @Excel(name = "数量") + private BigDecimal amount; + + /** 备用1 */ + @Excel(name = "备用1") + private String userDefined1; + + /** 备用2 */ + @Excel(name = "备用2") + private String userDefined2; + + /** 备用3 */ + @Excel(name = "备用3") + private String userDefined3; + + /** 备用4 */ + @Excel(name = "备用4") + private String userDefined4; + + /** 备用5 */ + @Excel(name = "备用5") + private String userDefined5; + + /** 备用6 */ + @Excel(name = "备用6") + private String userDefined6; + + /** 备用7 */ + @Excel(name = "备用7") + private String userDefined7; + + /** 备用8 */ + @Excel(name = "备用8") + private String userDefined8; + + /** 备用9 */ + @Excel(name = "备用9") + private String userDefined9; + + /** 备用10 */ + @Excel(name = "备用10") + private String userDefined10; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtCreate; + + /** 最后更新人 */ + @Excel(name = "最后更新人") + private String lastModifiedBy; + + /** 最后更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date gmtModified; + + /** 有效标记 */ + @Excel(name = "有效标记") + private String activeFlag; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String factoryCode; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String sapFactoryCode; + + public void setMateOrderInSnId(Long mateOrderInSnId) { + this.mateOrderInSnId = mateOrderInSnId; + } + + public Long getMateOrderInSnId() { + return mateOrderInSnId; + } + public void setWhCode(String whCode) { + this.whCode = whCode; + } + + public String getWhCode() { + return whCode; + } + public void setWaCode(String waCode) { + this.waCode = waCode; + } + + public String getWaCode() { + return waCode; + } + public void setWlCode(String wlCode) { + this.wlCode = wlCode; + } + + public String getWlCode() { + return wlCode; + } + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public String getOrderNo() { + return orderNo; + } + public void setPoNo(String poNo) { + this.poNo = poNo; + } + + public String getPoNo() { + return poNo; + } + public void setPoLine(String poLine) { + this.poLine = poLine; + } + + public String getPoLine() { + return poLine; + } + public void setMaterialCode(String materialCode) { + this.materialCode = materialCode; + } + + public String getMaterialCode() { + return materialCode; + } + public void setMaterialDesc(String materialDesc) { + this.materialDesc = materialDesc; + } + + public String getMaterialDesc() { + return materialDesc; + } + public void setSn(String sn) { + this.sn = sn; + } + + public String getSn() { + return sn; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + + public String getBarCode() { + return barCode; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + public BigDecimal getAmount() { + return amount; + } + public void setUserDefined1(String userDefined1) { + this.userDefined1 = userDefined1; + } + + public String getUserDefined1() { + return userDefined1; + } + public void setUserDefined2(String userDefined2) { + this.userDefined2 = userDefined2; + } + + public String getUserDefined2() { + return userDefined2; + } + public void setUserDefined3(String userDefined3) { + this.userDefined3 = userDefined3; + } + + public String getUserDefined3() { + return userDefined3; + } + public void setUserDefined4(String userDefined4) { + this.userDefined4 = userDefined4; + } + + public String getUserDefined4() { + return userDefined4; + } + public void setUserDefined5(String userDefined5) { + this.userDefined5 = userDefined5; + } + + public String getUserDefined5() { + return userDefined5; + } + public void setUserDefined6(String userDefined6) { + this.userDefined6 = userDefined6; + } + + public String getUserDefined6() { + return userDefined6; + } + public void setUserDefined7(String userDefined7) { + this.userDefined7 = userDefined7; + } + + public String getUserDefined7() { + return userDefined7; + } + public void setUserDefined8(String userDefined8) { + this.userDefined8 = userDefined8; + } + + public String getUserDefined8() { + return userDefined8; + } + public void setUserDefined9(String userDefined9) { + this.userDefined9 = userDefined9; + } + + public String getUserDefined9() { + return userDefined9; + } + public void setUserDefined10(String userDefined10) { + this.userDefined10 = userDefined10; + } + + public String getUserDefined10() { + return userDefined10; + } + public void setGmtCreate(Date gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public Date getGmtCreate() { + return gmtCreate; + } + public void setLastModifiedBy(String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public String getLastModifiedBy() { + return lastModifiedBy; + } + public void setGmtModified(Date gmtModified) { + this.gmtModified = gmtModified; + } + + public Date getGmtModified() { + return gmtModified; + } + public void setActiveFlag(String activeFlag) { + this.activeFlag = activeFlag; + } + + public String getActiveFlag() { + return activeFlag; + } + public void setFactoryCode(String factoryCode) { + this.factoryCode = factoryCode; + } + + public String getFactoryCode() { + return factoryCode; + } + public void setSapFactoryCode(String sapFactoryCode) { + this.sapFactoryCode = sapFactoryCode; + } + + public String getSapFactoryCode() { + return sapFactoryCode; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("mateOrderInSnId", getMateOrderInSnId()) + .append("whCode", getWhCode()) + .append("waCode", getWaCode()) + .append("wlCode", getWlCode()) + .append("orderNo", getOrderNo()) + .append("poNo", getPoNo()) + .append("poLine", getPoLine()) + .append("materialCode", getMaterialCode()) + .append("materialDesc", getMaterialDesc()) + .append("sn", getSn()) + .append("barCode", getBarCode()) + .append("amount", getAmount()) + .append("userDefined1", getUserDefined1()) + .append("userDefined2", getUserDefined2()) + .append("userDefined3", getUserDefined3()) + .append("userDefined4", getUserDefined4()) + .append("userDefined5", getUserDefined5()) + .append("userDefined6", getUserDefined6()) + .append("userDefined7", getUserDefined7()) + .append("userDefined8", getUserDefined8()) + .append("userDefined9", getUserDefined9()) + .append("userDefined10", getUserDefined10()) + .append("createBy", getCreateBy()) + .append("gmtCreate", getGmtCreate()) + .append("lastModifiedBy", getLastModifiedBy()) + .append("gmtModified", getGmtModified()) + .append("activeFlag", getActiveFlag()) + .append("factoryCode", getFactoryCode()) + .append("sapFactoryCode", getSapFactoryCode()) + .toString(); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsMapper.java b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsMapper.java new file mode 100644 index 00000000..954d4b69 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsMapper.java @@ -0,0 +1,61 @@ +package com.op.wms.mapper; + +import java.util.List; + +import com.op.wms.domain.WmsOdsEmStorageNews; + +/** + * 白胚库存主表Mapper接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface WmsOdsEmStorageNewsMapper { + /** + * 查询白胚库存主表 + * + * @param storageId 白胚库存主表主键 + * @return 白胚库存主表 + */ + public WmsOdsEmStorageNews selectWmsOdsEmStorageNewsByStorageId(String storageId); + + /** + * 查询白胚库存主表列表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 白胚库存主表集合 + */ + public List selectWmsOdsEmStorageNewsList(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 新增白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + public int insertWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 修改白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + public int updateWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 删除白胚库存主表 + * + * @param storageId 白胚库存主表主键 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsByStorageId(String storageId); + + /** + * 批量删除白胚库存主表 + * + * @param storageIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsByStorageIds(String[] storageIds); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsSnMapper.java b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsSnMapper.java new file mode 100644 index 00000000..7345cbf2 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsEmStorageNewsSnMapper.java @@ -0,0 +1,61 @@ +package com.op.wms.mapper; + +import java.util.List; + +import com.op.wms.domain.WmsOdsEmStorageNewsSn; + +/** + * 白胚库存明细表Mapper接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface WmsOdsEmStorageNewsSnMapper { + /** + * 查询白胚库存明细表 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 白胚库存明细表 + */ + public WmsOdsEmStorageNewsSn selectWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId); + + /** + * 查询白胚库存明细表列表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 白胚库存明细表集合 + */ + public List selectWmsOdsEmStorageNewsSnList(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 新增白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + public int insertWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 修改白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + public int updateWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 删除白胚库存明细表 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId); + + /** + * 批量删除白胚库存明细表 + * + * @param emOrderInSnIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds(Long[] emOrderInSnIds); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsMapper.java b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsMapper.java new file mode 100644 index 00000000..3aa63134 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsMapper.java @@ -0,0 +1,61 @@ +package com.op.wms.mapper; + +import java.util.List; + +import com.op.wms.domain.WmsOdsMateStorageNews; + +/** + * 包材库存主表Mapper接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface WmsOdsMateStorageNewsMapper { + /** + * 查询包材库存主表 + * + * @param storageId 包材库存主表主键 + * @return 包材库存主表 + */ + public WmsOdsMateStorageNews selectWmsOdsMateStorageNewsByStorageId(String storageId); + + /** + * 查询包材库存主表列表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 包材库存主表集合 + */ + public List selectWmsOdsMateStorageNewsList(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 新增包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + public int insertWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 修改包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + public int updateWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 删除包材库存主表 + * + * @param storageId 包材库存主表主键 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsByStorageId(String storageId); + + /** + * 批量删除包材库存主表 + * + * @param storageIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsByStorageIds(String[] storageIds); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsSnMapper.java b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsSnMapper.java new file mode 100644 index 00000000..c029f89c --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/mapper/WmsOdsMateStorageNewsSnMapper.java @@ -0,0 +1,61 @@ +package com.op.wms.mapper; + +import java.util.List; + +import com.op.wms.domain.WmsOdsMateStorageNewsSn; + +/** + * 包材库存明细表Mapper接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface WmsOdsMateStorageNewsSnMapper { + /** + * 查询包材库存明细表 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 包材库存明细表 + */ + public WmsOdsMateStorageNewsSn selectWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId); + + /** + * 查询包材库存明细表列表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 包材库存明细表集合 + */ + public List selectWmsOdsMateStorageNewsSnList(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 新增包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + public int insertWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 修改包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + public int updateWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 删除包材库存明细表 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId); + + /** + * 批量删除包材库存明细表 + * + * @param mateOrderInSnIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds(Long[] mateOrderInSnIds); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsService.java b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsService.java new file mode 100644 index 00000000..7a221e5c --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsService.java @@ -0,0 +1,60 @@ +package com.op.wms.service; + +import java.util.List; +import com.op.wms.domain.WmsOdsEmStorageNews; + +/** + * 白胚库存主表Service接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface IWmsOdsEmStorageNewsService { + /** + * 查询白胚库存主表 + * + * @param storageId 白胚库存主表主键 + * @return 白胚库存主表 + */ + public WmsOdsEmStorageNews selectWmsOdsEmStorageNewsByStorageId(String storageId); + + /** + * 查询白胚库存主表列表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 白胚库存主表集合 + */ + public List selectWmsOdsEmStorageNewsList(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 新增白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + public int insertWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 修改白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + public int updateWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews); + + /** + * 批量删除白胚库存主表 + * + * @param storageIds 需要删除的白胚库存主表主键集合 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsByStorageIds(String[] storageIds); + + /** + * 删除白胚库存主表信息 + * + * @param storageId 白胚库存主表主键 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsByStorageId(String storageId); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsSnService.java b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsSnService.java new file mode 100644 index 00000000..a1c02d95 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsEmStorageNewsSnService.java @@ -0,0 +1,60 @@ +package com.op.wms.service; + +import java.util.List; +import com.op.wms.domain.WmsOdsEmStorageNewsSn; + +/** + * 白胚库存明细表Service接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface IWmsOdsEmStorageNewsSnService { + /** + * 查询白胚库存明细表 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 白胚库存明细表 + */ + public WmsOdsEmStorageNewsSn selectWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId); + + /** + * 查询白胚库存明细表列表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 白胚库存明细表集合 + */ + public List selectWmsOdsEmStorageNewsSnList(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 新增白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + public int insertWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 修改白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + public int updateWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn); + + /** + * 批量删除白胚库存明细表 + * + * @param emOrderInSnIds 需要删除的白胚库存明细表主键集合 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds(Long[] emOrderInSnIds); + + /** + * 删除白胚库存明细表信息 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 结果 + */ + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsService.java b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsService.java new file mode 100644 index 00000000..3f32c7af --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsService.java @@ -0,0 +1,60 @@ +package com.op.wms.service; + +import java.util.List; +import com.op.wms.domain.WmsOdsMateStorageNews; + +/** + * 包材库存主表Service接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface IWmsOdsMateStorageNewsService { + /** + * 查询包材库存主表 + * + * @param storageId 包材库存主表主键 + * @return 包材库存主表 + */ + public WmsOdsMateStorageNews selectWmsOdsMateStorageNewsByStorageId(String storageId); + + /** + * 查询包材库存主表列表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 包材库存主表集合 + */ + public List selectWmsOdsMateStorageNewsList(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 新增包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + public int insertWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 修改包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + public int updateWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews); + + /** + * 批量删除包材库存主表 + * + * @param storageIds 需要删除的包材库存主表主键集合 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsByStorageIds(String[] storageIds); + + /** + * 删除包材库存主表信息 + * + * @param storageId 包材库存主表主键 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsByStorageId(String storageId); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsSnService.java b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsSnService.java new file mode 100644 index 00000000..1ca31c1a --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/IWmsOdsMateStorageNewsSnService.java @@ -0,0 +1,60 @@ +package com.op.wms.service; + +import java.util.List; +import com.op.wms.domain.WmsOdsMateStorageNewsSn; + +/** + * 包材库存明细表Service接口 + * + * @author Open Platform + * @date 2023-08-30 + */ +public interface IWmsOdsMateStorageNewsSnService { + /** + * 查询包材库存明细表 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 包材库存明细表 + */ + public WmsOdsMateStorageNewsSn selectWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId); + + /** + * 查询包材库存明细表列表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 包材库存明细表集合 + */ + public List selectWmsOdsMateStorageNewsSnList(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 新增包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + public int insertWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 修改包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + public int updateWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn); + + /** + * 批量删除包材库存明细表 + * + * @param mateOrderInSnIds 需要删除的包材库存明细表主键集合 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds(Long[] mateOrderInSnIds); + + /** + * 删除包材库存明细表信息 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 结果 + */ + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId); +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsServiceImpl.java new file mode 100644 index 00000000..72e65cb6 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsServiceImpl.java @@ -0,0 +1,94 @@ +package com.op.wms.service.impl; + +import java.util.List; + +import com.baomidou.dynamic.datasource.annotation.DS; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.op.wms.mapper.WmsOdsEmStorageNewsMapper; +import com.op.wms.domain.WmsOdsEmStorageNews; +import com.op.wms.service.IWmsOdsEmStorageNewsService; + +/** + * 白胚库存主表Service业务层处理 + * + * @author Open Platform + * @date 2023-08-30 + */ +@Service +public class WmsOdsEmStorageNewsServiceImpl implements IWmsOdsEmStorageNewsService { + @Autowired + private WmsOdsEmStorageNewsMapper wmsOdsEmStorageNewsMapper; + + /** + * 查询白胚库存主表 + * + * @param storageId 白胚库存主表主键 + * @return 白胚库存主表 + */ + @Override + @DS("#header.poolName") + public WmsOdsEmStorageNews selectWmsOdsEmStorageNewsByStorageId(String storageId) { + return wmsOdsEmStorageNewsMapper.selectWmsOdsEmStorageNewsByStorageId(storageId); + } + + /** + * 查询白胚库存主表列表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 白胚库存主表 + */ + @Override + @DS("#header.poolName") + public List selectWmsOdsEmStorageNewsList(WmsOdsEmStorageNews wmsOdsEmStorageNews) { + return wmsOdsEmStorageNewsMapper.selectWmsOdsEmStorageNewsList(wmsOdsEmStorageNews); + } + + /** + * 新增白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int insertWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews) { + return wmsOdsEmStorageNewsMapper.insertWmsOdsEmStorageNews(wmsOdsEmStorageNews); + } + + /** + * 修改白胚库存主表 + * + * @param wmsOdsEmStorageNews 白胚库存主表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int updateWmsOdsEmStorageNews(WmsOdsEmStorageNews wmsOdsEmStorageNews) { + return wmsOdsEmStorageNewsMapper.updateWmsOdsEmStorageNews(wmsOdsEmStorageNews); + } + + /** + * 批量删除白胚库存主表 + * + * @param storageIds 需要删除的白胚库存主表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsEmStorageNewsByStorageIds(String[] storageIds) { + return wmsOdsEmStorageNewsMapper.deleteWmsOdsEmStorageNewsByStorageIds(storageIds); + } + + /** + * 删除白胚库存主表信息 + * + * @param storageId 白胚库存主表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsEmStorageNewsByStorageId(String storageId) { + return wmsOdsEmStorageNewsMapper.deleteWmsOdsEmStorageNewsByStorageId(storageId); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsSnServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsSnServiceImpl.java new file mode 100644 index 00000000..17e4306f --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsEmStorageNewsSnServiceImpl.java @@ -0,0 +1,94 @@ +package com.op.wms.service.impl; + +import java.util.List; + +import com.baomidou.dynamic.datasource.annotation.DS; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.op.wms.mapper.WmsOdsEmStorageNewsSnMapper; +import com.op.wms.domain.WmsOdsEmStorageNewsSn; +import com.op.wms.service.IWmsOdsEmStorageNewsSnService; + +/** + * 白胚库存明细表Service业务层处理 + * + * @author Open Platform + * @date 2023-08-30 + */ +@Service +public class WmsOdsEmStorageNewsSnServiceImpl implements IWmsOdsEmStorageNewsSnService { + @Autowired + private WmsOdsEmStorageNewsSnMapper wmsOdsEmStorageNewsSnMapper; + + /** + * 查询白胚库存明细表 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 白胚库存明细表 + */ + @Override + @DS("#header.poolName") + public WmsOdsEmStorageNewsSn selectWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId) { + return wmsOdsEmStorageNewsSnMapper.selectWmsOdsEmStorageNewsSnByEmOrderInSnId(emOrderInSnId); + } + + /** + * 查询白胚库存明细表列表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 白胚库存明细表 + */ + @Override + @DS("#header.poolName") + public List selectWmsOdsEmStorageNewsSnList(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + return wmsOdsEmStorageNewsSnMapper.selectWmsOdsEmStorageNewsSnList(wmsOdsEmStorageNewsSn); + } + + /** + * 新增白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int insertWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + return wmsOdsEmStorageNewsSnMapper.insertWmsOdsEmStorageNewsSn(wmsOdsEmStorageNewsSn); + } + + /** + * 修改白胚库存明细表 + * + * @param wmsOdsEmStorageNewsSn 白胚库存明细表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int updateWmsOdsEmStorageNewsSn(WmsOdsEmStorageNewsSn wmsOdsEmStorageNewsSn) { + return wmsOdsEmStorageNewsSnMapper.updateWmsOdsEmStorageNewsSn(wmsOdsEmStorageNewsSn); + } + + /** + * 批量删除白胚库存明细表 + * + * @param emOrderInSnIds 需要删除的白胚库存明细表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds(Long[] emOrderInSnIds) { + return wmsOdsEmStorageNewsSnMapper.deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds(emOrderInSnIds); + } + + /** + * 删除白胚库存明细表信息 + * + * @param emOrderInSnId 白胚库存明细表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsEmStorageNewsSnByEmOrderInSnId(Long emOrderInSnId) { + return wmsOdsEmStorageNewsSnMapper.deleteWmsOdsEmStorageNewsSnByEmOrderInSnId(emOrderInSnId); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsServiceImpl.java new file mode 100644 index 00000000..0c1da0e0 --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsServiceImpl.java @@ -0,0 +1,94 @@ +package com.op.wms.service.impl; + +import java.util.List; + +import com.baomidou.dynamic.datasource.annotation.DS; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.op.wms.mapper.WmsOdsMateStorageNewsMapper; +import com.op.wms.domain.WmsOdsMateStorageNews; +import com.op.wms.service.IWmsOdsMateStorageNewsService; + +/** + * 包材库存主表Service业务层处理 + * + * @author Open Platform + * @date 2023-08-30 + */ +@Service +public class WmsOdsMateStorageNewsServiceImpl implements IWmsOdsMateStorageNewsService { + @Autowired + private WmsOdsMateStorageNewsMapper wmsOdsMateStorageNewsMapper; + + /** + * 查询包材库存主表 + * + * @param storageId 包材库存主表主键 + * @return 包材库存主表 + */ + @Override + @DS("#header.poolName") + public WmsOdsMateStorageNews selectWmsOdsMateStorageNewsByStorageId(String storageId) { + return wmsOdsMateStorageNewsMapper.selectWmsOdsMateStorageNewsByStorageId(storageId); + } + + /** + * 查询包材库存主表列表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 包材库存主表 + */ + @Override + @DS("#header.poolName") + public List selectWmsOdsMateStorageNewsList(WmsOdsMateStorageNews wmsOdsMateStorageNews) { + return wmsOdsMateStorageNewsMapper.selectWmsOdsMateStorageNewsList(wmsOdsMateStorageNews); + } + + /** + * 新增包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int insertWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews) { + return wmsOdsMateStorageNewsMapper.insertWmsOdsMateStorageNews(wmsOdsMateStorageNews); + } + + /** + * 修改包材库存主表 + * + * @param wmsOdsMateStorageNews 包材库存主表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int updateWmsOdsMateStorageNews(WmsOdsMateStorageNews wmsOdsMateStorageNews) { + return wmsOdsMateStorageNewsMapper.updateWmsOdsMateStorageNews(wmsOdsMateStorageNews); + } + + /** + * 批量删除包材库存主表 + * + * @param storageIds 需要删除的包材库存主表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsMateStorageNewsByStorageIds(String[] storageIds) { + return wmsOdsMateStorageNewsMapper.deleteWmsOdsMateStorageNewsByStorageIds(storageIds); + } + + /** + * 删除包材库存主表信息 + * + * @param storageId 包材库存主表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsMateStorageNewsByStorageId(String storageId) { + return wmsOdsMateStorageNewsMapper.deleteWmsOdsMateStorageNewsByStorageId(storageId); + } +} diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsSnServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsSnServiceImpl.java new file mode 100644 index 00000000..99ffa94a --- /dev/null +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsOdsMateStorageNewsSnServiceImpl.java @@ -0,0 +1,94 @@ +package com.op.wms.service.impl; + +import java.util.List; + +import com.baomidou.dynamic.datasource.annotation.DS; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.op.wms.mapper.WmsOdsMateStorageNewsSnMapper; +import com.op.wms.domain.WmsOdsMateStorageNewsSn; +import com.op.wms.service.IWmsOdsMateStorageNewsSnService; + +/** + * 包材库存明细表Service业务层处理 + * + * @author Open Platform + * @date 2023-08-30 + */ +@Service +public class WmsOdsMateStorageNewsSnServiceImpl implements IWmsOdsMateStorageNewsSnService { + @Autowired + private WmsOdsMateStorageNewsSnMapper wmsOdsMateStorageNewsSnMapper; + + /** + * 查询包材库存明细表 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 包材库存明细表 + */ + @Override + @DS("#header.poolName") + public WmsOdsMateStorageNewsSn selectWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId) { + return wmsOdsMateStorageNewsSnMapper.selectWmsOdsMateStorageNewsSnByMateOrderInSnId(mateOrderInSnId); + } + + /** + * 查询包材库存明细表列表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 包材库存明细表 + */ + @Override + @DS("#header.poolName") + public List selectWmsOdsMateStorageNewsSnList(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + return wmsOdsMateStorageNewsSnMapper.selectWmsOdsMateStorageNewsSnList(wmsOdsMateStorageNewsSn); + } + + /** + * 新增包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int insertWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + return wmsOdsMateStorageNewsSnMapper.insertWmsOdsMateStorageNewsSn(wmsOdsMateStorageNewsSn); + } + + /** + * 修改包材库存明细表 + * + * @param wmsOdsMateStorageNewsSn 包材库存明细表 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int updateWmsOdsMateStorageNewsSn(WmsOdsMateStorageNewsSn wmsOdsMateStorageNewsSn) { + return wmsOdsMateStorageNewsSnMapper.updateWmsOdsMateStorageNewsSn(wmsOdsMateStorageNewsSn); + } + + /** + * 批量删除包材库存明细表 + * + * @param mateOrderInSnIds 需要删除的包材库存明细表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds(Long[] mateOrderInSnIds) { + return wmsOdsMateStorageNewsSnMapper.deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds(mateOrderInSnIds); + } + + /** + * 删除包材库存明细表信息 + * + * @param mateOrderInSnId 包材库存明细表主键 + * @return 结果 + */ + @Override + @DS("#header.poolName") + public int deleteWmsOdsMateStorageNewsSnByMateOrderInSnId(Long mateOrderInSnId) { + return wmsOdsMateStorageNewsSnMapper.deleteWmsOdsMateStorageNewsSnByMateOrderInSnId(mateOrderInSnId); + } +} diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml new file mode 100644 index 00000000..dd3cde8a --- /dev/null +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select storage_id, wh_code, region_code, wa_code, storage_type, wl_code, material_code, material_desc, amount, storage_amount, occupy_amount, lpn, product_batch, receive_date, product_date, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag, factory_code, sap_factory_code, wl_name from wms_ods_em_storage_news + + + + + + + + insert into wms_ods_em_storage_news + + storage_id, + wh_code, + region_code, + wa_code, + storage_type, + wl_code, + material_code, + material_desc, + amount, + storage_amount, + occupy_amount, + lpn, + product_batch, + receive_date, + product_date, + user_defined1, + user_defined2, + user_defined3, + user_defined4, + user_defined5, + user_defined6, + user_defined7, + user_defined8, + user_defined9, + user_defined10, + create_by, + gmt_create, + last_modified_by, + gmt_modified, + active_flag, + factory_code, + sap_factory_code, + wl_name, + + + #{storageId}, + #{whCode}, + #{regionCode}, + #{waCode}, + #{storageType}, + #{wlCode}, + #{materialCode}, + #{materialDesc}, + #{amount}, + #{storageAmount}, + #{occupyAmount}, + #{lpn}, + #{productBatch}, + #{receiveDate}, + #{productDate}, + #{userDefined1}, + #{userDefined2}, + #{userDefined3}, + #{userDefined4}, + #{userDefined5}, + #{userDefined6}, + #{userDefined7}, + #{userDefined8}, + #{userDefined9}, + #{userDefined10}, + #{createBy}, + #{gmtCreate}, + #{lastModifiedBy}, + #{gmtModified}, + #{activeFlag}, + #{factoryCode}, + #{sapFactoryCode}, + #{wlName}, + + + + + update wms_ods_em_storage_news + + wh_code = #{whCode}, + region_code = #{regionCode}, + wa_code = #{waCode}, + storage_type = #{storageType}, + wl_code = #{wlCode}, + material_code = #{materialCode}, + material_desc = #{materialDesc}, + amount = #{amount}, + storage_amount = #{storageAmount}, + occupy_amount = #{occupyAmount}, + lpn = #{lpn}, + product_batch = #{productBatch}, + receive_date = #{receiveDate}, + product_date = #{productDate}, + user_defined1 = #{userDefined1}, + user_defined2 = #{userDefined2}, + user_defined3 = #{userDefined3}, + user_defined4 = #{userDefined4}, + user_defined5 = #{userDefined5}, + user_defined6 = #{userDefined6}, + user_defined7 = #{userDefined7}, + user_defined8 = #{userDefined8}, + user_defined9 = #{userDefined9}, + user_defined10 = #{userDefined10}, + create_by = #{createBy}, + gmt_create = #{gmtCreate}, + last_modified_by = #{lastModifiedBy}, + gmt_modified = #{gmtModified}, + active_flag = #{activeFlag}, + factory_code = #{factoryCode}, + sap_factory_code = #{sapFactoryCode}, + wl_name = #{wlName}, + + where storage_id = #{storageId} + + + + delete from wms_ods_em_storage_news where storage_id = #{storageId} + + + + delete from wms_ods_em_storage_news where storage_id in + + #{storageId} + + + \ No newline at end of file diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsSnMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsSnMapper.xml new file mode 100644 index 00000000..be7dc7d9 --- /dev/null +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsSnMapper.xml @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select em_order_in_sn_id, wh_code, wa_code, wl_code, order_no, po_no, po_line, material_code, material_desc, sn, bar_code, amount, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag, factory_code, sap_factory_code from wms_ods_em_storage_news_sn + + + + + + + + insert into wms_ods_em_storage_news_sn + + wh_code, + wa_code, + wl_code, + order_no, + po_no, + po_line, + material_code, + material_desc, + sn, + bar_code, + amount, + user_defined1, + user_defined2, + user_defined3, + user_defined4, + user_defined5, + user_defined6, + user_defined7, + user_defined8, + user_defined9, + user_defined10, + create_by, + gmt_create, + last_modified_by, + gmt_modified, + active_flag, + factory_code, + sap_factory_code, + + + #{whCode}, + #{waCode}, + #{wlCode}, + #{orderNo}, + #{poNo}, + #{poLine}, + #{materialCode}, + #{materialDesc}, + #{sn}, + #{barCode}, + #{amount}, + #{userDefined1}, + #{userDefined2}, + #{userDefined3}, + #{userDefined4}, + #{userDefined5}, + #{userDefined6}, + #{userDefined7}, + #{userDefined8}, + #{userDefined9}, + #{userDefined10}, + #{createBy}, + #{gmtCreate}, + #{lastModifiedBy}, + #{gmtModified}, + #{activeFlag}, + #{factoryCode}, + #{sapFactoryCode}, + + + + + update wms_ods_em_storage_news_sn + + wh_code = #{whCode}, + wa_code = #{waCode}, + wl_code = #{wlCode}, + order_no = #{orderNo}, + po_no = #{poNo}, + po_line = #{poLine}, + material_code = #{materialCode}, + material_desc = #{materialDesc}, + sn = #{sn}, + bar_code = #{barCode}, + amount = #{amount}, + user_defined1 = #{userDefined1}, + user_defined2 = #{userDefined2}, + user_defined3 = #{userDefined3}, + user_defined4 = #{userDefined4}, + user_defined5 = #{userDefined5}, + user_defined6 = #{userDefined6}, + user_defined7 = #{userDefined7}, + user_defined8 = #{userDefined8}, + user_defined9 = #{userDefined9}, + user_defined10 = #{userDefined10}, + create_by = #{createBy}, + gmt_create = #{gmtCreate}, + last_modified_by = #{lastModifiedBy}, + gmt_modified = #{gmtModified}, + active_flag = #{activeFlag}, + factory_code = #{factoryCode}, + sap_factory_code = #{sapFactoryCode}, + + where em_order_in_sn_id = #{emOrderInSnId} + + + + delete from wms_ods_em_storage_news_sn where em_order_in_sn_id = #{emOrderInSnId} + + + + delete from wms_ods_em_storage_news_sn where em_order_in_sn_id in + + #{emOrderInSnId} + + + \ No newline at end of file diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsMapper.xml new file mode 100644 index 00000000..5cdf65da --- /dev/null +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select storage_id, wh_code, region_code, wa_code, storage_type, wl_code, material_code, material_desc, amount, storage_amount, occupy_amount, lpn, product_batch, receive_date, product_date, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag, factory_code, sap_factory_code, wl_name from wms_ods_mate_storage_news + + + + + + + + insert into wms_ods_mate_storage_news + + storage_id, + wh_code, + region_code, + wa_code, + storage_type, + wl_code, + material_code, + material_desc, + amount, + storage_amount, + occupy_amount, + lpn, + product_batch, + receive_date, + product_date, + user_defined1, + user_defined2, + user_defined3, + user_defined4, + user_defined5, + user_defined6, + user_defined7, + user_defined8, + user_defined9, + user_defined10, + create_by, + gmt_create, + last_modified_by, + gmt_modified, + active_flag, + factory_code, + sap_factory_code, + wl_name, + + + #{storageId}, + #{whCode}, + #{regionCode}, + #{waCode}, + #{storageType}, + #{wlCode}, + #{materialCode}, + #{materialDesc}, + #{amount}, + #{storageAmount}, + #{occupyAmount}, + #{lpn}, + #{productBatch}, + #{receiveDate}, + #{productDate}, + #{userDefined1}, + #{userDefined2}, + #{userDefined3}, + #{userDefined4}, + #{userDefined5}, + #{userDefined6}, + #{userDefined7}, + #{userDefined8}, + #{userDefined9}, + #{userDefined10}, + #{createBy}, + #{gmtCreate}, + #{lastModifiedBy}, + #{gmtModified}, + #{activeFlag}, + #{factoryCode}, + #{sapFactoryCode}, + #{wlName}, + + + + + update wms_ods_mate_storage_news + + wh_code = #{whCode}, + region_code = #{regionCode}, + wa_code = #{waCode}, + storage_type = #{storageType}, + wl_code = #{wlCode}, + material_code = #{materialCode}, + material_desc = #{materialDesc}, + amount = #{amount}, + storage_amount = #{storageAmount}, + occupy_amount = #{occupyAmount}, + lpn = #{lpn}, + product_batch = #{productBatch}, + receive_date = #{receiveDate}, + product_date = #{productDate}, + user_defined1 = #{userDefined1}, + user_defined2 = #{userDefined2}, + user_defined3 = #{userDefined3}, + user_defined4 = #{userDefined4}, + user_defined5 = #{userDefined5}, + user_defined6 = #{userDefined6}, + user_defined7 = #{userDefined7}, + user_defined8 = #{userDefined8}, + user_defined9 = #{userDefined9}, + user_defined10 = #{userDefined10}, + create_by = #{createBy}, + gmt_create = #{gmtCreate}, + last_modified_by = #{lastModifiedBy}, + gmt_modified = #{gmtModified}, + active_flag = #{activeFlag}, + factory_code = #{factoryCode}, + sap_factory_code = #{sapFactoryCode}, + wl_name = #{wlName}, + + where storage_id = #{storageId} + + + + delete from wms_ods_mate_storage_news where storage_id = #{storageId} + + + + delete from wms_ods_mate_storage_news where storage_id in + + #{storageId} + + + \ No newline at end of file diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsSnMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsSnMapper.xml new file mode 100644 index 00000000..7cb49b69 --- /dev/null +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsMateStorageNewsSnMapper.xml @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select mate_order_in_sn_id, wh_code, wa_code, wl_code, order_no, po_no, po_line, material_code, material_desc, sn, bar_code, amount, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag, factory_code, sap_factory_code from wms_ods_mate_storage_news_sn + + + + + + + + insert into wms_ods_mate_storage_news_sn + + wh_code, + wa_code, + wl_code, + order_no, + po_no, + po_line, + material_code, + material_desc, + sn, + bar_code, + amount, + user_defined1, + user_defined2, + user_defined3, + user_defined4, + user_defined5, + user_defined6, + user_defined7, + user_defined8, + user_defined9, + user_defined10, + create_by, + gmt_create, + last_modified_by, + gmt_modified, + active_flag, + factory_code, + sap_factory_code, + + + #{whCode}, + #{waCode}, + #{wlCode}, + #{orderNo}, + #{poNo}, + #{poLine}, + #{materialCode}, + #{materialDesc}, + #{sn}, + #{barCode}, + #{amount}, + #{userDefined1}, + #{userDefined2}, + #{userDefined3}, + #{userDefined4}, + #{userDefined5}, + #{userDefined6}, + #{userDefined7}, + #{userDefined8}, + #{userDefined9}, + #{userDefined10}, + #{createBy}, + #{gmtCreate}, + #{lastModifiedBy}, + #{gmtModified}, + #{activeFlag}, + #{factoryCode}, + #{sapFactoryCode}, + + + + + update wms_ods_mate_storage_news_sn + + wh_code = #{whCode}, + wa_code = #{waCode}, + wl_code = #{wlCode}, + order_no = #{orderNo}, + po_no = #{poNo}, + po_line = #{poLine}, + material_code = #{materialCode}, + material_desc = #{materialDesc}, + sn = #{sn}, + bar_code = #{barCode}, + amount = #{amount}, + user_defined1 = #{userDefined1}, + user_defined2 = #{userDefined2}, + user_defined3 = #{userDefined3}, + user_defined4 = #{userDefined4}, + user_defined5 = #{userDefined5}, + user_defined6 = #{userDefined6}, + user_defined7 = #{userDefined7}, + user_defined8 = #{userDefined8}, + user_defined9 = #{userDefined9}, + user_defined10 = #{userDefined10}, + create_by = #{createBy}, + gmt_create = #{gmtCreate}, + last_modified_by = #{lastModifiedBy}, + gmt_modified = #{gmtModified}, + active_flag = #{activeFlag}, + factory_code = #{factoryCode}, + sap_factory_code = #{sapFactoryCode}, + + where mate_order_in_sn_id = #{mateOrderInSnId} + + + + delete from wms_ods_mate_storage_news_sn where mate_order_in_sn_id = #{mateOrderInSnId} + + + + delete from wms_ods_mate_storage_news_sn where mate_order_in_sn_id in + + #{mateOrderInSnId} + + + \ No newline at end of file