Commit 64f610c4 authored by Tong Li's avatar Tong Li

bom

parent a6d5f861
package com.aps.service.Algorithm;
import com.aps.common.util.FileHelper;
import com.aps.common.util.GlobalCacheUtil;
import com.aps.common.util.redis.RedisUtils;
import com.aps.entity.*;
......@@ -1249,7 +1250,7 @@ if(demand==null)
}
}
}
FileHelper.writeLogFile("BOM:"+material.getCode());
if (needed <= 0) {
orderMaterial.setYpQty(allneeded - needed);
orderMaterial.setQjQty(needed);
......@@ -1281,7 +1282,7 @@ if(demand==null)
for (RoutingSupportingReplace rsr : routingsupportingreplaces2) {
Material material1 = materials.get(rsr.getTargetmaterialid());
FileHelper.writeLogFile("RoutingSupportingReplace:"+material1.getCode());
if (material1 == null) {
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment