Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-api
Commits
5be4d567
Commit
5be4d567
authored
Nov 09, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1100c623
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
226 additions
and
7 deletions
+226
-7
GetRepayPlanDetailsResp.java
...ec/api/bailuntec/cw/response/GetRepayPlanDetailsResp.java
+13
-3
PurchaseApi.java
...ava/com/bailuntec/api/bailuntec/purchase/PurchaseApi.java
+7
-4
GetPurchaseSkuForDataCenterResp.java
...luntec/purchase/resp/GetPurchaseSkuForDataCenterResp.java
+3
-0
PurchaseDetailDto.java
...luntec/api/bailuntec/purchase/resp/PurchaseDetailDto.java
+203
-0
No files found.
src/main/java/com/bailuntec/api/bailuntec/cw/response/GetRepayPlanDetailsResp.java
View file @
5be4d567
package
com
.
bailuntec
.
api
.
bailuntec
.
cw
.
response
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
...
...
@@ -18,31 +19,40 @@ public class GetRepayPlanDetailsResp {
private
Integer
id
;
@JsonProperty
(
"BorrowId"
)
private
Integer
borrowId
;
@JsonProperty
(
"RepayId"
)
private
Integer
repayId
;
@JsonProperty
(
"ContractNo"
)
private
String
contractNo
;
@JsonProperty
(
"CompanyVal"
)
private
Integer
companyVal
;
@JsonProperty
(
"Company"
)
private
String
company
;
@JsonProperty
(
"BankCard"
)
private
String
bankCard
;
@JsonProperty
(
"BankCardUser"
)
private
String
bankCardUser
;
@JsonProperty
(
"BankName"
)
private
String
bankName
;
@JsonProperty
(
"Creditor"
)
private
String
creditor
;
@JsonProperty
(
"RepayInterest"
)
private
BigDecimal
repayInterest
;
@JsonProperty
(
"RepayInterestRmb"
)
private
BigDecimal
repayInterestRmb
;
@JsonProperty
(
"CctualRepayTime"
)
private
LocalDateTime
actualRepayTime
;
private
LocalDateTime
gmtCreate
;
private
LocalDateTime
gmtModify
;
}
src/main/java/com/bailuntec/api/bailuntec/purchase/PurchaseApi.java
View file @
5be4d567
package
com
.
bailuntec
.
api
.
bailuntec
.
purchase
;
import
com.bailuntec.api.bailuntec.purchase.resp.GetPagePurchaseSkuInfoResp
;
import
com.bailuntec.api.bailuntec.purchase.resp.GetPurchaseSkuForDataCenterResp
;
import
com.bailuntec.api.bailuntec.purchase.resp.PurchaseDetailDto
;
import
com.bailuntec.api.bailuntec.purchase.resp.PurchaseResult
;
import
feign.Headers
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.List
;
...
...
@@ -17,7 +19,7 @@ import java.util.List;
* @author robbendev
* @since 2020/10/6 1:30 下午
*/
@FeignClient
(
name
=
"pur
hc
ase"
,
url
=
"http://api.purchase.bailuntec.com"
)
@FeignClient
(
name
=
"pur
ch
ase"
,
url
=
"http://api.purchase.bailuntec.com"
)
public
interface
PurchaseApi
{
/**
...
...
@@ -48,8 +50,9 @@ public interface PurchaseApi {
* @param page page
* @return 采购单sku详细信息
*/
@GetMapping
(
"/api/GetPagePurchaseSkuInfo"
)
PurchaseResult
<
List
<
GetPagePurchaseSkuInfoResp
>>
GetPagePurchaseSkuInfo
(
@RequestParam
(
"start"
)
String
start
,
@PostMapping
(
value
=
"/api/GetPagePurchaseSkuInfo"
)
@Headers
({
"content-length: 0"
})
PurchaseResult
<
List
<
PurchaseDetailDto
>>
GetPagePurchaseSkuInfo
(
@RequestParam
(
"start"
)
String
start
,
@RequestParam
(
"end"
)
String
end
,
@RequestParam
(
"pagesize"
)
Integer
pagesize
,
@RequestParam
(
"page"
)
Integer
page
);
...
...
src/main/java/com/bailuntec/api/bailuntec/purchase/resp/GetPurchaseSkuForDataCenterResp.java
View file @
5be4d567
...
...
@@ -2,6 +2,8 @@ package com.bailuntec.api.bailuntec.purchase.resp;
import
lombok.Data
;
import
java.util.List
;
/**
* <p>
*
...
...
@@ -12,4 +14,5 @@ import lombok.Data;
*/
@Data
public
class
GetPurchaseSkuForDataCenterResp
{
}
src/main/java/com/bailuntec/api/bailuntec/purchase/resp/PurchaseDetailDto.java
0 → 100644
View file @
5be4d567
package
com
.
bailuntec
.
api
.
bailuntec
.
purchase
.
resp
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
public
class
PurchaseDetailDto
{
@JsonProperty
(
"BuyNo"
)
@JSONField
(
name
=
"BuyNo"
)
private
String
purchaseId
;
@JsonProperty
(
"Status"
)
@JSONField
(
name
=
"Status"
)
private
Integer
status
;
@JsonProperty
(
"BuyCategoryName"
)
@JSONField
(
name
=
"BuyCategoryName"
)
private
String
purchaseCategoryName
;
@JsonProperty
(
"SupplierId"
)
@JSONField
(
name
=
"SupplierId"
)
private
Integer
deliverId
;
@JsonProperty
(
"SupplierName"
)
@JSONField
(
name
=
"SupplierName"
)
private
String
deliverName
;
@JsonProperty
(
"SupplierValue"
)
@JSONField
(
name
=
"SupplierValue"
)
private
Integer
deliverValue
;
@JsonProperty
(
"BuyUserName"
)
@JSONField
(
name
=
"BuyUserName"
)
private
String
buyerName
;
@JSONField
(
name
=
"WareHouseFrom"
)
@JsonProperty
(
"WareHouseFrom"
)
private
String
warehouseFromCode
;
@JSONField
(
name
=
"WareHouseFromName"
)
@JsonProperty
(
"WareHouseFromName"
)
private
String
warehouseFromName
;
@JSONField
(
name
=
"WareHouseTo"
)
@JsonProperty
(
"WareHouseTo"
)
private
String
warehouseIntoCode
;
@JSONField
(
name
=
"WareHouseToName"
)
@JsonProperty
(
"WareHouseToName"
)
private
String
warehouseIntoName
;
@JsonProperty
(
"SkuCode"
)
@JSONField
(
name
=
"SkuCode"
)
private
String
bailunSku
;
@JSONField
(
name
=
"BuyCount"
)
@JsonProperty
(
"BuyCount"
)
private
Integer
quantityPurchase
;
@JSONField
(
name
=
"PayPrice"
)
@JsonProperty
(
"PayPrice"
)
private
BigDecimal
unitPrice
;
@JSONField
(
name
=
"PayAmount"
)
@JsonProperty
(
"PayAmount"
)
private
BigDecimal
amountPaid
;
@JSONField
(
name
=
"MoneyUnitCode"
)
@JsonProperty
(
"MoneyUnitCode"
)
private
String
currencyCode
;
@JSONField
(
name
=
"MoneyUnitName"
)
@JsonProperty
(
"MoneyUnitName"
)
private
String
currencyName
;
@JSONField
(
name
=
"ReturnCount"
)
@JsonProperty
(
"ReturnCount"
)
private
Integer
quantityReturn
;
@JSONField
(
name
=
"PutinCount"
)
@JsonProperty
(
"PutinCount"
)
private
Integer
quantityInbound
;
@JSONField
(
name
=
"DeliverCount"
)
@JsonProperty
(
"DeliverCount"
)
private
Integer
quantityDeliver
;
@JsonProperty
(
"NotDeliverCount"
)
@JSONField
(
name
=
"NotDeliverCount"
)
private
Integer
quantityNotDeliver
;
@JsonProperty
(
"ArrivalCount"
)
@JSONField
(
name
=
"ArrivalCount"
)
private
Integer
quantityArrival
;
@JsonProperty
(
"NotArrivalCount"
)
@JSONField
(
name
=
"NotArrivalCount"
)
private
Integer
quantityNotArrival
;
@JsonProperty
(
"QcCount"
)
@JSONField
(
name
=
"QcCount"
)
private
Integer
quantityInspect
;
@JsonProperty
(
"QualifiedCount"
)
@JSONField
(
name
=
"QualifiedCount"
)
private
Integer
quantityQualifiedInspect
;
@JsonProperty
(
"NotQualifiedCount"
)
@JSONField
(
name
=
"NotQualifiedCount"
)
private
Integer
quantityUnqualifiedInspect
;
@JsonProperty
(
"AllotCount"
)
@JSONField
(
name
=
"AllotCount"
)
private
Integer
quantityWaitTransfer
;
@JsonProperty
(
"ExchangeCount"
)
@JSONField
(
name
=
"ExchangeCount"
)
private
Integer
quantityExchange
;
@JSONField
(
name
=
"PutinLoseCount"
)
@JsonProperty
(
"PutinLoseCount"
)
private
Integer
quantityLoseInbound
;
@JSONField
(
name
=
"CreateTime"
)
@JsonProperty
(
"CreateTime"
)
private
String
createTimed
;
@JSONField
(
name
=
"UpdateTime"
)
@JsonProperty
(
"UpdateTime"
)
private
String
updateTimed
;
@JsonProperty
(
"TaobaoOrderNo"
)
@JSONField
(
name
=
"TaobaoOrderNo"
)
private
String
alibabaOrderId
;
@JSONField
(
name
=
"ExpressNo"
)
@JsonProperty
(
"ExpressNo"
)
private
String
logisticsOrderId
;
@JSONField
(
name
=
"ExpressCompany"
)
@JsonProperty
(
"ExpressCompany"
)
private
String
logisticsCompanyName
;
@JSONField
(
name
=
"no"
)
@JsonProperty
(
"no"
)
private
Integer
companyId
;
@JSONField
(
name
=
"ispush"
)
@JsonProperty
(
"ispush"
)
private
Integer
ispush
;
@JSONField
(
name
=
"isallot"
)
@JsonProperty
(
"isallot"
)
private
Integer
isallot
;
@JSONField
(
name
=
"isaims"
)
@JsonProperty
(
"isaims"
)
private
Integer
isaims
;
@JSONField
(
name
=
"detail_delstatus"
)
@JsonProperty
(
"detail_delstatus"
)
private
Boolean
detailDelstatus
;
@JSONField
(
name
=
"paytype"
)
@JsonProperty
(
"paytype"
)
private
Integer
payType
;
@JSONField
(
name
=
"paystatus"
)
@JsonProperty
(
"paystatus"
)
private
Integer
payStatus
;
@JSONField
(
name
=
"lastsigntime"
)
@JsonProperty
(
"lastsigntime"
)
private
Date
lastSigntime
;
@JSONField
(
name
=
"arrivalstatus"
)
@JsonProperty
(
"BuyarrivalstatusNo"
)
private
Integer
arrivalStatus
;
@JSONField
(
name
=
"buyamount"
)
@JsonProperty
(
"buyamount"
)
private
Integer
amountBuy
;
@JSONField
(
name
=
"buypayamount"
)
@JsonProperty
(
"buypayamount"
)
private
Integer
amountPayed
;
@JSONField
(
name
=
"expressfee"
)
@JsonProperty
(
"expressfee"
)
private
Integer
amountExpress
;
@JSONField
(
name
=
"createusername"
)
@JsonProperty
(
"createusername"
)
private
String
createusername
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment