fix(so):销售订单推送启源mes优化
This commit is contained in:
parent
db004abc7c
commit
111828326d
|
|
@ -115,14 +115,19 @@ public class AfterApprovingSynchronizeRuleQMS implements IRule<SaleOrderVO> {
|
||||||
|
|
||||||
itemObj.put("wlbh", mrlmap.get("code"));
|
itemObj.put("wlbh", mrlmap.get("code"));
|
||||||
itemObj.put("wlmc", mrlmap.get("name"));
|
itemObj.put("wlmc", mrlmap.get("name"));
|
||||||
itemObj.put("wlxhgg", ((String) mrlmap.get("materialspec") != null ? mrlmap.get("materialspec").toString() : "") + ((String) mrlmap.get("materialtype") != null ? mrlmap.get("materialtype").toString() : ""));
|
String wlxhgg = (mrlmap.get("materialspec") != null ? mrlmap.get("materialspec").toString() : "") + (mrlmap.get("materialtype") != null ? mrlmap.get("materialtype").toString() : "");
|
||||||
|
itemObj.put("wlxhgg", wlxhgg);
|
||||||
itemObj.put("dhsl", item.getNastnum().doubleValue());
|
itemObj.put("dhsl", item.getNastnum().doubleValue());
|
||||||
itemObj.put("xsj", item.getNqtorigtaxprice().doubleValue());
|
itemObj.put("xsj", item.getNqtorigtaxprice().doubleValue());
|
||||||
itemObj.put("bxzje", item.getNqtorigtaxprice().doubleValue());
|
itemObj.put("bxzje", item.getNqtorigtaxprice().doubleValue());
|
||||||
|
if (item.getDsenddate() != null) {
|
||||||
itemObj.put("jhrq", item.getDsenddate().toString().substring(0, 10));
|
itemObj.put("jhrq", item.getDsenddate().toString().substring(0, 10));
|
||||||
|
} else {
|
||||||
|
itemObj.put("jhrq", "");
|
||||||
|
}
|
||||||
itemObj.put("bz", item.getVrownote());
|
itemObj.put("bz", item.getVrownote());
|
||||||
Object pk_project = hybo.findColValue("bd_project", "project_name", " pk_project = '" + item.getCprojectid() + "' ");
|
Object project_name = hybo.findColValue("bd_project", "project_name", " project_name = '" + item.getCprojectid() + "' ");
|
||||||
itemObj.put("xmmc", pk_project);
|
itemObj.put("xmmc", project_name);
|
||||||
|
|
||||||
contentArray.add(itemObj);
|
contentArray.add(itemObj);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue