流程生产订单审核后传出厂编号

This commit is contained in:
lihao 2025-07-07 15:36:07 +08:00
parent 0e5e1d0aa9
commit 4b0dd0ae06
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class AfterApproveSyncEpicMesRule implements IRule<PMOAggVO> {
HYPubBO hybo = new HYPubBO();
Object materialtype = hybo.findColValue("bd_material_v", "materialtype", "pk_source = '" + item.getCmaterialid() + "' ");
String detailItem = "materialtype"+vo.getParentVO().getDbilldate().toStdString().substring(0,3)+vo.getParentVO().getDbilldate().toStdString().substring(5,6);
String detailItem = materialtype+vo.getParentVO().getDbilldate().toStdString().substring(0,3)+vo.getParentVO().getDbilldate().toStdString().substring(5,6)+"0001";
jsonArray.add(detailItem);
}
obj.put("releaseNo", jsonArray);