记得上下班打卡 | git大法好,push需谨慎

Commit b7a8516c authored by 胡佳晨's avatar 胡佳晨

修改转赠

parent 9b8d6c44
...@@ -133,11 +133,19 @@ public class KylinOrderTicketVo implements Serializable, Cloneable { ...@@ -133,11 +133,19 @@ public class KylinOrderTicketVo implements Serializable, Cloneable {
private Integer ticketType; private Integer ticketType;
@ApiModelProperty(position = 15, value = "演出名称") @ApiModelProperty(position = 15, value = "演出名称")
private String fieldName; private String fieldName;
@ApiModelProperty(position = 15, value = "转赠时间") @ApiModelProperty(position = 20, value = "转赠时间")
private String transferTime; private String transferTime;
@ApiModelProperty(position = 15, value = "票单列表") @ApiModelProperty(position = 15, value = "票单列表")
private List<KylinOrderTicketEntitiesVo> entitiesVoList; private List<KylinOrderTicketEntitiesVo> entitiesVoList;
public void setTransferTime(String transferTime) {
this.transferTime = transferTime==null?"":transferTime;
}
public String getTransferTime() {
return transferTime==null?"":transferTime;
}
public void setOrderTicket(KylinOrderTickets orderTicket) { public void setOrderTicket(KylinOrderTickets orderTicket) {
BeanUtils.copyProperties(orderTicket, this); BeanUtils.copyProperties(orderTicket, this);
} }
......
...@@ -678,8 +678,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -678,8 +678,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
if (!orderTicketVo.getUserId().equals(uid)) { if (!orderTicketVo.getUserId().equals(uid)) {
return ResponseDto.success("无权查看"); return ResponseDto.success("无权查看");
} }
log.info("orderTicketVo.getTransferId = "+orderTicketVo.getTransferId()); if(!orderTicketVo.getTransferStatus().equals(0)){
if(!orderTicketVo.getTransferId().equals(0)){
return ResponseDto.failure("已转票一次,无法再次转票"); return ResponseDto.failure("已转票一次,无法再次转票");
} }
Boolean isCanTransfer; Boolean isCanTransfer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment