增加付款方式字段

This commit is contained in:
GYJ
2024-06-27 14:21:02 +08:00
parent 2072621990
commit 260d364b72
2 changed files with 6 additions and 1 deletions

View File

@@ -86,6 +86,10 @@ public class TbShopPurveyorTransact implements Serializable {
@ApiModelProperty(value = "paidAt") @ApiModelProperty(value = "paidAt")
private Long paidAt; private Long paidAt;
@Column(name = "`pay_type`")
@ApiModelProperty(value = "payType")
private String payType;
@Column(name = "`type`") @Column(name = "`type`")
@ApiModelProperty(value = "type") @ApiModelProperty(value = "type")
private String type; private String type;

View File

@@ -110,6 +110,7 @@ public class TbShopPurveyorTransactServiceImpl implements TbShopPurveyorTransact
}else { }else {
tbShopPurveyorTransact.setStatus(0); tbShopPurveyorTransact.setStatus(0);
} }
tbShopPurveyorTransact.setPayType(resources.getPayType());
tbShopPurveyorTransactRepository.save(tbShopPurveyorTransact); tbShopPurveyorTransactRepository.save(tbShopPurveyorTransact);
} }
@@ -142,4 +143,4 @@ public class TbShopPurveyorTransactServiceImpl implements TbShopPurveyorTransact
} }
FileUtil.downloadExcel(list, response); FileUtil.downloadExcel(list, response);
} }
} }