diff --git a/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/ChanjetController.java b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/ChanjetController.java index 97d66220..f4a458da 100644 --- a/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/ChanjetController.java +++ b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/ChanjetController.java @@ -280,9 +280,9 @@ public class ChanjetController { @PreAuthorize("@ss.hasPermission('biz:storage:create')") @Scheduled(cron = "0 0 3 * * ?") public void synchronizeData() throws ChanjetApiException{ - chanjetManager.queryMaterial(); - //查询库存-现存量 - chanjetSchedule.queryStock(); +// chanjetManager.queryMaterial(); +// //查询库存-现存量 +// chanjetSchedule.queryStock(); // //测试 diff --git a/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/BizContent.java b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/BizContent.java new file mode 100644 index 00000000..22e3cdd8 --- /dev/null +++ b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/BizContent.java @@ -0,0 +1,81 @@ +/** + * Copyright 2024 bejson.com + */ +package com.chanko.yunxi.mes.module.biz.controller.admin.chanjet.dto; + +import java.util.Date; +import java.util.List; + +/** + * Auto-generated: 2024-04-29 10:50:45 + * + * @author bejson.com (i@bejson.com) + * @website http://www.bejson.com/java2pojo/ + */ +public class BizContent { + + private String voucherID; + private String voucherCode; + private String externalCode; + private Date voucherDate; + private BusinessType businessType; + private String memo; + private String ts; + private List details; + public void setVoucherID(String voucherID) { + this.voucherID = voucherID; + } + public String getVoucherID() { + return voucherID; + } + + public void setVoucherCode(String voucherCode) { + this.voucherCode = voucherCode; + } + public String getVoucherCode() { + return voucherCode; + } + + public void setExternalCode(String externalCode) { + this.externalCode = externalCode; + } + public String getExternalCode() { + return externalCode; + } + + public void setVoucherDate(Date voucherDate) { + this.voucherDate = voucherDate; + } + public Date getVoucherDate() { + return voucherDate; + } + + public void setBusinessType(BusinessType businessType) { + this.businessType = businessType; + } + public BusinessType getBusinessType() { + return businessType; + } + + public void setMemo(String memo) { + this.memo = memo; + } + public String getMemo() { + return memo; + } + + public void setTs(String ts) { + this.ts = ts; + } + public String getTs() { + return ts; + } + + public void setDetails(List details) { + this.details = details; + } + public List getDetails() { + return details; + } + +} \ No newline at end of file diff --git a/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/ManufactureOrderDetail.java b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/ManufactureOrderDetail.java new file mode 100644 index 00000000..186e3c12 --- /dev/null +++ b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/dto/ManufactureOrderDetail.java @@ -0,0 +1,41 @@ +package com.chanko.yunxi.mes.module.biz.controller.admin.chanjet.dto; + +/** + * Auto-generated: 2024-08-26 9:48:10 + * + * @author bejson.com (i@bejson.com) + * @website http://www.bejson.com/java2pojo/ + */ +public class ManufactureOrderDetail { + private Inventory inventory; + private String inventoryBarCode; + private Unit unit; + private double quantity; + public void setInventory(Inventory inventory) { + this.inventory = inventory; + } + public Inventory getInventory() { + return inventory; + } + + public void setInventoryBarCode(String inventoryBarCode) { + this.inventoryBarCode = inventoryBarCode; + } + public String getInventoryBarCode() { + return inventoryBarCode; + } + + public void setUnit(Unit unit) { + this.unit = unit; + } + public Unit getUnit() { + return unit; + } + + public void setQuantity(double quantity) { + this.quantity = quantity; + } + public double getQuantity() { + return quantity; + } +} diff --git a/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/vo/ManufactureOrderResVO.java b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/vo/ManufactureOrderResVO.java new file mode 100644 index 00000000..2002f82c --- /dev/null +++ b/mes-module-majoys/mes-module-majoys-biz/src/main/java/com/chanko/yunxi/mes/module/biz/controller/admin/chanjet/vo/ManufactureOrderResVO.java @@ -0,0 +1,62 @@ +package com.chanko.yunxi.mes.module.biz.controller.admin.chanjet.vo; + +import com.chanko.yunxi.mes.module.biz.controller.admin.chanjet.dto.BizContent; +import lombok.Data; + +/** + * Auto-generated: 2024-08-26 9:48:10 + * + * @author bejson.com (i@bejson.com) + * @website http://www.bejson.com/java2pojo/ + */ +@Data +public class ManufactureOrderResVO { + + private String requestId; + private String msgType; + private String appId; + private BizContent bizContent; + private String orgId; + private String time; + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public String getRequestId() { + return requestId; + } + + public void setMsgType(String msgType) { + this.msgType = msgType; + } + public String getMsgType() { + return msgType; + } + + public void setAppId(String appId) { + this.appId = appId; + } + public String getAppId() { + return appId; + } + + public void setBizContent(BizContent bizContent) { + this.bizContent = bizContent; + } + public BizContent getBizContent() { + return bizContent; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + public String getOrgId() { + return orgId; + } + + public void setTime(String time) { + this.time = time; + } + public String getTime() { + return time; + } +}