From ae7bca6082139d8f524a5aedd08e940de83356f4 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期三, 05 六月 2024 10:29:57 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/param/OpenOrderPakoutParam.java | 112 ++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 92 insertions(+), 20 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/param/OpenOrderPakoutParam.java b/src/main/java/com/zy/asrs/entity/param/OpenOrderPakoutParam.java index 96cad9c..87809c6 100644 --- a/src/main/java/com/zy/asrs/entity/param/OpenOrderPakoutParam.java +++ b/src/main/java/com/zy/asrs/entity/param/OpenOrderPakoutParam.java @@ -1,40 +1,112 @@ 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.text.ParseException; +import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; /** - * Created by vincent on 2022/4/8 + * 娴疯灏擴8鍑哄簱鍗曞悓姝ュ弬鏁� */ @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 lgort; + //涓讳綋 + 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)); + public void setcCusName(String cCusName) { + this.cCusName = cCusName; + } + + //鍏徃 + private String cCusName; + + //璋冩嫧 + private String allocation; + + //澶囨敞 + private String cMemo; + + private List<Body> aDDBody; + + //private List<DetlDto> orderDetails; + public void setcCode(String cCode) { + this.cCode = cCode; + } + + public void setdDate(String dDate) throws ParseException { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/DD hh:mm:ss"); + this.dDate = sdf.parse(dDate); + } + + public void setdDate$(Date dDate) { + this.dDate = dDate; + } + + public void setcMaker(String cMaker) { + this.cMaker = cMaker; + } + + public void setcAccount(String cAccount) { + this.cAccount = cAccount; + } + + public void setType(String type) { + this.type = type; + } + + public void setcMemo(String cMemo) { + this.cMemo = cMemo; + } + + public void setaDDBody(List<Body> aDDBody) { + this.aDDBody = aDDBody; + } + + public void setAllocation(String allocation) { + this.allocation = allocation; + } + + @Data + public static class Body{ + //瀛樿揣缂栫爜 + private String cInvCode; + //鏁伴噺 + private Double iQuantity; + //鎵瑰彿 + private String cBatch; + //琛屽娉� + private String cbMemo; + + public void setcInvCode(String cInvCode) { + this.cInvCode = cInvCode; + } + + public void setiQuantity(Double iQuantity) { + this.iQuantity = iQuantity; + } + + public void setcBatch(String cBatch) { + this.cBatch = cBatch; + } + + public void setCbMemo(String cbMemo) { + this.cbMemo = cbMemo; + } } } -- Gitblit v1.9.1