feat InventoryOrderFind

main
YuChuan 2026-08-11 09:16:56 +08:00
parent 983ccc187c
commit e6ab1e3a5d
11 changed files with 938 additions and 10 deletions

View File

@ -16,6 +16,30 @@ public class InventoryOrderService {
this.apiClient = apiClient;
}
/**
* 312805-
*/
public InventoryOrderFindOneResponse inventoryOrderFindOne(InventoryOrderFindOneRequest request) {
String url = "/inventory-order/find/one";
HttpResponse<InventoryOrderFindOneResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
request.toJsonRequest(), InventoryOrderFindOneResponse.class);
return httpResponse.getServiceResponse();
}
/**
* 312806-
*/
public InventoryOrderFindPageResponse inventoryOrderFindPage(InventoryOrderFindPageRequest request) {
String url = "/inventory-order/find/page";
HttpResponse<InventoryOrderFindPageResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
request.toJsonRequest(), InventoryOrderFindPageResponse.class);
return httpResponse.getServiceResponse();
}
/**
* 312807-
*/
@ -120,15 +144,15 @@ public class InventoryOrderService {
return httpResponse.getServiceResponse();
}
/**
* 313107-wms
*/
public InventoryOrderStoreChangeResponse inventoryOrderStoreChange(InventoryOrderStoreChangeRequest request) {
String url = "/inventory-sync/store/change";
HttpResponse<InventoryOrderStoreChangeResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
request.toJsonRequest(), InventoryOrderStoreChangeResponse.class);
return httpResponse.getServiceResponse();
}
// /**
// * 313107-wms库存状态变更
// */
// public InventoryOrderStoreChangeResponse inventoryOrderStoreChange(InventoryOrderStoreChangeRequest request) {
// String url = "/inventory-sync/store/change";
// HttpResponse<InventoryOrderStoreChangeResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
// request.toJsonRequest(), InventoryOrderStoreChangeResponse.class);
// return httpResponse.getServiceResponse();
// }

View File

@ -31,7 +31,7 @@ public class InventoryOrderCreditRepayQueryResponse extends OrderBaseResponse im
/**
*
*/
@SerializedName("loan_info_list")
@SerializedName("loan_list")
private List<LoanInfo> loanInfoList;
@Data

View File

@ -10,6 +10,7 @@ import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* 312813-
@ -38,4 +39,9 @@ public class InventoryOrderCreditRepayRequest extends OrderBaseRequest implement
*/
@SerializedName("remark")
private String remark;
/**
*
*/
@SerializedName("goods_code_list")
private List<String> goodsCodeList;
}

View File

