wms服务部分修改1.5

highway
mengjiao 2 years ago
parent c25d6e258d
commit 6b516a4718

@ -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<WmsOdsEmStorageNews> 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<WmsOdsEmStorageNews> list = wmsOdsEmStorageNewsService.selectWmsOdsEmStorageNewsList(wmsOdsEmStorageNews);
ExcelUtil<WmsOdsEmStorageNews> util = new ExcelUtil<WmsOdsEmStorageNews>(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));
}
}

@ -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<WmsOdsEmStorageNewsSn> 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<WmsOdsEmStorageNewsSn> list = wmsOdsEmStorageNewsSnService.selectWmsOdsEmStorageNewsSnList(wmsOdsEmStorageNewsSn);
ExcelUtil<WmsOdsEmStorageNewsSn> util = new ExcelUtil<WmsOdsEmStorageNewsSn>(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));
}
}

@ -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<WmsOdsMateStorageNews> 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<WmsOdsMateStorageNews> list = wmsOdsMateStorageNewsService.selectWmsOdsMateStorageNewsList(wmsOdsMateStorageNews);
ExcelUtil<WmsOdsMateStorageNews> util = new ExcelUtil<WmsOdsMateStorageNews>(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));
}
}

@ -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<WmsOdsMateStorageNewsSn> 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<WmsOdsMateStorageNewsSn> list = wmsOdsMateStorageNewsSnService.selectWmsOdsMateStorageNewsSnList(wmsOdsMateStorageNewsSn);
ExcelUtil<WmsOdsMateStorageNewsSn> util = new ExcelUtil<WmsOdsMateStorageNewsSn>(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));
}
}

@ -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();
}
}

@ -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();
}
}

@ -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();
}
}

@ -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();
}
}

@ -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<WmsOdsEmStorageNews> 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);
}

@ -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<WmsOdsEmStorageNewsSn> 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);
}

@ -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<WmsOdsMateStorageNews> 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);
}

@ -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<WmsOdsMateStorageNewsSn> 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);
}

@ -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<WmsOdsEmStorageNews> 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);
}

@ -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<WmsOdsEmStorageNewsSn> 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);
}

@ -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<WmsOdsMateStorageNews> 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);
}

@ -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<WmsOdsMateStorageNewsSn> 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);
}

@ -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<WmsOdsEmStorageNews> 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);
}
}

@ -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<WmsOdsEmStorageNewsSn> 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);
}
}

@ -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<WmsOdsMateStorageNews> 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);
}
}

@ -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<WmsOdsMateStorageNewsSn> 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);
}
}

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.op.wms.mapper.WmsOdsEmStorageNewsMapper">
<resultMap type="WmsOdsEmStorageNews" id="WmsOdsEmStorageNewsResult">
<result property="storageId" column="storage_id" />
<result property="whCode" column="wh_code" />
<result property="regionCode" column="region_code" />
<result property="waCode" column="wa_code" />
<result property="storageType" column="storage_type" />
<result property="wlCode" column="wl_code" />
<result property="materialCode" column="material_code" />
<result property="materialDesc" column="material_desc" />
<result property="amount" column="amount" />
<result property="storageAmount" column="storage_amount" />
<result property="occupyAmount" column="occupy_amount" />
<result property="lpn" column="lpn" />
<result property="productBatch" column="product_batch" />
<result property="receiveDate" column="receive_date" />
<result property="productDate" column="product_date" />
<result property="userDefined1" column="user_defined1" />
<result property="userDefined2" column="user_defined2" />
<result property="userDefined3" column="user_defined3" />
<result property="userDefined4" column="user_defined4" />
<result property="userDefined5" column="user_defined5" />
<result property="userDefined6" column="user_defined6" />
<result property="userDefined7" column="user_defined7" />
<result property="userDefined8" column="user_defined8" />
<result property="userDefined9" column="user_defined9" />
<result property="userDefined10" column="user_defined10" />
<result property="createBy" column="create_by" />
<result property="gmtCreate" column="gmt_create" />
<result property="lastModifiedBy" column="last_modified_by" />
<result property="gmtModified" column="gmt_modified" />
<result property="activeFlag" column="active_flag" />
<result property="factoryCode" column="factory_code" />
<result property="sapFactoryCode" column="sap_factory_code" />
<result property="wlName" column="wl_name" />
</resultMap>
<sql id="selectWmsOdsEmStorageNewsVo">
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
</sql>
<select id="selectWmsOdsEmStorageNewsList" parameterType="WmsOdsEmStorageNews" resultMap="WmsOdsEmStorageNewsResult">
<include refid="selectWmsOdsEmStorageNewsVo"/>
<where>
<if test="storageId != null and storageId != ''"> and storage_id = #{storageId}</if>
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
<if test="regionCode != null and regionCode != ''"> and region_code = #{regionCode}</if>
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
<if test="storageType != null and storageType != ''"> and storage_type = #{storageType}</if>
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
<if test="amount != null "> and amount = #{amount}</if>
<if test="storageAmount != null "> and storage_amount = #{storageAmount}</if>
<if test="occupyAmount != null "> and occupy_amount = #{occupyAmount}</if>
<if test="lpn != null and lpn != ''"> and lpn = #{lpn}</if>
<if test="productBatch != null and productBatch != ''"> and product_batch = #{productBatch}</if>
<if test="receiveDate != null "> and receive_date = #{receiveDate}</if>
<if test="productDate != null "> and product_date = #{productDate}</if>
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
<if test="wlName != null and wlName != ''"> and wl_name like concat('%', #{wlName}, '%')</if>
</where>
</select>
<select id="selectWmsOdsEmStorageNewsByStorageId" parameterType="String" resultMap="WmsOdsEmStorageNewsResult">
<include refid="selectWmsOdsEmStorageNewsVo"/>
where storage_id = #{storageId}
</select>
<insert id="insertWmsOdsEmStorageNews" parameterType="WmsOdsEmStorageNews">
insert into wms_ods_em_storage_news
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storageId != null and storageId != ''">storage_id,</if>
<if test="whCode != null">wh_code,</if>
<if test="regionCode != null">region_code,</if>
<if test="waCode != null">wa_code,</if>
<if test="storageType != null">storage_type,</if>
<if test="wlCode != null">wl_code,</if>
<if test="materialCode != null">material_code,</if>
<if test="materialDesc != null">material_desc,</if>
<if test="amount != null">amount,</if>
<if test="storageAmount != null">storage_amount,</if>
<if test="occupyAmount != null">occupy_amount,</if>
<if test="lpn != null">lpn,</if>
<if test="productBatch != null">product_batch,</if>
<if test="receiveDate != null">receive_date,</if>
<if test="productDate != null">product_date,</if>
<if test="userDefined1 != null">user_defined1,</if>
<if test="userDefined2 != null">user_defined2,</if>
<if test="userDefined3 != null">user_defined3,</if>
<if test="userDefined4 != null">user_defined4,</if>
<if test="userDefined5 != null">user_defined5,</if>
<if test="userDefined6 != null">user_defined6,</if>
<if test="userDefined7 != null">user_defined7,</if>
<if test="userDefined8 != null">user_defined8,</if>
<if test="userDefined9 != null">user_defined9,</if>
<if test="userDefined10 != null">user_defined10,</if>
<if test="createBy != null">create_by,</if>
<if test="gmtCreate != null">gmt_create,</if>
<if test="lastModifiedBy != null">last_modified_by,</if>
<if test="gmtModified != null">gmt_modified,</if>
<if test="activeFlag != null">active_flag,</if>
<if test="factoryCode != null">factory_code,</if>
<if test="sapFactoryCode != null">sap_factory_code,</if>
<if test="wlName != null">wl_name,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="storageId != null and storageId != ''">#{storageId},</if>
<if test="whCode != null">#{whCode},</if>
<if test="regionCode != null">#{regionCode},</if>
<if test="waCode != null">#{waCode},</if>
<if test="storageType != null">#{storageType},</if>
<if test="wlCode != null">#{wlCode},</if>
<if test="materialCode != null">#{materialCode},</if>
<if test="materialDesc != null">#{materialDesc},</if>
<if test="amount != null">#{amount},</if>
<if test="storageAmount != null">#{storageAmount},</if>
<if test="occupyAmount != null">#{occupyAmount},</if>
<if test="lpn != null">#{lpn},</if>
<if test="productBatch != null">#{productBatch},</if>
<if test="receiveDate != null">#{receiveDate},</if>
<if test="productDate != null">#{productDate},</if>
<if test="userDefined1 != null">#{userDefined1},</if>
<if test="userDefined2 != null">#{userDefined2},</if>
<if test="userDefined3 != null">#{userDefined3},</if>
<if test="userDefined4 != null">#{userDefined4},</if>
<if test="userDefined5 != null">#{userDefined5},</if>
<if test="userDefined6 != null">#{userDefined6},</if>
<if test="userDefined7 != null">#{userDefined7},</if>
<if test="userDefined8 != null">#{userDefined8},</if>
<if test="userDefined9 != null">#{userDefined9},</if>
<if test="userDefined10 != null">#{userDefined10},</if>
<if test="createBy != null">#{createBy},</if>
<if test="gmtCreate != null">#{gmtCreate},</if>
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
<if test="gmtModified != null">#{gmtModified},</if>
<if test="activeFlag != null">#{activeFlag},</if>
<if test="factoryCode != null">#{factoryCode},</if>
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
<if test="wlName != null">#{wlName},</if>
</trim>
</insert>
<update id="updateWmsOdsEmStorageNews" parameterType="WmsOdsEmStorageNews">
update wms_ods_em_storage_news
<trim prefix="SET" suffixOverrides=",">
<if test="whCode != null">wh_code = #{whCode},</if>
<if test="regionCode != null">region_code = #{regionCode},</if>
<if test="waCode != null">wa_code = #{waCode},</if>
<if test="storageType != null">storage_type = #{storageType},</if>
<if test="wlCode != null">wl_code = #{wlCode},</if>
<if test="materialCode != null">material_code = #{materialCode},</if>
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
<if test="amount != null">amount = #{amount},</if>
<if test="storageAmount != null">storage_amount = #{storageAmount},</if>
<if test="occupyAmount != null">occupy_amount = #{occupyAmount},</if>
<if test="lpn != null">lpn = #{lpn},</if>
<if test="productBatch != null">product_batch = #{productBatch},</if>
<if test="receiveDate != null">receive_date = #{receiveDate},</if>
<if test="productDate != null">product_date = #{productDate},</if>
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
<if test="wlName != null">wl_name = #{wlName},</if>
</trim>
where storage_id = #{storageId}
</update>
<delete id="deleteWmsOdsEmStorageNewsByStorageId" parameterType="String">
delete from wms_ods_em_storage_news where storage_id = #{storageId}
</delete>
<delete id="deleteWmsOdsEmStorageNewsByStorageIds" parameterType="String">
delete from wms_ods_em_storage_news where storage_id in
<foreach item="storageId" collection="array" open="(" separator="," close=")">
#{storageId}
</foreach>
</delete>
</mapper>

@ -0,0 +1,190 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.op.wms.mapper.WmsOdsEmStorageNewsSnMapper">
<resultMap type="WmsOdsEmStorageNewsSn" id="WmsOdsEmStorageNewsSnResult">
<result property="emOrderInSnId" column="em_order_in_sn_id" />
<result property="whCode" column="wh_code" />
<result property="waCode" column="wa_code" />
<result property="wlCode" column="wl_code" />
<result property="orderNo" column="order_no" />
<result property="poNo" column="po_no" />
<result property="poLine" column="po_line" />
<result property="materialCode" column="material_code" />
<result property="materialDesc" column="material_desc" />
<result property="sn" column="sn" />
<result property="barCode" column="bar_code" />
<result property="amount" column="amount" />
<result property="userDefined1" column="user_defined1" />
<result property="userDefined2" column="user_defined2" />
<result property="userDefined3" column="user_defined3" />
<result property="userDefined4" column="user_defined4" />
<result property="userDefined5" column="user_defined5" />
<result property="userDefined6" column="user_defined6" />
<result property="userDefined7" column="user_defined7" />
<result property="userDefined8" column="user_defined8" />
<result property="userDefined9" column="user_defined9" />
<result property="userDefined10" column="user_defined10" />
<result property="createBy" column="create_by" />
<result property="gmtCreate" column="gmt_create" />
<result property="lastModifiedBy" column="last_modified_by" />
<result property="gmtModified" column="gmt_modified" />
<result property="activeFlag" column="active_flag" />
<result property="factoryCode" column="factory_code" />
<result property="sapFactoryCode" column="sap_factory_code" />
</resultMap>
<sql id="selectWmsOdsEmStorageNewsSnVo">
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
</sql>
<select id="selectWmsOdsEmStorageNewsSnList" parameterType="WmsOdsEmStorageNewsSn" resultMap="WmsOdsEmStorageNewsSnResult">
<include refid="selectWmsOdsEmStorageNewsSnVo"/>
<where>
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
<if test="poNo != null and poNo != ''"> and po_no = #{poNo}</if>
<if test="poLine != null and poLine != ''"> and po_line = #{poLine}</if>
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
<if test="sn != null and sn != ''"> and sn = #{sn}</if>
<if test="barCode != null and barCode != ''"> and bar_code = #{barCode}</if>
<if test="amount != null "> and amount = #{amount}</if>
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
</where>
</select>
<select id="selectWmsOdsEmStorageNewsSnByEmOrderInSnId" parameterType="Long" resultMap="WmsOdsEmStorageNewsSnResult">
<include refid="selectWmsOdsEmStorageNewsSnVo"/>
where em_order_in_sn_id = #{emOrderInSnId}
</select>
<insert id="insertWmsOdsEmStorageNewsSn" parameterType="WmsOdsEmStorageNewsSn" useGeneratedKeys="true" keyProperty="emOrderInSnId">
insert into wms_ods_em_storage_news_sn
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="whCode != null">wh_code,</if>
<if test="waCode != null">wa_code,</if>
<if test="wlCode != null">wl_code,</if>
<if test="orderNo != null">order_no,</if>
<if test="poNo != null">po_no,</if>
<if test="poLine != null">po_line,</if>
<if test="materialCode != null">material_code,</if>
<if test="materialDesc != null">material_desc,</if>
<if test="sn != null">sn,</if>
<if test="barCode != null">bar_code,</if>
<if test="amount != null">amount,</if>
<if test="userDefined1 != null">user_defined1,</if>
<if test="userDefined2 != null">user_defined2,</if>
<if test="userDefined3 != null">user_defined3,</if>
<if test="userDefined4 != null">user_defined4,</if>
<if test="userDefined5 != null">user_defined5,</if>
<if test="userDefined6 != null">user_defined6,</if>
<if test="userDefined7 != null">user_defined7,</if>
<if test="userDefined8 != null">user_defined8,</if>
<if test="userDefined9 != null">user_defined9,</if>
<if test="userDefined10 != null">user_defined10,</if>
<if test="createBy != null">create_by,</if>
<if test="gmtCreate != null">gmt_create,</if>
<if test="lastModifiedBy != null">last_modified_by,</if>
<if test="gmtModified != null">gmt_modified,</if>
<if test="activeFlag != null">active_flag,</if>
<if test="factoryCode != null">factory_code,</if>
<if test="sapFactoryCode != null">sap_factory_code,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="whCode != null">#{whCode},</if>
<if test="waCode != null">#{waCode},</if>
<if test="wlCode != null">#{wlCode},</if>
<if test="orderNo != null">#{orderNo},</if>
<if test="poNo != null">#{poNo},</if>
<if test="poLine != null">#{poLine},</if>
<if test="materialCode != null">#{materialCode},</if>
<if test="materialDesc != null">#{materialDesc},</if>
<if test="sn != null">#{sn},</if>
<if test="barCode != null">#{barCode},</if>
<if test="amount != null">#{amount},</if>
<if test="userDefined1 != null">#{userDefined1},</if>
<if test="userDefined2 != null">#{userDefined2},</if>
<if test="userDefined3 != null">#{userDefined3},</if>
<if test="userDefined4 != null">#{userDefined4},</if>
<if test="userDefined5 != null">#{userDefined5},</if>
<if test="userDefined6 != null">#{userDefined6},</if>
<if test="userDefined7 != null">#{userDefined7},</if>
<if test="userDefined8 != null">#{userDefined8},</if>
<if test="userDefined9 != null">#{userDefined9},</if>
<if test="userDefined10 != null">#{userDefined10},</if>
<if test="createBy != null">#{createBy},</if>
<if test="gmtCreate != null">#{gmtCreate},</if>
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
<if test="gmtModified != null">#{gmtModified},</if>
<if test="activeFlag != null">#{activeFlag},</if>
<if test="factoryCode != null">#{factoryCode},</if>
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
</trim>
</insert>
<update id="updateWmsOdsEmStorageNewsSn" parameterType="WmsOdsEmStorageNewsSn">
update wms_ods_em_storage_news_sn
<trim prefix="SET" suffixOverrides=",">
<if test="whCode != null">wh_code = #{whCode},</if>
<if test="waCode != null">wa_code = #{waCode},</if>
<if test="wlCode != null">wl_code = #{wlCode},</if>
<if test="orderNo != null">order_no = #{orderNo},</if>
<if test="poNo != null">po_no = #{poNo},</if>
<if test="poLine != null">po_line = #{poLine},</if>
<if test="materialCode != null">material_code = #{materialCode},</if>
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
<if test="sn != null">sn = #{sn},</if>
<if test="barCode != null">bar_code = #{barCode},</if>
<if test="amount != null">amount = #{amount},</if>
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
</trim>
where em_order_in_sn_id = #{emOrderInSnId}
</update>
<delete id="deleteWmsOdsEmStorageNewsSnByEmOrderInSnId" parameterType="Long">
delete from wms_ods_em_storage_news_sn where em_order_in_sn_id = #{emOrderInSnId}
</delete>
<delete id="deleteWmsOdsEmStorageNewsSnByEmOrderInSnIds" parameterType="String">
delete from wms_ods_em_storage_news_sn where em_order_in_sn_id in
<foreach item="emOrderInSnId" collection="array" open="(" separator="," close=")">
#{emOrderInSnId}
</foreach>
</delete>
</mapper>

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.op.wms.mapper.WmsOdsMateStorageNewsMapper">
<resultMap type="WmsOdsMateStorageNews" id="WmsOdsMateStorageNewsResult">
<result property="storageId" column="storage_id" />
<result property="whCode" column="wh_code" />
<result property="regionCode" column="region_code" />
<result property="waCode" column="wa_code" />
<result property="storageType" column="storage_type" />
<result property="wlCode" column="wl_code" />
<result property="materialCode" column="material_code" />
<result property="materialDesc" column="material_desc" />
<result property="amount" column="amount" />
<result property="storageAmount" column="storage_amount" />
<result property="occupyAmount" column="occupy_amount" />
<result property="lpn" column="lpn" />
<result property="productBatch" column="product_batch" />
<result property="receiveDate" column="receive_date" />
<result property="productDate" column="product_date" />
<result property="userDefined1" column="user_defined1" />
<result property="userDefined2" column="user_defined2" />
<result property="userDefined3" column="user_defined3" />
<result property="userDefined4" column="user_defined4" />
<result property="userDefined5" column="user_defined5" />
<result property="userDefined6" column="user_defined6" />
<result property="userDefined7" column="user_defined7" />
<result property="userDefined8" column="user_defined8" />
<result property="userDefined9" column="user_defined9" />
<result property="userDefined10" column="user_defined10" />
<result property="createBy" column="create_by" />
<result property="gmtCreate" column="gmt_create" />
<result property="lastModifiedBy" column="last_modified_by" />
<result property="gmtModified" column="gmt_modified" />
<result property="activeFlag" column="active_flag" />
<result property="factoryCode" column="factory_code" />
<result property="sapFactoryCode" column="sap_factory_code" />
<result property="wlName" column="wl_name" />
</resultMap>
<sql id="selectWmsOdsMateStorageNewsVo">
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
</sql>
<select id="selectWmsOdsMateStorageNewsList" parameterType="WmsOdsMateStorageNews" resultMap="WmsOdsMateStorageNewsResult">
<include refid="selectWmsOdsMateStorageNewsVo"/>
<where>
<if test="storageId != null and storageId != ''"> and storage_id = #{storageId}</if>
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
<if test="regionCode != null and regionCode != ''"> and region_code = #{regionCode}</if>
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
<if test="storageType != null and storageType != ''"> and storage_type = #{storageType}</if>
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
<if test="amount != null "> and amount = #{amount}</if>
<if test="storageAmount != null "> and storage_amount = #{storageAmount}</if>
<if test="occupyAmount != null "> and occupy_amount = #{occupyAmount}</if>
<if test="lpn != null and lpn != ''"> and lpn = #{lpn}</if>
<if test="productBatch != null and productBatch != ''"> and product_batch = #{productBatch}</if>
<if test="receiveDate != null "> and receive_date = #{receiveDate}</if>
<if test="productDate != null "> and product_date = #{productDate}</if>
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
<if test="wlName != null and wlName != ''"> and wl_name like concat('%', #{wlName}, '%')</if>
</where>
</select>
<select id="selectWmsOdsMateStorageNewsByStorageId" parameterType="String" resultMap="WmsOdsMateStorageNewsResult">
<include refid="selectWmsOdsMateStorageNewsVo"/>
where storage_id = #{storageId}
</select>
<insert id="insertWmsOdsMateStorageNews" parameterType="WmsOdsMateStorageNews">
insert into wms_ods_mate_storage_news
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storageId != null and storageId != ''">storage_id,</if>
<if test="whCode != null">wh_code,</if>
<if test="regionCode != null">region_code,</if>
<if test="waCode != null">wa_code,</if>
<if test="storageType != null">storage_type,</if>
<if test="wlCode != null">wl_code,</if>
<if test="materialCode != null">material_code,</if>
<if test="materialDesc != null">material_desc,</if>
<if test="amount != null">amount,</if>
<if test="storageAmount != null">storage_amount,</if>
<if test="occupyAmount != null">occupy_amount,</if>
<if test="lpn != null">lpn,</if>
<if test="productBatch != null">product_batch,</if>
<if test="receiveDate != null">receive_date,</if>
<if test="productDate != null">product_date,</if>
<if test="userDefined1 != null">user_defined1,</if>
<if test="userDefined2 != null">user_defined2,</if>
<if test="userDefined3 != null">user_defined3,</if>
<if test="userDefined4 != null">user_defined4,</if>
<if test="userDefined5 != null">user_defined5,</if>
<if test="userDefined6 != null">user_defined6,</if>
<if test="userDefined7 != null">user_defined7,</if>
<if test="userDefined8 != null">user_defined8,</if>
<if test="userDefined9 != null">user_defined9,</if>
<if test="userDefined10 != null">user_defined10,</if>
<if test="createBy != null">create_by,</if>
<if test="gmtCreate != null">gmt_create,</if>
<if test="lastModifiedBy != null">last_modified_by,</if>
<if test="gmtModified != null">gmt_modified,</if>
<if test="activeFlag != null">active_flag,</if>
<if test="factoryCode != null">factory_code,</if>
<if test="sapFactoryCode != null">sap_factory_code,</if>
<if test="wlName != null">wl_name,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="storageId != null and storageId != ''">#{storageId},</if>
<if test="whCode != null">#{whCode},</if>
<if test="regionCode != null">#{regionCode},</if>
<if test="waCode != null">#{waCode},</if>
<if test="storageType != null">#{storageType},</if>
<if test="wlCode != null">#{wlCode},</if>
<if test="materialCode != null">#{materialCode},</if>
<if test="materialDesc != null">#{materialDesc},</if>
<if test="amount != null">#{amount},</if>
<if test="storageAmount != null">#{storageAmount},</if>
<if test="occupyAmount != null">#{occupyAmount},</if>
<if test="lpn != null">#{lpn},</if>
<if test="productBatch != null">#{productBatch},</if>
<if test="receiveDate != null">#{receiveDate},</if>
<if test="productDate != null">#{productDate},</if>
<if test="userDefined1 != null">#{userDefined1},</if>
<if test="userDefined2 != null">#{userDefined2},</if>
<if test="userDefined3 != null">#{userDefined3},</if>
<if test="userDefined4 != null">#{userDefined4},</if>
<if test="userDefined5 != null">#{userDefined5},</if>
<if test="userDefined6 != null">#{userDefined6},</if>
<if test="userDefined7 != null">#{userDefined7},</if>
<if test="userDefined8 != null">#{userDefined8},</if>
<if test="userDefined9 != null">#{userDefined9},</if>
<if test="userDefined10 != null">#{userDefined10},</if>
<if test="createBy != null">#{createBy},</if>
<if test="gmtCreate != null">#{gmtCreate},</if>
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
<if test="gmtModified != null">#{gmtModified},</if>
<if test="activeFlag != null">#{activeFlag},</if>
<if test="factoryCode != null">#{factoryCode},</if>
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
<if test="wlName != null">#{wlName},</if>
</trim>
</insert>
<update id="updateWmsOdsMateStorageNews" parameterType="WmsOdsMateStorageNews">
update wms_ods_mate_storage_news
<trim prefix="SET" suffixOverrides=",">
<if test="whCode != null">wh_code = #{whCode},</if>
<if test="regionCode != null">region_code = #{regionCode},</if>
<if test="waCode != null">wa_code = #{waCode},</if>
<if test="storageType != null">storage_type = #{storageType},</if>
<if test="wlCode != null">wl_code = #{wlCode},</if>
<if test="materialCode != null">material_code = #{materialCode},</if>
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
<if test="amount != null">amount = #{amount},</if>
<if test="storageAmount != null">storage_amount = #{storageAmount},</if>
<if test="occupyAmount != null">occupy_amount = #{occupyAmount},</if>
<if test="lpn != null">lpn = #{lpn},</if>
<if test="productBatch != null">product_batch = #{productBatch},</if>
<if test="receiveDate != null">receive_date = #{receiveDate},</if>
<if test="productDate != null">product_date = #{productDate},</if>
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
<if test="wlName != null">wl_name = #{wlName},</if>
</trim>
where storage_id = #{storageId}
</update>
<delete id="deleteWmsOdsMateStorageNewsByStorageId" parameterType="String">
delete from wms_ods_mate_storage_news where storage_id = #{storageId}
</delete>
<delete id="deleteWmsOdsMateStorageNewsByStorageIds" parameterType="String">
delete from wms_ods_mate_storage_news where storage_id in
<foreach item="storageId" collection="array" open="(" separator="," close=")">
#{storageId}
</foreach>
</delete>
</mapper>

@ -0,0 +1,190 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.op.wms.mapper.WmsOdsMateStorageNewsSnMapper">
<resultMap type="WmsOdsMateStorageNewsSn" id="WmsOdsMateStorageNewsSnResult">
<result property="mateOrderInSnId" column="mate_order_in_sn_id" />
<result property="whCode" column="wh_code" />
<result property="waCode" column="wa_code" />
<result property="wlCode" column="wl_code" />
<result property="orderNo" column="order_no" />
<result property="poNo" column="po_no" />
<result property="poLine" column="po_line" />
<result property="materialCode" column="material_code" />
<result property="materialDesc" column="material_desc" />
<result property="sn" column="sn" />
<result property="barCode" column="bar_code" />
<result property="amount" column="amount" />
<result property="userDefined1" column="user_defined1" />
<result property="userDefined2" column="user_defined2" />
<result property="userDefined3" column="user_defined3" />
<result property="userDefined4" column="user_defined4" />
<result property="userDefined5" column="user_defined5" />
<result property="userDefined6" column="user_defined6" />
<result property="userDefined7" column="user_defined7" />
<result property="userDefined8" column="user_defined8" />
<result property="userDefined9" column="user_defined9" />
<result property="userDefined10" column="user_defined10" />
<result property="createBy" column="create_by" />
<result property="gmtCreate" column="gmt_create" />
<result property="lastModifiedBy" column="last_modified_by" />
<result property="gmtModified" column="gmt_modified" />
<result property="activeFlag" column="active_flag" />
<result property="factoryCode" column="factory_code" />
<result property="sapFactoryCode" column="sap_factory_code" />
</resultMap>
<sql id="selectWmsOdsMateStorageNewsSnVo">
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
</sql>
<select id="selectWmsOdsMateStorageNewsSnList" parameterType="WmsOdsMateStorageNewsSn" resultMap="WmsOdsMateStorageNewsSnResult">
<include refid="selectWmsOdsMateStorageNewsSnVo"/>
<where>
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
<if test="poNo != null and poNo != ''"> and po_no = #{poNo}</if>
<if test="poLine != null and poLine != ''"> and po_line = #{poLine}</if>
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
<if test="sn != null and sn != ''"> and sn = #{sn}</if>
<if test="barCode != null and barCode != ''"> and bar_code = #{barCode}</if>
<if test="amount != null "> and amount = #{amount}</if>
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
</where>
</select>
<select id="selectWmsOdsMateStorageNewsSnByMateOrderInSnId" parameterType="Long" resultMap="WmsOdsMateStorageNewsSnResult">
<include refid="selectWmsOdsMateStorageNewsSnVo"/>
where mate_order_in_sn_id = #{mateOrderInSnId}
</select>
<insert id="insertWmsOdsMateStorageNewsSn" parameterType="WmsOdsMateStorageNewsSn" useGeneratedKeys="true" keyProperty="mateOrderInSnId">
insert into wms_ods_mate_storage_news_sn
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="whCode != null">wh_code,</if>
<if test="waCode != null">wa_code,</if>
<if test="wlCode != null">wl_code,</if>
<if test="orderNo != null">order_no,</if>
<if test="poNo != null">po_no,</if>
<if test="poLine != null">po_line,</if>
<if test="materialCode != null">material_code,</if>
<if test="materialDesc != null">material_desc,</if>
<if test="sn != null">sn,</if>
<if test="barCode != null">bar_code,</if>
<if test="amount != null">amount,</if>
<if test="userDefined1 != null">user_defined1,</if>
<if test="userDefined2 != null">user_defined2,</if>
<if test="userDefined3 != null">user_defined3,</if>
<if test="userDefined4 != null">user_defined4,</if>
<if test="userDefined5 != null">user_defined5,</if>
<if test="userDefined6 != null">user_defined6,</if>
<if test="userDefined7 != null">user_defined7,</if>
<if test="userDefined8 != null">user_defined8,</if>
<if test="userDefined9 != null">user_defined9,</if>
<if test="userDefined10 != null">user_defined10,</if>
<if test="createBy != null">create_by,</if>
<if test="gmtCreate != null">gmt_create,</if>
<if test="lastModifiedBy != null">last_modified_by,</if>
<if test="gmtModified != null">gmt_modified,</if>
<if test="activeFlag != null">active_flag,</if>
<if test="factoryCode != null">factory_code,</if>
<if test="sapFactoryCode != null">sap_factory_code,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="whCode != null">#{whCode},</if>
<if test="waCode != null">#{waCode},</if>
<if test="wlCode != null">#{wlCode},</if>
<if test="orderNo != null">#{orderNo},</if>
<if test="poNo != null">#{poNo},</if>
<if test="poLine != null">#{poLine},</if>
<if test="materialCode != null">#{materialCode},</if>
<if test="materialDesc != null">#{materialDesc},</if>
<if test="sn != null">#{sn},</if>
<if test="barCode != null">#{barCode},</if>
<if test="amount != null">#{amount},</if>
<if test="userDefined1 != null">#{userDefined1},</if>
<if test="userDefined2 != null">#{userDefined2},</if>
<if test="userDefined3 != null">#{userDefined3},</if>
<if test="userDefined4 != null">#{userDefined4},</if>
<if test="userDefined5 != null">#{userDefined5},</if>
<if test="userDefined6 != null">#{userDefined6},</if>
<if test="userDefined7 != null">#{userDefined7},</if>
<if test="userDefined8 != null">#{userDefined8},</if>
<if test="userDefined9 != null">#{userDefined9},</if>
<if test="userDefined10 != null">#{userDefined10},</if>
<if test="createBy != null">#{createBy},</if>
<if test="gmtCreate != null">#{gmtCreate},</if>
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
<if test="gmtModified != null">#{gmtModified},</if>
<if test="activeFlag != null">#{activeFlag},</if>
<if test="factoryCode != null">#{factoryCode},</if>
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
</trim>
</insert>
<update id="updateWmsOdsMateStorageNewsSn" parameterType="WmsOdsMateStorageNewsSn">
update wms_ods_mate_storage_news_sn
<trim prefix="SET" suffixOverrides=",">
<if test="whCode != null">wh_code = #{whCode},</if>
<if test="waCode != null">wa_code = #{waCode},</if>
<if test="wlCode != null">wl_code = #{wlCode},</if>
<if test="orderNo != null">order_no = #{orderNo},</if>
<if test="poNo != null">po_no = #{poNo},</if>
<if test="poLine != null">po_line = #{poLine},</if>
<if test="materialCode != null">material_code = #{materialCode},</if>
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
<if test="sn != null">sn = #{sn},</if>
<if test="barCode != null">bar_code = #{barCode},</if>
<if test="amount != null">amount = #{amount},</if>
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
</trim>
where mate_order_in_sn_id = #{mateOrderInSnId}
</update>
<delete id="deleteWmsOdsMateStorageNewsSnByMateOrderInSnId" parameterType="Long">
delete from wms_ods_mate_storage_news_sn where mate_order_in_sn_id = #{mateOrderInSnId}
</delete>
<delete id="deleteWmsOdsMateStorageNewsSnByMateOrderInSnIds" parameterType="String">
delete from wms_ods_mate_storage_news_sn where mate_order_in_sn_id in
<foreach item="mateOrderInSnId" collection="array" open="(" separator="," close=")">
#{mateOrderInSnId}
</foreach>
</delete>
</mapper>
Loading…
Cancel
Save