质量信息添加批次号

This commit is contained in:
hefengkai 2024-10-24 17:56:57 +08:00
parent c0776e2c94
commit 8839c46236
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ public class ArriveToDhjydImpl extends ServiceSupport implements IArriveToDhjyd
} else if("03".equals(def1Code)) { } else if("03".equals(def1Code)) {
arriveBb.setBeligible(UFBoolean.valueOf(false));//不合格 arriveBb.setBeligible(UFBoolean.valueOf(false));//不合格
} }
//Åú´ÎÖ÷¼ü²éѯ
String vbatchcode = dhjydItems[i].getVbatch();
Object pk_batchcode = new HYPubBO().findColValue("scm_batchcode", "pk_batchcode",
"nvl(dr, 0) = 0 and vbatchcode = '"+vbatchcode+"' ");
arriveBb.setPk_inbatchcode(pk_batchcode==null?"":pk_batchcode.toString());//Èë¿âÅú´ÎºÅÖ÷¼ü
arriveBb.setPk_inbatchcode(vbatchcode);//Èë¿âÅú´ÎºÅ±àÂë
vos.add(arriveBb); vos.add(arriveBb);
} }
} else { } else {