Compare commits
No commits in common. "ff6484dcae16b7388b05203677a2247fbe8663d8" and "1b730f657f76f44c327b90b5cdbbc79307259403" have entirely different histories.
ff6484dcae
...
1b730f657f
@ -188,17 +188,6 @@ public class MaterialShipRequestDetail extends FieldAccessor implements DataInfo
|
||||
@UserColumnMark
|
||||
private String erpFactory;
|
||||
|
||||
public String getAuart() {
|
||||
return auart;
|
||||
}
|
||||
|
||||
public void setAuart(String auart) {
|
||||
this.auart = auart;
|
||||
}
|
||||
|
||||
@UserColumnMark
|
||||
private String auart;
|
||||
|
||||
public String getSaleOutQuantity() {
|
||||
return saleOutQuantity;
|
||||
}
|
||||
|
@ -253,12 +253,12 @@ public class NoChargeStockIn {
|
||||
for (MaterialReceiveRequest request : requests) {
|
||||
String billcode = null;
|
||||
// 采购订单
|
||||
// if (ReceiveTypeEnums.isPurchase(request.getReceiveRequestType())) {
|
||||
if (ReceiveTypeEnums.isPurchase(request.getReceiveRequestType())) {
|
||||
Map<String,Object> args = new HashMap<>();
|
||||
billcode = toSAPServiceImpl.PurStockIn(request.getReceiveRequestName(), siteName, user, args,commitDate);
|
||||
// }else {
|
||||
// billcode = toSAPServiceImpl.SaleReturn(request.getReceiveRequestName(), siteName, user, commitDate, opCode);
|
||||
// }
|
||||
}else {
|
||||
billcode = toSAPServiceImpl.SaleReturn(request.getReceiveRequestName(), siteName, user, commitDate, opCode);
|
||||
}
|
||||
// @TODO 其他类型
|
||||
if (billcode == null || "".equals(billcode)) {
|
||||
return AjaxResult.me().setErrorCode(500).setSuccess(false).setMessage("SAP过账失败");
|
||||
|
@ -472,7 +472,7 @@ public class QMSController {
|
||||
}
|
||||
}
|
||||
} else if ("1".equals(tpType) || "2".equals(tpType) || "3".equals(tpType) || "4".equals(tpType) || "5".equals(tpType) || "7".equals(tpType)) {//料号+批次
|
||||
String kcsql = "SELECT M.SITENAME ,M.MATERIALPACKINGNAME,M.OQARESULT FROM MATERIALPACKING M "
|
||||
String kcsql = "SELECT M.SITENAME ,M.MATERIALPACKINGNAME FROM MATERIALPACKING M "
|
||||
+ "WHERE M.CHARGE = :BATCH AND M.MATERIALSPECNAME = :MATERIALSPECNAME";
|
||||
Map<String, Object> hashMap = new HashMap<String,Object> ();
|
||||
hashMap.put("BATCH", commonNumber);
|
||||
|
@ -1291,7 +1291,6 @@ public class SAPToWMSController {
|
||||
String ummat = MapUtils.getString(item, "UMMAT"); // 形态转换->目标物料类型
|
||||
|
||||
String xloek= MapUtils.getString(item, "xloek"); // 删除标识
|
||||
String auart= MapUtils.getString(item, "AUART"); // 接收生产订单类型 返工ZP05 复卷ZP01
|
||||
|
||||
|
||||
MaterialShipRequestDetail mrd =new MaterialShipRequestDetail();
|
||||
@ -1402,8 +1401,6 @@ public class SAPToWMSController {
|
||||
bindMapItem.put("goalMaterialSpec", ummat);
|
||||
bindMapItem.put("phase", phase);
|
||||
bindMapItem.put("saleOutQuantity", 0);
|
||||
bindMapItem.put("auart", auart);
|
||||
|
||||
|
||||
if("07".equals(shipRequestType) || "03".equals(shipRequestType)) {
|
||||
bindMapItem.put("receiveRequestDetailType", shipRequestType); // 原单号
|
||||
@ -1485,7 +1482,6 @@ public class SAPToWMSController {
|
||||
bindMapItem.put("goalMaterialSpec", ummat);
|
||||
bindMapItem.put("phase", phase);
|
||||
bindMapItem.put("saleOutQuantity", 0);
|
||||
bindMapItem.put("auart", auart);
|
||||
|
||||
nonPrimaryKeyValueInfo.setUserColumns(bindMapItem);
|
||||
EventInfo eventInfo = new EventInfo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user