@ -0,0 +1,219 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* <p>
* DTO
* </p>
*
* @author codegen
* @since 2026-07-02
*/
@Data
@Accessors(chain = true)
public class InventoryOrderDTO implements Serializable {
/**
* ID
*/
@SerializedName("id")
private Integer id;
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
* wms
*/
@SerializedName("inventory_code")
private String inventoryCode;
/**
*
*/
@SerializedName("consignor_code")
private String consignorCode;
/**
*
*/
@SerializedName("order_no")
private String orderNo;
/**
* J
*/
@SerializedName("order_type")
private String orderType;
/**
*
*/
@SerializedName("order_amount")
private BigDecimal orderAmount;
/**
*
*/
@SerializedName("including_tax_amount")
private BigDecimal includingTaxAmount;
/**
*
*/
@SerializedName("order_time")
private String orderTime;
/**
* 0 1
*/
@SerializedName("order_status")
private String orderStatus;
/**
*
*/
@SerializedName("order_remark")
private String orderRemark;
/**
* 0 1
*/
@SerializedName("check_status")
private String checkStatus;
/**
*
*/
@SerializedName("verifier")
private String verifier;
/**
*
*/
@SerializedName("check_time")
private String checkTime;
/**
*
*/
@SerializedName("customs_declaration_no")
private String customsDeclarationNo;
/**
*
*/
@SerializedName("customs_no")
private String customsNo;
/**
*
*/
@SerializedName("finance_prop")
private BigDecimal financeProp;
/**
* A1
*/
@SerializedName("finance_account_a1")
private String financeAccountA1;
/**
* A2
*/
@SerializedName("finance_account_a2")
private String financeAccountA2;
/**
*
*/
@SerializedName("finance_account_name")
private String financeAccountName;
/**
* *
*/
@SerializedName("finance_limit")
private BigDecimal financeLimit;
/**
*
*/
@SerializedName("finance_amount_total")
private BigDecimal financeAmountTotal;
/**
* 0 1 2
*/
@SerializedName("finance_status")
private String financeStatus;
/**
*
*/
@SerializedName("repay_amount_bj")
private BigDecimal repayAmountBj;
/**
*
*/
@SerializedName("repay_amount_lx")
private BigDecimal repayAmountLx;
/**
*
*/
@SerializedName("pay_fee")
private BigDecimal payFee;
/**
* 0 1 2
*/
@SerializedName("repay_status")
private String repayStatus;
/**
*
*/
@SerializedName("create_time")
private String createTime;
/**
*
*/
@SerializedName("creator")
private String creator;
/**
*
*/
@SerializedName("update_time")
private String updateTime;
/**
*
*/
@SerializedName("updater")
private String updater;
/**
* 0 1
*/
@SerializedName("record_status")
private String recordStatus;
/**
*
*/
@SerializedName("order_time_start")
private String orderTimeStart;
/**
*
*/
@SerializedName("order_time_end")
private String orderTimeEnd;
/**
*
*/
@SerializedName("goods_list")
private List<InventoryOrderGoodsDTO> goodsList;
/**
*
*/
@SerializedName("loan_list")
private List<InventoryOrderLoanDTO> loanList;
/**
*
*/
@SerializedName("store_sync_list")
private List<InventoryOrderStoreSyncDTO> storeSyncList;
}

View File

@ -0,0 +1,50 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.czcb.scfs.api.core.ApiRequest;
import com.czcb.scfs.api.core.agrs.TransType;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 312805-
*/
@Data
@Accessors(chain = true)
@TransType("312805")
public class InventoryOrderFindOneRequest implements ApiRequest {
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
*
*/
@SerializedName("serial_no")
private String serialNo;
/**
*
*/
@SerializedName("trans_date")
private String transDate;
/**
*
*/
@SerializedName("trans_tradetime")
private String transTradeTime;
@SerializedName("data")
private InventoryOrderDTO data;
}

View File

@ -0,0 +1,49 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.czcb.scfs.api.core.ApiResponse;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 312805-
*/
@Data
@Accessors(chain = true)
public class InventoryOrderFindOneResponse implements ApiResponse {
/**
* 000000
*/
@SerializedName("recode")
private String recode;
/**
*
*/
@SerializedName("recode_info")
private String recodeInfo;
/**
*
*/
@SerializedName("sys_serial_no")
private String sysSerialNo;
/**
* YYYY-MM-DD
*/
@SerializedName("sys_date")
private String sysDate;
/**
* YYYY-MM-DD hh:mm:ss
*/
@SerializedName("sys_time")
private String sysTime;
@SerializedName("data")
private InventoryOrderDTO data;
}

View File

@ -0,0 +1,61 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.czcb.scfs.api.core.PageApiRequest;
import com.czcb.scfs.api.core.agrs.TransType;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 312806-
*/
@Data
@Accessors(chain = true)
@TransType("312806")
public class InventoryOrderFindPageRequest implements PageApiRequest {
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
*
*/
@SerializedName("serial_no")
private String serialNo;
/**
*
*/
@SerializedName("trans_date")
private String transDate;
/**
*
*/
@SerializedName("trans_tradetime")
private String transTradeTime;
/**
*
*/
@SerializedName("current_page")
private Long currentPage;
/**
*
*/
@SerializedName("current_rows")
private Long currentRows;
@SerializedName("data")
private InventoryOrderDTO data;
}

