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

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

修改转赠

parent 9b8d6c44
......@@ -133,11 +133,19 @@ public class KylinOrderTicketVo implements Serializable, Cloneable {
private Integer ticketType;
@ApiModelProperty(position = 15, value = "演出名称")
private String fieldName;
@ApiModelProperty(position = 15, value = "转赠时间")
@ApiModelProperty(position = 20, value = "转赠时间")
private String transferTime;
@ApiModelProperty(position = 15, value = "票单列表")
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) {
BeanUtils.copyProperties(orderTicket, this);
}
......
......@@ -678,8 +678,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
if (!orderTicketVo.getUserId().equals(uid)) {
return ResponseDto.success("无权查看");
}
log.info("orderTicketVo.getTransferId = "+orderTicketVo.getTransferId());
if(!orderTicketVo.getTransferId().equals(0)){
if(!orderTicketVo.getTransferStatus().equals(0)){
return ResponseDto.failure("已转票一次,无法再次转票");
}
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