mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 生成占桩订单
This commit is contained in:
@@ -24,7 +24,7 @@ public class OrderPileOccupy {
|
||||
private String occupyCode;
|
||||
|
||||
/**
|
||||
* 状态(0-占桩中;1-待支付;2-无需支付;3;订单完成)
|
||||
* 状态(0-占桩中;1-订单完成)
|
||||
*/
|
||||
private String status;
|
||||
|
||||
@@ -53,6 +53,11 @@ public class OrderPileOccupy {
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 支付状态(0-未支付;1-支付完成;2-无需支付)
|
||||
*/
|
||||
private String payStatus;
|
||||
|
||||
/**
|
||||
* 充电桩编号
|
||||
*/
|
||||
|
||||
@@ -109,7 +109,8 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService{
|
||||
String occupyCode = "OP" + IdUtils.getOrderCode();
|
||||
orderPileOccupy.setOccupyCode(occupyCode);
|
||||
orderPileOccupy.setMemberId(memberId);
|
||||
orderPileOccupy.setStatus(Constants.ZERO);
|
||||
orderPileOccupy.setStatus(Constants.ZERO); // 占桩中
|
||||
orderPileOccupy.setPayStatus(Constants.ZERO); // 未支付
|
||||
orderPileOccupy.setPileSn(pileSn);
|
||||
orderPileOccupy.setConnectorCode(connectorCode);
|
||||
orderPileOccupy.setPileConnectorCode(pileSn + connectorCode);
|
||||
|
||||
Reference in New Issue
Block a user