View File

@ -0,0 +1,67 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.czcb.scfs.api.core.PageApiResponse;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.List;
/**
* 312806-
*/
@Data
@Accessors(chain = true)
public class InventoryOrderFindPageResponse implements PageApiResponse {
/**
* 000000
*/
@SerializedName("recode")
private String recode;
/**
*
*/
@SerializedName("recode_info")
private String recodeInfo;
/**
*
*/
@SerializedName("sys_serial_no")
private String sysSerialNo;
/**
* YYYY-MM-DD
*/
@SerializedName("sys_date")
private String sysDate;
/**
* YYYY-MM-DD hh:mm:ss
*/
@SerializedName("sys_time")
private String sysTime;
/**
*
*/
@SerializedName("current_page")
private Long currentPage;
/**
*
*/
@SerializedName("total_page")
private Long totalPage;
/**
*
*/
@SerializedName("total_rows")
private Long totalRows;
@SerializedName("data")
private List<InventoryOrderDTO> data;
}

View File

@ -0,0 +1,161 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* DTO
* </p>
*
* @author codegen
* @since 2026-07-02
*/
@Data
@Accessors(chain = true)
public class InventoryOrderGoodsDTO implements Serializable {
/**
* ID
*/
@SerializedName("id")
private Integer id;
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
*
*/
@SerializedName("order_no")
private String orderNo;
/**
*
*/
@SerializedName("goods_code")
private String goodsCode;
/**
*
*/
@SerializedName("goods_name")
private String goodsName;
/**
*
*/
@SerializedName("hs_code")
private String hsCode;
/**
*
*/
@SerializedName("specification_code")
private String specificationCode;
/**
*
*/
@SerializedName("specification_name")
private String specificationName;
/**
*
*/
@SerializedName("specification_unit_price")
private BigDecimal specificationUnitPrice;
/**
*
*/
@SerializedName("package_quantity")
private Integer packageQuantity;
/**
*
*/
@SerializedName("package_unit")
private String packageUnit;
/**
*
*/
@SerializedName("package_capacity")
private String packageCapacity;
/**
* =*
*/
@SerializedName("goods_amount")
private BigDecimal goodsAmount;
/**
*
*/
@SerializedName("tax_rate")
private BigDecimal taxRate;
/**
* *1+
*/
@SerializedName("including_tax_amount")
private BigDecimal includingTaxAmount;
/**
* *
*/
@SerializedName("finance_limit")
private BigDecimal financeLimit;
/**
*
*/
@SerializedName("goods_remark")
private String goodsRemark;
/**
*
*/
@SerializedName("store_no")
private String storeNo;
/**
*
*/
@SerializedName("store_time")
private String storeTime;
/**
* 0 1 2
*/
@SerializedName("store_status")
private String storeStatus;
/**
*
*/
@SerializedName("container_no")
private String containerNo;
/**
*
*/
@SerializedName("receiving_storage")
private String receivingStorage;
/**
*
*/
@SerializedName("create_time")
private String createTime;
/**
*
*/
@SerializedName("creator")
private String creator;
/**
*
*/
@SerializedName("update_time")
private String updateTime;
/**
*
*/
@SerializedName("updater")
private String updater;
/**
* 0 1
*/
@SerializedName("record_status")
private String recordStatus;
}

View File

