备料计划修改mes接口 字段优化
This commit is contained in:
		
							parent
							
								
									7b7fa5bb6e
								
							
						
					
					
						commit
						5d46717594
					
				|  | @ -220,6 +220,7 @@ public class AfterApproveRuleHighpressureMes implements IRule<AggPickmVO> { | |||
|                     JSONObject itemObj = new JSONObject(); | ||||
| 
 | ||||
|                     itemObj.put("bipChildId", item.getCpickm_bid()); // 子项主键ID | ||||
|                     itemObj.put("bchkitemforwr", "Y"); // 完工齐套检查 | ||||
|                     itemObj.put("quantityPerSet", item.getNunituseastnum() != null ? item.getNunituseastnum().doubleValue() : null); // 单套数量(单位用量) | ||||
|                     itemObj.put("reservedQuantity", item.getNatpastnum() != null ? item.getNatpastnum().doubleValue() : null); // 预留数量 | ||||
|                     itemObj.put("cumulativePendingQuantity", item.getNshouldastnum() != null ? item.getNshouldastnum().doubleValue() : null); // 累计待发数量 | ||||
|  |  | |||
|  | @ -168,6 +168,7 @@ public class AfterPickmRuleHighpressureRule implements IRule<PMOAggVO> { | |||
|                 JSONObject itemObj = new JSONObject(); | ||||
| 
 | ||||
|                 itemObj.put("bipChildId", item.getCpickm_bid()); // 子项主键ID | ||||
|                 itemObj.put("bchkitemforwr", "Y"); // 完工齐套检查 | ||||
|                 itemObj.put("quantityPerSet", item.getNunituseastnum() != null ? item.getNunituseastnum().doubleValue() : null); // 单套数量(单位用量) | ||||
|                 itemObj.put("reservedQuantity", item.getNatpastnum() != null ? item.getNatpastnum().doubleValue() : null); // 预留数量 | ||||
|                 itemObj.put("cumulativePendingQuantity", item.getNshouldastnum() != null ? item.getNshouldastnum().doubleValue() : null); // 累计待发数量 | ||||
|  |  | |||
|  | @ -126,6 +126,7 @@ public class SyncGyMesPickmUtil { | |||
|                 JSONObject itemObj = new JSONObject(); | ||||
| 
 | ||||
|                 itemObj.put("bipChildId", item.getCpickm_bid()); // 子项主键ID | ||||
|                 itemObj.put("bchkitemforwr", "Y"); // 完工齐套检查 | ||||
|                 itemObj.put("quantityPerSet", item.getNunituseastnum() != null ? item.getNunituseastnum().doubleValue() : null); // 单套数量(单位用量) | ||||
|                 itemObj.put("reservedQuantity", item.getNatpastnum() != null ? item.getNatpastnum().doubleValue() : null); // 预留数量 | ||||
|                 itemObj.put("cumulativePendingQuantity", item.getNshouldastnum() != null ? item.getNshouldastnum().doubleValue() : null); // 累计待发数量 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue