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("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("xsj", item.getNqtorigtaxprice().doubleValue()); | ||||
|                 itemObj.put("bxzje", item.getNqtorigtaxprice().doubleValue()); | ||||
|                 itemObj.put("jhrq", item.getDsenddate().toString().substring(0, 10)); | ||||
|                 if (item.getDsenddate() != null) { | ||||
|                     itemObj.put("jhrq", item.getDsenddate().toString().substring(0, 10)); | ||||
|                 } else { | ||||
|                     itemObj.put("jhrq", ""); | ||||
|                 } | ||||
|                 itemObj.put("bz", item.getVrownote()); | ||||
|                 Object pk_project = hybo.findColValue("bd_project", "project_name", " pk_project = '" + item.getCprojectid() + "' "); | ||||
|                 itemObj.put("xmmc", pk_project); | ||||
|                 Object project_name = hybo.findColValue("bd_project", "project_name", " project_name = '" + item.getCprojectid() + "' "); | ||||
|                 itemObj.put("xmmc", project_name); | ||||
| 
 | ||||
|                 contentArray.add(itemObj); | ||||
|             } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue