| | |
| | | package com.zy.asrs.entity.param; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.core.common.DateUtils; |
| | | import com.zy.common.model.DetlDto; |
| | | import lombok.Data; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Created by vincent on 2022/4/8 |
| | | * 海诺尔U8出库单同步参数 |
| | | */ |
| | | @Data |
| | | public class OpenOrderPakoutParam { |
| | | |
| | | private String orderNo; |
| | | //入库单号 |
| | | private String cCode; |
| | | |
| | | private String orderType; |
| | | //单据日期 |
| | | private Date dDate; |
| | | |
| | | private String orderTime; |
| | | //类型 |
| | | private String type; |
| | | |
| | | private List<DetlDto> orderDetails; |
| | | //制单人 |
| | | private String cMaker; |
| | | |
| | | //公司 |
| | | private String cAccount; |
| | | |
| | | public static void main(String[] args) { |
| | | OpenOrderPakoutParam param = new OpenOrderPakoutParam(); |
| | | param.setOrderNo("LXT12321321"); |
| | | param.setOrderType("交货单"); |
| | | param.setOrderTime(DateUtils.convert(new Date())); |
| | | List<DetlDto> orderDetails = new ArrayList<>(); |
| | | param.setOrderDetails(orderDetails); |
| | | DetlDto detlDto = new DetlDto("15099-10000", 3.0); |
| | | orderDetails.add(detlDto); |
| | | System.out.println(JSON.toJSONString(param)); |
| | | //备注 |
| | | private String cMemo; |
| | | |
| | | private List<Body> ADDBody; |
| | | |
| | | //private List<DetlDto> orderDetails; |
| | | |
| | | @Data |
| | | public static class Body{ |
| | | //存货编码 |
| | | private String cInvCode; |
| | | //数量 |
| | | private Double iQuantity; |
| | | //批号 |
| | | private String cBatch; |
| | | //行备注 |
| | | private String cbMemo; |
| | | } |
| | | |
| | | } |