【WMS形态转换接口】增加提示语句
This commit is contained in:
		
							parent
							
								
									8ef191d605
								
							
						
					
					
						commit
						fdbec53c88
					
				|  | @ -358,13 +358,17 @@ public class WMSAdjustBillController { | |||
|             JSONObject jsonObj1 = (JSONObject) itemArr.get(1); | ||||
|             //区分入库明细与出库明细 | ||||
|             String orderType0 = jsonObj0.getString("orderType");//单据类型 | ||||
|             if("QTRK".equals(orderType0)){ | ||||
|             if (ApiResultExt.validateRequired(orderType0, "String")) { | ||||
|                 errormsg = errormsg.append(";").append("传入参数 ownerCode 为空"); | ||||
|             }else { | ||||
|                 if ("QTRK".equals(orderType0)) { | ||||
|                     ckObj = jsonObj0; | ||||
|                     rkObj = jsonObj1; | ||||
|             }else{ | ||||
|                 } else { | ||||
|                     ckObj = jsonObj1; | ||||
|                     rkObj = jsonObj0; | ||||
|                 } | ||||
|             } | ||||
|             String ownerCode = ckObj.getString("ownerCode");//货主编码-必填 | ||||
|             DynamicObject org = null; | ||||
|             if (ApiResultExt.validateRequired(ownerCode, "String")) { | ||||
|  | @ -606,7 +610,7 @@ public class WMSAdjustBillController { | |||
|                 return CustomApiResult.success(wmsXmlReturn); | ||||
|             } | ||||
|         }else{ | ||||
|             response.setMessage("传入参数 items 为空"); | ||||
|             response.setMessage("传入参数items为空或者items数量不对"); | ||||
|             response.setCode("-1"); | ||||
|             response.setFlag("failure"); | ||||
|             return CustomApiResult.success(wmsXmlReturn); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue