Compare commits

...

2 Commits

Author SHA1 Message Date
dy
74c7a809d9 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-09 13:08:13 +08:00
dy
a8b1254b96 实体类新增is_unbooking字段 2025-07-09 13:07:59 +08:00
4 changed files with 17 additions and 0 deletions

View File

@@ -110,6 +110,11 @@ public class CleanOrder extends TenantEntity {
*/ */
private Long createById; private Long createById;
/**
* 是否退订01
*/
private int isUnbooking;
/** /**
* 更新人id * 更新人id
*/ */

View File

@@ -111,6 +111,11 @@ public class CleanOrderBo extends BaseEntity {
@NotBlank(message = "联系电话不能为空", groups = {AddGroup.class, EditGroup.class}) @NotBlank(message = "联系电话不能为空", groups = {AddGroup.class, EditGroup.class})
private String phone; private String phone;
/**
* 是否退订01
*/
private int isUnbooking;
/** /**
* 状态 * 状态
*/ */

View File

@@ -113,6 +113,11 @@ public class CleanOrderVo implements Serializable {
@ExcelProperty(value = "联系人") @ExcelProperty(value = "联系人")
private String persion; private String persion;
/**
* 是否退订01
*/
private int isUnbooking;
/** /**
* 联系电话 * 联系电话
*/ */

View File

@@ -201,6 +201,8 @@ public class CleanOrderServiceImpl implements ICleanOrderService {
public Boolean updateByBo(CleanOrderBo bo) { public Boolean updateByBo(CleanOrderBo bo) {
CleanOrder update = MapstructUtils.convert(bo, CleanOrder.class); CleanOrder update = MapstructUtils.convert(bo, CleanOrder.class);
validEntityBeforeSave(update); validEntityBeforeSave(update);
update.setStarTime(String.valueOf(new DateTime(bo.getStarTime()).toLocalDateTime()));
update.setEndTime(String.valueOf(new DateTime(bo.getStarTime()).toLocalDateTime()));
return baseMapper.updateById(update) > 0; return baseMapper.updateById(update) > 0;
} }