【泛微其他出库申请流程接口】排除样品 展会 礼品 拍照
This commit is contained in:
		
							parent
							
								
									b85aacba0a
								
							
						
					
					
						commit
						8643c89ceb
					
				|  | @ -22,6 +22,14 @@ public class OtherOutSubmitToFwOp extends AbstractOperationServicePlugIn { | |||
|         List<Object> successPkIds = operationResult.getSuccessPkIds(); | ||||
|         for (Object successPkId : successPkIds) { | ||||
|             DynamicObject bill = BusinessDataServiceHelper.loadSingle(successPkId, "im_otheroutbill"); | ||||
|             DynamicObject tqq9_biztype = bill.getDynamicObject("tqq9_biztype"); | ||||
|             if(tqq9_biztype != null){ | ||||
|                 //样品  礼品  拍照  展会 四类不推泛微 | ||||
|                 String biztypenumber = tqq9_biztype.getString("number"); | ||||
|                 if("613".equals(biztypenumber) || "614".equals(biztypenumber) ||"615".equals(biztypenumber) ||"616".equals(biztypenumber)){ | ||||
|                     continue; | ||||
|                 } | ||||
|             } | ||||
|             String resultStr = FWImpl.pushFwOtherOut(bill); | ||||
|             if(StringUtils.isNotBlank(resultStr)){ | ||||
|                 JSONObject resultObj = JSONObject.parseObject(resultStr); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue