补单问题,pda单据提交
							parent
							
								
									c2c18bb715
								
							
						
					
					
						commit
						ac32ef672d
					
				| @ -0,0 +1,45 @@ | ||||
| package com.glxp.api.entity.inout; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @Data | ||||
| public class PdaCodeEntity { | ||||
|     private String code;        //药监码
 | ||||
|     private String order;       //订单号
 | ||||
|     private String type;      //业务类型
 | ||||
|     private String Actor; | ||||
|     private String ActDate; | ||||
|     private String FromCorpID; | ||||
|     private String inout; | ||||
| 
 | ||||
|     //新增字段
 | ||||
|     private String batchNo; | ||||
|     private String produceDate; | ||||
|     private String expireDate; | ||||
|     private String serialNo; | ||||
|     private String udi; | ||||
|     private Integer count;   //码数量
 | ||||
|     private String thirdProductNo; | ||||
|     private Integer sCount; //扫码实际数量
 | ||||
|     private String supId; | ||||
|     private Long relId; | ||||
| 
 | ||||
|     public String getSupId() { | ||||
| 
 | ||||
|         if (supId == null) { | ||||
|             return null; | ||||
|         } else if (supId.equals("")) | ||||
|             return null; | ||||
|         return supId; | ||||
|     } | ||||
| 
 | ||||
|     public Integer getCount() { | ||||
| 
 | ||||
|         if (count == null) { | ||||
|             return 1; | ||||
|         } | ||||
|         if (count == 0) | ||||
|             return 1; | ||||
|         return count; | ||||
|     } | ||||
| } | ||||
| @ -0,0 +1,23 @@ | ||||
| package com.glxp.api.entity.inout; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @Data | ||||
| public class PdaOrderEntity { | ||||
| 
 | ||||
|     private String exportStatus;    //导出状态
 | ||||
|     private String type;            //业务类型
 | ||||
|     private String order;           //单号
 | ||||
|     private String inout; | ||||
|     private String FromCorpID; | ||||
|     private String fromCorp; | ||||
|     private int version; | ||||
|     private String docid; | ||||
|     private String stockCheckFk; | ||||
|     private String supId; | ||||
|     private String fromDeptCode; | ||||
|     private String fromInvCode; | ||||
|     private String deptCode; | ||||
|     private String invCode; | ||||
| 
 | ||||
| } | ||||
| @ -1,60 +0,0 @@ | ||||
| package com.glxp.api.req.inout; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @Data | ||||
| public class PdaCodeEntity { | ||||
|     private Long id; | ||||
|     private String action; | ||||
|     private String mainAction; | ||||
|     private String code; | ||||
|     private String corpOrderId; | ||||
|     private String actor; | ||||
|     private String actDate; | ||||
|     private String fromCorpId; | ||||
|     private String fromCorp; | ||||
|     private String orderId; | ||||
|     private String batchNo; | ||||
|     private String produceDate; | ||||
|     private String expireDate; | ||||
|     private String serialNo; | ||||
|     private Integer count; //扫码数量
 | ||||
|     private Integer reCount; //实际数量
 | ||||
|     private String packageLevel; | ||||
|     private String warehouseCode; | ||||
| 
 | ||||
|     private String customerId; | ||||
|     private String nameCode; | ||||
|     private Integer sCount; | ||||
|     private String supId;//供应商ID
 | ||||
|     private String supName; | ||||
|     private String invStorageCode; | ||||
|     private String invWarehouseCode; | ||||
|     private String relId; | ||||
|     private Integer status; | ||||
|     private String locStorageCode; | ||||
|     private String fromSubInvCode; | ||||
| 
 | ||||
|     private String mySupId; | ||||
| 
 | ||||
|     private int scanCount; | ||||
| 
 | ||||
|     public String getSupId() { | ||||
| 
 | ||||
|         if (supId == null) { | ||||
|             return null; | ||||
|         } else if (supId.equals("")) | ||||
|             return null; | ||||
|         return supId; | ||||
|     } | ||||
| 
 | ||||
|     public Integer getCount() { | ||||
| 
 | ||||
|         if (count == null) { | ||||
|             return 1; | ||||
|         } | ||||
|         if (count == 0) | ||||
|             return 1; | ||||
|         return count; | ||||
|     } | ||||
| } | ||||
| @ -0,0 +1,13 @@ | ||||
| package com.glxp.api.res.inout; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.util.List; | ||||
| 
 | ||||
| @Data | ||||
| public class PdaBusOrderResponse { | ||||
| 
 | ||||
|     IoOrderResponse orderResponse; | ||||
| 
 | ||||
|     private List<IoOrderDetailBizResponse> orderDetailBizResponses; | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue