feat: 更新实体类和Mapper文件

1. 删除旧实体类和Mapper XML
2. 新增ToKwms系列实体类、Mapper接口及XML
3. 更新ToKwmsAgjust相关文件
This commit is contained in:
zgw
2026-01-20 16:58:20 +08:00
parent fe250becbd
commit 4cfc3c3b05
48 changed files with 3758 additions and 2951 deletions

4
.gitignore vendored
View File

@@ -1,3 +1,4 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
@@ -31,3 +32,6 @@ build/
### VS Code ###
.vscode/
### Custom ###
sql/

View File

@@ -1,289 +0,0 @@
package com.project.joggle.domain;
/**
* 入库生产明细
*/
public class InPtsProductionDetail {
/** ID */
private String id;
/** 动作 */
private Integer action;
/** 父追溯码 */
private String parentTraceCode;
/** 父附加码 */
private String parentAppendCode;
/** 产品编号 */
private String productNo;
/** 产品名称 */
private String productName;
/** 产品规格 */
private String productSpec;
/** 包装比例名称 */
private String packagingRatioName;
/** 生产日期 */
private String productionDate;
/** 生产批次 */
private String productionBatch;
/** 过期日期 */
private String expirationDate;
/** 来源编号 */
private String sourceNo;
/** 任务编号 */
private String taskNo;
/** 线体编号 */
private String lineNo;
/** 班组编号 */
private String teamGroupNo;
/** 机器编号 */
private String machineNo;
/** 模糊标识 */
private Integer fuzzy;
/** 当前码 */
private String curCode;
/** 扫描数量 */
private Integer scanNo;
/** 层号 */
private Integer layerNo;
/** 状态 */
private String status;
/** 入库类型 */
private String inType;
/** 错误计数 */
private Integer errorcount;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Integer getAction() {
return action;
}
public void setAction(Integer action) {
this.action = action;
}
public String getParentTraceCode() {
return parentTraceCode;
}
public void setParentTraceCode(String parentTraceCode) {
this.parentTraceCode = parentTraceCode;
}
public String getParentAppendCode() {
return parentAppendCode;
}
public void setParentAppendCode(String parentAppendCode) {
this.parentAppendCode = parentAppendCode;
}
public String getProductNo() {
return productNo;
}
public void setProductNo(String productNo) {
this.productNo = productNo;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getProductSpec() {
return productSpec;
}
public void setProductSpec(String productSpec) {
this.productSpec = productSpec;
}
public String getPackagingRatioName() {
return packagingRatioName;
}
public void setPackagingRatioName(String packagingRatioName) {
this.packagingRatioName = packagingRatioName;
}
public String getProductionDate() {
return productionDate;
}
public void setProductionDate(String productionDate) {
this.productionDate = productionDate;
}
public String getProductionBatch() {
return productionBatch;
}
public void setProductionBatch(String productionBatch) {
this.productionBatch = productionBatch;
}
public String getExpirationDate() {
return expirationDate;
}
public void setExpirationDate(String expirationDate) {
this.expirationDate = expirationDate;
}
public String getSourceNo() {
return sourceNo;
}
public void setSourceNo(String sourceNo) {
this.sourceNo = sourceNo;
}
public String getTaskNo() {
return taskNo;
}
public void setTaskNo(String taskNo) {
this.taskNo = taskNo;
}
public String getLineNo() {
return lineNo;
}
public void setLineNo(String lineNo) {
this.lineNo = lineNo;
}
public String getTeamGroupNo() {
return teamGroupNo;
}
public void setTeamGroupNo(String teamGroupNo) {
this.teamGroupNo = teamGroupNo;
}
public String getMachineNo() {
return machineNo;
}
public void setMachineNo(String machineNo) {
this.machineNo = machineNo;
}
public Integer getFuzzy() {
return fuzzy;
}
public void setFuzzy(Integer fuzzy) {
this.fuzzy = fuzzy;
}
public String getCurCode() {
return curCode;
}
public void setCurCode(String curCode) {
this.curCode = curCode;
}
public Integer getScanNo() {
return scanNo;
}
public void setScanNo(Integer scanNo) {
this.scanNo = scanNo;
}
public Integer getLayerNo() {
return layerNo;
}
public void setLayerNo(Integer layerNo) {
this.layerNo = layerNo;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getInType() {
return inType;
}
public void setInType(String inType) {
this.inType = inType;
}
public Integer getErrorcount() {
return errorcount;
}
public void setErrorcount(Integer errorcount) {
this.errorcount = errorcount;
}
@Override
public String toString() {
return "InPtsProductionDetail{" +
"id='" + id + '\'' +
", action=" + action +
", parentTraceCode='" + parentTraceCode + '\'' +
", parentAppendCode='" + parentAppendCode + '\'' +
", productNo='" + productNo + '\'' +
", productName='" + productName + '\'' +
", productSpec='" + productSpec + '\'' +
", packagingRatioName='" + packagingRatioName + '\'' +
", productionDate='" + productionDate + '\'' +
", productionBatch='" + productionBatch + '\'' +
", expirationDate='" + expirationDate + '\'' +
", sourceNo='" + sourceNo + '\'' +
", taskNo='" + taskNo + '\'' +
", lineNo='" + lineNo + '\'' +
", teamGroupNo='" + teamGroupNo + '\'' +
", machineNo='" + machineNo + '\'' +
", fuzzy=" + fuzzy +
", curCode='" + curCode + '\'' +
", scanNo=" + scanNo +
", layerNo=" + layerNo +
", status='" + status + '\'' +
", inType='" + inType + '\'' +
", errorcount=" + errorcount +
'}';
}
}

View File

@@ -1,171 +0,0 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* 入库单
*/
public class InStockin {
/** 入库单ID */
private String stockinId;
/** 入库类型 */
private String inType;
/** 创建时间 */
private Date createDate;
/** 供应商ID */
private String supplierId;
/** 创建人ID */
private String createManId;
/** 状态 */
private String status;
/** 仓库ID */
private String warehouseId;
/** 当前班次ID */
private String classNowId;
/** 入库单GUID */
private String stockinGuid;
/** 入库来源 */
private String stockinSource;
/** 线体ID */
private String lineId;
/** FID */
private String fid;
/** 供应商名称 */
private String supplierName;
public String getStockinId() {
return stockinId;
}
public void setStockinId(String stockinId) {
this.stockinId = stockinId;
}
public String getInType() {
return inType;
}
public void setInType(String inType) {
this.inType = inType;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String getSupplierId() {
return supplierId;
}
public void setSupplierId(String supplierId) {
this.supplierId = supplierId;
}
public String getCreateManId() {
return createManId;
}
public void setCreateManId(String createManId) {
this.createManId = createManId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getWarehouseId() {
return warehouseId;
}
public void setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
}
public String getClassNowId() {
return classNowId;
}
public void setClassNowId(String classNowId) {
this.classNowId = classNowId;
}
public String getStockinGuid() {
return stockinGuid;
}
public void setStockinGuid(String stockinGuid) {
this.stockinGuid = stockinGuid;
}
public String getStockinSource() {
return stockinSource;
}
public void setStockinSource(String stockinSource) {
this.stockinSource = stockinSource;
}
public String getLineId() {
return lineId;
}
public void setLineId(String lineId) {
this.lineId = lineId;
}
public String getFid() {
return fid;
}
public void setFid(String fid) {
this.fid = fid;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
@Override
public String toString() {
return "InStockin{" +
"stockinId='" + stockinId + '\'' +
", inType='" + inType + '\'' +
", createDate=" + createDate +
", supplierId='" + supplierId + '\'' +
", createManId='" + createManId + '\'' +
", status='" + status + '\'' +
", warehouseId='" + warehouseId + '\'' +
", classNowId='" + classNowId + '\'' +
", stockinGuid='" + stockinGuid + '\'' +
", stockinSource='" + stockinSource + '\'' +
", lineId='" + lineId + '\'' +
", fid='" + fid + '\'' +
", supplierName='" + supplierName + '\'' +
'}';
}
}

View File

@@ -1,399 +0,0 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* 任务作业
*/
public class MydoJob {
/** 任务ID */
private String jobId;
/** 状态 */
private String status;
/** 在线类型 */
private String onLineType;
/** 任务编号 */
private String taskNo;
/** 供应商ID */
private String supplierId;
/** 客户ID */
private String customerId;
/** 托盘码 */
private String trayCode;
/** 巷道ID */
private String roadwayId;
/** 货位ID */
private String cargoSpaceId;
/** 线体ID */
private String lineId;
/** 车间ID */
private String workshopId;
/** 入口ID */
private String entranceId;
/** 出口ID */
private String exitId;
/** 优先级 */
private Integer priority;
/** 进出类型 */
private String inOrOut;
/** 创建时间 */
private Date createTime;
/** 开始时间 */
private Date startTime;
/** 完成时间 */
private Date finishTime;
/** 当前班次名称 */
private String classNowName;
/** 班次车间名称 */
private String classWorkshopName;
/** 仓库ID */
private String warehouseId;
/** 目标巷道ID */
private String targetRoadwayId;
/** 目标货位ID */
private String targetCargoSpaceId;
/** 执行阶段 */
private String executionPhase;
/** 班组编号 */
private String classgroupNumber;
/** 班次车间时间 */
private String classWorkshopDateTime;
/** 班次ID */
private String classId;
/** 当前班次时间 */
private String classNowDateTime;
/** 车号 */
private String carNumber;
/** 故障标识 */
private String faultFlag;
/** 出库ID */
private Long outId;
/** 关联ID */
private String relatedId;
public String getJobId() {
return jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getOnLineType() {
return onLineType;
}
public void setOnLineType(String onLineType) {
this.onLineType = onLineType;
}
public String getTaskNo() {
return taskNo;
}
public void setTaskNo(String taskNo) {
this.taskNo = taskNo;
}
public String getSupplierId() {
return supplierId;
}
public void setSupplierId(String supplierId) {
this.supplierId = supplierId;
}
public String getCustomerId() {
return customerId;
}
public void setCustomerId(String customerId) {
this.customerId = customerId;
}
public String getTrayCode() {
return trayCode;
}
public void setTrayCode(String trayCode) {
this.trayCode = trayCode;
}
public String getRoadwayId() {
return roadwayId;
}
public void setRoadwayId(String roadwayId) {
this.roadwayId = roadwayId;
}
public String getCargoSpaceId() {
return cargoSpaceId;
}
public void setCargoSpaceId(String cargoSpaceId) {
this.cargoSpaceId = cargoSpaceId;
}
public String getLineId() {
return lineId;
}
public void setLineId(String lineId) {
this.lineId = lineId;
}
public String getWorkshopId() {
return workshopId;
}
public void setWorkshopId(String workshopId) {
this.workshopId = workshopId;
}
public String getEntranceId() {
return entranceId;
}
public void setEntranceId(String entranceId) {
this.entranceId = entranceId;
}
public String getExitId() {
return exitId;
}
public void setExitId(String exitId) {
this.exitId = exitId;
}
public Integer getPriority() {
return priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
public String getInOrOut() {
return inOrOut;
}
public void setInOrOut(String inOrOut) {
this.inOrOut = inOrOut;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getFinishTime() {
return finishTime;
}
public void setFinishTime(Date finishTime) {
this.finishTime = finishTime;
}
public String getClassNowName() {
return classNowName;
}
public void setClassNowName(String classNowName) {
this.classNowName = classNowName;
}
public String getClassWorkshopName() {
return classWorkshopName;
}
public void setClassWorkshopName(String classWorkshopName) {
this.classWorkshopName = classWorkshopName;
}
public String getWarehouseId() {
return warehouseId;
}
public void setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
}
public String getTargetRoadwayId() {
return targetRoadwayId;
}
public void setTargetRoadwayId(String targetRoadwayId) {
this.targetRoadwayId = targetRoadwayId;
}
public String getTargetCargoSpaceId() {
return targetCargoSpaceId;
}
public void setTargetCargoSpaceId(String targetCargoSpaceId) {
this.targetCargoSpaceId = targetCargoSpaceId;
}
public String getExecutionPhase() {
return executionPhase;
}
public void setExecutionPhase(String executionPhase) {
this.executionPhase = executionPhase;
}
public String getClassgroupNumber() {
return classgroupNumber;
}
public void setClassgroupNumber(String classgroupNumber) {
this.classgroupNumber = classgroupNumber;
}
public String getClassWorkshopDateTime() {
return classWorkshopDateTime;
}
public void setClassWorkshopDateTime(String classWorkshopDateTime) {
this.classWorkshopDateTime = classWorkshopDateTime;
}
public String getClassId() {
return classId;
}
public void setClassId(String classId) {
this.classId = classId;
}
public String getClassNowDateTime() {
return classNowDateTime;
}
public void setClassNowDateTime(String classNowDateTime) {
this.classNowDateTime = classNowDateTime;
}
public String getCarNumber() {
return carNumber;
}
public void setCarNumber(String carNumber) {
this.carNumber = carNumber;
}
public String getFaultFlag() {
return faultFlag;
}
public void setFaultFlag(String faultFlag) {
this.faultFlag = faultFlag;
}
public Long getOutId() {
return outId;
}
public void setOutId(Long outId) {
this.outId = outId;
}
public String getRelatedId() {
return relatedId;
}
public void setRelatedId(String relatedId) {
this.relatedId = relatedId;
}
@Override
public String toString() {
return "MydoJob{" +
"jobId='" + jobId + '\'' +
", status='" + status + '\'' +
", onLineType='" + onLineType + '\'' +
", taskNo='" + taskNo + '\'' +
", supplierId='" + supplierId + '\'' +
", customerId='" + customerId + '\'' +
", trayCode='" + trayCode + '\'' +
", roadwayId='" + roadwayId + '\'' +
", cargoSpaceId='" + cargoSpaceId + '\'' +
", lineId='" + lineId + '\'' +
", workshopId='" + workshopId + '\'' +
", entranceId='" + entranceId + '\'' +
", exitId='" + exitId + '\'' +
", priority=" + priority +
", inOrOut='" + inOrOut + '\'' +
", createTime=" + createTime +
", startTime=" + startTime +
", finishTime=" + finishTime +
", classNowName='" + classNowName + '\'' +
", classWorkshopName='" + classWorkshopName + '\'' +
", warehouseId='" + warehouseId + '\'' +
", targetRoadwayId='" + targetRoadwayId + '\'' +
", targetCargoSpaceId='" + targetCargoSpaceId + '\'' +
", executionPhase='" + executionPhase + '\'' +
", classgroupNumber='" + classgroupNumber + '\'' +
", classWorkshopDateTime='" + classWorkshopDateTime + '\'' +
", classId='" + classId + '\'' +
", classNowDateTime='" + classNowDateTime + '\'' +
", carNumber='" + carNumber + '\'' +
", faultFlag='" + faultFlag + '\'' +
", outId=" + outId +
", relatedId='" + relatedId + '\'' +
'}';
}
}

View File

@@ -1,301 +0,0 @@
package com.project.joggle.domain;
/**
* 出库生产明细
*/
public class OutPtsProductionDetail {
/** ID */
private String id;
/** 动作 */
private Integer action;
/** 父追溯码 */
private String parentTraceCode;
/** 父附加码 */
private String parentAppendCode;
/** 产品编号 */
private String productNo;
/** 产品名称 */
private String productName;
/** 产品规格 */
private String productSpec;
/** 包装比例名称 */
private String packagingRatioName;
/** 生产日期 */
private String productionDate;
/** 生产批次 */
private String productionBatch;
/** 过期日期 */
private String expirationDate;
/** 来源编号 */
private String sourceNo;
/** 任务编号 */
private String taskNo;
/** 线体编号 */
private String lineNo;
/** 班组编号 */
private String teamGroupNo;
/** 机器编号 */
private String machineNo;
/** 模糊标识 */
private Integer fuzzy;
/** 当前码 */
private String curCode;
/** 扫描数量 */
private Integer scanNo;
/** 层号 */
private Integer layerNo;
/** 状态 */
private String status;
/** 入库类型 */
private String inType;
/** 完成标识 */
private String compelete;
/** 错误计数 */
private Integer errorcount;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Integer getAction() {
return action;
}
public void setAction(Integer action) {
this.action = action;
}
public String getParentTraceCode() {
return parentTraceCode;
}
public void setParentTraceCode(String parentTraceCode) {
this.parentTraceCode = parentTraceCode;
}
public String getParentAppendCode() {
return parentAppendCode;
}
public void setParentAppendCode(String parentAppendCode) {
this.parentAppendCode = parentAppendCode;
}
public String getProductNo() {
return productNo;
}
public void setProductNo(String productNo) {
this.productNo = productNo;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getProductSpec() {
return productSpec;
}
public void setProductSpec(String productSpec) {
this.productSpec = productSpec;
}
public String getPackagingRatioName() {
return packagingRatioName;
}
public void setPackagingRatioName(String packagingRatioName) {
this.packagingRatioName = packagingRatioName;
}
public String getProductionDate() {
return productionDate;
}
public void setProductionDate(String productionDate) {
this.productionDate = productionDate;
}
public String getProductionBatch() {
return productionBatch;
}
public void setProductionBatch(String productionBatch) {
this.productionBatch = productionBatch;
}
public String getExpirationDate() {
return expirationDate;
}
public void setExpirationDate(String expirationDate) {
this.expirationDate = expirationDate;
}
public String getSourceNo() {
return sourceNo;
}
public void setSourceNo(String sourceNo) {
this.sourceNo = sourceNo;
}
public String getTaskNo() {
return taskNo;
}
public void setTaskNo(String taskNo) {
this.taskNo = taskNo;
}
public String getLineNo() {
return lineNo;
}
public void setLineNo(String lineNo) {
this.lineNo = lineNo;
}
public String getTeamGroupNo() {
return teamGroupNo;
}
public void setTeamGroupNo(String teamGroupNo) {
this.teamGroupNo = teamGroupNo;
}
public String getMachineNo() {
return machineNo;
}
public void setMachineNo(String machineNo) {
this.machineNo = machineNo;
}
public Integer getFuzzy() {
return fuzzy;
}
public void setFuzzy(Integer fuzzy) {
this.fuzzy = fuzzy;
}
public String getCurCode() {
return curCode;
}
public void setCurCode(String curCode) {
this.curCode = curCode;
}
public Integer getScanNo() {
return scanNo;
}
public void setScanNo(Integer scanNo) {
this.scanNo = scanNo;
}
public Integer getLayerNo() {
return layerNo;
}
public void setLayerNo(Integer layerNo) {
this.layerNo = layerNo;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getInType() {
return inType;
}
public void setInType(String inType) {
this.inType = inType;
}
public String getCompelete() {
return compelete;
}
public void setCompelete(String compelete) {
this.compelete = compelete;
}
public Integer getErrorcount() {
return errorcount;
}
public void setErrorcount(Integer errorcount) {
this.errorcount = errorcount;
}
@Override
public String toString() {
return "OutPtsProductionDetail{" +
"id='" + id + '\'' +
", action=" + action +
", parentTraceCode='" + parentTraceCode + '\'' +
", parentAppendCode='" + parentAppendCode + '\'' +
", productNo='" + productNo + '\'' +
", productName='" + productName + '\'' +
", productSpec='" + productSpec + '\'' +
", packagingRatioName='" + packagingRatioName + '\'' +
", productionDate='" + productionDate + '\'' +
", productionBatch='" + productionBatch + '\'' +
", expirationDate='" + expirationDate + '\'' +
", sourceNo='" + sourceNo + '\'' +
", taskNo='" + taskNo + '\'' +
", lineNo='" + lineNo + '\'' +
", teamGroupNo='" + teamGroupNo + '\'' +
", machineNo='" + machineNo + '\'' +
", fuzzy=" + fuzzy +
", curCode='" + curCode + '\'' +
", scanNo=" + scanNo +
", layerNo=" + layerNo +
", status='" + status + '\'' +
", inType='" + inType + '\'' +
", compelete='" + compelete + '\'' +
", errorcount=" + errorcount +
'}';
}
}

View File

@@ -1,289 +0,0 @@
package com.project.joggle.domain;
/**
* 出库生产明细完成
*/
public class OutPtsProductionDetailFinish {
/** ID */
private String id;
/** 动作 */
private Integer action;
/** 父追溯码 */
private String parentTraceCode;
/** 父附加码 */
private String parentAppendCode;
/** 产品编号 */
private String productNo;
/** 产品名称 */
private String productName;
/** 产品规格 */
private String productSpec;
/** 包装比例名称 */
private String packagingRatioName;
/** 生产日期 */
private String productionDate;
/** 生产批次 */
private String productionBatch;
/** 过期日期 */
private String expirationDate;
/** 来源编号 */
private String sourceNo;
/** 任务编号 */
private String taskNo;
/** 线体编号 */
private String lineNo;
/** 班组编号 */
private String teamGroupNo;
/** 机器编号 */
private String machineNo;
/** 模糊标识 */
private Integer fuzzy;
/** 当前码 */
private String curCode;
/** 扫描数量 */
private Integer scanNo;
/** 层号 */
private Integer layerNo;
/** 状态 */
private String status;
/** 入库类型 */
private String inType;
/** 完成标识 */
private String compelete;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Integer getAction() {
return action;
}
public void setAction(Integer action) {
this.action = action;
}
public String getParentTraceCode() {
return parentTraceCode;
}
public void setParentTraceCode(String parentTraceCode) {
this.parentTraceCode = parentTraceCode;
}
public String getParentAppendCode() {
return parentAppendCode;
}
public void setParentAppendCode(String parentAppendCode) {
this.parentAppendCode = parentAppendCode;
}
public String getProductNo() {
return productNo;
}
public void setProductNo(String productNo) {
this.productNo = productNo;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getProductSpec() {
return productSpec;
}
public void setProductSpec(String productSpec) {
this.productSpec = productSpec;
}
public String getPackagingRatioName() {
return packagingRatioName;
}
public void setPackagingRatioName(String packagingRatioName) {
this.packagingRatioName = packagingRatioName;
}
public String getProductionDate() {
return productionDate;
}
public void setProductionDate(String productionDate) {
this.productionDate = productionDate;
}
public String getProductionBatch() {
return productionBatch;
}
public void setProductionBatch(String productionBatch) {
this.productionBatch = productionBatch;
}
public String getExpirationDate() {
return expirationDate;
}
public void setExpirationDate(String expirationDate) {
this.expirationDate = expirationDate;
}
public String getSourceNo() {
return sourceNo;
}
public void setSourceNo(String sourceNo) {
this.sourceNo = sourceNo;
}
public String getTaskNo() {
return taskNo;
}
public void setTaskNo(String taskNo) {
this.taskNo = taskNo;
}
public String getLineNo() {
return lineNo;
}
public void setLineNo(String lineNo) {
this.lineNo = lineNo;
}
public String getTeamGroupNo() {
return teamGroupNo;
}
public void setTeamGroupNo(String teamGroupNo) {
this.teamGroupNo = teamGroupNo;
}
public String getMachineNo() {
return machineNo;
}
public void setMachineNo(String machineNo) {
this.machineNo = machineNo;
}
public Integer getFuzzy() {
return fuzzy;
}
public void setFuzzy(Integer fuzzy) {
this.fuzzy = fuzzy;
}
public String getCurCode() {
return curCode;
}
public void setCurCode(String curCode) {
this.curCode = curCode;
}
public Integer getScanNo() {
return scanNo;
}
public void setScanNo(Integer scanNo) {
this.scanNo = scanNo;
}
public Integer getLayerNo() {
return layerNo;
}
public void setLayerNo(Integer layerNo) {
this.layerNo = layerNo;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getInType() {
return inType;
}
public void setInType(String inType) {
this.inType = inType;
}
public String getCompelete() {
return compelete;
}
public void setCompelete(String compelete) {
this.compelete = compelete;
}
@Override
public String toString() {
return "OutPtsProductionDetailFinish{" +
"id='" + id + '\'' +
", action=" + action +
", parentTraceCode='" + parentTraceCode + '\'' +
", parentAppendCode='" + parentAppendCode + '\'' +
", productNo='" + productNo + '\'' +
", productName='" + productName + '\'' +
", productSpec='" + productSpec + '\'' +
", packagingRatioName='" + packagingRatioName + '\'' +
", productionDate='" + productionDate + '\'' +
", productionBatch='" + productionBatch + '\'' +
", expirationDate='" + expirationDate + '\'' +
", sourceNo='" + sourceNo + '\'' +
", taskNo='" + taskNo + '\'' +
", lineNo='" + lineNo + '\'' +
", teamGroupNo='" + teamGroupNo + '\'' +
", machineNo='" + machineNo + '\'' +
", fuzzy=" + fuzzy +
", curCode='" + curCode + '\'' +
", scanNo=" + scanNo +
", layerNo=" + layerNo +
", status='" + status + '\'' +
", inType='" + inType + '\'' +
", compelete='" + compelete + '\'' +
'}';
}
}

View File

@@ -1,219 +0,0 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* 出库单
*/
public class OutStockout {
/** 出库单ID */
private String stockoutId;
/** 出库类型 */
private String outType;
/** 创建时间 */
private Date createDate;
/** 客户编号 */
private String customerNo;
/** 创建人ID */
private String createManId;
/** 状态 */
private String status;
/** 仓库ID */
private String warehouseId;
/** 当前班次ID */
private String classNowId;
/** 出库单GUID */
private String stockoutGuid;
/** 出库来源 */
private String stockoutSource;
/** 出口ID */
private String exitId;
/** 车号 */
private String carNumber;
/** 完成时间 */
private Date finishDate;
/** 开始时间 */
private Date beganDate;
/** FID */
private String fid;
/** 备注 */
private String remark;
/** 客户名称 */
private String customerName;
public String getStockoutId() {
return stockoutId;
}
public void setStockoutId(String stockoutId) {
this.stockoutId = stockoutId;
}
public String getOutType() {
return outType;
}
public void setOutType(String outType) {
this.outType = outType;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String getCustomerNo() {
return customerNo;
}
public void setCustomerNo(String customerNo) {
this.customerNo = customerNo;
}
public String getCreateManId() {
return createManId;
}
public void setCreateManId(String createManId) {
this.createManId = createManId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getWarehouseId() {
return warehouseId;
}
public void setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
}
public String getClassNowId() {
return classNowId;
}
public void setClassNowId(String classNowId) {
this.classNowId = classNowId;
}
public String getStockoutGuid() {
return stockoutGuid;
}
public void setStockoutGuid(String stockoutGuid) {
this.stockoutGuid = stockoutGuid;
}
public String getStockoutSource() {
return stockoutSource;
}
public void setStockoutSource(String stockoutSource) {
this.stockoutSource = stockoutSource;
}
public String getExitId() {
return exitId;
}
public void setExitId(String exitId) {
this.exitId = exitId;
}
public String getCarNumber() {
return carNumber;
}
public void setCarNumber(String carNumber) {
this.carNumber = carNumber;
}
public Date getFinishDate() {
return finishDate;
}
public void setFinishDate(Date finishDate) {
this.finishDate = finishDate;
}
public Date getBeganDate() {
return beganDate;
}
public void setBeganDate(Date beganDate) {
this.beganDate = beganDate;
}
public String getFid() {
return fid;
}
public void setFid(String fid) {
this.fid = fid;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
@Override
public String toString() {
return "OutStockout{" +
"stockoutId='" + stockoutId + '\'' +
", outType='" + outType + '\'' +
", createDate=" + createDate +
", customerNo='" + customerNo + '\'' +
", createManId='" + createManId + '\'' +
", status='" + status + '\'' +
", warehouseId='" + warehouseId + '\'' +
", classNowId='" + classNowId + '\'' +
", stockoutGuid='" + stockoutGuid + '\'' +
", stockoutSource='" + stockoutSource + '\'' +
", exitId='" + exitId + '\'' +
", carNumber='" + carNumber + '\'' +
", finishDate=" + finishDate +
", beganDate=" + beganDate +
", fid='" + fid + '\'' +
", remark='" + remark + '\'' +
", customerName='" + customerName + '\'' +
'}';
}
}

View File

@@ -1,73 +0,0 @@
package com.project.joggle.domain;
/**
* 关系重构
*/
public class RelationshipRestructur {
/** ID */
private String id;
/** 当前码 */
private String curCode;
/** 父码 */
private String parentCode;
/** 状态 */
private String status;
/** 错误计数 */
private Integer errorcount;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getCurCode() {
return curCode;
}
public void setCurCode(String curCode) {
this.curCode = curCode;
}
public String getParentCode() {
return parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Integer getErrorcount() {
return errorcount;
}
public void setErrorcount(Integer errorcount) {
this.errorcount = errorcount;
}
@Override
public String toString() {
return "RelationshipRestructur{" +
"id='" + id + '\'' +
", curCode='" + curCode + '\'' +
", parentCode='" + parentCode + '\'' +
", status='" + status + '\'' +
", errorcount=" + errorcount +
'}';
}
}

View File

@@ -1,61 +0,0 @@
package com.project.joggle.domain;
/**
* 移除关系
*/
public class RemoveRelationship {
/** ID */
private String id;
/** 当前码 */
private String curCode;
/** 状态 */
private String status;
/** 错误计数 */
private Integer errorcount;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getCurCode() {
return curCode;
}
public void setCurCode(String curCode) {
this.curCode = curCode;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Integer getErrorcount() {
return errorcount;
}
public void setErrorcount(Integer errorcount) {
this.errorcount = errorcount;
}
@Override
public String toString() {
return "RemoveRelationship{" +
"id='" + id + '\'' +
", curCode='" + curCode + '\'' +
", status='" + status + '\'' +
", errorcount=" + errorcount +
'}';
}
}

View File

@@ -1,73 +0,0 @@
package com.project.joggle.domain;
/**
* 替换关系
*/
public class ReplaceRelationship {
/** ID */
private String id;
/** 旧追溯码 */
private String oldTraceCode;
/** 新追溯码 */
private String newTraceCode;
/** 状态 */
private String status;
/** 错误计数 */
private Integer errorcount;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOldTraceCode() {
return oldTraceCode;
}
public void setOldTraceCode(String oldTraceCode) {
this.oldTraceCode = oldTraceCode;
}
public String getNewTraceCode() {
return newTraceCode;
}
public void setNewTraceCode(String newTraceCode) {
this.newTraceCode = newTraceCode;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Integer getErrorcount() {
return errorcount;
}
public void setErrorcount(Integer errorcount) {
this.errorcount = errorcount;
}
@Override
public String toString() {
return "ReplaceRelationship{" +
"id='" + id + '\'' +
", oldTraceCode='" + oldTraceCode + '\'' +
", newTraceCode='" + newTraceCode + '\'' +
", status='" + status + '\'' +
", errorcount=" + errorcount +
'}';
}
}

View File

@@ -1,53 +1,71 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* 调整单
* ToKwmsAgjust
*/
public class ToKwmsAgjust {
/** 调整单ID */
/**
* 主键ID
*/
private String adjustId;
/** 单据类型编号 */
/**
* 单据类型.编码
*/
private String moyaBilltypeNumber;
/** 组织编号 */
/**
* 库存组织.编码
*/
private String orgNumber;
/** 业务时间 */
private String moyaBiztime;
/** 货主类型 */
/**
* 业务日期
*/
private Date moyaBiztime;
/**
* 货主类型
*/
private String moyaOwnertype;
/** 货主编号 */
/**
* 货主.编码
*/
private String moyaOwnerNumber;
/** 仓库编号 */
/**
* 仓库.编码
*/
private String moyaWarehouseNumber;
/** 单据状态 */
/**
* 单据状态
*/
private String billstatus;
/** 备注 */
/**
* 备注
*/
private String moyaRemark;
/** 来源系统 */
/**
* 来源系统
*/
private String h7f1Sourcesystem;
/** 来源单号 */
/**
* 来源系统单号
*/
private String moyaHsrcbillno;
/** 状态 */
private String status;
/** 返回码 */
/**
* 状态
*/
private Integer status;
/**
* 返回代码
*/
private String returnCode;
/** 返回消息 */
/**
* 返回信息
*/
private String returnMessage;
/** 创建时间 */
/**
* 创建时间
*/
private String createTime;
public String getAdjustId() {
@@ -74,11 +92,11 @@ public class ToKwmsAgjust {
this.orgNumber = orgNumber;
}
public String getMoyaBiztime() {
public Date getMoyaBiztime() {
return moyaBiztime;
}
public void setMoyaBiztime(String moyaBiztime) {
public void setMoyaBiztime(Date moyaBiztime) {
this.moyaBiztime = moyaBiztime;
}
@@ -138,11 +156,11 @@ public class ToKwmsAgjust {
this.moyaHsrcbillno = moyaHsrcbillno;
}
public String getStatus() {
public Integer getStatus() {
return status;
}
public void setStatus(String status) {
public void setStatus(Integer status) {
this.status = status;
}

View File

@@ -0,0 +1,186 @@
package com.project.joggle.domain;
import java.math.BigDecimal;
import java.util.Date;
/**
* ToKwmsAgjustDetail
*/
public class ToKwmsAgjustDetail {
/**
* 子表主键ID
*/
private String adjustDetailId;
/**
* 关联主表ID
*/
private String adjustId;
/**
* 商品明细.分录行号
*/
private Integer seq;
/**
* 商品信息.编码
*/
private String moyaGoodsNumber;
/**
* 库位.编码
*/
private String moyaLocationNumber;
/**
* 商品状态.编码
*/
private String moyaGoodDefectiveNumber;
/**
* 商品明细.批号
*/
private String moyaLotnumber;
/**
* 商品明细.生产日期
*/
private Date h7f1Productiondate;
/**
* 商品明细.来源系统行ID
*/
private String h7f1Srcsysentryid;
/**
* 托盘号.编码
*/
private String moyaContainernoNumber;
/**
* 商品明细.新批号
*/
private String moyaLotnumber1;
/**
* 商品明细.调整总数量
*/
private BigDecimal moyaAdjustqty;
/**
* 新商品状态.编码
*/
private String moyaGoodDefective1Number;
public String getAdjustDetailId() {
return adjustDetailId;
}
public void setAdjustDetailId(String adjustDetailId) {
this.adjustDetailId = adjustDetailId;
}
public String getAdjustId() {
return adjustId;
}
public void setAdjustId(String adjustId) {
this.adjustId = adjustId;
}
public Integer getSeq() {
return seq;
}
public void setSeq(Integer seq) {
this.seq = seq;
}
public String getMoyaGoodsNumber() {
return moyaGoodsNumber;
}
public void setMoyaGoodsNumber(String moyaGoodsNumber) {
this.moyaGoodsNumber = moyaGoodsNumber;
}
public String getMoyaLocationNumber() {
return moyaLocationNumber;
}
public void setMoyaLocationNumber(String moyaLocationNumber) {
this.moyaLocationNumber = moyaLocationNumber;
}
public String getMoyaGoodDefectiveNumber() {
return moyaGoodDefectiveNumber;
}
public void setMoyaGoodDefectiveNumber(String moyaGoodDefectiveNumber) {
this.moyaGoodDefectiveNumber = moyaGoodDefectiveNumber;
}
public String getMoyaLotnumber() {
return moyaLotnumber;
}
public void setMoyaLotnumber(String moyaLotnumber) {
this.moyaLotnumber = moyaLotnumber;
}
public Date getH7f1Productiondate() {
return h7f1Productiondate;
}
public void setH7f1Productiondate(Date h7f1Productiondate) {
this.h7f1Productiondate = h7f1Productiondate;
}
public String getH7f1Srcsysentryid() {
return h7f1Srcsysentryid;
}
public void setH7f1Srcsysentryid(String h7f1Srcsysentryid) {
this.h7f1Srcsysentryid = h7f1Srcsysentryid;
}
public String getMoyaContainernoNumber() {
return moyaContainernoNumber;
}
public void setMoyaContainernoNumber(String moyaContainernoNumber) {
this.moyaContainernoNumber = moyaContainernoNumber;
}
public String getMoyaLotnumber1() {
return moyaLotnumber1;
}
public void setMoyaLotnumber1(String moyaLotnumber1) {
this.moyaLotnumber1 = moyaLotnumber1;
}
public BigDecimal getMoyaAdjustqty() {
return moyaAdjustqty;
}
public void setMoyaAdjustqty(BigDecimal moyaAdjustqty) {
this.moyaAdjustqty = moyaAdjustqty;
}
public String getMoyaGoodDefective1Number() {
return moyaGoodDefective1Number;
}
public void setMoyaGoodDefective1Number(String moyaGoodDefective1Number) {
this.moyaGoodDefective1Number = moyaGoodDefective1Number;
}
@Override
public String toString() {
return "ToKwmsAgjustDetail{" +
"adjustDetailId='" + adjustDetailId + '\'' +
", adjustId='" + adjustId + '\'' +
", seq='" + seq + '\'' +
", moyaGoodsNumber='" + moyaGoodsNumber + '\'' +
", moyaLocationNumber='" + moyaLocationNumber + '\'' +
", moyaGoodDefectiveNumber='" + moyaGoodDefectiveNumber + '\'' +
", moyaLotnumber='" + moyaLotnumber + '\'' +
", h7f1Productiondate='" + h7f1Productiondate + '\'' +
", h7f1Srcsysentryid='" + h7f1Srcsysentryid + '\'' +
", moyaContainernoNumber='" + moyaContainernoNumber + '\'' +
", moyaLotnumber1='" + moyaLotnumber1 + '\'' +
", moyaAdjustqty='" + moyaAdjustqty + '\'' +
", moyaGoodDefective1Number='" + moyaGoodDefective1Number + '\'' +
'}';
}
}

View File

@@ -0,0 +1,335 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* ToKwmsInStockin
*/
public class ToKwmsInStockin {
/**
* 主键
*/
private String inId;
/**
* 单据类型.编码
*/
private String moyaBilltypeNumber;
private String moyaBiztypeNumber;
private Date moyaBiztime;
/**
* 收货组织.编码
*/
private String orgNumber;
/**
* 货主类型
*/
private String moyaOwnertype;
/**
* 货主.编码
*/
private String moyaOwnerNumber;
/**
* 收货仓库.编码
*/
private String moyaWarehouseNumber;
/**
* 采购订单号
*/
private String moyaPurorderno;
/**
* 入库状态
*/
private String moyaTaskstatus;
/**
* 班组.编码
*/
private String h7f1WorkgroupNumber;
/**
* 生产线.编码
*/
private String h7f1ProductlinesNumber;
/**
* 车间.编码
*/
private String h7f1OrgworkshopNumber;
/**
* 来源系统
*/
private String h7f1Sourcesystem;
/**
* 源单类别.编码
*/
private String h7f1SourcetypeNumber;
/**
* 源系统单号
*/
private String moyaSrcsysbillno;
/**
* 供应商.编码
*/
private String moyaSupplierNumber;
/**
* EAS编号
*/
private String h7f1Easbillno;
/**
* 入库通知单号
*/
private String h7f1Innotification;
/**
* 备注
*/
private String moyaRemark;
/**
* PTS返回信息
*/
private String h7f1Ptsmessage;
/**
* 回传状态
*/
private Integer status;
/**
* 返回代码
*/
private String returnCode;
/**
* 返回结果
*/
private String returnMessage;
/**
* 创建时间
*/
private String createTime;
public String getInId() {
return inId;
}
public void setInId(String inId) {
this.inId = inId;
}
public String getMoyaBilltypeNumber() {
return moyaBilltypeNumber;
}
public void setMoyaBilltypeNumber(String moyaBilltypeNumber) {
this.moyaBilltypeNumber = moyaBilltypeNumber;
}
public String getMoyaBiztypeNumber() {
return moyaBiztypeNumber;
}
public void setMoyaBiztypeNumber(String moyaBiztypeNumber) {
this.moyaBiztypeNumber = moyaBiztypeNumber;
}
public Date getMoyaBiztime() {
return moyaBiztime;
}
public void setMoyaBiztime(Date moyaBiztime) {
this.moyaBiztime = moyaBiztime;
}
public String getOrgNumber() {
return orgNumber;
}
public void setOrgNumber(String orgNumber) {
this.orgNumber = orgNumber;
}
public String getMoyaOwnertype() {
return moyaOwnertype;
}
public void setMoyaOwnertype(String moyaOwnertype) {
this.moyaOwnertype = moyaOwnertype;
}
public String getMoyaOwnerNumber() {
return moyaOwnerNumber;
}
public void setMoyaOwnerNumber(String moyaOwnerNumber) {
this.moyaOwnerNumber = moyaOwnerNumber;
}
public String getMoyaWarehouseNumber() {
return moyaWarehouseNumber;
}
public void setMoyaWarehouseNumber(String moyaWarehouseNumber) {
this.moyaWarehouseNumber = moyaWarehouseNumber;
}
public String getMoyaPurorderno() {
return moyaPurorderno;
}
public void setMoyaPurorderno(String moyaPurorderno) {
this.moyaPurorderno = moyaPurorderno;
}
public String getMoyaTaskstatus() {
return moyaTaskstatus;
}
public void setMoyaTaskstatus(String moyaTaskstatus) {
this.moyaTaskstatus = moyaTaskstatus;
}
public String getH7f1WorkgroupNumber() {
return h7f1WorkgroupNumber;
}
public void setH7f1WorkgroupNumber(String h7f1WorkgroupNumber) {
this.h7f1WorkgroupNumber = h7f1WorkgroupNumber;
}
public String getH7f1ProductlinesNumber() {
return h7f1ProductlinesNumber;
}
public void setH7f1ProductlinesNumber(String h7f1ProductlinesNumber) {
this.h7f1ProductlinesNumber = h7f1ProductlinesNumber;
}
public String getH7f1OrgworkshopNumber() {
return h7f1OrgworkshopNumber;
}
public void setH7f1OrgworkshopNumber(String h7f1OrgworkshopNumber) {
this.h7f1OrgworkshopNumber = h7f1OrgworkshopNumber;
}
public String getH7f1Sourcesystem() {
return h7f1Sourcesystem;
}
public void setH7f1Sourcesystem(String h7f1Sourcesystem) {
this.h7f1Sourcesystem = h7f1Sourcesystem;
}
public String getH7f1SourcetypeNumber() {
return h7f1SourcetypeNumber;
}
public void setH7f1SourcetypeNumber(String h7f1SourcetypeNumber) {
this.h7f1SourcetypeNumber = h7f1SourcetypeNumber;
}
public String getMoyaSrcsysbillno() {
return moyaSrcsysbillno;
}
public void setMoyaSrcsysbillno(String moyaSrcsysbillno) {
this.moyaSrcsysbillno = moyaSrcsysbillno;
}
public String getMoyaSupplierNumber() {
return moyaSupplierNumber;
}
public void setMoyaSupplierNumber(String moyaSupplierNumber) {
this.moyaSupplierNumber = moyaSupplierNumber;
}
public String getH7f1Easbillno() {
return h7f1Easbillno;
}
public void setH7f1Easbillno(String h7f1Easbillno) {
this.h7f1Easbillno = h7f1Easbillno;
}
public String getH7f1Innotification() {
return h7f1Innotification;
}
public void setH7f1Innotification(String h7f1Innotification) {
this.h7f1Innotification = h7f1Innotification;
}
public String getMoyaRemark() {
return moyaRemark;
}
public void setMoyaRemark(String moyaRemark) {
this.moyaRemark = moyaRemark;
}
public String getH7f1Ptsmessage() {
return h7f1Ptsmessage;
}
public void setH7f1Ptsmessage(String h7f1Ptsmessage) {
this.h7f1Ptsmessage = h7f1Ptsmessage;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "ToKwmsInStockin{" +
"inId='" + inId + '\'' +
", moyaBilltypeNumber='" + moyaBilltypeNumber + '\'' +
", moyaBiztypeNumber='" + moyaBiztypeNumber + '\'' +
", moyaBiztime='" + moyaBiztime + '\'' +
", orgNumber='" + orgNumber + '\'' +
", moyaOwnertype='" + moyaOwnertype + '\'' +
", moyaOwnerNumber='" + moyaOwnerNumber + '\'' +
", moyaWarehouseNumber='" + moyaWarehouseNumber + '\'' +
", moyaPurorderno='" + moyaPurorderno + '\'' +
", moyaTaskstatus='" + moyaTaskstatus + '\'' +
", h7f1WorkgroupNumber='" + h7f1WorkgroupNumber + '\'' +
", h7f1ProductlinesNumber='" + h7f1ProductlinesNumber + '\'' +
", h7f1OrgworkshopNumber='" + h7f1OrgworkshopNumber + '\'' +
", h7f1Sourcesystem='" + h7f1Sourcesystem + '\'' +
", h7f1SourcetypeNumber='" + h7f1SourcetypeNumber + '\'' +
", moyaSrcsysbillno='" + moyaSrcsysbillno + '\'' +
", moyaSupplierNumber='" + moyaSupplierNumber + '\'' +
", h7f1Easbillno='" + h7f1Easbillno + '\'' +
", h7f1Innotification='" + h7f1Innotification + '\'' +
", moyaRemark='" + moyaRemark + '\'' +
", h7f1Ptsmessage='" + h7f1Ptsmessage + '\'' +
", status='" + status + '\'' +
", returnCode='" + returnCode + '\'' +
", returnMessage='" + returnMessage + '\'' +
", createTime='" + createTime + '\'' +
'}';
}
}

View File

@@ -0,0 +1,264 @@
package com.project.joggle.domain;
import java.math.BigDecimal;
import java.util.Date;
/**
* ToKwmsInStockinDetail
*/
public class ToKwmsInStockinDetail {
/**
* 主键
*/
private String inDetailId;
/**
* 关联主表
*/
private String inId;
/**
* 商品明细.分录行号
*/
private Integer seq;
/**
* 商品信息.编码
*/
private String h7f1Srcsysentryid;
/**
* 入库库位.编码
*/
private String moyaGoodsNumber;
/**
* 托盘号.编码
*/
private String h7f1MoyaLocationNumber;
/**
* 商品明细.入库总数
*/
private String moyaContainernoNumber;
/**
* 商品状态.编码
*/
private BigDecimal moyaTotalqty;
/**
* 商品明细.批号
*/
private String moyaGoodDefectiveNumber;
/**
* 商品明细.条码
*/
private String moyaLotnumber;
/**
* 商品明细.条码
*/
private String h7f1Zsbarcode;
/**
* 商品明细.生产日期
*/
private Date h7f1Productiondate;
/**
* 商品明细.生产日期
*/
private Date moyaProducedate;
/**
* 商品明细.虚拟托盘号
*/
private String h7f1Trayno;
/**
* 商品明细.库位修改原因
*/
private String h7f1Modifycause;
/**
* 商品明细.生产订单号
*/
private String h7f1Proorder;
/**
* 商品明细.车间排产单号
*/
private String h7f1Proschedule;
/**
* 商品明细.备注
*/
private String h7f1Remarkentity;
/**
* 商品明细.追溯标记
*/
private Integer h7f1Ptsflag;
public String getInDetailId() {
return inDetailId;
}
public void setInDetailId(String inDetailId) {
this.inDetailId = inDetailId;
}
public String getInId() {
return inId;
}
public void setInId(String inId) {
this.inId = inId;
}
public Integer getSeq() {
return seq;
}
public void setSeq(Integer seq) {
this.seq = seq;
}
public String getH7f1Srcsysentryid() {
return h7f1Srcsysentryid;
}
public void setH7f1Srcsysentryid(String h7f1Srcsysentryid) {
this.h7f1Srcsysentryid = h7f1Srcsysentryid;
}
public String getMoyaGoodsNumber() {
return moyaGoodsNumber;
}
public void setMoyaGoodsNumber(String moyaGoodsNumber) {
this.moyaGoodsNumber = moyaGoodsNumber;
}
public String getH7f1MoyaLocationNumber() {
return h7f1MoyaLocationNumber;
}
public void setH7f1MoyaLocationNumber(String h7f1MoyaLocationNumber) {
this.h7f1MoyaLocationNumber = h7f1MoyaLocationNumber;
}
public String getMoyaContainernoNumber() {
return moyaContainernoNumber;
}
public void setMoyaContainernoNumber(String moyaContainernoNumber) {
this.moyaContainernoNumber = moyaContainernoNumber;
}
public BigDecimal getMoyaTotalqty() {
return moyaTotalqty;
}
public void setMoyaTotalqty(BigDecimal moyaTotalqty) {
this.moyaTotalqty = moyaTotalqty;
}
public String getMoyaGoodDefectiveNumber() {
return moyaGoodDefectiveNumber;
}
public void setMoyaGoodDefectiveNumber(String moyaGoodDefectiveNumber) {
this.moyaGoodDefectiveNumber = moyaGoodDefectiveNumber;
}
public String getMoyaLotnumber() {
return moyaLotnumber;
}
public void setMoyaLotnumber(String moyaLotnumber) {
this.moyaLotnumber = moyaLotnumber;
}
public String getH7f1Zsbarcode() {
return h7f1Zsbarcode;
}
public void setH7f1Zsbarcode(String h7f1Zsbarcode) {
this.h7f1Zsbarcode = h7f1Zsbarcode;
}
public Date getH7f1Productiondate() {
return h7f1Productiondate;
}
public void setH7f1Productiondate(Date h7f1Productiondate) {
this.h7f1Productiondate = h7f1Productiondate;
}
public Date getMoyaProducedate() {
return moyaProducedate;
}
public void setMoyaProducedate(Date moyaProducedate) {
this.moyaProducedate = moyaProducedate;
}
public String getH7f1Trayno() {
return h7f1Trayno;
}
public void setH7f1Trayno(String h7f1Trayno) {
this.h7f1Trayno = h7f1Trayno;
}
public String getH7f1Modifycause() {
return h7f1Modifycause;
}
public void setH7f1Modifycause(String h7f1Modifycause) {
this.h7f1Modifycause = h7f1Modifycause;
}
public String getH7f1Proorder() {
return h7f1Proorder;
}
public void setH7f1Proorder(String h7f1Proorder) {
this.h7f1Proorder = h7f1Proorder;
}
public String getH7f1Proschedule() {
return h7f1Proschedule;
}
public void setH7f1Proschedule(String h7f1Proschedule) {
this.h7f1Proschedule = h7f1Proschedule;
}
public String getH7f1Remarkentity() {
return h7f1Remarkentity;
}
public void setH7f1Remarkentity(String h7f1Remarkentity) {
this.h7f1Remarkentity = h7f1Remarkentity;
}
public Integer getH7f1Ptsflag() {
return h7f1Ptsflag;
}
public void setH7f1Ptsflag(Integer h7f1Ptsflag) {
this.h7f1Ptsflag = h7f1Ptsflag;
}
@Override
public String toString() {
return "ToKwmsInStockinDetail{" +
"inDetailId='" + inDetailId + '\'' +
", inId='" + inId + '\'' +
", seq='" + seq + '\'' +
", h7f1Srcsysentryid='" + h7f1Srcsysentryid + '\'' +
", moyaGoodsNumber='" + moyaGoodsNumber + '\'' +
", h7f1MoyaLocationNumber='" + h7f1MoyaLocationNumber + '\'' +
", moyaContainernoNumber='" + moyaContainernoNumber + '\'' +
", moyaTotalqty='" + moyaTotalqty + '\'' +
", moyaGoodDefectiveNumber='" + moyaGoodDefectiveNumber + '\'' +
", moyaLotnumber='" + moyaLotnumber + '\'' +
", h7f1Zsbarcode='" + h7f1Zsbarcode + '\'' +
", h7f1Productiondate='" + h7f1Productiondate + '\'' +
", moyaProducedate='" + moyaProducedate + '\'' +
", h7f1Trayno='" + h7f1Trayno + '\'' +
", h7f1Modifycause='" + h7f1Modifycause + '\'' +
", h7f1Proorder='" + h7f1Proorder + '\'' +
", h7f1Proschedule='" + h7f1Proschedule + '\'' +
", h7f1Remarkentity='" + h7f1Remarkentity + '\'' +
", h7f1Ptsflag='" + h7f1Ptsflag + '\'' +
'}';
}
}

View File

@@ -0,0 +1,211 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* ToKwmsMove
*/
public class ToKwmsMove {
/**
* 主键ID
*/
private String moveId;
/**
* 单据类型.编码
*/
private String moyaBilltypeNumber;
/**
* 库存组织.编码
*/
private String orgNumber;
/**
* 货主类型
*/
private String moyaOwnertype;
/**
* 货主.编码
*/
private String moyaOwnerNumber;
/**
* 仓库.编码
*/
private String moyaWarehouseNumber;
/**
* 业务日期
*/
private Date moyaBiztime;
/**
* 源系统单号
*/
private String moyaHsrcbillno;
/**
* 来源系统
*/
private String h7f1Sourcesystem;
/**
* 备注
*/
private String moyaRemark;
/**
* 单据状态
*/
private String billstatus;
/**
* 状态
*/
private Integer status;
/**
* 返回代码
*/
private String returnCode;
/**
* 返回信息
*/
private String returnMessage;
/**
* 创建时间
*/
private String createTime;
public String getMoveId() {
return moveId;
}
public void setMoveId(String moveId) {
this.moveId = moveId;
}
public String getMoyaBilltypeNumber() {
return moyaBilltypeNumber;
}
public void setMoyaBilltypeNumber(String moyaBilltypeNumber) {
this.moyaBilltypeNumber = moyaBilltypeNumber;
}
public String getOrgNumber() {
return orgNumber;
}
public void setOrgNumber(String orgNumber) {
this.orgNumber = orgNumber;
}
public String getMoyaOwnertype() {
return moyaOwnertype;
}
public void setMoyaOwnertype(String moyaOwnertype) {
this.moyaOwnertype = moyaOwnertype;
}
public String getMoyaOwnerNumber() {
return moyaOwnerNumber;
}
public void setMoyaOwnerNumber(String moyaOwnerNumber) {
this.moyaOwnerNumber = moyaOwnerNumber;
}
public String getMoyaWarehouseNumber() {
return moyaWarehouseNumber;
}
public void setMoyaWarehouseNumber(String moyaWarehouseNumber) {
this.moyaWarehouseNumber = moyaWarehouseNumber;
}
public Date getMoyaBiztime() {
return moyaBiztime;
}
public void setMoyaBiztime(Date moyaBiztime) {
this.moyaBiztime = moyaBiztime;
}
public String getMoyaHsrcbillno() {
return moyaHsrcbillno;
}
public void setMoyaHsrcbillno(String moyaHsrcbillno) {
this.moyaHsrcbillno = moyaHsrcbillno;
}
public String getH7f1Sourcesystem() {
return h7f1Sourcesystem;
}
public void setH7f1Sourcesystem(String h7f1Sourcesystem) {
this.h7f1Sourcesystem = h7f1Sourcesystem;
}
public String getMoyaRemark() {
return moyaRemark;
}
public void setMoyaRemark(String moyaRemark) {
this.moyaRemark = moyaRemark;
}
public String getBillstatus() {
return billstatus;
}
public void setBillstatus(String billstatus) {
this.billstatus = billstatus;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "ToKwmsMove{" +
"moveId='" + moveId + '\'' +
", moyaBilltypeNumber='" + moyaBilltypeNumber + '\'' +
", orgNumber='" + orgNumber + '\'' +
", moyaOwnertype='" + moyaOwnertype + '\'' +
", moyaOwnerNumber='" + moyaOwnerNumber + '\'' +
", moyaWarehouseNumber='" + moyaWarehouseNumber + '\'' +
", moyaBiztime='" + moyaBiztime + '\'' +
", moyaHsrcbillno='" + moyaHsrcbillno + '\'' +
", h7f1Sourcesystem='" + h7f1Sourcesystem + '\'' +
", moyaRemark='" + moyaRemark + '\'' +
", billstatus='" + billstatus + '\'' +
", status='" + status + '\'' +
", returnCode='" + returnCode + '\'' +
", returnMessage='" + returnMessage + '\'' +
", createTime='" + createTime + '\'' +
'}';
}
}

View File

@@ -0,0 +1,212 @@
package com.project.joggle.domain;
import java.math.BigDecimal;
import java.util.Date;
/**
* ToKwmsMoveDetail
*/
public class ToKwmsMoveDetail {
/**
* 子表主键ID
*/
private String moveDetailId;
/**
* 关联主表ID
*/
private String moveId;
/**
* 商品明细.分录行号
*/
private Integer seq;
/**
* 商品信息.编码
*/
private String moyaGoodsNumber;
/**
* 商品明细.数量
*/
private BigDecimal moyaQty;
/**
* 商品明细.批号
*/
private String moyaLotnumber;
/**
* 商品明细.来源系统行ID
*/
private String h7f1Srcsysentryid;
/**
* 移出库位.编码
*/
private String moyaLocationNumber;
/**
* 移出托盘号.编码
*/
private String moyaContainernoNumber;
/**
* 移入库位.编码
*/
private String moyaInlocationNumber;
/**
* 移入托盘号.编码
*/
private String moyaIncontainernoNumber;
/**
* 商品状态.编码
*/
private String moyaGoodDefectiveNumber;
/**
* 商品明细.条码
*/
private String h7f1Zsbarcode;
/**
* 商品明细.生产日期
*/
private Date h7f1Productiondate;
/**
* 商品明细.虚拟托盘号
*/
private String h7f1Trayno;
public String getMoveDetailId() {
return moveDetailId;
}
public void setMoveDetailId(String moveDetailId) {
this.moveDetailId = moveDetailId;
}
public String getMoveId() {
return moveId;
}
public void setMoveId(String moveId) {
this.moveId = moveId;
}
public Integer getSeq() {
return seq;
}
public void setSeq(Integer seq) {
this.seq = seq;
}
public String getMoyaGoodsNumber() {
return moyaGoodsNumber;
}
public void setMoyaGoodsNumber(String moyaGoodsNumber) {
this.moyaGoodsNumber = moyaGoodsNumber;
}
public BigDecimal getMoyaQty() {
return moyaQty;
}
public void setMoyaQty(BigDecimal moyaQty) {
this.moyaQty = moyaQty;
}
public String getMoyaLotnumber() {
return moyaLotnumber;
}
public void setMoyaLotnumber(String moyaLotnumber) {
this.moyaLotnumber = moyaLotnumber;
}
public String getH7f1Srcsysentryid() {
return h7f1Srcsysentryid;
}
public void setH7f1Srcsysentryid(String h7f1Srcsysentryid) {
this.h7f1Srcsysentryid = h7f1Srcsysentryid;
}
public String getMoyaLocationNumber() {
return moyaLocationNumber;
}
public void setMoyaLocationNumber(String moyaLocationNumber) {
this.moyaLocationNumber = moyaLocationNumber;
}
public String getMoyaContainernoNumber() {
return moyaContainernoNumber;
}
public void setMoyaContainernoNumber(String moyaContainernoNumber) {
this.moyaContainernoNumber = moyaContainernoNumber;
}
public String getMoyaInlocationNumber() {
return moyaInlocationNumber;
}
public void setMoyaInlocationNumber(String moyaInlocationNumber) {
this.moyaInlocationNumber = moyaInlocationNumber;
}
public String getMoyaIncontainernoNumber() {
return moyaIncontainernoNumber;
}
public void setMoyaIncontainernoNumber(String moyaIncontainernoNumber) {
this.moyaIncontainernoNumber = moyaIncontainernoNumber;
}
public String getMoyaGoodDefectiveNumber() {
return moyaGoodDefectiveNumber;
}
public void setMoyaGoodDefectiveNumber(String moyaGoodDefectiveNumber) {
this.moyaGoodDefectiveNumber = moyaGoodDefectiveNumber;
}
public String getH7f1Zsbarcode() {
return h7f1Zsbarcode;
}
public void setH7f1Zsbarcode(String h7f1Zsbarcode) {
this.h7f1Zsbarcode = h7f1Zsbarcode;
}
public Date getH7f1Productiondate() {
return h7f1Productiondate;
}
public void setH7f1Productiondate(Date h7f1Productiondate) {
this.h7f1Productiondate = h7f1Productiondate;
}
public String getH7f1Trayno() {
return h7f1Trayno;
}
public void setH7f1Trayno(String h7f1Trayno) {
this.h7f1Trayno = h7f1Trayno;
}
@Override
public String toString() {
return "ToKwmsMoveDetail{" +
"moveDetailId='" + moveDetailId + '\'' +
", moveId='" + moveId + '\'' +
", seq='" + seq + '\'' +
", moyaGoodsNumber='" + moyaGoodsNumber + '\'' +
", moyaQty='" + moyaQty + '\'' +
", moyaLotnumber='" + moyaLotnumber + '\'' +
", h7f1Srcsysentryid='" + h7f1Srcsysentryid + '\'' +
", moyaLocationNumber='" + moyaLocationNumber + '\'' +
", moyaContainernoNumber='" + moyaContainernoNumber + '\'' +
", moyaInlocationNumber='" + moyaInlocationNumber + '\'' +
", moyaIncontainernoNumber='" + moyaIncontainernoNumber + '\'' +
", moyaGoodDefectiveNumber='" + moyaGoodDefectiveNumber + '\'' +
", h7f1Zsbarcode='" + h7f1Zsbarcode + '\'' +
", h7f1Productiondate='" + h7f1Productiondate + '\'' +
", h7f1Trayno='" + h7f1Trayno + '\'' +
'}';
}
}

View File

@@ -0,0 +1,315 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* ToKwmsOutStockout
*/
public class ToKwmsOutStockout {
/**
* 主键ID
*/
private String outId;
/**
* 单据类型.编码
*/
private String moyaBilltypeNumber;
/**
* 出库组织.编码
*/
private String orgNumber;
/**
* 出库仓库.编码
*/
private String moyaWarehouseNumber;
/**
* 业务类型.编码
*/
private String moyaBiztypeNumber;
/**
* 货主类型
*/
private String moyaOwnertype;
/**
* 货主.编码
*/
private String moyaOwnerNumber;
/**
* 业务日期
*/
private Date moyaBiztime;
/**
* 业务模式
*/
private String moyaBusinessModel;
/**
* 优先级
*/
private String moyaPriority;
/**
* 源系统单号
*/
private String moyaSrcsysbillno;
/**
* 出库状态
*/
private String moyaBizstatus;
/**
* 单据状态
*/
private String billstatus;
/**
* 备注
*/
private String moyaRemark;
/**
* PTS返回信息
*/
private String h7f1Ptsmessage;
/**
* EAS单号
*/
private String h7f1Easbillno;
/**
* 客户.编码
*/
private String h7f1CustomerNumber;
/**
* 来源系统
*/
private String h7f1Sourcesystem;
/**
* 源单类别.编码
*/
private String h7f1SourcetypeNumber;
/**
* 状态
*/
private Integer status;
/**
* 返回代码
*/
private String returnCode;
/**
* 返回信息
*/
private String returnMessage;
/**
* 创建时间
*/
private String createTime;
public String getOutId() {
return outId;
}
public void setOutId(String outId) {
this.outId = outId;
}
public String getMoyaBilltypeNumber() {
return moyaBilltypeNumber;
}
public void setMoyaBilltypeNumber(String moyaBilltypeNumber) {
this.moyaBilltypeNumber = moyaBilltypeNumber;
}
public String getOrgNumber() {
return orgNumber;
}
public void setOrgNumber(String orgNumber) {
this.orgNumber = orgNumber;
}
public String getMoyaWarehouseNumber() {
return moyaWarehouseNumber;
}
public void setMoyaWarehouseNumber(String moyaWarehouseNumber) {
this.moyaWarehouseNumber = moyaWarehouseNumber;
}
public String getMoyaBiztypeNumber() {
return moyaBiztypeNumber;
}
public void setMoyaBiztypeNumber(String moyaBiztypeNumber) {
this.moyaBiztypeNumber = moyaBiztypeNumber;
}
public String getMoyaOwnertype() {
return moyaOwnertype;
}
public void setMoyaOwnertype(String moyaOwnertype) {
this.moyaOwnertype = moyaOwnertype;
}
public String getMoyaOwnerNumber() {
return moyaOwnerNumber;
}
public void setMoyaOwnerNumber(String moyaOwnerNumber) {
this.moyaOwnerNumber = moyaOwnerNumber;
}
public Date getMoyaBiztime() {
return moyaBiztime;
}
public void setMoyaBiztime(Date moyaBiztime) {
this.moyaBiztime = moyaBiztime;
}
public String getMoyaBusinessModel() {
return moyaBusinessModel;
}
public void setMoyaBusinessModel(String moyaBusinessModel) {
this.moyaBusinessModel = moyaBusinessModel;
}
public String getMoyaPriority() {
return moyaPriority;
}
public void setMoyaPriority(String moyaPriority) {
this.moyaPriority = moyaPriority;
}
public String getMoyaSrcsysbillno() {
return moyaSrcsysbillno;
}
public void setMoyaSrcsysbillno(String moyaSrcsysbillno) {
this.moyaSrcsysbillno = moyaSrcsysbillno;
}
public String getMoyaBizstatus() {
return moyaBizstatus;
}
public void setMoyaBizstatus(String moyaBizstatus) {
this.moyaBizstatus = moyaBizstatus;
}
public String getBillstatus() {
return billstatus;
}
public void setBillstatus(String billstatus) {
this.billstatus = billstatus;
}
public String getMoyaRemark() {
return moyaRemark;
}
public void setMoyaRemark(String moyaRemark) {
this.moyaRemark = moyaRemark;
}
public String getH7f1Ptsmessage() {
return h7f1Ptsmessage;
}
public void setH7f1Ptsmessage(String h7f1Ptsmessage) {
this.h7f1Ptsmessage = h7f1Ptsmessage;
}
public String getH7f1Easbillno() {
return h7f1Easbillno;
}
public void setH7f1Easbillno(String h7f1Easbillno) {
this.h7f1Easbillno = h7f1Easbillno;
}
public String getH7f1CustomerNumber() {
return h7f1CustomerNumber;
}
public void setH7f1CustomerNumber(String h7f1CustomerNumber) {
this.h7f1CustomerNumber = h7f1CustomerNumber;
}
public String getH7f1Sourcesystem() {
return h7f1Sourcesystem;
}
public void setH7f1Sourcesystem(String h7f1Sourcesystem) {
this.h7f1Sourcesystem = h7f1Sourcesystem;
}
public String getH7f1SourcetypeNumber() {
return h7f1SourcetypeNumber;
}
public void setH7f1SourcetypeNumber(String h7f1SourcetypeNumber) {
this.h7f1SourcetypeNumber = h7f1SourcetypeNumber;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "ToKwmsOutStockout{" +
"outId='" + outId + '\'' +
", moyaBilltypeNumber='" + moyaBilltypeNumber + '\'' +
", orgNumber='" + orgNumber + '\'' +
", moyaWarehouseNumber='" + moyaWarehouseNumber + '\'' +
", moyaBiztypeNumber='" + moyaBiztypeNumber + '\'' +
", moyaOwnertype='" + moyaOwnertype + '\'' +
", moyaOwnerNumber='" + moyaOwnerNumber + '\'' +
", moyaBiztime='" + moyaBiztime + '\'' +
", moyaBusinessModel='" + moyaBusinessModel + '\'' +
", moyaPriority='" + moyaPriority + '\'' +
", moyaSrcsysbillno='" + moyaSrcsysbillno + '\'' +
", moyaBizstatus='" + moyaBizstatus + '\'' +
", billstatus='" + billstatus + '\'' +
", moyaRemark='" + moyaRemark + '\'' +
", h7f1Ptsmessage='" + h7f1Ptsmessage + '\'' +
", h7f1Easbillno='" + h7f1Easbillno + '\'' +
", h7f1CustomerNumber='" + h7f1CustomerNumber + '\'' +
", h7f1Sourcesystem='" + h7f1Sourcesystem + '\'' +
", h7f1SourcetypeNumber='" + h7f1SourcetypeNumber + '\'' +
", status='" + status + '\'' +
", returnCode='" + returnCode + '\'' +
", returnMessage='" + returnMessage + '\'' +
", createTime='" + createTime + '\'' +
'}';
}
}

View File

@@ -0,0 +1,172 @@
package com.project.joggle.domain;
import java.math.BigDecimal;
/**
* ToKwmsOutStockoutDetail
*/
public class ToKwmsOutStockoutDetail {
/**
* 子表主键ID
*/
private String outDetailId;
/**
* 关联主表ID
*/
private String outId;
/**
* 商品明细.分录行号
*/
private Integer seq;
/**
* 商品编码.编码
*/
private String moyaGoodsNumber;
/**
* 商品明细.计划总数
*/
private BigDecimal moyaQty;
/**
* 商品明细.批号
*/
private String moyaLotnumber;
/**
* 商品明细.来源系统行ID
*/
private String h7f1Srcsysentryid;
/**
* 托盘号.编码
*/
private String moyaContainernoNumber;
/**
* 商品状态.编码
*/
private String moyaGoodDefectiveNumber;
/**
* 指定库位.编码
*/
private String moyaLocationNumber;
/**
* 商品明细.虚拟托盘号
*/
private String h7f1Trayno;
/**
* 商品明细.备注
*/
private String h7f1Remarkentity;
public String getOutDetailId() {
return outDetailId;
}
public void setOutDetailId(String outDetailId) {
this.outDetailId = outDetailId;
}
public String getOutId() {
return outId;
}
public void setOutId(String outId) {
this.outId = outId;
}
public Integer getSeq() {
return seq;
}
public void setSeq(Integer seq) {
this.seq = seq;
}
public String getMoyaGoodsNumber() {
return moyaGoodsNumber;
}
public void setMoyaGoodsNumber(String moyaGoodsNumber) {
this.moyaGoodsNumber = moyaGoodsNumber;
}
public BigDecimal getMoyaQty() {
return moyaQty;
}
public void setMoyaQty(BigDecimal moyaQty) {
this.moyaQty = moyaQty;
}
public String getMoyaLotnumber() {
return moyaLotnumber;
}
public void setMoyaLotnumber(String moyaLotnumber) {
this.moyaLotnumber = moyaLotnumber;
}
public String getH7f1Srcsysentryid() {
return h7f1Srcsysentryid;
}
public void setH7f1Srcsysentryid(String h7f1Srcsysentryid) {
this.h7f1Srcsysentryid = h7f1Srcsysentryid;
}
public String getMoyaContainernoNumber() {
return moyaContainernoNumber;
}
public void setMoyaContainernoNumber(String moyaContainernoNumber) {
this.moyaContainernoNumber = moyaContainernoNumber;
}
public String getMoyaGoodDefectiveNumber() {
return moyaGoodDefectiveNumber;
}
public void setMoyaGoodDefectiveNumber(String moyaGoodDefectiveNumber) {
this.moyaGoodDefectiveNumber = moyaGoodDefectiveNumber;
}
public String getMoyaLocationNumber() {
return moyaLocationNumber;
}
public void setMoyaLocationNumber(String moyaLocationNumber) {
this.moyaLocationNumber = moyaLocationNumber;
}
public String getH7f1Trayno() {
return h7f1Trayno;
}
public void setH7f1Trayno(String h7f1Trayno) {
this.h7f1Trayno = h7f1Trayno;
}
public String getH7f1Remarkentity() {
return h7f1Remarkentity;
}
public void setH7f1Remarkentity(String h7f1Remarkentity) {
this.h7f1Remarkentity = h7f1Remarkentity;
}
@Override
public String toString() {
return "ToKwmsOutStockoutDetail{" +
"outDetailId='" + outDetailId + '\'' +
", outId='" + outId + '\'' +
", seq='" + seq + '\'' +
", moyaGoodsNumber='" + moyaGoodsNumber + '\'' +
", moyaQty='" + moyaQty + '\'' +
", moyaLotnumber='" + moyaLotnumber + '\'' +
", h7f1Srcsysentryid='" + h7f1Srcsysentryid + '\'' +
", moyaContainernoNumber='" + moyaContainernoNumber + '\'' +
", moyaGoodDefectiveNumber='" + moyaGoodDefectiveNumber + '\'' +
", moyaLocationNumber='" + moyaLocationNumber + '\'' +
", h7f1Trayno='" + h7f1Trayno + '\'' +
", h7f1Remarkentity='" + h7f1Remarkentity + '\'' +
'}';
}
}

View File

@@ -0,0 +1,276 @@
package com.project.joggle.domain;
import java.util.Date;
/**
* ToKwmsTransfer
*/
public class ToKwmsTransfer {
/**
* 主键ID
*/
private String transferId;
/**
* 单据类型.编码
*/
private String moyaBilltypeNumber;
/**
* 业务类型.编码
*/
private String moyaBiztypeNumber;
/**
* 调出组织.编码
*/
private String orgNumber;
/**
* 调出货主类型
*/
private String moyaOwnertype;
/**
* 调出货主.编码
*/
private String moyaOwnerNumber;
/**
* 调出仓库.编码
*/
private String moyaWarehouseNumber;
/**
* 调入组织.编码
*/
private String moyaInorgNumber;
/**
* 调入货主类型
*/
private String moyaInownertype;
/**
* 调入货主.编码
*/
private String moyaInownerNumber;
/**
* 调入仓库.编码
*/
private String moyaInwarehouseNumber;
/**
* 业务日期
*/
private Date moyaBiztime;
/**
* 单据状态
*/
private String billstatus;
/**
* 备注
*/
private String moyaRemark;
/**
* 来源系统
*/
private String h7f1Sourcesystem;
/**
* 来源系统单号
*/
private String moyaHsrcbillno;
/**
* 状态
*/
private Integer status;
/**
* 返回代码
*/
private String returnCode;
/**
* 返回信息
*/
private String returnMessage;
/**
* 创建时间
*/
private String createTime;
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public String getMoyaBilltypeNumber() {
return moyaBilltypeNumber;
}
public void setMoyaBilltypeNumber(String moyaBilltypeNumber) {
this.moyaBilltypeNumber = moyaBilltypeNumber;
}
public String getMoyaBiztypeNumber() {
return moyaBiztypeNumber;
}
public void setMoyaBiztypeNumber(String moyaBiztypeNumber) {
this.moyaBiztypeNumber = moyaBiztypeNumber;
}
public String getOrgNumber() {
return orgNumber;
}
public void setOrgNumber(String orgNumber) {
this.orgNumber = orgNumber;
}
public String getMoyaOwnertype() {
return moyaOwnertype;
}
public void setMoyaOwnertype(String moyaOwnertype) {
this.moyaOwnertype = moyaOwnertype;
}
public String getMoyaOwnerNumber() {
return moyaOwnerNumber;
}
public void setMoyaOwnerNumber(String moyaOwnerNumber) {
this.moyaOwnerNumber = moyaOwnerNumber;
}
public String getMoyaWarehouseNumber() {
return moyaWarehouseNumber;
}
public void setMoyaWarehouseNumber(String moyaWarehouseNumber) {
this.moyaWarehouseNumber = moyaWarehouseNumber;
}
public String getMoyaInorgNumber() {
return moyaInorgNumber;
}
public void setMoyaInorgNumber(String moyaInorgNumber) {
this.moyaInorgNumber = moyaInorgNumber;
}
public String getMoyaInownertype() {
return moyaInownertype;
}
public void setMoyaInownertype(String moyaInownertype) {
this.moyaInownertype = moyaInownertype;
}
public String getMoyaInownerNumber() {
return moyaInownerNumber;
}
public void setMoyaInownerNumber(String moyaInownerNumber) {
this.moyaInownerNumber = moyaInownerNumber;
}
public String getMoyaInwarehouseNumber() {
return moyaInwarehouseNumber;
}
public void setMoyaInwarehouseNumber(String moyaInwarehouseNumber) {
this.moyaInwarehouseNumber = moyaInwarehouseNumber;
}
public Date getMoyaBiztime() {
return moyaBiztime;
}
public void setMoyaBiztime(Date moyaBiztime) {
this.moyaBiztime = moyaBiztime;
}
public String getBillstatus() {
return billstatus;
}
public void setBillstatus(String billstatus) {
this.billstatus = billstatus;
}
public String getMoyaRemark() {
return moyaRemark;
}
public void setMoyaRemark(String moyaRemark) {
this.moyaRemark = moyaRemark;
}
public String getH7f1Sourcesystem() {
return h7f1Sourcesystem;
}
public void setH7f1Sourcesystem(String h7f1Sourcesystem) {
this.h7f1Sourcesystem = h7f1Sourcesystem;
}
public String getMoyaHsrcbillno() {
return moyaHsrcbillno;
}
public void setMoyaHsrcbillno(String moyaHsrcbillno) {
this.moyaHsrcbillno = moyaHsrcbillno;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "ToKwmsTransfer{" +
"transferId='" + transferId + '\'' +
", moyaBilltypeNumber='" + moyaBilltypeNumber + '\'' +
", moyaBiztypeNumber='" + moyaBiztypeNumber + '\'' +
", orgNumber='" + orgNumber + '\'' +
", moyaOwnertype='" + moyaOwnertype + '\'' +
", moyaOwnerNumber='" + moyaOwnerNumber + '\'' +
", moyaWarehouseNumber='" + moyaWarehouseNumber + '\'' +
", moyaInorgNumber='" + moyaInorgNumber + '\'' +
", moyaInownertype='" + moyaInownertype + '\'' +
", moyaInownerNumber='" + moyaInownerNumber + '\'' +
", moyaInwarehouseNumber='" + moyaInwarehouseNumber + '\'' +
", moyaBiztime='" + moyaBiztime + '\'' +
", billstatus='" + billstatus + '\'' +
", moyaRemark='" + moyaRemark + '\'' +
", h7f1Sourcesystem='" + h7f1Sourcesystem + '\'' +
", moyaHsrcbillno='" + moyaHsrcbillno + '\'' +
", status='" + status + '\'' +
", returnCode='" + returnCode + '\'' +
", returnMessage='" + returnMessage + '\'' +
", createTime='" + createTime + '\'' +
'}';
}
}

View File

@@ -0,0 +1,212 @@
package com.project.joggle.domain;
import java.math.BigDecimal;
import java.util.Date;
/**
* ToKwmsTransferDetail
*/
public class ToKwmsTransferDetail {
/**
* 子表主键ID
*/
private String transferDetailId;
/**
* 关联主表ID
*/
private String transferId;
/**
* 商品明细.分录行号
*/
private Integer seq;
/**
* 商品信息.编码
*/
private String moyaGoodsNumber;
/**
* 商品明细.调入总数量
*/
private BigDecimal moyaTotalinqty;
/**
* 商品明细.批号
*/
private String moyaLotnumber;
/**
* 调出库位.库位编码
*/
private String moyaLocationName;
/**
* 调出托盘号.编码
*/
private String moyaContainernoNumber;
/**
* 调入库位.编码
*/
private String moyaInlocationNumber;
/**
* 调入托盘号.编码
*/
private String moyaIncontainernoNumber;
/**
* 商品明细.来源系统行ID
*/
private String h7f1Srcsysentryid;
/**
* 商品状态.编码
*/
private String moyaGoodDefectiveNumber;
/**
* 商品明细.生产日期
*/
private Date h7f1Productiondate;
/**
* 商品明细.条码
*/
private String h7f1Zsbarcode;
/**
* 商品明细.虚拟托盘号
*/
private String h7f1Trayno;
public String getTransferDetailId() {
return transferDetailId;
}
public void setTransferDetailId(String transferDetailId) {
this.transferDetailId = transferDetailId;
}
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public Integer getSeq() {
return seq;
}
public void setSeq(Integer seq) {
this.seq = seq;
}
public String getMoyaGoodsNumber() {
return moyaGoodsNumber;
}
public void setMoyaGoodsNumber(String moyaGoodsNumber) {
this.moyaGoodsNumber = moyaGoodsNumber;
}
public BigDecimal getMoyaTotalinqty() {
return moyaTotalinqty;
}
public void setMoyaTotalinqty(BigDecimal moyaTotalinqty) {
this.moyaTotalinqty = moyaTotalinqty;
}
public String getMoyaLotnumber() {
return moyaLotnumber;
}
public void setMoyaLotnumber(String moyaLotnumber) {
this.moyaLotnumber = moyaLotnumber;
}
public String getMoyaLocationName() {
return moyaLocationName;
}
public void setMoyaLocationName(String moyaLocationName) {
this.moyaLocationName = moyaLocationName;
}
public String getMoyaContainernoNumber() {
return moyaContainernoNumber;
}
public void setMoyaContainernoNumber(String moyaContainernoNumber) {
this.moyaContainernoNumber = moyaContainernoNumber;
}
public String getMoyaInlocationNumber() {
return moyaInlocationNumber;
}
public void setMoyaInlocationNumber(String moyaInlocationNumber) {
this.moyaInlocationNumber = moyaInlocationNumber;
}
public String getMoyaIncontainernoNumber() {
return moyaIncontainernoNumber;
}
public void setMoyaIncontainernoNumber(String moyaIncontainernoNumber) {
this.moyaIncontainernoNumber = moyaIncontainernoNumber;
}
public String getH7f1Srcsysentryid() {
return h7f1Srcsysentryid;
}
public void setH7f1Srcsysentryid(String h7f1Srcsysentryid) {
this.h7f1Srcsysentryid = h7f1Srcsysentryid;
}
public String getMoyaGoodDefectiveNumber() {
return moyaGoodDefectiveNumber;
}
public void setMoyaGoodDefectiveNumber(String moyaGoodDefectiveNumber) {
this.moyaGoodDefectiveNumber = moyaGoodDefectiveNumber;
}
public Date getH7f1Productiondate() {
return h7f1Productiondate;
}
public void setH7f1Productiondate(Date h7f1Productiondate) {
this.h7f1Productiondate = h7f1Productiondate;
}
public String getH7f1Zsbarcode() {
return h7f1Zsbarcode;
}
public void setH7f1Zsbarcode(String h7f1Zsbarcode) {
this.h7f1Zsbarcode = h7f1Zsbarcode;
}
public String getH7f1Trayno() {
return h7f1Trayno;
}
public void setH7f1Trayno(String h7f1Trayno) {
this.h7f1Trayno = h7f1Trayno;
}
@Override
public String toString() {
return "ToKwmsTransferDetail{" +
"transferDetailId='" + transferDetailId + '\'' +
", transferId='" + transferId + '\'' +
", seq='" + seq + '\'' +
", moyaGoodsNumber='" + moyaGoodsNumber + '\'' +
", moyaTotalinqty='" + moyaTotalinqty + '\'' +
", moyaLotnumber='" + moyaLotnumber + '\'' +
", moyaLocationName='" + moyaLocationName + '\'' +
", moyaContainernoNumber='" + moyaContainernoNumber + '\'' +
", moyaInlocationNumber='" + moyaInlocationNumber + '\'' +
", moyaIncontainernoNumber='" + moyaIncontainernoNumber + '\'' +
", h7f1Srcsysentryid='" + h7f1Srcsysentryid + '\'' +
", moyaGoodDefectiveNumber='" + moyaGoodDefectiveNumber + '\'' +
", h7f1Productiondate='" + h7f1Productiondate + '\'' +
", h7f1Zsbarcode='" + h7f1Zsbarcode + '\'' +
", h7f1Trayno='" + h7f1Trayno + '\'' +
'}';
}
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsAgjustDetail;
import java.util.List;
public interface ToKwmsAgjustDetailMapper {
int insertToKwmsAgjustDetail(ToKwmsAgjustDetail record);
int deleteToKwmsAgjustDetail(String id);
int updateToKwmsAgjustDetail(ToKwmsAgjustDetail record);
ToKwmsAgjustDetail selectToKwmsAgjustDetailById(String id);
List<ToKwmsAgjustDetail> selectToKwmsAgjustDetailList(ToKwmsAgjustDetail record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsInStockinDetail;
import java.util.List;
public interface ToKwmsInStockinDetailMapper {
int insertToKwmsInStockinDetail(ToKwmsInStockinDetail record);
int deleteToKwmsInStockinDetail(String id);
int updateToKwmsInStockinDetail(ToKwmsInStockinDetail record);
ToKwmsInStockinDetail selectToKwmsInStockinDetailById(String id);
List<ToKwmsInStockinDetail> selectToKwmsInStockinDetailList(ToKwmsInStockinDetail record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsInStockin;
import java.util.List;
public interface ToKwmsInStockinMapper {
int insertToKwmsInStockin(ToKwmsInStockin record);
int deleteToKwmsInStockin(String id);
int updateToKwmsInStockin(ToKwmsInStockin record);
ToKwmsInStockin selectToKwmsInStockinById(String id);
List<ToKwmsInStockin> selectToKwmsInStockinList(ToKwmsInStockin record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsMoveDetail;
import java.util.List;
public interface ToKwmsMoveDetailMapper {
int insertToKwmsMoveDetail(ToKwmsMoveDetail record);
int deleteToKwmsMoveDetail(String id);
int updateToKwmsMoveDetail(ToKwmsMoveDetail record);
ToKwmsMoveDetail selectToKwmsMoveDetailById(String id);
List<ToKwmsMoveDetail> selectToKwmsMoveDetailList(ToKwmsMoveDetail record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsMove;
import java.util.List;
public interface ToKwmsMoveMapper {
int insertToKwmsMove(ToKwmsMove record);
int deleteToKwmsMove(String id);
int updateToKwmsMove(ToKwmsMove record);
ToKwmsMove selectToKwmsMoveById(String id);
List<ToKwmsMove> selectToKwmsMoveList(ToKwmsMove record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsOutStockoutDetail;
import java.util.List;
public interface ToKwmsOutStockoutDetailMapper {
int insertToKwmsOutStockoutDetail(ToKwmsOutStockoutDetail record);
int deleteToKwmsOutStockoutDetail(String id);
int updateToKwmsOutStockoutDetail(ToKwmsOutStockoutDetail record);
ToKwmsOutStockoutDetail selectToKwmsOutStockoutDetailById(String id);
List<ToKwmsOutStockoutDetail> selectToKwmsOutStockoutDetailList(ToKwmsOutStockoutDetail record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsOutStockout;
import java.util.List;
public interface ToKwmsOutStockoutMapper {
int insertToKwmsOutStockout(ToKwmsOutStockout record);
int deleteToKwmsOutStockout(String id);
int updateToKwmsOutStockout(ToKwmsOutStockout record);
ToKwmsOutStockout selectToKwmsOutStockoutById(String id);
List<ToKwmsOutStockout> selectToKwmsOutStockoutList(ToKwmsOutStockout record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsTransferDetail;
import java.util.List;
public interface ToKwmsTransferDetailMapper {
int insertToKwmsTransferDetail(ToKwmsTransferDetail record);
int deleteToKwmsTransferDetail(String id);
int updateToKwmsTransferDetail(ToKwmsTransferDetail record);
ToKwmsTransferDetail selectToKwmsTransferDetailById(String id);
List<ToKwmsTransferDetail> selectToKwmsTransferDetailList(ToKwmsTransferDetail record);
}

View File

@@ -0,0 +1,18 @@
package com.project.joggle.mapper;
import com.project.joggle.domain.ToKwmsTransfer;
import java.util.List;
public interface ToKwmsTransferMapper {
int insertToKwmsTransfer(ToKwmsTransfer record);
int deleteToKwmsTransfer(String id);
int updateToKwmsTransfer(ToKwmsTransfer record);
ToKwmsTransfer selectToKwmsTransferById(String id);
List<ToKwmsTransfer> selectToKwmsTransferList(ToKwmsTransfer record);
}

View File

@@ -1,224 +0,0 @@
<?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.project.joggle.mapper.InPtsProductionDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.InPtsProductionDetail">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="action" column="action" jdbcType="INTEGER"/>
<result property="parentTraceCode" column="parent_trace_code" jdbcType="VARCHAR"/>
<result property="parentAppendCode" column="parent_append_code" jdbcType="VARCHAR"/>
<result property="productNo" column="product_no" jdbcType="VARCHAR"/>
<result property="productName" column="product_name" jdbcType="VARCHAR"/>
<result property="productSpec" column="product_spec" jdbcType="VARCHAR"/>
<result property="packagingRatioName" column="packaging_ratio_name" jdbcType="VARCHAR"/>
<result property="productionDate" column="production_date" jdbcType="VARCHAR"/>
<result property="productionBatch" column="production_batch" jdbcType="VARCHAR"/>
<result property="expirationDate" column="expiration_date" jdbcType="VARCHAR"/>
<result property="sourceNo" column="source_no" jdbcType="VARCHAR"/>
<result property="taskNo" column="task_no" jdbcType="VARCHAR"/>
<result property="lineNo" column="line_no" jdbcType="VARCHAR"/>
<result property="teamGroupNo" column="team_group_no" jdbcType="VARCHAR"/>
<result property="machineNo" column="machine_no" jdbcType="VARCHAR"/>
<result property="fuzzy" column="fuzzy" jdbcType="INTEGER"/>
<result property="curCode" column="cur_code" jdbcType="VARCHAR"/>
<result property="scanNo" column="scan_no" jdbcType="INTEGER"/>
<result property="layerNo" column="layer_no" jdbcType="INTEGER"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
<result property="inType" column="in_type" jdbcType="VARCHAR"/>
<result property="errorcount" column="errorcount" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
id, action, parent_trace_code,parent_append_code,
product_no, product_name, product_spec,
packaging_ratio_name, production_date, production_batch,
expiration_date, source_no, task_no,
line_no, team_group_no, machine_no,
fuzzy, cur_code, scan_no,
layer_no, status,in_type,errorcount
</sql>
<select id="selectInptsProductionDetailList" parameterType="InPtsProductionDetail" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
<where>
<if test="id != null and id != ''">AND id = #{id}</if>
<if test="action != null and action != ''">AND action = #{action}</if>
<if test="parentTraceCode != null and parentTraceCode != ''">AND parent_trace_code = #{parentTraceCode}</if>
<if test="parentAppendCode != null and parentAppendCode != ''">AND parent_append_code = #{parentAppendCode}</if>
<if test="productNo != null and productNo != ''">AND product_no = #{productNo}</if>
<if test="productName != null and productName != ''">AND product_name = #{productName}</if>
<if test="productSpec != null and productSpec != ''">AND product_spec = #{productSpec}</if>
<if test="packagingRatioName != null and packagingRatioName != ''">AND packaging_ratio_name = #{packagingRatioName}</if>
<if test="productionDate != null">AND production_date = #{productionDate}</if>
<if test="productionBatch != null and productionBatch != ''">AND production_batch = #{productionBatch}</if>
<if test="expirationDate != null">AND expiration_date = #{expirationDate}</if>
<if test="sourceNo != null and sourceNo != ''">AND source_no = #{sourceNo}</if>
<if test="taskNo != null and taskNo != ''">AND task_no = #{taskNo}</if>
<if test="lineNo != null and lineNo != ''">AND line_no = #{lineNo}</if>
<if test="teamGroupNo != null and teamGroupNo != ''">AND team_group_no = #{teamGroupNo}</if>
<if test="machineNo != null and machineNo != ''">AND machine_no = #{machineNo}</if>
<if test="fuzzy != null">AND fuzzy = #{fuzzy}</if>
<if test="status != null and status != ''">AND status = #{status}</if>
<if test="inType != null and inType != ''">AND in_type = #{inType}</if>
</where>
</select>
<insert id="insertInPtsProductionDetail" parameterType="com.project.joggle.domain.InPtsProductionDetail">
INSERT INTO in_pts_production_detail
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">id,</if>
<if test="action != null "> action,</if>
<if test="parentTraceCode != null and parentTraceCode != ''">parent_trace_code,</if>
<if test="parentAppendCode != null and parentAppendCode != ''">parent_append_code,</if>
<if test="productNo != null and productNo != ''">product_no,</if>
<if test="productName != null and productName != ''">product_name,</if>
<if test="productSpec != null and productSpec != ''">product_spec,</if>
<if test="packagingRatioName != null and packagingRatioName != ''">packaging_ratio_name,</if>
<if test="productionDate != null">production_date,</if>
<if test="productionBatch != null and productionBatch != ''">production_batch,</if>
<if test="expirationDate != null">expiration_date,</if>
<if test="sourceNo != null and sourceNo != ''">source_no,</if>
<if test="taskNo != null and taskNo != ''">task_no,</if>
<if test="lineNo != null and lineNo != ''">line_no,</if>
<if test="teamGroupNo != null and teamGroupNo != ''">team_group_no,</if>
<if test="machineNo != null and machineNo != ''">machine_no,</if>
<if test="fuzzy != null">fuzzy,</if>
<if test="curCode != null and curCode != ''">cur_code,</if>
<if test="scanNo != null">scan_no,</if>
<if test="layerNo != null">layer_no,</if>
<if test="status != null and status != ''">status,</if>
<if test="inType != null and inType != ''">in_type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">#{id},</if>
<if test="action != null ">#{action},</if>
<if test="parentTraceCode != null and parentTraceCode != ''">#{parentTraceCode},</if>
<if test="parentAppendCode != null and parentAppendCode != ''">#{parentAppendCode},</if>
<if test="productNo != null and productNo != ''">#{productNo},</if>
<if test="productName != null and productName != ''">#{productName},</if>
<if test="productSpec != null and productSpec != ''">#{productSpec},</if>
<if test="packagingRatioName != null and packagingRatioName != ''">#{packagingRatioName},</if>
<if test="productionDate != null">#{productionDate},</if>
<if test="productionBatch != null and productionBatch != ''">#{productionBatch},</if>
<if test="expirationDate != null">#{expirationDate},</if>
<if test="sourceNo != null and sourceNo != ''">#{sourceNo},</if>
<if test="taskNo != null and taskNo != ''">#{taskNo},</if>
<if test="lineNo != null and lineNo != ''">#{lineNo},</if>
<if test="teamGroupNo != null and teamGroupNo != ''">#{teamGroupNo},</if>
<if test="machineNo != null and machineNo != ''">#{machineNo},</if>
<if test="fuzzy != null">#{fuzzy},</if>
<if test="curCode != null and curCode != ''">#{curCode},</if>
<if test="scanNo != null">#{scanNo},</if>
<if test="layerNo != null">#{layerNo},</if>
<if test="status != null and status != ''">#{status},</if>
<if test="inType != null and inType != ''">#{inType},</if>
</trim>
</insert>
<update id="updateInPtsProductionDetail" parameterType="com.project.joggle.domain.InPtsProductionDetail">
UPDATE in_pts_production_detail
<set>
<if test="action != null and action != ''">action = #{action},</if>
<if test="parentTraceCode != null and parentTraceCode != ''">parent_trace_code = #{parentTraceCode},</if>
<if test="parentAppendCode != null and parentAppendCode != ''">parent_append_code = #{parentAppendCode},</if>
<if test="productNo != null and productNo != ''">product_no = #{productNo},</if>
<if test="productName != null and productName != ''">product_name = #{productName},</if>
<if test="productSpec != null and productSpec != ''">product_spec = #{productSpec},</if>
<if test="packagingRatioName != null and packagingRatioName != ''">packaging_ratio_name = #{packagingRatioName},</if>
<if test="productionDate != null">production_date = #{productionDate},</if>
<if test="productionBatch != null and productionBatch != ''">production_batch = #{productionBatch},</if>
<if test="expirationDate != null">expiration_date = #{expirationDate},</if>
<if test="sourceNo != null and sourceNo != ''">source_no = #{sourceNo},</if>
<if test="taskNo != null and taskNo != ''">task_no = #{taskNo},</if>
<if test="lineNo != null and lineNo != ''">line_no = #{lineNo},</if>
<if test="teamGroupNo != null and teamGroupNo != ''">team_group_no = #{teamGroupNo},</if>
<if test="machineNo != null and machineNo != ''">machine_no = #{machineNo},</if>
<if test="fuzzy != null">fuzzy = #{fuzzy},</if>
<if test="curCode != null and curCode != ''">cur_code = #{curCode},</if>
<if test="scanNo != null">scan_no = #{scanNo},</if>
<if test="layerNo != null">layer_no = #{layerNo},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="inType != null and inType != ''">in_type = #{inType},</if>
</set>
WHERE id = #{id}
</update>
<update id="updateStatusByParentAppendCode" parameterType="string">
UPDATE in_pts_production_detail
SET status = #{status}
WHERE parent_append_code = #{parentAppendCode} and status = '0'
</update>
<select id="selectInPtsProductionDetailById" resultMap="BaseResultMap" parameterType="com.project.joggle.domain.InPtsProductionDetail">
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
WHERE id = #{id}
</select>
<delete id="deleteInPtsProductionDetail" parameterType="string">
DELETE FROM in_pts_production_detail
WHERE id = #{id}
</delete>
<select id="selectInptsProductionDetailByParentAppendCode" parameterType="string" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
WHERE parent_append_code = #{parentAppendCode}
and status = '0'
</select>
<select id="selectTopInptsProductionDetail" resultMap="BaseResultMap">
SELECT * FROM (
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
WHERE status in (2,4)
and in_type in (1,4)
and (errorcount is null or errorcount &lt;3)
order by production_date asc
) WHERE ROWNUM = 1
</select>
<select id="selectInptsProductionDetailBySourceNo" parameterType="string" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
WHERE source_no = #{sourceNo}
and status in (2,4)
and in_type =4
</select>
<select id="selectInPtsProductionDetailByAppendCodeAndStatus" parameterType="string" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"/>
FROM in_pts_production_detail
WHERE parent_append_code = #{parentAppendCode}
and status in (2,4)
and in_type =4
</select>
<update id="updateInPtsProductionDetailByParentAppendCode" parameterType="string">
UPDATE in_pts_production_detail
<set>
<if test="status != null and status != ''">
status = #{status}
</if>
<if test="errorcount !=null and errorcount != ''">
errorcount= #{errorcount}
</if>
</set>
WHERE parent_append_code = #{parentAppendCode}
and status='2'
</update>
<update id="updateInPtsProductionDetailByOrderNo" parameterType="string">
UPDATE in_pts_production_detail
SET status = #{status}
WHERE parent_append_code = #{parentAppendCode}
and status > 2
</update>
</mapper>

View File

@@ -1,49 +0,0 @@
<?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.project.joggle.mapper.InStockinMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.InStockin">
<result property="stockinId" column="STOCKIN_ID" jdbcType="VARCHAR"/>
<result property="inType" column="IN_TYPE" jdbcType="VARCHAR"/>
<result property="createDate" column="CREATE_DATE" jdbcType="TIMESTAMP"/>
<result property="supplierId" column="SUPPLIER_ID" jdbcType="VARCHAR"/>
<result property="createManId" column="CREATE_MAN_ID" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="warehouseId" column="WAREHOUSE_ID" jdbcType="VARCHAR"/>
<result property="classNowId" column="CLASS_NOW_ID" jdbcType="VARCHAR"/>
<result property="stockinGuid" column="STOCKIN_GUID" jdbcType="VARCHAR"/>
<result property="stockinSource" column="STOCKIN_SOURCE" jdbcType="VARCHAR"/>
<result property="lineId" column="LINE_ID" jdbcType="VARCHAR"/>
<result property="fid" column="FID" jdbcType="VARCHAR"/>
<result property="supplierName" column="SUPPLIER_NAME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
STOCKIN_ID,IN_TYPE,CREATE_DATE,
SUPPLIER_ID,CREATE_MAN_ID,STATUS,
WAREHOUSE_ID,CLASS_NOW_ID,STOCKIN_GUID,
STOCKIN_SOURCE,LINE_ID,FID
</sql>
<select id="selectInStockinByStockinId" resultMap="BaseResultMap" parameterType="string">
select
i.STOCKIN_ID,i.IN_TYPE,i.CREATE_DATE,
i.SUPPLIER_ID,i.CREATE_MAN_ID,i.STATUS,
i.WAREHOUSE_ID,i.CLASS_NOW_ID,i.STOCKIN_GUID,
i.STOCKIN_SOURCE,i.LINE_ID,i.FID,b.SUPPLIER_NAME
from IN_STOCKIN i left join BAS_SUPPLIER b on i.SUPPLIER_ID = b.SUPPLIER_NO
where STOCKIN_ID = #{stockinId}
</select>
<select id="selectInstockinFinishByStockinId" resultMap="BaseResultMap" parameterType="string">
select
i.STOCKIN_ID,i.IN_TYPE,i.CREATE_DATE,
i.SUPPLIER_ID,i.CREATE_MAN_ID,i.STATUS,
i.WAREHOUSE_ID,i.CLASS_NOW_ID,i.STOCKIN_GUID,
i.STOCKIN_SOURCE,i.LINE_ID,i.FID,b.SUPPLIER_NAME
from IN_STOCKIN_FINISH i left join BAS_SUPPLIER b on i.SUPPLIER_ID = b.SUPPLIER_NO
where STOCKIN_ID = #{stockinId}
</select>
</mapper>

View File

@@ -1,209 +0,0 @@
<?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.project.joggle.mapper.MydoJobMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.MydoJob">
<result property="jobId" column="JOB_ID" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="onLineType" column="ON_LINE_TYPE" jdbcType="VARCHAR"/>
<result property="taskNo" column="TASK_NO" jdbcType="VARCHAR"/>
<result property="supplierId" column="SUPPLIER_ID" jdbcType="VARCHAR"/>
<result property="customerId" column="CUSTOMER_ID" jdbcType="VARCHAR"/>
<result property="trayCode" column="TRAY_CODE" jdbcType="VARCHAR"/>
<result property="roadwayId" column="ROADWAY_ID" jdbcType="VARCHAR"/>
<result property="cargoSpaceId" column="CARGO_SPACE_ID" jdbcType="VARCHAR"/>
<result property="lineId" column="LINE_ID" jdbcType="VARCHAR"/>
<result property="workshopId" column="WORKSHOP_ID" jdbcType="VARCHAR"/>
<result property="entranceId" column="ENTRANCE_ID" jdbcType="VARCHAR"/>
<result property="exitId" column="EXIT_ID" jdbcType="VARCHAR"/>
<result property="priority" column="PRIORITY" jdbcType="DECIMAL"/>
<result property="inOrOut" column="IN_OR_OUT" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/>
<result property="startTime" column="START_TIME" jdbcType="TIMESTAMP"/>
<result property="finishTime" column="FINISH_TIME" jdbcType="TIMESTAMP"/>
<result property="classNowName" column="CLASS_NOW_NAME" jdbcType="VARCHAR"/>
<result property="classWorkshopName" column="CLASS_WORKSHOP_NAME" jdbcType="VARCHAR"/>
<result property="warehouseId" column="WAREHOUSE_ID" jdbcType="VARCHAR"/>
<result property="targetRoadwayId" column="TARGET_ROADWAY_ID" jdbcType="VARCHAR"/>
<result property="targetCargoSpaceId" column="TARGET_CARGO_SPACE_ID" jdbcType="VARCHAR"/>
<result property="executionPhase" column="EXECUTION_PHASE" jdbcType="VARCHAR"/>
<result property="classgroupNumber" column="CLASSGROUP_NUMBER" jdbcType="VARCHAR"/>
<result property="classWorkshopDateTime" column="CLASS_WORKSHOP_DATE_TIME" jdbcType="VARCHAR"/>
<result property="classId" column="CLASS_ID" jdbcType="VARCHAR"/>
<result property="classNowDateTime" column="CLASS_NOW_DATE_TIME" jdbcType="VARCHAR"/>
<result property="carNumber" column="CAR_NUMBER" jdbcType="VARCHAR"/>
<result property="faultFlag" column="FAULT_FLAG" jdbcType="VARCHAR"/>
<result property="outId" column="OUT_ID" jdbcType="DECIMAL"/>
<result property="relatedId" column="RELATED_ID" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
JOB_ID,STATUS,ON_LINE_TYPE,
TASK_NO,SUPPLIER_ID,CUSTOMER_ID,
TRAY_CODE,ROADWAY_ID,CARGO_SPACE_ID,
LINE_ID,WORKSHOP_ID,ENTRANCE_ID,
EXIT_ID,PRIORITY,IN_OR_OUT,
CREATE_TIME,START_TIME,FINISH_TIME,
CLASS_NOW_NAME,CLASS_WORKSHOP_NAME,WAREHOUSE_ID,
TARGET_ROADWAY_ID,TARGET_CARGO_SPACE_ID,EXECUTION_PHASE,
CLASSGROUP_NUMBER,CLASS_WORKSHOP_DATE_TIME,CLASS_ID,
CLASS_NOW_DATE_TIME,CAR_NUMBER,FAULT_FLAG,
OUT_ID,RELATED_ID
</sql>
<insert id="insertMydoJob" parameterType="com.project.joggle.domain.MydoJob">
INSERT INTO MYDO_JOB
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jobId != null">JOB_ID,</if>
<if test="status != null">STATUS,</if>
<if test="onLineType != null">ON_LINE_TYPE,</if>
<if test="taskNo != null">TASK_NO,</if>
<if test="supplierId != null">SUPPLIER_ID,</if>
<if test="customerId != null">CUSTOMER_ID,</if>
<if test="trayCode != null">TRAY_CODE,</if>
<if test="roadwayId != null">ROADWAY_ID,</if>
<if test="cargoSpaceId != null">CARGO_SPACE_ID,</if>
<if test="lineId != null">LINE_ID,</if>
<if test="workshopId != null">WORKSHOP_ID,</if>
<if test="entranceId != null">ENTRANCE_ID,</if>
<if test="exitId != null">EXIT_ID,</if>
<if test="priority != null">PRIORITY,</if>
<if test="inOrOut != null">IN_OR_OUT,</if>
<if test="createTime != null">CREATE_TIME,</if>
<if test="startTime != null">START_TIME,</if>
<if test="finishTime != null">FINISH_TIME,</if>
<if test="classNowName != null">CLASS_NOW_NAME,</if>
<if test="classWorkshopName != null">CLASS_WORKSHOP_NAME,</if>
<if test="warehouseId != null">WAREHOUSE_ID,</if>
<if test="targetRoadwayId != null">TARGET_ROADWAY_ID,</if>
<if test="targetCargoSpaceId != null">TARGET_CARGO_SPACE_ID,</if>
<if test="executionPhase != null">EXECUTION_PHASE,</if>
<if test="classgroupNumber != null">CLASSGROUP_NUMBER,</if>
<if test="classWorkshopDateTime != null">CLASS_WORKSHOP_DATE_TIME,</if>
<if test="classId != null">CLASS_ID,</if>
<if test="classNowDateTime != null">CLASS_NOW_DATE_TIME,</if>
<if test="carNumber != null">CAR_NUMBER,</if>
<if test="faultFlag != null">FAULT_FLAG,</if>
<if test="outId != null">OUT_ID,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jobId != null">#{jobId},</if>
<if test="status != null">#{status},</if>
<if test="onLineType != null">#{onLineType},</if>
<if test="taskNo != null">#{taskNo},</if>
<if test="supplierId != null">#{supplierId},</if>
<if test="customerId != null">#{customerId},</if>
<if test="trayCode != null">#{trayCode},</if>
<if test="roadwayId != null">#{roadwayId},</if>
<if test="cargoSpaceId != null">#{cargoSpaceId},</if>
<if test="lineId != null">#{lineId},</if>
<if test="workshopId != null">#{workshopId},</if>
<if test="entranceId != null">#{entranceId},</if>
<if test="exitId != null">#{exitId},</if>
<if test="priority != null">#{priority},</if>
<if test="inOrOut != null">#{inOrOut},</if>
<if test="createTime != null">#{createTime},</if>
<if test="startTime != null">#{startTime},</if>
<if test="finishTime != null">#{finishTime},</if>
<if test="classNowName != null">#{classNowName},</if>
<if test="classWorkshopName != null">#{classWorkshopName},</if>
<if test="warehouseId != null">#{warehouseId},</if>
<if test="targetRoadwayId != null">#{targetRoadwayId},</if>
<if test="targetCargoSpaceId != null">#{targetCargoSpaceId},</if>
<if test="executionPhase != null">#{executionPhase},</if>
<if test="classgroupNumber != null">#{classgroupNumber},</if>
<if test="classWorkshopDateTime != null">#{classWorkshopDateTime},</if>
<if test="classId != null">#{classId},</if>
<if test="classNowDateTime != null">#{classNowDateTime},</if>
<if test="carNumber != null">#{carNumber},</if>
<if test="faultFlag != null">#{faultFlag},</if>
<if test="outId != null">#{outId},</if>
</trim>
</insert>
<delete id="deleteMydoJobByJobId" parameterType="string">
DELETE FROM MYDO_JOB WHERE JOB_ID = #{jobId}
</delete>
<update id="updateMydoJob" parameterType="com.project.joggle.domain.MydoJob">
UPDATE MYDO_JOB
<set>
<if test="status != null">STATUS = #{status},</if>
<if test="onLineType != null">ON_LINE_TYPE = #{onLineType},</if>
<if test="taskNo != null">TASK_NO = #{taskNo},</if>
<if test="supplierId != null">SUPPLIER_ID = #{supplierId},</if>
<if test="customerId != null">CUSTOMER_ID = #{customerId},</if>
<if test="trayCode != null">TRAY_CODE = #{trayCode},</if>
<if test="roadwayId != null">ROADWAY_ID = #{roadwayId},</if>
<if test="cargoSpaceId != null">CARGO_SPACE_ID = #{cargoSpaceId},</if>
<if test="lineId != null">LINE_ID = #{lineId},</if>
<if test="workshopId != null">WORKSHOP_ID = #{workshopId},</if>
<if test="entranceId != null">ENTRANCE_ID = #{entranceId},</if>
<if test="exitId != null">EXIT_ID = #{exitId},</if>
<if test="priority != null">PRIORITY = #{priority},</if>
<if test="inOrOut != null">IN_OR_OUT = #{inOrOut},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
<if test="startTime != null">START_TIME = #{startTime},</if>
<if test="finishTime != null">FINISH_TIME = #{finishTime},</if>
<if test="classNowName != null">CLASS_NOW_NAME = #{classNowName},</if>
<if test="classWorkshopName != null">CLASS_WORKSHOP_NAME = #{classWorkshopName},</if>
<if test="warehouseId != null">WAREHOUSE_ID = #{warehouseId},</if>
<if test="targetRoadwayId != null">TARGET_ROADWAY_ID = #{targetRoadwayId},</if>
<if test="targetCargoSpaceId != null">TARGET_CARGO_SPACE_ID = #{targetCargoSpaceId},</if>
<if test="executionPhase != null">EXECUTION_PHASE = #{executionPhase},</if>
<if test="classgroupNumber != null">CLASSGROUP_NUMBER = #{classgroupNumber},</if>
<if test="classWorkshopDateTime != null">CLASS_WORKSHOP_DATE_TIME = #{classWorkshopDateTime},</if>
<if test="classId != null">CLASS_ID = #{classId},</if>
<if test="classNowDateTime != null">CLASS_NOW_DATE_TIME = #{classNowDateTime},</if>
<if test="carNumber != null">CAR_NUMBER = #{carNumber},</if>
<if test="faultFlag != null">FAULT_FLAG = #{faultFlag},</if>
<if test="outId != null">OUT_ID = #{outId},</if>
</set>
WHERE JOB_ID = #{jobId}
</update>
<select id="selectMydoJobByJobId" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM MYDO_JOB
WHERE JOB_ID = #{jobId}
</select>
<select id="selectMydoJobList" parameterType="com.project.joggle.domain.MydoJob" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM MYDO_JOB
<where>
<if test="jobId != null">AND JOB_ID = #{jobId}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="onLineType != null">AND ON_LINE_TYPE = #{onLineType}</if>
<if test="taskNo != null">AND TASK_NO = #{taskNo}</if>
<if test="supplierId != null">AND SUPPLIER_ID = #{supplierId}</if>
<if test="customerId != null">AND CUSTOMER_ID = #{customerId}</if>
<if test="trayCode != null">AND TRAY_CODE = #{trayCode}</if>
<if test="roadwayId != null">AND ROADWAY_ID = #{roadwayId}</if>
<if test="cargoSpaceId != null">AND CARGO_SPACE_ID = #{cargoSpaceId}</if>
<if test="lineId != null">AND LINE_ID = #{lineId}</if>
<if test="workshopId != null">AND WORKSHOP_ID = #{workshopId}</if>
<if test="entranceId != null">AND ENTRANCE_ID = #{entranceId}</if>
<if test="exitId != null">AND EXIT_ID = #{exitId}</if>
<if test="inOrOut != null">AND IN_OR_OUT = #{inOrOut}</if>
<if test="warehouseId != null">AND WAREHOUSE_ID = #{warehouseId}</if>
<if test="executionPhase != null">AND EXECUTION_PHASE = #{executionPhase}</if>
<if test="faultFlag != null">AND FAULT_FLAG = #{faultFlag}</if>
</where>
</select>
<select id="selectMydoJobByTrayCode" parameterType="string" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM MYDO_JOB
WHERE TRAY_CODE = #{trayCode}
</select>
<update id="updateRelatedIdByTrayCode" parameterType="string">
update mydo_job set related_id = #{relatedId} where tray_code = #{trayCode}
</update>
</mapper>

View File

@@ -1,100 +0,0 @@
<?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.project.joggle.mapper.OutPtsProductionDetailFinishMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.OutPtsProductionDetailFinish">
<result property="id" column="ID" jdbcType="VARCHAR"/>
<result property="action" column="ACTION" jdbcType="DECIMAL"/>
<result property="parentTraceCode" column="PARENT_TRACE_CODE" jdbcType="VARCHAR"/>
<result property="parentAppendCode" column="PARENT_APPEND_CODE" jdbcType="VARCHAR"/>
<result property="productNo" column="PRODUCT_NO" jdbcType="VARCHAR"/>
<result property="productName" column="PRODUCT_NAME" jdbcType="VARCHAR"/>
<result property="productSpec" column="PRODUCT_SPEC" jdbcType="VARCHAR"/>
<result property="packagingRatioName" column="PACKAGING_RATIO_NAME" jdbcType="VARCHAR"/>
<result property="productionDate" column="PRODUCTION_DATE" jdbcType="VARCHAR"/>
<result property="productionBatch" column="PRODUCTION_BATCH" jdbcType="VARCHAR"/>
<result property="expirationDate" column="EXPIRATION_DATE" jdbcType="VARCHAR"/>
<result property="sourceNo" column="SOURCE_NO" jdbcType="VARCHAR"/>
<result property="taskNo" column="TASK_NO" jdbcType="VARCHAR"/>
<result property="lineNo" column="LINE_NO" jdbcType="VARCHAR"/>
<result property="teamGroupNo" column="TEAM_GROUP_NO" jdbcType="VARCHAR"/>
<result property="machineNo" column="MACHINE_NO" jdbcType="VARCHAR"/>
<result property="fuzzy" column="FUZZY" jdbcType="DECIMAL"/>
<result property="curCode" column="CUR_CODE" jdbcType="VARCHAR"/>
<result property="scanNo" column="SCAN_NO" jdbcType="DECIMAL"/>
<result property="layerNo" column="LAYER_NO" jdbcType="DECIMAL"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="inType" column="IN_TYPE" jdbcType="VARCHAR"/>
<result property="compelete" column="COMPELETE" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
ID,ACTION,PARENT_TRACE_CODE,
PARENT_APPEND_CODE,PRODUCT_NO,PRODUCT_NAME,
PRODUCT_SPEC,PACKAGING_RATIO_NAME,PRODUCTION_DATE,
PRODUCTION_BATCH,EXPIRATION_DATE,SOURCE_NO,
TASK_NO,LINE_NO,TEAM_GROUP_NO,
MACHINE_NO,FUZZY,CUR_CODE,
SCAN_NO,LAYER_NO,STATUS,
IN_TYPE,COMPELETE
</sql>
<!-- 插入完成记录 -->
<insert id="insertOutPtsProductionDetailFinish" parameterType="com.project.joggle.domain.OutPtsProductionDetail">
insert into OUT_PTS_PRODUCTION_DETAIL_FINISH
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">ID,</if>
<if test="action != null">ACTION,</if>
<if test="parentTraceCode != null">PARENT_TRACE_CODE,</if>
<if test="parentAppendCode != null">PARENT_APPEND_CODE,</if>
<if test="productNo != null">PRODUCT_NO,</if>
<if test="productName != null">PRODUCT_NAME,</if>
<if test="productSpec != null">PRODUCT_SPEC,</if>
<if test="packagingRatioName != null">PACKAGING_RATIO_NAME,</if>
<if test="productionDate != null">PRODUCTION_DATE,</if>
<if test="productionBatch != null">PRODUCTION_BATCH,</if>
<if test="expirationDate != null">EXPIRATION_DATE,</if>
<if test="sourceNo != null">SOURCE_NO,</if>
<if test="taskNo != null">TASK_NO,</if>
<if test="lineNo != null">LINE_NO,</if>
<if test="teamGroupNo != null">TEAM_GROUP_NO,</if>
<if test="machineNo != null">MACHINE_NO,</if>
<if test="fuzzy != null">FUZZY,</if>
<if test="curCode != null">CUR_CODE,</if>
<if test="scanNo != null">SCAN_NO,</if>
<if test="layerNo != null">LAYER_NO,</if>
<if test="status != null">STATUS,</if>
<if test="inType != null">IN_TYPE,</if>
<if test="compelete != null">COMPELETE,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id,jdbcType=VARCHAR},</if>
<if test="action != null">#{action,jdbcType=DECIMAL},</if>
<if test="parentTraceCode != null">#{parentTraceCode,jdbcType=VARCHAR},</if>
<if test="parentAppendCode != null">#{parentAppendCode,jdbcType=VARCHAR},</if>
<if test="productNo != null">#{productNo,jdbcType=VARCHAR},</if>
<if test="productName != null">#{productName,jdbcType=VARCHAR},</if>
<if test="productSpec != null">#{productSpec,jdbcType=VARCHAR},</if>
<if test="packagingRatioName != null">#{packagingRatioName,jdbcType=VARCHAR},</if>
<if test="productionDate != null">#{productionDate,jdbcType=VARCHAR},</if>
<if test="productionBatch != null">#{productionBatch,jdbcType=VARCHAR},</if>
<if test="expirationDate != null">#{expirationDate,jdbcType=VARCHAR},</if>
<if test="sourceNo != null">#{sourceNo,jdbcType=VARCHAR},</if>
<if test="taskNo != null">#{taskNo,jdbcType=VARCHAR},</if>
<if test="lineNo != null">#{lineNo,jdbcType=VARCHAR},</if>
<if test="teamGroupNo != null">#{teamGroupNo,jdbcType=VARCHAR},</if>
<if test="machineNo != null">#{machineNo,jdbcType=VARCHAR},</if>
<if test="fuzzy != null">#{fuzzy,jdbcType=DECIMAL},</if>
<if test="curCode != null">#{curCode,jdbcType=VARCHAR},</if>
<if test="scanNo != null">#{scanNo,jdbcType=DECIMAL},</if>
<if test="layerNo != null">#{layerNo,jdbcType=DECIMAL},</if>
<if test="status != null">#{status,jdbcType=VARCHAR},</if>
<if test="inType != null">#{inType,jdbcType=VARCHAR},</if>
<if test="compelete != null">#{compelete,jdbcType=VARCHAR},</if>
</trim>
</insert>
</mapper>

View File

@@ -1,202 +0,0 @@
<?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.project.joggle.mapper.OutPtsProductionDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.OutPtsProductionDetail">
<result property="id" column="ID" jdbcType="VARCHAR"/>
<result property="action" column="ACTION" jdbcType="DECIMAL"/>
<result property="parentTraceCode" column="PARENT_TRACE_CODE" jdbcType="VARCHAR"/>
<result property="parentAppendCode" column="PARENT_APPEND_CODE" jdbcType="VARCHAR"/>
<result property="productNo" column="PRODUCT_NO" jdbcType="VARCHAR"/>
<result property="productName" column="PRODUCT_NAME" jdbcType="VARCHAR"/>
<result property="productSpec" column="PRODUCT_SPEC" jdbcType="VARCHAR"/>
<result property="packagingRatioName" column="PACKAGING_RATIO_NAME" jdbcType="VARCHAR"/>
<result property="productionDate" column="PRODUCTION_DATE" jdbcType="VARCHAR"/>
<result property="productionBatch" column="PRODUCTION_BATCH" jdbcType="VARCHAR"/>
<result property="expirationDate" column="EXPIRATION_DATE" jdbcType="VARCHAR"/>
<result property="sourceNo" column="SOURCE_NO" jdbcType="VARCHAR"/>
<result property="taskNo" column="TASK_NO" jdbcType="VARCHAR"/>
<result property="lineNo" column="LINE_NO" jdbcType="VARCHAR"/>
<result property="teamGroupNo" column="TEAM_GROUP_NO" jdbcType="VARCHAR"/>
<result property="machineNo" column="MACHINE_NO" jdbcType="VARCHAR"/>
<result property="fuzzy" column="FUZZY" jdbcType="DECIMAL"/>
<result property="curCode" column="CUR_CODE" jdbcType="VARCHAR"/>
<result property="scanNo" column="SCAN_NO" jdbcType="DECIMAL"/>
<result property="layerNo" column="LAYER_NO" jdbcType="DECIMAL"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="inType" column="IN_TYPE" jdbcType="VARCHAR"/>
<result property="compelete" column="COMPELETE" jdbcType="VARCHAR"/>
<result property="errorcount" column="ERRORCOUNT" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
ID,ACTION,PARENT_TRACE_CODE,
PARENT_APPEND_CODE,PRODUCT_NO,PRODUCT_NAME,
PRODUCT_SPEC,PACKAGING_RATIO_NAME,PRODUCTION_DATE,
PRODUCTION_BATCH,EXPIRATION_DATE,SOURCE_NO,
TASK_NO,LINE_NO,TEAM_GROUP_NO,
MACHINE_NO,FUZZY,CUR_CODE,
SCAN_NO,LAYER_NO,STATUS,
IN_TYPE,COMPELETE,ERRORCOUNT
</sql>
<insert id="insert" parameterType="com.project.joggle.domain.OutPtsProductionDetail">
insert into OUT_PTS_PRODUCTION_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">ID,</if>
<if test="action != null">ACTION,</if>
<if test="parentTraceCode != null">PARENT_TRACE_CODE,</if>
<if test="parentAppendCode != null">PARENT_APPEND_CODE,</if>
<if test="productNo != null">PRODUCT_NO,</if>
<if test="productName != null">PRODUCT_NAME,</if>
<if test="productSpec != null">PRODUCT_SPEC,</if>
<if test="packagingRatioName != null">PACKAGING_RATIO_NAME,</if>
<if test="productionDate != null">PRODUCTION_DATE,</if>
<if test="productionBatch != null">PRODUCTION_BATCH,</if>
<if test="expirationDate != null">EXPIRATION_DATE,</if>
<if test="sourceNo != null">SOURCE_NO,</if>
<if test="taskNo != null">TASK_NO,</if>
<if test="lineNo != null">LINE_NO,</if>
<if test="teamGroupNo != null">TEAM_GROUP_NO,</if>
<if test="machineNo != null">MACHINE_NO,</if>
<if test="fuzzy != null">FUZZY,</if>
<if test="curCode != null">CUR_CODE,</if>
<if test="scanNo != null">SCAN_NO,</if>
<if test="layerNo != null">LAYER_NO,</if>
<if test="status != null">STATUS,</if>
<if test="inType != null">IN_TYPE,</if>
<if test="compelete != null">COMPELETE,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id,jdbcType=VARCHAR},</if>
<if test="action != null">#{action,jdbcType=DECIMAL},</if>
<if test="parentTraceCode != null">#{parentTraceCode,jdbcType=VARCHAR},</if>
<if test="parentAppendCode != null">#{parentAppendCode,jdbcType=VARCHAR},</if>
<if test="productNo != null">#{productNo,jdbcType=VARCHAR},</if>
<if test="productName != null">#{productName,jdbcType=VARCHAR},</if>
<if test="productSpec != null">#{productSpec,jdbcType=VARCHAR},</if>
<if test="packagingRatioName != null">#{packagingRatioName,jdbcType=VARCHAR},</if>
<if test="productionDate != null">#{productionDate,jdbcType=VARCHAR},</if>
<if test="productionBatch != null">#{productionBatch,jdbcType=VARCHAR},</if>
<if test="expirationDate != null">#{expirationDate,jdbcType=VARCHAR},</if>
<if test="sourceNo != null">#{sourceNo,jdbcType=VARCHAR},</if>
<if test="taskNo != null">#{taskNo,jdbcType=VARCHAR},</if>
<if test="lineNo != null">#{lineNo,jdbcType=VARCHAR},</if>
<if test="teamGroupNo != null">#{teamGroupNo,jdbcType=VARCHAR},</if>
<if test="machineNo != null">#{machineNo,jdbcType=VARCHAR},</if>
<if test="fuzzy != null">#{fuzzy,jdbcType=DECIMAL},</if>
<if test="curCode != null">#{curCode,jdbcType=VARCHAR},</if>
<if test="scanNo != null">#{scanNo,jdbcType=DECIMAL},</if>
<if test="layerNo != null">#{layerNo,jdbcType=DECIMAL},</if>
<if test="status != null">#{status,jdbcType=VARCHAR},</if>
<if test="inType != null">#{inType,jdbcType=VARCHAR},</if>
<if test="compelete != null">#{compelete,jdbcType=VARCHAR},</if>
</trim>
</insert>
<delete id="deleteById" parameterType="java.lang.String">
delete from OUT_PTS_PRODUCTION_DETAIL where ID = #{id,jdbcType=VARCHAR}
</delete>
<update id="update" parameterType="com.project.joggle.domain.OutPtsProductionDetail">
update OUT_PTS_PRODUCTION_DETAIL
<set>
<if test="action != null">ACTION = #{action,jdbcType=DECIMAL},</if>
<if test="parentTraceCode != null">PARENT_TRACE_CODE = #{parentTraceCode,jdbcType=VARCHAR},</if>
<if test="parentAppendCode != null">PARENT_APPEND_CODE = #{parentAppendCode,jdbcType=VARCHAR},</if>
<if test="productNo != null">PRODUCT_NO = #{productNo,jdbcType=VARCHAR},</if>
<if test="productName != null">PRODUCT_NAME = #{productName,jdbcType=VARCHAR},</if>
<if test="productSpec != null">PRODUCT_SPEC = #{productSpec,jdbcType=VARCHAR},</if>
<if test="packagingRatioName != null">PACKAGING_RATIO_NAME = #{packagingRatioName,jdbcType=VARCHAR},</if>
<if test="productionDate != null">PRODUCTION_DATE = #{productionDate,jdbcType=VARCHAR},</if>
<if test="productionBatch != null">PRODUCTION_BATCH = #{productionBatch,jdbcType=VARCHAR},</if>
<if test="expirationDate != null">EXPIRATION_DATE = #{expirationDate,jdbcType=VARCHAR},</if>
<if test="sourceNo != null">SOURCE_NO = #{sourceNo,jdbcType=VARCHAR},</if>
<if test="taskNo != null">TASK_NO = #{taskNo,jdbcType=VARCHAR},</if>
<if test="lineNo != null">LINE_NO = #{lineNo,jdbcType=VARCHAR},</if>
<if test="teamGroupNo != null">TEAM_GROUP_NO = #{teamGroupNo,jdbcType=VARCHAR},</if>
<if test="machineNo != null">MACHINE_NO = #{machineNo,jdbcType=VARCHAR},</if>
<if test="fuzzy != null">FUZZY = #{fuzzy,jdbcType=DECIMAL},</if>
<if test="curCode != null">CUR_CODE = #{curCode,jdbcType=VARCHAR},</if>
<if test="scanNo != null">SCAN_NO = #{scanNo,jdbcType=DECIMAL},</if>
<if test="layerNo != null">LAYER_NO = #{layerNo,jdbcType=DECIMAL},</if>
<if test="status != null">STATUS = #{status,jdbcType=VARCHAR},</if>
<if test="inType != null">IN_TYPE = #{inType,jdbcType=VARCHAR},</if>
<if test="compelete != null">COMPELETE = #{compelete,jdbcType=VARCHAR},</if>
</set>
where ID = #{id,jdbcType=VARCHAR}
</update>
<select id="selectById" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from OUT_PTS_PRODUCTION_DETAIL
where ID = #{id,jdbcType=VARCHAR}
</select>
<select id="selectList" parameterType="com.project.joggle.domain.OutPtsProductionDetail" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from OUT_PTS_PRODUCTION_DETAIL
<where>
<if test="id != null">and ID = #{id,jdbcType=VARCHAR}</if>
<if test="action != null">and ACTION = #{action,jdbcType=DECIMAL}</if>
<if test="parentTraceCode != null">and PARENT_TRACE_CODE = #{parentTraceCode,jdbcType=VARCHAR}</if>
<if test="parentAppendCode != null">and PARENT_APPEND_CODE = #{parentAppendCode,jdbcType=VARCHAR}</if>
<if test="productNo != null">and PRODUCT_NO = #{productNo,jdbcType=VARCHAR}</if>
<if test="productName != null">and PRODUCT_NAME = #{productName,jdbcType=VARCHAR}</if>
<if test="productSpec != null">and PRODUCT_SPEC = #{productSpec,jdbcType=VARCHAR}</if>
<if test="packagingRatioName != null">and PACKAGING_RATIO_NAME = #{packagingRatioName,jdbcType=VARCHAR}</if>
<if test="productionDate != null">and PRODUCTION_DATE = #{productionDate,jdbcType=VARCHAR}</if>
<if test="productionBatch != null">and PRODUCTION_BATCH = #{productionBatch,jdbcType=VARCHAR}</if>
<if test="expirationDate != null">and EXPIRATION_DATE = #{expirationDate,jdbcType=VARCHAR}</if>
<if test="sourceNo != null">and SOURCE_NO = #{sourceNo,jdbcType=VARCHAR}</if>
<if test="taskNo != null">and TASK_NO = #{taskNo,jdbcType=VARCHAR}</if>
<if test="lineNo != null">and LINE_NO = #{lineNo,jdbcType=VARCHAR}</if>
<if test="teamGroupNo != null">and TEAM_GROUP_NO = #{teamGroupNo,jdbcType=VARCHAR}</if>
<if test="machineNo != null">and MACHINE_NO = #{machineNo,jdbcType=VARCHAR}</if>
<if test="fuzzy != null">and FUZZY = #{fuzzy,jdbcType=DECIMAL}</if>
<if test="curCode != null">and CUR_CODE = #{curCode,jdbcType=VARCHAR}</if>
<if test="scanNo != null">and SCAN_NO = #{scanNo,jdbcType=DECIMAL}</if>
<if test="layerNo != null">and LAYER_NO = #{layerNo,jdbcType=DECIMAL}</if>
<if test="status != null">and STATUS = #{status,jdbcType=VARCHAR}</if>
<if test="inType != null">and IN_TYPE = #{inType,jdbcType=VARCHAR}</if>
<if test="compelete != null">and COMPELETE = #{compelete,jdbcType=VARCHAR}</if>
</where>
</select>
<select id="selectTopOutProductionDetail" resultMap="BaseResultMap">
SELECT * FROM (
SELECT
<include refid="Base_Column_List" />
FROM OUT_PTS_PRODUCTION_DETAIL
WHERE STATUS in (0,2)
and (ERRORCOUNT is null or ERRORCOUNT &lt; 3)
) WHERE ROWNUM = 1
</select>
<select id="selectOutPtsProductionDetailByParentAppendCode" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from OUT_PTS_PRODUCTION_DETAIL
where PARENT_APPEND_CODE = #{parentAppendCode} and status in (0,2) and SOURCE_NO =#{sourceNo}
</select>
<update id="updateStatusByParentAppendCode" parameterType="string">
update OUT_PTS_PRODUCTION_DETAIL set status = #{status} where parent_append_code = #{parentAppendCode} and source_no = #{sourceNo} and status in (0,2)
</update>
<update id="updateOutPtsProductionDetailByOrderNo" parameterType="string">
update OUT_PTS_PRODUCTION_DETAIL set status =#{status} where parent_append_code = #{parentAppendCode} and status>0
</update>
<delete id="deleteOutPtsProductionDetailByParentAppendCode" parameterType="string">
delete from OUT_PTS_PRODUCTION_DETAIL where parent_append_code = #{parentAppendCode} and source_no = #{sourceNo} and status=1
</delete>
<update id="updateErrorcountByParentAppendCode" parameterType="com.project.joggle.domain.OutPtsProductionDetail">
update OUT_PTS_PRODUCTION_DETAIL set errorcount = #{errorcount} where parent_append_code = #{parentAppendCode} and source_no = #{sourceNo} and status in (0,2)
</update>
</mapper>

View File

@@ -1,61 +0,0 @@
<?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.project.joggle.mapper.OutStockoutMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.OutStockout">
<result property="stockoutId" column="STOCKOUT_ID" jdbcType="VARCHAR"/>
<result property="outType" column="OUT_TYPE" jdbcType="VARCHAR"/>
<result property="createDate" column="CREATE_DATE" jdbcType="TIMESTAMP"/>
<result property="customerNo" column="CUSTOMER_NO" jdbcType="VARCHAR"/>
<result property="createManId" column="CREATE_MAN_ID" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="warehouseId" column="WAREHOUSE_ID" jdbcType="VARCHAR"/>
<result property="classNowId" column="CLASS_NOW_ID" jdbcType="VARCHAR"/>
<result property="stockoutGuid" column="STOCKOUT_GUID" jdbcType="VARCHAR"/>
<result property="stockoutSource" column="STOCKOUT_SOURCE" jdbcType="VARCHAR"/>
<result property="exitId" column="EXIT_ID" jdbcType="VARCHAR"/>
<result property="carNumber" column="CAR_NUMBER" jdbcType="VARCHAR"/>
<result property="finishDate" column="FINISH_DATE" jdbcType="TIMESTAMP"/>
<result property="beganDate" column="BEGAN_DATE" jdbcType="TIMESTAMP"/>
<result property="fid" column="FID" jdbcType="VARCHAR"/>
<result property="remark" column="REMARK" jdbcType="VARCHAR"/>
<result property="customerName" column="CUSTOMER_NAME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
STOCKOUT_ID,OUT_TYPE,CREATE_DATE,
CUSTOMER_NO,CREATE_MAN_ID,STATUS,
WAREHOUSE_ID,CLASS_NOW_ID,STOCKOUT_GUID,
STOCKOUT_SOURCE,EXIT_ID,CAR_NUMBER,
FINISH_DATE,BEGAN_DATE,FID,
REMARK
</sql>
<select id="selectOutStockoutByStockoutId" parameterType="string" resultMap="BaseResultMap">
select distinct
o.STOCKOUT_ID,o.OUT_TYPE,o.CREATE_DATE,
o.CUSTOMER_NO,o.CREATE_MAN_ID,o.STATUS,
o.WAREHOUSE_ID,o.CLASS_NOW_ID,o.STOCKOUT_GUID,
o.STOCKOUT_SOURCE,o.EXIT_ID,o.CAR_NUMBER,
o.FINISH_DATE,o.BEGAN_DATE,o.FID,
o.REMARK,b.CUSTOMER_NAME
from OUT_STOCKOUT o left join BAS_CUSTOMER b on b.CUSTOMER_NO = o.CUSTOMER_NO
left join OUT_STOCKOUT_DETAIL d on d.STOCKOUT_GUID = o.STOCKOUT_GUID
where d.ERP_STOCKOUT_ID = #{stockoutId}
</select>
<select id="selectOutStockoutFinishByStockoutId" parameterType="string" resultMap="BaseResultMap">
select distinct
o.STOCKOUT_ID,o.OUT_TYPE,o.CREATE_DATE,
o.CUSTOMER_NO,o.CREATE_MAN_ID,o.STATUS,
o.WAREHOUSE_ID,o.CLASS_NOW_ID,o.STOCKOUT_GUID,
o.STOCKOUT_SOURCE,o.EXIT_ID,o.CAR_NUMBER,
o.FINISH_DATE,o.BEGAN_DATE,o.FID,
o.REMARK,b.CUSTOMER_NAME
from OUT_STOCKOUT_FINISH o left join BAS_CUSTOMER b on b.CUSTOMER_NO = o.CUSTOMER_NO
left join OUT_STOCKOUT_DETAIL_FINISH d on d.STOCKOUT_GUID = o.STOCKOUT_GUID
where d.ERP_STOCKOUT_ID = #{stockoutId}
</select>
</mapper>

View File

@@ -1,70 +0,0 @@
<?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.project.joggle.mapper.RelationshipRestructurMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.RelationshipRestructur">
<id property="id" column="ID" jdbcType="VARCHAR"/>
<result property="curCode" column="CUR_CODE" jdbcType="VARCHAR"/>
<result property="parentCode" column="PARENT_CODE" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="errorcount" column="ERRORCOUNT" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
ID,CUR_CODE,PARENT_CODE,STATUS,ERRORCOUNT
</sql>
<select id="selectRelationshipRestructurList" parameterType="com.project.joggle.domain.RelationshipRestructur" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM RELATIONSHIP_RESTRUCTUR
<where>
<if test="id != null and id != ''">
AND ID = #{id}
</if>
<if test="curCode != null and curCode != ''">
AND CUR_CODE = #{curCode}
</if>
<if test="parentCode != null and parentCode != ''">
AND PARENT_CODE = #{parentCode}
</if>
<if test="status != null and status != ''">
AND STATUS = #{status}
</if>
</where>
</select>
<select id="selectTopRelationshipRestructur" resultMap="BaseResultMap">
SELECT * FROM (
SELECT
<include refid="Base_Column_List"/>
FROM RELATIONSHIP_RESTRUCTUR
WHERE STATUS in (0,2)
AND (ERRORCOUNT is null or ERRORCOUNT &lt;3)
) WHERE ROWNUM = 1
</select>
<select id="selectRelationshipRestructurByParentCode" resultMap="BaseResultMap" parameterType="string">
SELECT
<include refid="Base_Column_List"/>
FROM RELATIONSHIP_RESTRUCTUR
WHERE PARENT_CODE = #{parentCode}
and STATUS in (0,2)
</select>
<update id="updateRelationshipRestructur" parameterType="com.project.joggle.domain.RelationshipRestructur">
UPDATE RELATIONSHIP_RESTRUCTUR
<set>
<if test="status != null and status != ''">
STATUS = #{status},
</if>
<if test="errorcount != null and errorcount != ''">
ERRORCOUNT = #{errorcount}
</if>
</set>
WHERE PARENT_CODE = #{parentCode}
</update>
</mapper>

View File

@@ -1,50 +0,0 @@
<?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.project.joggle.mapper.RemoveRelationshipMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.RemoveRelationship">
<id property="id" column="ID" jdbcType="VARCHAR"/>
<result property="curCode" column="CUR_CODE" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="errorcount" column="ERRORCOUNT" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
ID,CUR_CODE,STATUS,ERRORCOUNT
</sql>
<select id="selectRemoveRelationshipList" parameterType="RemoveRelationship" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from REMOVE_RELATIONSHIP
<where>
STATUS in (0,2)
and (ERRORCOUNT &lt; 3 or ERRORCOUNT is null)
<if test="id != null and id != ''">
and ID = #{id}
</if>
<if test="curCode != null and curCode != ''">
and CUR_CODE = #{curCode}
</if>
</where>
</select>
<update id="updateRemoveRelationship" parameterType="RemoveRelationship" >
update REMOVE_RELATIONSHIP
<set>
<if test="status != null and status != ''">
STATUS = #{status},
</if>
<if test="errorcount != null and errorcount != ''">
ERRORCOUNT = #{errorcount},
</if>
</set>
where ID = #{id}
</update>
</mapper>

View File

@@ -1,56 +0,0 @@
<?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.project.joggle.mapper.ReplaceRelationshipMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ReplaceRelationship">
<result property="id" column="ID" jdbcType="VARCHAR"/>
<result property="oldTraceCode" column="OLD_TRACE_CODE" jdbcType="VARCHAR"/>
<result property="newTraceCode" column="NEW_TRACE_CODE" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="VARCHAR"/>
<result property="errorcount" column="ERRORCOUNT" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
ID,OLD_TRACE_CODE,NEW_TRACE_CODE,
STATUS,ERRORCOUNT
</sql>
<select id="selectReplaceRelationshipList" parameterType="ReplaceRelationship" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM REPLACE_RELATIONSHIP
<where>
STATUS in (0,2)
and (ERRORCOUNT is null or ERRORCOUNT &lt;3)
<if test="id != null and id != ''">
AND ID = #{id}
</if>
<if test="oldTraceCode != null and oldTraceCode != ''">
AND OLD_TRACE_CODE = #{oldTraceCode}
</if>
<if test="newTraceCode != null and newTraceCode != ''">
AND NEW_TRACE_CODE = #{newTraceCode}
</if>
</where>
</select>
<update id="updateRelationshipRestructur" parameterType="ReplaceRelationship">
UPDATE REPLACE_RELATIONSHIP
<set>
<if test="status != null and status != ''">
STATUS = #{status},
</if>
<if test="errorcount !=null and errorcount != ''">
ERRORCOUNT= #{errorcount}
</if>
</set>
WHERE id = #{id}
</update>
</mapper>

View File

@@ -0,0 +1,115 @@
<?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.project.joggle.mapper.ToKwmsAgjustDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsAgjustDetail">
<id property="adjustDetailId" column="ADJUST_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="adjustId" column="ADJUST_ID" jdbcType="VARCHAR"/>
<result property="seq" column="SEQ" jdbcType="INTEGER"/>
<result property="moyaGoodsNumber" column="MOYA_GOODS_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaLocationNumber" column="MOYA_LOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaGoodDefectiveNumber" column="MOYA_GOOD_DEFECTIVE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaLotnumber" column="MOYA_LOTNUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Productiondate" column="H7F1_PRODUCTIONDATE" jdbcType="TIMESTAMP"/>
<result property="h7f1Srcsysentryid" column="H7F1_SRCSYSENTRYID" jdbcType="VARCHAR"/>
<result property="moyaContainernoNumber" column="MOYA_CONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaLotnumber1" column="MOYA_LOTNUMBER1" jdbcType="VARCHAR"/>
<result property="moyaAdjustqty" column="MOYA_ADJUSTQTY" jdbcType="DECIMAL"/>
<result property="moyaGoodDefective1Number" column="MOYA_GOOD_DEFECTIVE1_NUMBER" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
ADJUST_DETAIL_ID,ADJUST_ID,SEQ,MOYA_GOODS_NUMBER,MOYA_LOCATION_NUMBER,
MOYA_GOOD_DEFECTIVE_NUMBER,MOYA_LOTNUMBER,H7F1_PRODUCTIONDATE,H7F1_SRCSYSENTRYID,MOYA_CONTAINERNO_NUMBER,
MOYA_LOTNUMBER1,MOYA_ADJUSTQTY,MOYA_GOOD_DEFECTIVE1_NUMBER
</sql>
<insert id="insertToKwmsAgjustDetail" parameterType="com.project.joggle.domain.ToKwmsAgjustDetail">
INSERT INTO TO_KWMS_AGJUST_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="adjustDetailId != null">ADJUST_DETAIL_ID,</if>
<if test="adjustId != null">ADJUST_ID,</if>
<if test="seq != null">SEQ,</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER,</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER,</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER,</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER,</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE,</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID,</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER,</if>
<if test="moyaLotnumber1 != null">MOYA_LOTNUMBER1,</if>
<if test="moyaAdjustqty != null">MOYA_ADJUSTQTY,</if>
<if test="moyaGoodDefective1Number != null">MOYA_GOOD_DEFECTIVE1_NUMBER,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="adjustDetailId != null">#{adjustDetailId},</if>
<if test="adjustId != null">#{adjustId},</if>
<if test="seq != null">#{seq},</if>
<if test="moyaGoodsNumber != null">#{moyaGoodsNumber},</if>
<if test="moyaLocationNumber != null">#{moyaLocationNumber},</if>
<if test="moyaGoodDefectiveNumber != null">#{moyaGoodDefectiveNumber},</if>
<if test="moyaLotnumber != null">#{moyaLotnumber},</if>
<if test="h7f1Productiondate != null">#{h7f1Productiondate},</if>
<if test="h7f1Srcsysentryid != null">#{h7f1Srcsysentryid},</if>
<if test="moyaContainernoNumber != null">#{moyaContainernoNumber},</if>
<if test="moyaLotnumber1 != null">#{moyaLotnumber1},</if>
<if test="moyaAdjustqty != null">#{moyaAdjustqty},</if>
<if test="moyaGoodDefective1Number != null">#{moyaGoodDefective1Number},</if>
</trim>
</insert>
<delete id="deleteToKwmsAgjustDetail">
DELETE FROM TO_KWMS_AGJUST_DETAIL
WHERE ADJUST_DETAIL_ID = #{adjustDetailId}
</delete>
<update id="updateToKwmsAgjustDetail" parameterType="com.project.joggle.domain.ToKwmsAgjustDetail">
UPDATE TO_KWMS_AGJUST_DETAIL
<set>
<if test="adjustId != null">ADJUST_ID = #{adjustId},</if>
<if test="seq != null">SEQ = #{seq},</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER = #{moyaGoodsNumber},</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER = #{moyaLocationNumber},</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber},</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER = #{moyaLotnumber},</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE = #{h7f1Productiondate},</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid},</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber},</if>
<if test="moyaLotnumber1 != null">MOYA_LOTNUMBER1 = #{moyaLotnumber1},</if>
<if test="moyaAdjustqty != null">MOYA_ADJUSTQTY = #{moyaAdjustqty},</if>
<if test="moyaGoodDefective1Number != null">MOYA_GOOD_DEFECTIVE1_NUMBER = #{moyaGoodDefective1Number},</if>
</set>
WHERE ADJUST_DETAIL_ID = #{adjustDetailId}
</update>
<select id="selectToKwmsAgjustDetailById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_AGJUST_DETAIL
WHERE ADJUST_DETAIL_ID = #{adjustDetailId}
</select>
<select id="selectToKwmsAgjustDetailList" parameterType="com.project.joggle.domain.ToKwmsAgjustDetail" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_AGJUST_DETAIL
<where>
<if test="adjustDetailId != null">AND ADJUST_DETAIL_ID = #{adjustDetailId}</if>
<if test="adjustId != null">AND ADJUST_ID = #{adjustId}</if>
<if test="seq != null">AND SEQ = #{seq}</if>
<if test="moyaGoodsNumber != null">AND MOYA_GOODS_NUMBER = #{moyaGoodsNumber}</if>
<if test="moyaLocationNumber != null">AND MOYA_LOCATION_NUMBER = #{moyaLocationNumber}</if>
<if test="moyaGoodDefectiveNumber != null">AND MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber}</if>
<if test="moyaLotnumber != null">AND MOYA_LOTNUMBER = #{moyaLotnumber}</if>
<if test="h7f1Productiondate != null">AND H7F1_PRODUCTIONDATE = #{h7f1Productiondate}</if>
<if test="h7f1Srcsysentryid != null">AND H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid}</if>
<if test="moyaContainernoNumber != null">AND MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber}</if>
<if test="moyaLotnumber1 != null">AND MOYA_LOTNUMBER1 = #{moyaLotnumber1}</if>
<if test="moyaAdjustqty != null">AND MOYA_ADJUSTQTY = #{moyaAdjustqty}</if>
<if test="moyaGoodDefective1Number != null">AND MOYA_GOOD_DEFECTIVE1_NUMBER = #{moyaGoodDefective1Number}</if>
</where>
</select>
</mapper>

View File

@@ -5,26 +5,121 @@
<mapper namespace="com.project.joggle.mapper.ToKwmsAgjustMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsAgjust">
<id property="adjustId" column="ADJUST_ID" />
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" />
<result property="orgNumber" column="ORG_NUMBER" />
<result property="moyaBiztime" column="MOYA_BIZTIME" />
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" />
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" />
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" />
<result property="billstatus" column="BILLSTATUS" />
<result property="moyaRemark" column="MOYA_REMARK" />
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" />
<result property="moyaHsrcbillno" column="MOYA_HSRCBILLNO" />
<result property="status" column="STATUS" />
<result property="returnCode" column="RETURN_CODE" />
<result property="returnMessage" column="RETURN_MESSAGE" />
<result property="createTime" column="CREATE_TIME" />
<id property="adjustId" column="ADJUST_ID" jdbcType="VARCHAR"/>
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="orgNumber" column="ORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztime" column="MOYA_BIZTIME" jdbcType="TIMESTAMP"/>
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="billstatus" column="BILLSTATUS" jdbcType="VARCHAR"/>
<result property="moyaRemark" column="MOYA_REMARK" jdbcType="VARCHAR"/>
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" jdbcType="VARCHAR"/>
<result property="moyaHsrcbillno" column="MOYA_HSRCBILLNO" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="INTEGER"/>
<result property="returnCode" column="RETURN_CODE" jdbcType="VARCHAR"/>
<result property="returnMessage" column="RETURN_MESSAGE" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
ADJUST_ID,MOYA_BILLTYPE_NUMBER,ORG_NUMBER,MOYA_BIZTIME,MOYA_OWNERTYPE,MOYA_OWNER_NUMBER,
MOYA_WAREHOUSE_NUMBER,BILLSTATUS,MOYA_REMARK,H7F1_SOURCESYSTEM,MOYA_HSRCBILLNO,
STATUS,RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
ADJUST_ID,MOYA_BILLTYPE_NUMBER,ORG_NUMBER,MOYA_BIZTIME,MOYA_OWNERTYPE,
MOYA_OWNER_NUMBER,MOYA_WAREHOUSE_NUMBER,BILLSTATUS,MOYA_REMARK,H7F1_SOURCESYSTEM,
MOYA_HSRCBILLNO,STATUS,RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
</sql>
<insert id="insertToKwmsAgjust" parameterType="com.project.joggle.domain.ToKwmsAgjust">
INSERT INTO TO_KWMS_AGJUST
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="adjustId != null">ADJUST_ID,</if>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER,</if>
<if test="orgNumber != null">ORG_NUMBER,</if>
<if test="moyaBiztime != null">MOYA_BIZTIME,</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE,</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER,</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER,</if>
<if test="billstatus != null">BILLSTATUS,</if>
<if test="moyaRemark != null">MOYA_REMARK,</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM,</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO,</if>
<if test="status != null">STATUS,</if>
<if test="returnCode != null">RETURN_CODE,</if>
<if test="returnMessage != null">RETURN_MESSAGE,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="adjustId != null">#{adjustId},</if>
<if test="moyaBilltypeNumber != null">#{moyaBilltypeNumber},</if>
<if test="orgNumber != null">#{orgNumber},</if>
<if test="moyaBiztime != null">#{moyaBiztime},</if>
<if test="moyaOwnertype != null">#{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">#{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">#{moyaWarehouseNumber},</if>
<if test="billstatus != null">#{billstatus},</if>
<if test="moyaRemark != null">#{moyaRemark},</if>
<if test="h7f1Sourcesystem != null">#{h7f1Sourcesystem},</if>
<if test="moyaHsrcbillno != null">#{moyaHsrcbillno},</if>
<if test="status != null">#{status},</if>
<if test="returnCode != null">#{returnCode},</if>
<if test="returnMessage != null">#{returnMessage},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<delete id="deleteToKwmsAgjust">
DELETE FROM TO_KWMS_AGJUST
WHERE ADJUST_ID = #{adjustId}
</delete>
<update id="updateToKwmsAgjust" parameterType="com.project.joggle.domain.ToKwmsAgjust">
UPDATE TO_KWMS_AGJUST
<set>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber},</if>
<if test="orgNumber != null">ORG_NUMBER = #{orgNumber},</if>
<if test="moyaBiztime != null">MOYA_BIZTIME = #{moyaBiztime},</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE = #{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER = #{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber},</if>
<if test="billstatus != null">BILLSTATUS = #{billstatus},</if>
<if test="moyaRemark != null">MOYA_REMARK = #{moyaRemark},</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM = #{h7f1Sourcesystem},</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO = #{moyaHsrcbillno},</if>
<if test="status != null">STATUS = #{status},</if>
<if test="returnCode != null">RETURN_CODE = #{returnCode},</if>
<if test="returnMessage != null">RETURN_MESSAGE = #{returnMessage},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</set>
WHERE ADJUST_ID = #{adjustId}
</update>
<select id="selectToKwmsAgjustById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_AGJUST
WHERE ADJUST_ID = #{adjustId}
</select>
<select id="selectToKwmsAgjustList" parameterType="com.project.joggle.domain.ToKwmsAgjust" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_AGJUST
<where>
<if test="adjustId != null">AND ADJUST_ID = #{adjustId}</if>
<if test="moyaBilltypeNumber != null">AND MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber}</if>
<if test="orgNumber != null">AND ORG_NUMBER = #{orgNumber}</if>
<if test="moyaBiztime != null">AND MOYA_BIZTIME = #{moyaBiztime}</if>
<if test="moyaOwnertype != null">AND MOYA_OWNERTYPE = #{moyaOwnertype}</if>
<if test="moyaOwnerNumber != null">AND MOYA_OWNER_NUMBER = #{moyaOwnerNumber}</if>
<if test="moyaWarehouseNumber != null">AND MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber}</if>
<if test="billstatus != null">AND BILLSTATUS = #{billstatus}</if>
<if test="moyaRemark != null">AND MOYA_REMARK = #{moyaRemark}</if>
<if test="h7f1Sourcesystem != null">AND H7F1_SOURCESYSTEM = #{h7f1Sourcesystem}</if>
<if test="moyaHsrcbillno != null">AND MOYA_HSRCBILLNO = #{moyaHsrcbillno}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="returnCode != null">AND RETURN_CODE = #{returnCode}</if>
<if test="returnMessage != null">AND RETURN_MESSAGE = #{returnMessage}</if>
<if test="createTime != null">AND CREATE_TIME = #{createTime}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,146 @@
<?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.project.joggle.mapper.ToKwmsInStockinDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsInStockinDetail">
<id property="inDetailId" column="IN_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="inId" column="IN_ID" jdbcType="VARCHAR"/>
<result property="seq" column="SEQ" jdbcType="INTEGER"/>
<result property="h7f1Srcsysentryid" column="H7F1_SRCSYSENTRYID" jdbcType="VARCHAR"/>
<result property="moyaGoodsNumber" column="MOYA_GOODS_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1MoyaLocationNumber" column="H7F1_MOYA_LOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaContainernoNumber" column="MOYA_CONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaTotalqty" column="MOYA_TOTALQTY" jdbcType="DECIMAL"/>
<result property="moyaGoodDefectiveNumber" column="MOYA_GOOD_DEFECTIVE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaLotnumber" column="MOYA_LOTNUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Zsbarcode" column="H7F1_ZSBARCODE" jdbcType="VARCHAR"/>
<result property="h7f1Productiondate" column="H7F1_PRODUCTIONDATE" jdbcType="TIMESTAMP"/>
<result property="moyaProducedate" column="MOYA_PRODUCEDATE" jdbcType="TIMESTAMP"/>
<result property="h7f1Trayno" column="H7F1_TRAYNO" jdbcType="VARCHAR"/>
<result property="h7f1Modifycause" column="H7F1_MODIFYCAUSE" jdbcType="VARCHAR"/>
<result property="h7f1Proorder" column="H7F1_PROORDER" jdbcType="VARCHAR"/>
<result property="h7f1Proschedule" column="H7F1_PROSCHEDULE" jdbcType="VARCHAR"/>
<result property="h7f1Remarkentity" column="H7F1_REMARKENTITY" jdbcType="VARCHAR"/>
<result property="h7f1Ptsflag" column="H7F1_PTSFLAG" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
IN_DETAIL_ID,IN_ID,SEQ,H7F1_SRCSYSENTRYID,MOYA_GOODS_NUMBER,
H7F1_MOYA_LOCATION_NUMBER,MOYA_CONTAINERNO_NUMBER,MOYA_TOTALQTY,MOYA_GOOD_DEFECTIVE_NUMBER,MOYA_LOTNUMBER,
H7F1_ZSBARCODE,H7F1_PRODUCTIONDATE,MOYA_PRODUCEDATE,H7F1_TRAYNO,H7F1_MODIFYCAUSE,
H7F1_PROORDER,H7F1_PROSCHEDULE,H7F1_REMARKENTITY,H7F1_PTSFLAG
</sql>
<insert id="insertToKwmsInStockinDetail" parameterType="com.project.joggle.domain.ToKwmsInStockinDetail">
INSERT INTO TO_KWMS_IN_STOCKIN_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="inDetailId != null">IN_DETAIL_ID,</if>
<if test="inId != null">IN_ID,</if>
<if test="seq != null">SEQ,</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID,</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER,</if>
<if test="h7f1MoyaLocationNumber != null">H7F1_MOYA_LOCATION_NUMBER,</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER,</if>
<if test="moyaTotalqty != null">MOYA_TOTALQTY,</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER,</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER,</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE,</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE,</if>
<if test="moyaProducedate != null">MOYA_PRODUCEDATE,</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO,</if>
<if test="h7f1Modifycause != null">H7F1_MODIFYCAUSE,</if>
<if test="h7f1Proorder != null">H7F1_PROORDER,</if>
<if test="h7f1Proschedule != null">H7F1_PROSCHEDULE,</if>
<if test="h7f1Remarkentity != null">H7F1_REMARKENTITY,</if>
<if test="h7f1Ptsflag != null">H7F1_PTSFLAG,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inDetailId != null">#{inDetailId},</if>
<if test="inId != null">#{inId},</if>
<if test="seq != null">#{seq},</if>
<if test="h7f1Srcsysentryid != null">#{h7f1Srcsysentryid},</if>
<if test="moyaGoodsNumber != null">#{moyaGoodsNumber},</if>
<if test="h7f1MoyaLocationNumber != null">#{h7f1MoyaLocationNumber},</if>
<if test="moyaContainernoNumber != null">#{moyaContainernoNumber},</if>
<if test="moyaTotalqty != null">#{moyaTotalqty},</if>
<if test="moyaGoodDefectiveNumber != null">#{moyaGoodDefectiveNumber},</if>
<if test="moyaLotnumber != null">#{moyaLotnumber},</if>
<if test="h7f1Zsbarcode != null">#{h7f1Zsbarcode},</if>
<if test="h7f1Productiondate != null">#{h7f1Productiondate},</if>
<if test="moyaProducedate != null">#{moyaProducedate},</if>
<if test="h7f1Trayno != null">#{h7f1Trayno},</if>
<if test="h7f1Modifycause != null">#{h7f1Modifycause},</if>
<if test="h7f1Proorder != null">#{h7f1Proorder},</if>
<if test="h7f1Proschedule != null">#{h7f1Proschedule},</if>
<if test="h7f1Remarkentity != null">#{h7f1Remarkentity},</if>
<if test="h7f1Ptsflag != null">#{h7f1Ptsflag},</if>
</trim>
</insert>
<delete id="deleteToKwmsInStockinDetail">
DELETE FROM TO_KWMS_IN_STOCKIN_DETAIL
WHERE IN_DETAIL_ID = #{inDetailId}
</delete>
<update id="updateToKwmsInStockinDetail" parameterType="com.project.joggle.domain.ToKwmsInStockinDetail">
UPDATE TO_KWMS_IN_STOCKIN_DETAIL
<set>
<if test="inId != null">IN_ID = #{inId},</if>
<if test="seq != null">SEQ = #{seq},</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid},</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER = #{moyaGoodsNumber},</if>
<if test="h7f1MoyaLocationNumber != null">H7F1_MOYA_LOCATION_NUMBER = #{h7f1MoyaLocationNumber},</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber},</if>
<if test="moyaTotalqty != null">MOYA_TOTALQTY = #{moyaTotalqty},</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber},</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER = #{moyaLotnumber},</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE = #{h7f1Zsbarcode},</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE = #{h7f1Productiondate},</if>
<if test="moyaProducedate != null">MOYA_PRODUCEDATE = #{moyaProducedate},</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO = #{h7f1Trayno},</if>
<if test="h7f1Modifycause != null">H7F1_MODIFYCAUSE = #{h7f1Modifycause},</if>
<if test="h7f1Proorder != null">H7F1_PROORDER = #{h7f1Proorder},</if>
<if test="h7f1Proschedule != null">H7F1_PROSCHEDULE = #{h7f1Proschedule},</if>
<if test="h7f1Remarkentity != null">H7F1_REMARKENTITY = #{h7f1Remarkentity},</if>
<if test="h7f1Ptsflag != null">H7F1_PTSFLAG = #{h7f1Ptsflag},</if>
</set>
WHERE IN_DETAIL_ID = #{inDetailId}
</update>
<select id="selectToKwmsInStockinDetailById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_IN_STOCKIN_DETAIL
WHERE IN_DETAIL_ID = #{inDetailId}
</select>
<select id="selectToKwmsInStockinDetailList" parameterType="com.project.joggle.domain.ToKwmsInStockinDetail" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_IN_STOCKIN_DETAIL
<where>
<if test="inDetailId != null">AND IN_DETAIL_ID = #{inDetailId}</if>
<if test="inId != null">AND IN_ID = #{inId}</if>
<if test="seq != null">AND SEQ = #{seq}</if>
<if test="h7f1Srcsysentryid != null">AND H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid}</if>
<if test="moyaGoodsNumber != null">AND MOYA_GOODS_NUMBER = #{moyaGoodsNumber}</if>
<if test="h7f1MoyaLocationNumber != null">AND H7F1_MOYA_LOCATION_NUMBER = #{h7f1MoyaLocationNumber}</if>
<if test="moyaContainernoNumber != null">AND MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber}</if>
<if test="moyaTotalqty != null">AND MOYA_TOTALQTY = #{moyaTotalqty}</if>
<if test="moyaGoodDefectiveNumber != null">AND MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber}</if>
<if test="moyaLotnumber != null">AND MOYA_LOTNUMBER = #{moyaLotnumber}</if>
<if test="h7f1Zsbarcode != null">AND H7F1_ZSBARCODE = #{h7f1Zsbarcode}</if>
<if test="h7f1Productiondate != null">AND H7F1_PRODUCTIONDATE = #{h7f1Productiondate}</if>
<if test="moyaProducedate != null">AND MOYA_PRODUCEDATE = #{moyaProducedate}</if>
<if test="h7f1Trayno != null">AND H7F1_TRAYNO = #{h7f1Trayno}</if>
<if test="h7f1Modifycause != null">AND H7F1_MODIFYCAUSE = #{h7f1Modifycause}</if>
<if test="h7f1Proorder != null">AND H7F1_PROORDER = #{h7f1Proorder}</if>
<if test="h7f1Proschedule != null">AND H7F1_PROSCHEDULE = #{h7f1Proschedule}</if>
<if test="h7f1Remarkentity != null">AND H7F1_REMARKENTITY = #{h7f1Remarkentity}</if>
<if test="h7f1Ptsflag != null">AND H7F1_PTSFLAG = #{h7f1Ptsflag}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,177 @@
<?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.project.joggle.mapper.ToKwmsInStockinMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsInStockin">
<id property="inId" column="IN_ID" jdbcType="VARCHAR"/>
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztypeNumber" column="MOYA_BIZTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztime" column="MOYA_BIZTIME" jdbcType="TIMESTAMP"/>
<result property="orgNumber" column="ORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaPurorderno" column="MOYA_PURORDERNO" jdbcType="VARCHAR"/>
<result property="moyaTaskstatus" column="MOYA_TASKSTATUS" jdbcType="VARCHAR"/>
<result property="h7f1WorkgroupNumber" column="H7F1_WORKGROUP_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1ProductlinesNumber" column="H7F1_PRODUCTLINES_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1OrgworkshopNumber" column="H7F1_ORGWORKSHOP_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" jdbcType="VARCHAR"/>
<result property="h7f1SourcetypeNumber" column="H7F1_SOURCETYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaSrcsysbillno" column="MOYA_SRCSYSBILLNO" jdbcType="VARCHAR"/>
<result property="moyaSupplierNumber" column="MOYA_SUPPLIER_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Easbillno" column="H7F1_EASBILLNO" jdbcType="VARCHAR"/>
<result property="h7f1Innotification" column="H7F1_INNOTIFICATION" jdbcType="VARCHAR"/>
<result property="moyaRemark" column="MOYA_REMARK" jdbcType="VARCHAR"/>
<result property="h7f1Ptsmessage" column="H7F1_PTSMESSAGE" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="INTEGER"/>
<result property="returnCode" column="RETURN_CODE" jdbcType="VARCHAR"/>
<result property="returnMessage" column="RETURN_MESSAGE" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
IN_ID,MOYA_BILLTYPE_NUMBER,MOYA_BIZTYPE_NUMBER,MOYA_BIZTIME,ORG_NUMBER,
MOYA_OWNERTYPE,MOYA_OWNER_NUMBER,MOYA_WAREHOUSE_NUMBER,MOYA_PURORDERNO,MOYA_TASKSTATUS,
H7F1_WORKGROUP_NUMBER,H7F1_PRODUCTLINES_NUMBER,H7F1_ORGWORKSHOP_NUMBER,H7F1_SOURCESYSTEM,H7F1_SOURCETYPE_NUMBER,
MOYA_SRCSYSBILLNO,MOYA_SUPPLIER_NUMBER,H7F1_EASBILLNO,H7F1_INNOTIFICATION,MOYA_REMARK,
H7F1_PTSMESSAGE,STATUS,RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
</sql>
<insert id="insertToKwmsInStockin" parameterType="com.project.joggle.domain.ToKwmsInStockin">
INSERT INTO TO_KWMS_IN_STOCKIN
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="inId != null">IN_ID,</if>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER,</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER,</if>
<if test="moyaBiztime != null">MOYA_BIZTIME,</if>
<if test="orgNumber != null">ORG_NUMBER,</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE,</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER,</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER,</if>
<if test="moyaPurorderno != null">MOYA_PURORDERNO,</if>
<if test="moyaTaskstatus != null">MOYA_TASKSTATUS,</if>
<if test="h7f1WorkgroupNumber != null">H7F1_WORKGROUP_NUMBER,</if>
<if test="h7f1ProductlinesNumber != null">H7F1_PRODUCTLINES_NUMBER,</if>
<if test="h7f1OrgworkshopNumber != null">H7F1_ORGWORKSHOP_NUMBER,</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM,</if>
<if test="h7f1SourcetypeNumber != null">H7F1_SOURCETYPE_NUMBER,</if>
<if test="moyaSrcsysbillno != null">MOYA_SRCSYSBILLNO,</if>
<if test="moyaSupplierNumber != null">MOYA_SUPPLIER_NUMBER,</if>
<if test="h7f1Easbillno != null">H7F1_EASBILLNO,</if>
<if test="h7f1Innotification != null">H7F1_INNOTIFICATION,</if>
<if test="moyaRemark != null">MOYA_REMARK,</if>
<if test="h7f1Ptsmessage != null">H7F1_PTSMESSAGE,</if>
<if test="status != null">STATUS,</if>
<if test="returnCode != null">RETURN_CODE,</if>
<if test="returnMessage != null">RETURN_MESSAGE,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inId != null">#{inId},</if>
<if test="moyaBilltypeNumber != null">#{moyaBilltypeNumber},</if>
<if test="moyaBiztypeNumber != null">#{moyaBiztypeNumber},</if>
<if test="moyaBiztime != null">#{moyaBiztime},</if>
<if test="orgNumber != null">#{orgNumber},</if>
<if test="moyaOwnertype != null">#{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">#{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">#{moyaWarehouseNumber},</if>
<if test="moyaPurorderno != null">#{moyaPurorderno},</if>
<if test="moyaTaskstatus != null">#{moyaTaskstatus},</if>
<if test="h7f1WorkgroupNumber != null">#{h7f1WorkgroupNumber},</if>
<if test="h7f1ProductlinesNumber != null">#{h7f1ProductlinesNumber},</if>
<if test="h7f1OrgworkshopNumber != null">#{h7f1OrgworkshopNumber},</if>
<if test="h7f1Sourcesystem != null">#{h7f1Sourcesystem},</if>
<if test="h7f1SourcetypeNumber != null">#{h7f1SourcetypeNumber},</if>
<if test="moyaSrcsysbillno != null">#{moyaSrcsysbillno},</if>
<if test="moyaSupplierNumber != null">#{moyaSupplierNumber},</if>
<if test="h7f1Easbillno != null">#{h7f1Easbillno},</if>
<if test="h7f1Innotification != null">#{h7f1Innotification},</if>
<if test="moyaRemark != null">#{moyaRemark},</if>
<if test="h7f1Ptsmessage != null">#{h7f1Ptsmessage},</if>
<if test="status != null">#{status},</if>
<if test="returnCode != null">#{returnCode},</if>
<if test="returnMessage != null">#{returnMessage},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<delete id="deleteToKwmsInStockin">
DELETE FROM TO_KWMS_IN_STOCKIN
WHERE IN_ID = #{inId}
</delete>
<update id="updateToKwmsInStockin" parameterType="com.project.joggle.domain.ToKwmsInStockin">
UPDATE TO_KWMS_IN_STOCKIN
<set>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber},</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber},</if>
<if test="moyaBiztime != null">MOYA_BIZTIME = #{moyaBiztime},</if>
<if test="orgNumber != null">ORG_NUMBER = #{orgNumber},</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE = #{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER = #{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber},</if>
<if test="moyaPurorderno != null">MOYA_PURORDERNO = #{moyaPurorderno},</if>
<if test="moyaTaskstatus != null">MOYA_TASKSTATUS = #{moyaTaskstatus},</if>
<if test="h7f1WorkgroupNumber != null">H7F1_WORKGROUP_NUMBER = #{h7f1WorkgroupNumber},</if>
<if test="h7f1ProductlinesNumber != null">H7F1_PRODUCTLINES_NUMBER = #{h7f1ProductlinesNumber},</if>
<if test="h7f1OrgworkshopNumber != null">H7F1_ORGWORKSHOP_NUMBER = #{h7f1OrgworkshopNumber},</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM = #{h7f1Sourcesystem},</if>
<if test="h7f1SourcetypeNumber != null">H7F1_SOURCETYPE_NUMBER = #{h7f1SourcetypeNumber},</if>
<if test="moyaSrcsysbillno != null">MOYA_SRCSYSBILLNO = #{moyaSrcsysbillno},</if>
<if test="moyaSupplierNumber != null">MOYA_SUPPLIER_NUMBER = #{moyaSupplierNumber},</if>
<if test="h7f1Easbillno != null">H7F1_EASBILLNO = #{h7f1Easbillno},</if>
<if test="h7f1Innotification != null">H7F1_INNOTIFICATION = #{h7f1Innotification},</if>
<if test="moyaRemark != null">MOYA_REMARK = #{moyaRemark},</if>
<if test="h7f1Ptsmessage != null">H7F1_PTSMESSAGE = #{h7f1Ptsmessage},</if>
<if test="status != null">STATUS = #{status},</if>
<if test="returnCode != null">RETURN_CODE = #{returnCode},</if>
<if test="returnMessage != null">RETURN_MESSAGE = #{returnMessage},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</set>
WHERE IN_ID = #{inId}
</update>
<select id="selectToKwmsInStockinById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_IN_STOCKIN
WHERE IN_ID = #{inId}
</select>
<select id="selectToKwmsInStockinList" parameterType="com.project.joggle.domain.ToKwmsInStockin" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_IN_STOCKIN
<where>
<if test="inId != null">AND IN_ID = #{inId}</if>
<if test="moyaBilltypeNumber != null">AND MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber}</if>
<if test="moyaBiztypeNumber != null">AND MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber}</if>
<if test="moyaBiztime != null">AND MOYA_BIZTIME = #{moyaBiztime}</if>
<if test="orgNumber != null">AND ORG_NUMBER = #{orgNumber}</if>
<if test="moyaOwnertype != null">AND MOYA_OWNERTYPE = #{moyaOwnertype}</if>
<if test="moyaOwnerNumber != null">AND MOYA_OWNER_NUMBER = #{moyaOwnerNumber}</if>
<if test="moyaWarehouseNumber != null">AND MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber}</if>
<if test="moyaPurorderno != null">AND MOYA_PURORDERNO = #{moyaPurorderno}</if>
<if test="moyaTaskstatus != null">AND MOYA_TASKSTATUS = #{moyaTaskstatus}</if>
<if test="h7f1WorkgroupNumber != null">AND H7F1_WORKGROUP_NUMBER = #{h7f1WorkgroupNumber}</if>
<if test="h7f1ProductlinesNumber != null">AND H7F1_PRODUCTLINES_NUMBER = #{h7f1ProductlinesNumber}</if>
<if test="h7f1OrgworkshopNumber != null">AND H7F1_ORGWORKSHOP_NUMBER = #{h7f1OrgworkshopNumber}</if>
<if test="h7f1Sourcesystem != null">AND H7F1_SOURCESYSTEM = #{h7f1Sourcesystem}</if>
<if test="h7f1SourcetypeNumber != null">AND H7F1_SOURCETYPE_NUMBER = #{h7f1SourcetypeNumber}</if>
<if test="moyaSrcsysbillno != null">AND MOYA_SRCSYSBILLNO = #{moyaSrcsysbillno}</if>
<if test="moyaSupplierNumber != null">AND MOYA_SUPPLIER_NUMBER = #{moyaSupplierNumber}</if>
<if test="h7f1Easbillno != null">AND H7F1_EASBILLNO = #{h7f1Easbillno}</if>
<if test="h7f1Innotification != null">AND H7F1_INNOTIFICATION = #{h7f1Innotification}</if>
<if test="moyaRemark != null">AND MOYA_REMARK = #{moyaRemark}</if>
<if test="h7f1Ptsmessage != null">AND H7F1_PTSMESSAGE = #{h7f1Ptsmessage}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="returnCode != null">AND RETURN_CODE = #{returnCode}</if>
<if test="returnMessage != null">AND RETURN_MESSAGE = #{returnMessage}</if>
<if test="createTime != null">AND CREATE_TIME = #{createTime}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,125 @@
<?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.project.joggle.mapper.ToKwmsMoveDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsMoveDetail">
<id property="moveDetailId" column="MOVE_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="moveId" column="MOVE_ID" jdbcType="VARCHAR"/>
<result property="seq" column="SEQ" jdbcType="INTEGER"/>
<result property="moyaGoodsNumber" column="MOYA_GOODS_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaQty" column="MOYA_QTY" jdbcType="DECIMAL"/>
<result property="moyaLotnumber" column="MOYA_LOTNUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Srcsysentryid" column="H7F1_SRCSYSENTRYID" jdbcType="VARCHAR"/>
<result property="moyaLocationNumber" column="MOYA_LOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaContainernoNumber" column="MOYA_CONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaInlocationNumber" column="MOYA_INLOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaIncontainernoNumber" column="MOYA_INCONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaGoodDefectiveNumber" column="MOYA_GOOD_DEFECTIVE_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Zsbarcode" column="H7F1_ZSBARCODE" jdbcType="VARCHAR"/>
<result property="h7f1Productiondate" column="H7F1_PRODUCTIONDATE" jdbcType="TIMESTAMP"/>
<result property="h7f1Trayno" column="H7F1_TRAYNO" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
MOVE_DETAIL_ID,MOVE_ID,SEQ,MOYA_GOODS_NUMBER,MOYA_QTY,
MOYA_LOTNUMBER,H7F1_SRCSYSENTRYID,MOYA_LOCATION_NUMBER,MOYA_CONTAINERNO_NUMBER,MOYA_INLOCATION_NUMBER,
MOYA_INCONTAINERNO_NUMBER,MOYA_GOOD_DEFECTIVE_NUMBER,H7F1_ZSBARCODE,H7F1_PRODUCTIONDATE,H7F1_TRAYNO
</sql>
<insert id="insertToKwmsMoveDetail" parameterType="com.project.joggle.domain.ToKwmsMoveDetail">
INSERT INTO TO_KWMS_MOVE_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="moveDetailId != null">MOVE_DETAIL_ID,</if>
<if test="moveId != null">MOVE_ID,</if>
<if test="seq != null">SEQ,</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER,</if>
<if test="moyaQty != null">MOYA_QTY,</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER,</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID,</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER,</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER,</if>
<if test="moyaInlocationNumber != null">MOYA_INLOCATION_NUMBER,</if>
<if test="moyaIncontainernoNumber != null">MOYA_INCONTAINERNO_NUMBER,</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER,</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE,</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE,</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="moveDetailId != null">#{moveDetailId},</if>
<if test="moveId != null">#{moveId},</if>
<if test="seq != null">#{seq},</if>
<if test="moyaGoodsNumber != null">#{moyaGoodsNumber},</if>
<if test="moyaQty != null">#{moyaQty},</if>
<if test="moyaLotnumber != null">#{moyaLotnumber},</if>
<if test="h7f1Srcsysentryid != null">#{h7f1Srcsysentryid},</if>
<if test="moyaLocationNumber != null">#{moyaLocationNumber},</if>
<if test="moyaContainernoNumber != null">#{moyaContainernoNumber},</if>
<if test="moyaInlocationNumber != null">#{moyaInlocationNumber},</if>
<if test="moyaIncontainernoNumber != null">#{moyaIncontainernoNumber},</if>
<if test="moyaGoodDefectiveNumber != null">#{moyaGoodDefectiveNumber},</if>
<if test="h7f1Zsbarcode != null">#{h7f1Zsbarcode},</if>
<if test="h7f1Productiondate != null">#{h7f1Productiondate},</if>
<if test="h7f1Trayno != null">#{h7f1Trayno},</if>
</trim>
</insert>
<delete id="deleteToKwmsMoveDetail">
DELETE FROM TO_KWMS_MOVE_DETAIL
WHERE MOVE_DETAIL_ID = #{moveDetailId}
</delete>
<update id="updateToKwmsMoveDetail" parameterType="com.project.joggle.domain.ToKwmsMoveDetail">
UPDATE TO_KWMS_MOVE_DETAIL
<set>
<if test="moveId != null">MOVE_ID = #{moveId},</if>
<if test="seq != null">SEQ = #{seq},</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER = #{moyaGoodsNumber},</if>
<if test="moyaQty != null">MOYA_QTY = #{moyaQty},</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER = #{moyaLotnumber},</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid},</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER = #{moyaLocationNumber},</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber},</if>
<if test="moyaInlocationNumber != null">MOYA_INLOCATION_NUMBER = #{moyaInlocationNumber},</if>
<if test="moyaIncontainernoNumber != null">MOYA_INCONTAINERNO_NUMBER = #{moyaIncontainernoNumber},</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber},</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE = #{h7f1Zsbarcode},</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE = #{h7f1Productiondate},</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO = #{h7f1Trayno},</if>
</set>
WHERE MOVE_DETAIL_ID = #{moveDetailId}
</update>
<select id="selectToKwmsMoveDetailById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_MOVE_DETAIL
WHERE MOVE_DETAIL_ID = #{moveDetailId}
</select>
<select id="selectToKwmsMoveDetailList" parameterType="com.project.joggle.domain.ToKwmsMoveDetail" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_MOVE_DETAIL
<where>
<if test="moveDetailId != null">AND MOVE_DETAIL_ID = #{moveDetailId}</if>
<if test="moveId != null">AND MOVE_ID = #{moveId}</if>
<if test="seq != null">AND SEQ = #{seq}</if>
<if test="moyaGoodsNumber != null">AND MOYA_GOODS_NUMBER = #{moyaGoodsNumber}</if>
<if test="moyaQty != null">AND MOYA_QTY = #{moyaQty}</if>
<if test="moyaLotnumber != null">AND MOYA_LOTNUMBER = #{moyaLotnumber}</if>
<if test="h7f1Srcsysentryid != null">AND H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid}</if>
<if test="moyaLocationNumber != null">AND MOYA_LOCATION_NUMBER = #{moyaLocationNumber}</if>
<if test="moyaContainernoNumber != null">AND MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber}</if>
<if test="moyaInlocationNumber != null">AND MOYA_INLOCATION_NUMBER = #{moyaInlocationNumber}</if>
<if test="moyaIncontainernoNumber != null">AND MOYA_INCONTAINERNO_NUMBER = #{moyaIncontainernoNumber}</if>
<if test="moyaGoodDefectiveNumber != null">AND MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber}</if>
<if test="h7f1Zsbarcode != null">AND H7F1_ZSBARCODE = #{h7f1Zsbarcode}</if>
<if test="h7f1Productiondate != null">AND H7F1_PRODUCTIONDATE = #{h7f1Productiondate}</if>
<if test="h7f1Trayno != null">AND H7F1_TRAYNO = #{h7f1Trayno}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,125 @@
<?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.project.joggle.mapper.ToKwmsMoveMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsMove">
<id property="moveId" column="MOVE_ID" jdbcType="VARCHAR"/>
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="orgNumber" column="ORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztime" column="MOYA_BIZTIME" jdbcType="TIMESTAMP"/>
<result property="moyaHsrcbillno" column="MOYA_HSRCBILLNO" jdbcType="VARCHAR"/>
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" jdbcType="VARCHAR"/>
<result property="moyaRemark" column="MOYA_REMARK" jdbcType="VARCHAR"/>
<result property="billstatus" column="BILLSTATUS" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="INTEGER"/>
<result property="returnCode" column="RETURN_CODE" jdbcType="VARCHAR"/>
<result property="returnMessage" column="RETURN_MESSAGE" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
MOVE_ID,MOYA_BILLTYPE_NUMBER,ORG_NUMBER,MOYA_OWNERTYPE,MOYA_OWNER_NUMBER,
MOYA_WAREHOUSE_NUMBER,MOYA_BIZTIME,MOYA_HSRCBILLNO,H7F1_SOURCESYSTEM,MOYA_REMARK,
BILLSTATUS,STATUS,RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
</sql>
<insert id="insertToKwmsMove" parameterType="com.project.joggle.domain.ToKwmsMove">
INSERT INTO TO_KWMS_MOVE
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="moveId != null">MOVE_ID,</if>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER,</if>
<if test="orgNumber != null">ORG_NUMBER,</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE,</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER,</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER,</if>
<if test="moyaBiztime != null">MOYA_BIZTIME,</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO,</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM,</if>
<if test="moyaRemark != null">MOYA_REMARK,</if>
<if test="billstatus != null">BILLSTATUS,</if>
<if test="status != null">STATUS,</if>
<if test="returnCode != null">RETURN_CODE,</if>
<if test="returnMessage != null">RETURN_MESSAGE,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="moveId != null">#{moveId},</if>
<if test="moyaBilltypeNumber != null">#{moyaBilltypeNumber},</if>
<if test="orgNumber != null">#{orgNumber},</if>
<if test="moyaOwnertype != null">#{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">#{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">#{moyaWarehouseNumber},</if>
<if test="moyaBiztime != null">#{moyaBiztime},</if>
<if test="moyaHsrcbillno != null">#{moyaHsrcbillno},</if>
<if test="h7f1Sourcesystem != null">#{h7f1Sourcesystem},</if>
<if test="moyaRemark != null">#{moyaRemark},</if>
<if test="billstatus != null">#{billstatus},</if>
<if test="status != null">#{status},</if>
<if test="returnCode != null">#{returnCode},</if>
<if test="returnMessage != null">#{returnMessage},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<delete id="deleteToKwmsMove">
DELETE FROM TO_KWMS_MOVE
WHERE MOVE_ID = #{moveId}
</delete>
<update id="updateToKwmsMove" parameterType="com.project.joggle.domain.ToKwmsMove">
UPDATE TO_KWMS_MOVE
<set>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber},</if>
<if test="orgNumber != null">ORG_NUMBER = #{orgNumber},</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE = #{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER = #{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber},</if>
<if test="moyaBiztime != null">MOYA_BIZTIME = #{moyaBiztime},</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO = #{moyaHsrcbillno},</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM = #{h7f1Sourcesystem},</if>
<if test="moyaRemark != null">MOYA_REMARK = #{moyaRemark},</if>
<if test="billstatus != null">BILLSTATUS = #{billstatus},</if>
<if test="status != null">STATUS = #{status},</if>
<if test="returnCode != null">RETURN_CODE = #{returnCode},</if>
<if test="returnMessage != null">RETURN_MESSAGE = #{returnMessage},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</set>
WHERE MOVE_ID = #{moveId}
</update>
<select id="selectToKwmsMoveById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_MOVE
WHERE MOVE_ID = #{moveId}
</select>
<select id="selectToKwmsMoveList" parameterType="com.project.joggle.domain.ToKwmsMove" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_MOVE
<where>
<if test="moveId != null">AND MOVE_ID = #{moveId}</if>
<if test="moyaBilltypeNumber != null">AND MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber}</if>
<if test="orgNumber != null">AND ORG_NUMBER = #{orgNumber}</if>
<if test="moyaOwnertype != null">AND MOYA_OWNERTYPE = #{moyaOwnertype}</if>
<if test="moyaOwnerNumber != null">AND MOYA_OWNER_NUMBER = #{moyaOwnerNumber}</if>
<if test="moyaWarehouseNumber != null">AND MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber}</if>
<if test="moyaBiztime != null">AND MOYA_BIZTIME = #{moyaBiztime}</if>
<if test="moyaHsrcbillno != null">AND MOYA_HSRCBILLNO = #{moyaHsrcbillno}</if>
<if test="h7f1Sourcesystem != null">AND H7F1_SOURCESYSTEM = #{h7f1Sourcesystem}</if>
<if test="moyaRemark != null">AND MOYA_REMARK = #{moyaRemark}</if>
<if test="billstatus != null">AND BILLSTATUS = #{billstatus}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="returnCode != null">AND RETURN_CODE = #{returnCode}</if>
<if test="returnMessage != null">AND RETURN_MESSAGE = #{returnMessage}</if>
<if test="createTime != null">AND CREATE_TIME = #{createTime}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,110 @@
<?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.project.joggle.mapper.ToKwmsOutStockoutDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsOutStockoutDetail">
<id property="outDetailId" column="OUT_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="outId" column="OUT_ID" jdbcType="VARCHAR"/>
<result property="seq" column="SEQ" jdbcType="INTEGER"/>
<result property="moyaGoodsNumber" column="MOYA_GOODS_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaQty" column="MOYA_QTY" jdbcType="DECIMAL"/>
<result property="moyaLotnumber" column="MOYA_LOTNUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Srcsysentryid" column="H7F1_SRCSYSENTRYID" jdbcType="VARCHAR"/>
<result property="moyaContainernoNumber" column="MOYA_CONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaGoodDefectiveNumber" column="MOYA_GOOD_DEFECTIVE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaLocationNumber" column="MOYA_LOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Trayno" column="H7F1_TRAYNO" jdbcType="VARCHAR"/>
<result property="h7f1Remarkentity" column="H7F1_REMARKENTITY" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
OUT_DETAIL_ID,OUT_ID,SEQ,MOYA_GOODS_NUMBER,MOYA_QTY,
MOYA_LOTNUMBER,H7F1_SRCSYSENTRYID,MOYA_CONTAINERNO_NUMBER,MOYA_GOOD_DEFECTIVE_NUMBER,MOYA_LOCATION_NUMBER,
H7F1_TRAYNO,H7F1_REMARKENTITY
</sql>
<insert id="insertToKwmsOutStockoutDetail" parameterType="com.project.joggle.domain.ToKwmsOutStockoutDetail">
INSERT INTO TO_KWMS_OUT_STOCKOUT_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="outDetailId != null">OUT_DETAIL_ID,</if>
<if test="outId != null">OUT_ID,</if>
<if test="seq != null">SEQ,</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER,</if>
<if test="moyaQty != null">MOYA_QTY,</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER,</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID,</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER,</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER,</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER,</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO,</if>
<if test="h7f1Remarkentity != null">H7F1_REMARKENTITY,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="outDetailId != null">#{outDetailId},</if>
<if test="outId != null">#{outId},</if>
<if test="seq != null">#{seq},</if>
<if test="moyaGoodsNumber != null">#{moyaGoodsNumber},</if>
<if test="moyaQty != null">#{moyaQty},</if>
<if test="moyaLotnumber != null">#{moyaLotnumber},</if>
<if test="h7f1Srcsysentryid != null">#{h7f1Srcsysentryid},</if>
<if test="moyaContainernoNumber != null">#{moyaContainernoNumber},</if>
<if test="moyaGoodDefectiveNumber != null">#{moyaGoodDefectiveNumber},</if>
<if test="moyaLocationNumber != null">#{moyaLocationNumber},</if>
<if test="h7f1Trayno != null">#{h7f1Trayno},</if>
<if test="h7f1Remarkentity != null">#{h7f1Remarkentity},</if>
</trim>
</insert>
<delete id="deleteToKwmsOutStockoutDetail">
DELETE FROM TO_KWMS_OUT_STOCKOUT_DETAIL
WHERE OUT_DETAIL_ID = #{outDetailId}
</delete>
<update id="updateToKwmsOutStockoutDetail" parameterType="com.project.joggle.domain.ToKwmsOutStockoutDetail">
UPDATE TO_KWMS_OUT_STOCKOUT_DETAIL
<set>
<if test="outId != null">OUT_ID = #{outId},</if>
<if test="seq != null">SEQ = #{seq},</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER = #{moyaGoodsNumber},</if>
<if test="moyaQty != null">MOYA_QTY = #{moyaQty},</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER = #{moyaLotnumber},</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid},</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber},</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber},</if>
<if test="moyaLocationNumber != null">MOYA_LOCATION_NUMBER = #{moyaLocationNumber},</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO = #{h7f1Trayno},</if>
<if test="h7f1Remarkentity != null">H7F1_REMARKENTITY = #{h7f1Remarkentity},</if>
</set>
WHERE OUT_DETAIL_ID = #{outDetailId}
</update>
<select id="selectToKwmsOutStockoutDetailById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_OUT_STOCKOUT_DETAIL
WHERE OUT_DETAIL_ID = #{outDetailId}
</select>
<select id="selectToKwmsOutStockoutDetailList" parameterType="com.project.joggle.domain.ToKwmsOutStockoutDetail" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_OUT_STOCKOUT_DETAIL
<where>
<if test="outDetailId != null">AND OUT_DETAIL_ID = #{outDetailId}</if>
<if test="outId != null">AND OUT_ID = #{outId}</if>
<if test="seq != null">AND SEQ = #{seq}</if>
<if test="moyaGoodsNumber != null">AND MOYA_GOODS_NUMBER = #{moyaGoodsNumber}</if>
<if test="moyaQty != null">AND MOYA_QTY = #{moyaQty}</if>
<if test="moyaLotnumber != null">AND MOYA_LOTNUMBER = #{moyaLotnumber}</if>
<if test="h7f1Srcsysentryid != null">AND H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid}</if>
<if test="moyaContainernoNumber != null">AND MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber}</if>
<if test="moyaGoodDefectiveNumber != null">AND MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber}</if>
<if test="moyaLocationNumber != null">AND MOYA_LOCATION_NUMBER = #{moyaLocationNumber}</if>
<if test="h7f1Trayno != null">AND H7F1_TRAYNO = #{h7f1Trayno}</if>
<if test="h7f1Remarkentity != null">AND H7F1_REMARKENTITY = #{h7f1Remarkentity}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,167 @@
<?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.project.joggle.mapper.ToKwmsOutStockoutMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsOutStockout">
<id property="outId" column="OUT_ID" jdbcType="VARCHAR"/>
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="orgNumber" column="ORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztypeNumber" column="MOYA_BIZTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztime" column="MOYA_BIZTIME" jdbcType="TIMESTAMP"/>
<result property="moyaBusinessModel" column="MOYA_BUSINESS_MODEL" jdbcType="VARCHAR"/>
<result property="moyaPriority" column="MOYA_PRIORITY" jdbcType="VARCHAR"/>
<result property="moyaSrcsysbillno" column="MOYA_SRCSYSBILLNO" jdbcType="VARCHAR"/>
<result property="moyaBizstatus" column="MOYA_BIZSTATUS" jdbcType="VARCHAR"/>
<result property="billstatus" column="BILLSTATUS" jdbcType="VARCHAR"/>
<result property="moyaRemark" column="MOYA_REMARK" jdbcType="VARCHAR"/>
<result property="h7f1Ptsmessage" column="H7F1_PTSMESSAGE" jdbcType="VARCHAR"/>
<result property="h7f1Easbillno" column="H7F1_EASBILLNO" jdbcType="VARCHAR"/>
<result property="h7f1CustomerNumber" column="H7F1_CUSTOMER_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" jdbcType="VARCHAR"/>
<result property="h7f1SourcetypeNumber" column="H7F1_SOURCETYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="INTEGER"/>
<result property="returnCode" column="RETURN_CODE" jdbcType="VARCHAR"/>
<result property="returnMessage" column="RETURN_MESSAGE" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
OUT_ID,MOYA_BILLTYPE_NUMBER,ORG_NUMBER,MOYA_WAREHOUSE_NUMBER,MOYA_BIZTYPE_NUMBER,
MOYA_OWNERTYPE,MOYA_OWNER_NUMBER,MOYA_BIZTIME,MOYA_BUSINESS_MODEL,MOYA_PRIORITY,
MOYA_SRCSYSBILLNO,MOYA_BIZSTATUS,BILLSTATUS,MOYA_REMARK,H7F1_PTSMESSAGE,
H7F1_EASBILLNO,H7F1_CUSTOMER_NUMBER,H7F1_SOURCESYSTEM,H7F1_SOURCETYPE_NUMBER,STATUS,
RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
</sql>
<insert id="insertToKwmsOutStockout" parameterType="com.project.joggle.domain.ToKwmsOutStockout">
INSERT INTO TO_KWMS_OUT_STOCKOUT
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="outId != null">OUT_ID,</if>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER,</if>
<if test="orgNumber != null">ORG_NUMBER,</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER,</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER,</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE,</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER,</if>
<if test="moyaBiztime != null">MOYA_BIZTIME,</if>
<if test="moyaBusinessModel != null">MOYA_BUSINESS_MODEL,</if>
<if test="moyaPriority != null">MOYA_PRIORITY,</if>
<if test="moyaSrcsysbillno != null">MOYA_SRCSYSBILLNO,</if>
<if test="moyaBizstatus != null">MOYA_BIZSTATUS,</if>
<if test="billstatus != null">BILLSTATUS,</if>
<if test="moyaRemark != null">MOYA_REMARK,</if>
<if test="h7f1Ptsmessage != null">H7F1_PTSMESSAGE,</if>
<if test="h7f1Easbillno != null">H7F1_EASBILLNO,</if>
<if test="h7f1CustomerNumber != null">H7F1_CUSTOMER_NUMBER,</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM,</if>
<if test="h7f1SourcetypeNumber != null">H7F1_SOURCETYPE_NUMBER,</if>
<if test="status != null">STATUS,</if>
<if test="returnCode != null">RETURN_CODE,</if>
<if test="returnMessage != null">RETURN_MESSAGE,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="outId != null">#{outId},</if>
<if test="moyaBilltypeNumber != null">#{moyaBilltypeNumber},</if>
<if test="orgNumber != null">#{orgNumber},</if>
<if test="moyaWarehouseNumber != null">#{moyaWarehouseNumber},</if>
<if test="moyaBiztypeNumber != null">#{moyaBiztypeNumber},</if>
<if test="moyaOwnertype != null">#{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">#{moyaOwnerNumber},</if>
<if test="moyaBiztime != null">#{moyaBiztime},</if>
<if test="moyaBusinessModel != null">#{moyaBusinessModel},</if>
<if test="moyaPriority != null">#{moyaPriority},</if>
<if test="moyaSrcsysbillno != null">#{moyaSrcsysbillno},</if>
<if test="moyaBizstatus != null">#{moyaBizstatus},</if>
<if test="billstatus != null">#{billstatus},</if>
<if test="moyaRemark != null">#{moyaRemark},</if>
<if test="h7f1Ptsmessage != null">#{h7f1Ptsmessage},</if>
<if test="h7f1Easbillno != null">#{h7f1Easbillno},</if>
<if test="h7f1CustomerNumber != null">#{h7f1CustomerNumber},</if>
<if test="h7f1Sourcesystem != null">#{h7f1Sourcesystem},</if>
<if test="h7f1SourcetypeNumber != null">#{h7f1SourcetypeNumber},</if>
<if test="status != null">#{status},</if>
<if test="returnCode != null">#{returnCode},</if>
<if test="returnMessage != null">#{returnMessage},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<delete id="deleteToKwmsOutStockout">
DELETE FROM TO_KWMS_OUT_STOCKOUT
WHERE OUT_ID = #{outId}
</delete>
<update id="updateToKwmsOutStockout" parameterType="com.project.joggle.domain.ToKwmsOutStockout">
UPDATE TO_KWMS_OUT_STOCKOUT
<set>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber},</if>
<if test="orgNumber != null">ORG_NUMBER = #{orgNumber},</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber},</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber},</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE = #{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER = #{moyaOwnerNumber},</if>
<if test="moyaBiztime != null">MOYA_BIZTIME = #{moyaBiztime},</if>
<if test="moyaBusinessModel != null">MOYA_BUSINESS_MODEL = #{moyaBusinessModel},</if>
<if test="moyaPriority != null">MOYA_PRIORITY = #{moyaPriority},</if>
<if test="moyaSrcsysbillno != null">MOYA_SRCSYSBILLNO = #{moyaSrcsysbillno},</if>
<if test="moyaBizstatus != null">MOYA_BIZSTATUS = #{moyaBizstatus},</if>
<if test="billstatus != null">BILLSTATUS = #{billstatus},</if>
<if test="moyaRemark != null">MOYA_REMARK = #{moyaRemark},</if>
<if test="h7f1Ptsmessage != null">H7F1_PTSMESSAGE = #{h7f1Ptsmessage},</if>
<if test="h7f1Easbillno != null">H7F1_EASBILLNO = #{h7f1Easbillno},</if>
<if test="h7f1CustomerNumber != null">H7F1_CUSTOMER_NUMBER = #{h7f1CustomerNumber},</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM = #{h7f1Sourcesystem},</if>
<if test="h7f1SourcetypeNumber != null">H7F1_SOURCETYPE_NUMBER = #{h7f1SourcetypeNumber},</if>
<if test="status != null">STATUS = #{status},</if>
<if test="returnCode != null">RETURN_CODE = #{returnCode},</if>
<if test="returnMessage != null">RETURN_MESSAGE = #{returnMessage},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</set>
WHERE OUT_ID = #{outId}
</update>
<select id="selectToKwmsOutStockoutById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_OUT_STOCKOUT
WHERE OUT_ID = #{outId}
</select>
<select id="selectToKwmsOutStockoutList" parameterType="com.project.joggle.domain.ToKwmsOutStockout" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_OUT_STOCKOUT
<where>
<if test="outId != null">AND OUT_ID = #{outId}</if>
<if test="moyaBilltypeNumber != null">AND MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber}</if>
<if test="orgNumber != null">AND ORG_NUMBER = #{orgNumber}</if>
<if test="moyaWarehouseNumber != null">AND MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber}</if>
<if test="moyaBiztypeNumber != null">AND MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber}</if>
<if test="moyaOwnertype != null">AND MOYA_OWNERTYPE = #{moyaOwnertype}</if>
<if test="moyaOwnerNumber != null">AND MOYA_OWNER_NUMBER = #{moyaOwnerNumber}</if>
<if test="moyaBiztime != null">AND MOYA_BIZTIME = #{moyaBiztime}</if>
<if test="moyaBusinessModel != null">AND MOYA_BUSINESS_MODEL = #{moyaBusinessModel}</if>
<if test="moyaPriority != null">AND MOYA_PRIORITY = #{moyaPriority}</if>
<if test="moyaSrcsysbillno != null">AND MOYA_SRCSYSBILLNO = #{moyaSrcsysbillno}</if>
<if test="moyaBizstatus != null">AND MOYA_BIZSTATUS = #{moyaBizstatus}</if>
<if test="billstatus != null">AND BILLSTATUS = #{billstatus}</if>
<if test="moyaRemark != null">AND MOYA_REMARK = #{moyaRemark}</if>
<if test="h7f1Ptsmessage != null">AND H7F1_PTSMESSAGE = #{h7f1Ptsmessage}</if>
<if test="h7f1Easbillno != null">AND H7F1_EASBILLNO = #{h7f1Easbillno}</if>
<if test="h7f1CustomerNumber != null">AND H7F1_CUSTOMER_NUMBER = #{h7f1CustomerNumber}</if>
<if test="h7f1Sourcesystem != null">AND H7F1_SOURCESYSTEM = #{h7f1Sourcesystem}</if>
<if test="h7f1SourcetypeNumber != null">AND H7F1_SOURCETYPE_NUMBER = #{h7f1SourcetypeNumber}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="returnCode != null">AND RETURN_CODE = #{returnCode}</if>
<if test="returnMessage != null">AND RETURN_MESSAGE = #{returnMessage}</if>
<if test="createTime != null">AND CREATE_TIME = #{createTime}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,125 @@
<?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.project.joggle.mapper.ToKwmsTransferDetailMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsTransferDetail">
<id property="transferDetailId" column="TRANSFER_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="transferId" column="TRANSFER_ID" jdbcType="VARCHAR"/>
<result property="seq" column="SEQ" jdbcType="INTEGER"/>
<result property="moyaGoodsNumber" column="MOYA_GOODS_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaTotalinqty" column="MOYA_TOTALINQTY" jdbcType="DECIMAL"/>
<result property="moyaLotnumber" column="MOYA_LOTNUMBER" jdbcType="VARCHAR"/>
<result property="moyaLocationName" column="MOYA_LOCATION_NAME" jdbcType="VARCHAR"/>
<result property="moyaContainernoNumber" column="MOYA_CONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaInlocationNumber" column="MOYA_INLOCATION_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaIncontainernoNumber" column="MOYA_INCONTAINERNO_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Srcsysentryid" column="H7F1_SRCSYSENTRYID" jdbcType="VARCHAR"/>
<result property="moyaGoodDefectiveNumber" column="MOYA_GOOD_DEFECTIVE_NUMBER" jdbcType="VARCHAR"/>
<result property="h7f1Productiondate" column="H7F1_PRODUCTIONDATE" jdbcType="TIMESTAMP"/>
<result property="h7f1Zsbarcode" column="H7F1_ZSBARCODE" jdbcType="VARCHAR"/>
<result property="h7f1Trayno" column="H7F1_TRAYNO" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
TRANSFER_DETAIL_ID,TRANSFER_ID,SEQ,MOYA_GOODS_NUMBER,MOYA_TOTALINQTY,
MOYA_LOTNUMBER,MOYA_LOCATION_NAME,MOYA_CONTAINERNO_NUMBER,MOYA_INLOCATION_NUMBER,MOYA_INCONTAINERNO_NUMBER,
H7F1_SRCSYSENTRYID,MOYA_GOOD_DEFECTIVE_NUMBER,H7F1_PRODUCTIONDATE,H7F1_ZSBARCODE,H7F1_TRAYNO
</sql>
<insert id="insertToKwmsTransferDetail" parameterType="com.project.joggle.domain.ToKwmsTransferDetail">
INSERT INTO TO_KWMS_TRANSFER_DETAIL
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="transferDetailId != null">TRANSFER_DETAIL_ID,</if>
<if test="transferId != null">TRANSFER_ID,</if>
<if test="seq != null">SEQ,</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER,</if>
<if test="moyaTotalinqty != null">MOYA_TOTALINQTY,</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER,</if>
<if test="moyaLocationName != null">MOYA_LOCATION_NAME,</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER,</if>
<if test="moyaInlocationNumber != null">MOYA_INLOCATION_NUMBER,</if>
<if test="moyaIncontainernoNumber != null">MOYA_INCONTAINERNO_NUMBER,</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID,</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER,</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE,</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE,</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="transferDetailId != null">#{transferDetailId},</if>
<if test="transferId != null">#{transferId},</if>
<if test="seq != null">#{seq},</if>
<if test="moyaGoodsNumber != null">#{moyaGoodsNumber},</if>
<if test="moyaTotalinqty != null">#{moyaTotalinqty},</if>
<if test="moyaLotnumber != null">#{moyaLotnumber},</if>
<if test="moyaLocationName != null">#{moyaLocationName},</if>
<if test="moyaContainernoNumber != null">#{moyaContainernoNumber},</if>
<if test="moyaInlocationNumber != null">#{moyaInlocationNumber},</if>
<if test="moyaIncontainernoNumber != null">#{moyaIncontainernoNumber},</if>
<if test="h7f1Srcsysentryid != null">#{h7f1Srcsysentryid},</if>
<if test="moyaGoodDefectiveNumber != null">#{moyaGoodDefectiveNumber},</if>
<if test="h7f1Productiondate != null">#{h7f1Productiondate},</if>
<if test="h7f1Zsbarcode != null">#{h7f1Zsbarcode},</if>
<if test="h7f1Trayno != null">#{h7f1Trayno},</if>
</trim>
</insert>
<delete id="deleteToKwmsTransferDetail">
DELETE FROM TO_KWMS_TRANSFER_DETAIL
WHERE TRANSFER_DETAIL_ID = #{transferDetailId}
</delete>
<update id="updateToKwmsTransferDetail" parameterType="com.project.joggle.domain.ToKwmsTransferDetail">
UPDATE TO_KWMS_TRANSFER_DETAIL
<set>
<if test="transferId != null">TRANSFER_ID = #{transferId},</if>
<if test="seq != null">SEQ = #{seq},</if>
<if test="moyaGoodsNumber != null">MOYA_GOODS_NUMBER = #{moyaGoodsNumber},</if>
<if test="moyaTotalinqty != null">MOYA_TOTALINQTY = #{moyaTotalinqty},</if>
<if test="moyaLotnumber != null">MOYA_LOTNUMBER = #{moyaLotnumber},</if>
<if test="moyaLocationName != null">MOYA_LOCATION_NAME = #{moyaLocationName},</if>
<if test="moyaContainernoNumber != null">MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber},</if>
<if test="moyaInlocationNumber != null">MOYA_INLOCATION_NUMBER = #{moyaInlocationNumber},</if>
<if test="moyaIncontainernoNumber != null">MOYA_INCONTAINERNO_NUMBER = #{moyaIncontainernoNumber},</if>
<if test="h7f1Srcsysentryid != null">H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid},</if>
<if test="moyaGoodDefectiveNumber != null">MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber},</if>
<if test="h7f1Productiondate != null">H7F1_PRODUCTIONDATE = #{h7f1Productiondate},</if>
<if test="h7f1Zsbarcode != null">H7F1_ZSBARCODE = #{h7f1Zsbarcode},</if>
<if test="h7f1Trayno != null">H7F1_TRAYNO = #{h7f1Trayno},</if>
</set>
WHERE TRANSFER_DETAIL_ID = #{transferDetailId}
</update>
<select id="selectToKwmsTransferDetailById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_TRANSFER_DETAIL
WHERE TRANSFER_DETAIL_ID = #{transferDetailId}
</select>
<select id="selectToKwmsTransferDetailList" parameterType="com.project.joggle.domain.ToKwmsTransferDetail" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_TRANSFER_DETAIL
<where>
<if test="transferDetailId != null">AND TRANSFER_DETAIL_ID = #{transferDetailId}</if>
<if test="transferId != null">AND TRANSFER_ID = #{transferId}</if>
<if test="seq != null">AND SEQ = #{seq}</if>
<if test="moyaGoodsNumber != null">AND MOYA_GOODS_NUMBER = #{moyaGoodsNumber}</if>
<if test="moyaTotalinqty != null">AND MOYA_TOTALINQTY = #{moyaTotalinqty}</if>
<if test="moyaLotnumber != null">AND MOYA_LOTNUMBER = #{moyaLotnumber}</if>
<if test="moyaLocationName != null">AND MOYA_LOCATION_NAME = #{moyaLocationName}</if>
<if test="moyaContainernoNumber != null">AND MOYA_CONTAINERNO_NUMBER = #{moyaContainernoNumber}</if>
<if test="moyaInlocationNumber != null">AND MOYA_INLOCATION_NUMBER = #{moyaInlocationNumber}</if>
<if test="moyaIncontainernoNumber != null">AND MOYA_INCONTAINERNO_NUMBER = #{moyaIncontainernoNumber}</if>
<if test="h7f1Srcsysentryid != null">AND H7F1_SRCSYSENTRYID = #{h7f1Srcsysentryid}</if>
<if test="moyaGoodDefectiveNumber != null">AND MOYA_GOOD_DEFECTIVE_NUMBER = #{moyaGoodDefectiveNumber}</if>
<if test="h7f1Productiondate != null">AND H7F1_PRODUCTIONDATE = #{h7f1Productiondate}</if>
<if test="h7f1Zsbarcode != null">AND H7F1_ZSBARCODE = #{h7f1Zsbarcode}</if>
<if test="h7f1Trayno != null">AND H7F1_TRAYNO = #{h7f1Trayno}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,151 @@
<?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.project.joggle.mapper.ToKwmsTransferMapper">
<resultMap id="BaseResultMap" type="com.project.joggle.domain.ToKwmsTransfer">
<id property="transferId" column="TRANSFER_ID" jdbcType="VARCHAR"/>
<result property="moyaBilltypeNumber" column="MOYA_BILLTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztypeNumber" column="MOYA_BIZTYPE_NUMBER" jdbcType="VARCHAR"/>
<result property="orgNumber" column="ORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaOwnertype" column="MOYA_OWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaOwnerNumber" column="MOYA_OWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaWarehouseNumber" column="MOYA_WAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaInorgNumber" column="MOYA_INORG_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaInownertype" column="MOYA_INOWNERTYPE" jdbcType="VARCHAR"/>
<result property="moyaInownerNumber" column="MOYA_INOWNER_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaInwarehouseNumber" column="MOYA_INWAREHOUSE_NUMBER" jdbcType="VARCHAR"/>
<result property="moyaBiztime" column="MOYA_BIZTIME" jdbcType="TIMESTAMP"/>
<result property="billstatus" column="BILLSTATUS" jdbcType="VARCHAR"/>
<result property="moyaRemark" column="MOYA_REMARK" jdbcType="VARCHAR"/>
<result property="h7f1Sourcesystem" column="H7F1_SOURCESYSTEM" jdbcType="VARCHAR"/>
<result property="moyaHsrcbillno" column="MOYA_HSRCBILLNO" jdbcType="VARCHAR"/>
<result property="status" column="STATUS" jdbcType="INTEGER"/>
<result property="returnCode" column="RETURN_CODE" jdbcType="VARCHAR"/>
<result property="returnMessage" column="RETURN_MESSAGE" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
TRANSFER_ID,MOYA_BILLTYPE_NUMBER,MOYA_BIZTYPE_NUMBER,ORG_NUMBER,MOYA_OWNERTYPE,
MOYA_OWNER_NUMBER,MOYA_WAREHOUSE_NUMBER,MOYA_INORG_NUMBER,MOYA_INOWNERTYPE,MOYA_INOWNER_NUMBER,
MOYA_INWAREHOUSE_NUMBER,MOYA_BIZTIME,BILLSTATUS,MOYA_REMARK,H7F1_SOURCESYSTEM,
MOYA_HSRCBILLNO,STATUS,RETURN_CODE,RETURN_MESSAGE,CREATE_TIME
</sql>
<insert id="insertToKwmsTransfer" parameterType="com.project.joggle.domain.ToKwmsTransfer">
INSERT INTO TO_KWMS_TRANSFER
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="transferId != null">TRANSFER_ID,</if>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER,</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER,</if>
<if test="orgNumber != null">ORG_NUMBER,</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE,</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER,</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER,</if>
<if test="moyaInorgNumber != null">MOYA_INORG_NUMBER,</if>
<if test="moyaInownertype != null">MOYA_INOWNERTYPE,</if>
<if test="moyaInownerNumber != null">MOYA_INOWNER_NUMBER,</if>
<if test="moyaInwarehouseNumber != null">MOYA_INWAREHOUSE_NUMBER,</if>
<if test="moyaBiztime != null">MOYA_BIZTIME,</if>
<if test="billstatus != null">BILLSTATUS,</if>
<if test="moyaRemark != null">MOYA_REMARK,</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM,</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO,</if>
<if test="status != null">STATUS,</if>
<if test="returnCode != null">RETURN_CODE,</if>
<if test="returnMessage != null">RETURN_MESSAGE,</if>
<if test="createTime != null">CREATE_TIME,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="transferId != null">#{transferId},</if>
<if test="moyaBilltypeNumber != null">#{moyaBilltypeNumber},</if>
<if test="moyaBiztypeNumber != null">#{moyaBiztypeNumber},</if>
<if test="orgNumber != null">#{orgNumber},</if>
<if test="moyaOwnertype != null">#{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">#{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">#{moyaWarehouseNumber},</if>
<if test="moyaInorgNumber != null">#{moyaInorgNumber},</if>
<if test="moyaInownertype != null">#{moyaInownertype},</if>
<if test="moyaInownerNumber != null">#{moyaInownerNumber},</if>
<if test="moyaInwarehouseNumber != null">#{moyaInwarehouseNumber},</if>
<if test="moyaBiztime != null">#{moyaBiztime},</if>
<if test="billstatus != null">#{billstatus},</if>
<if test="moyaRemark != null">#{moyaRemark},</if>
<if test="h7f1Sourcesystem != null">#{h7f1Sourcesystem},</if>
<if test="moyaHsrcbillno != null">#{moyaHsrcbillno},</if>
<if test="status != null">#{status},</if>
<if test="returnCode != null">#{returnCode},</if>
<if test="returnMessage != null">#{returnMessage},</if>
<if test="createTime != null">#{createTime},</if>
</trim>
</insert>
<delete id="deleteToKwmsTransfer">
DELETE FROM TO_KWMS_TRANSFER
WHERE TRANSFER_ID = #{transferId}
</delete>
<update id="updateToKwmsTransfer" parameterType="com.project.joggle.domain.ToKwmsTransfer">
UPDATE TO_KWMS_TRANSFER
<set>
<if test="moyaBilltypeNumber != null">MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber},</if>
<if test="moyaBiztypeNumber != null">MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber},</if>
<if test="orgNumber != null">ORG_NUMBER = #{orgNumber},</if>
<if test="moyaOwnertype != null">MOYA_OWNERTYPE = #{moyaOwnertype},</if>
<if test="moyaOwnerNumber != null">MOYA_OWNER_NUMBER = #{moyaOwnerNumber},</if>
<if test="moyaWarehouseNumber != null">MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber},</if>
<if test="moyaInorgNumber != null">MOYA_INORG_NUMBER = #{moyaInorgNumber},</if>
<if test="moyaInownertype != null">MOYA_INOWNERTYPE = #{moyaInownertype},</if>
<if test="moyaInownerNumber != null">MOYA_INOWNER_NUMBER = #{moyaInownerNumber},</if>
<if test="moyaInwarehouseNumber != null">MOYA_INWAREHOUSE_NUMBER = #{moyaInwarehouseNumber},</if>
<if test="moyaBiztime != null">MOYA_BIZTIME = #{moyaBiztime},</if>
<if test="billstatus != null">BILLSTATUS = #{billstatus},</if>
<if test="moyaRemark != null">MOYA_REMARK = #{moyaRemark},</if>
<if test="h7f1Sourcesystem != null">H7F1_SOURCESYSTEM = #{h7f1Sourcesystem},</if>
<if test="moyaHsrcbillno != null">MOYA_HSRCBILLNO = #{moyaHsrcbillno},</if>
<if test="status != null">STATUS = #{status},</if>
<if test="returnCode != null">RETURN_CODE = #{returnCode},</if>
<if test="returnMessage != null">RETURN_MESSAGE = #{returnMessage},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
</set>
WHERE TRANSFER_ID = #{transferId}
</update>
<select id="selectToKwmsTransferById" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_TRANSFER
WHERE TRANSFER_ID = #{transferId}
</select>
<select id="selectToKwmsTransferList" parameterType="com.project.joggle.domain.ToKwmsTransfer" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM TO_KWMS_TRANSFER
<where>
<if test="transferId != null">AND TRANSFER_ID = #{transferId}</if>
<if test="moyaBilltypeNumber != null">AND MOYA_BILLTYPE_NUMBER = #{moyaBilltypeNumber}</if>
<if test="moyaBiztypeNumber != null">AND MOYA_BIZTYPE_NUMBER = #{moyaBiztypeNumber}</if>
<if test="orgNumber != null">AND ORG_NUMBER = #{orgNumber}</if>
<if test="moyaOwnertype != null">AND MOYA_OWNERTYPE = #{moyaOwnertype}</if>
<if test="moyaOwnerNumber != null">AND MOYA_OWNER_NUMBER = #{moyaOwnerNumber}</if>
<if test="moyaWarehouseNumber != null">AND MOYA_WAREHOUSE_NUMBER = #{moyaWarehouseNumber}</if>
<if test="moyaInorgNumber != null">AND MOYA_INORG_NUMBER = #{moyaInorgNumber}</if>
<if test="moyaInownertype != null">AND MOYA_INOWNERTYPE = #{moyaInownertype}</if>
<if test="moyaInownerNumber != null">AND MOYA_INOWNER_NUMBER = #{moyaInownerNumber}</if>
<if test="moyaInwarehouseNumber != null">AND MOYA_INWAREHOUSE_NUMBER = #{moyaInwarehouseNumber}</if>
<if test="moyaBiztime != null">AND MOYA_BIZTIME = #{moyaBiztime}</if>
<if test="billstatus != null">AND BILLSTATUS = #{billstatus}</if>
<if test="moyaRemark != null">AND MOYA_REMARK = #{moyaRemark}</if>
<if test="h7f1Sourcesystem != null">AND H7F1_SOURCESYSTEM = #{h7f1Sourcesystem}</if>
<if test="moyaHsrcbillno != null">AND MOYA_HSRCBILLNO = #{moyaHsrcbillno}</if>
<if test="status != null">AND STATUS = #{status}</if>
<if test="returnCode != null">AND RETURN_CODE = #{returnCode}</if>
<if test="returnMessage != null">AND RETURN_MESSAGE = #{returnMessage}</if>
<if test="createTime != null">AND CREATE_TIME = #{createTime}</if>
</where>
</select>
</mapper>