@ -0,0 +1,161 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* DTO
* </p>
*
* @author codegen
* @since 2026-04-09
*/
@Data
@Accessors(chain = true)
public class InventoryOrderLoanDTO implements Serializable {
/**
* ID
*/
@SerializedName("id")
private Integer id;
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
*
*/
@SerializedName("req_serial_no")
private String reqSerialNo;
/**
*
*/
@SerializedName("sys_serial_no")
private String sysSerialNo;
/**
*
*/
@SerializedName("order_no")
private String orderNo;
/**
*
*/
@SerializedName("contract_no")
private String contractNo;
/**
*
*/
@SerializedName("apply_account_no")
private String applyAccountNo;
/**
*
*/
@SerializedName("apply_account_name")
private String applyAccountName;
/**
*
*/
@SerializedName("loan_acct_no")
private String loanAcctNo;
/**
*
*/
@SerializedName("acct_seq_no")
private String acctSeqNo;
/**
*
*/
@SerializedName("loan_amount")
private BigDecimal loanAmount;
/**
* yyyy-MM-dd
*/
@SerializedName("loan_date")
private String loanDate;
/**
* yyyy-MM-dd hh:mm:ss
*/
@SerializedName("loan_time")
private String loanTime;
/**
*
*/
@SerializedName("core_serial_no")
private String coreSerialNo;
/**
*
*/
@SerializedName("loan_remark")
private String loanRemark;
/**
*
*/
@SerializedName("repay_serial_no")
private String repaySerialNo;
/**
* 0-1-2-8-9-
*/
@SerializedName("repay_status")
private String repayStatus;
/**
*
*/
@SerializedName("repay_fail_message")
private String repayFailMessage;
/**
*
*/
@SerializedName("repay_amount_bj")
private BigDecimal repayAmountBj;
/**
*
*/
@SerializedName("repay_amount_lx")
private BigDecimal repayAmountLx;
/**
* yyyy-MM-dd hh:mm:ss
*/
@SerializedName("repay_time")
private String repayTime;
/**
*
*/
@SerializedName("repay_remark")
private String repayRemark;
/**
*
*/
@SerializedName("create_time")
private String createTime;
/**
*
*/
@SerializedName("creator")
private String creator;
/**
*
*/
@SerializedName("update_time")
private String updateTime;
/**
*
*/
@SerializedName("updater")
private String updater;
/**
* 0 1
*/
@SerializedName("record_status")
private String recordStatus;
}

View File

@ -0,0 +1,130 @@
package com.czcb.scfs.api.service.v2.inventory.model;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* <p>
* DTO
* </p>
*
* @author codegen
* @since 2026-06-18
*/
@Data
@Accessors(chain = true)
public class InventoryOrderStoreSyncDTO implements Serializable {
/**
* ID
*/
@SerializedName("id")
private Integer id;
/**
*
*/
@SerializedName("channel_no")
private String channelNo;
/**
*
*/
@SerializedName("app_no")
private String appNo;
/**
* wms
*/
@SerializedName("inventory_code")
private String inventoryCode;
/**
*
*/
@SerializedName("consignor_code")
private String consignorCode;
/**
*
*/
@SerializedName("order_no")
private String orderNo;
/**
*
*/
@SerializedName("store_no")
private String storeNo;
/**
*
*/
@SerializedName("goods_code")
private String goodsCode;
/**
*
*/
@SerializedName("container_no")
private String containerNo;
/**
*
*/
@SerializedName("receiving_storage")
private String receivingStorage;
/**
*
*/
@SerializedName("store_status_old")
private String storeStatusOld;
/**
*
*/
@SerializedName("store_status_new")
private String storeStatusNew;
/**
*
*/
@SerializedName("syn_serial_no")
private String synSerialNo;
/**
* 0 8 9
*/
@SerializedName("syn_status")
private String synStatus;
/**
*
*/
@SerializedName("syn_message")
private String synMessage;
/**
*
*/
@SerializedName("lave_syn_times")
private Integer laveSynTimes;
/**
*
*/
@SerializedName("next_syn_time")
private String nextSynTime;
/**
*
*/
@SerializedName("create_time")
private String createTime;
/**
*
*/
@SerializedName("creator")
private String creator;
/**
*
*/
@SerializedName("update_time")
private String updateTime;
/**
*
*/
@SerializedName("updater")
private String updater;
/**
* 0 1
*/
@SerializedName("record_status")
private String recordStatus;
}