默认设置新增订单时为未退订
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
74c7a809d9
commit
8233524b2b
@ -55,6 +55,10 @@ public class CleanOrderServiceImpl implements ICleanOrderService {
|
|||||||
|
|
||||||
private final CleanRelationMapper cleanRelationMapper;
|
private final CleanRelationMapper cleanRelationMapper;
|
||||||
|
|
||||||
|
//NOTUNBOOKING:未退订 BOOKING:已退订
|
||||||
|
private final Integer NOTUNBOOKING = 0;
|
||||||
|
private final Integer BOOKING = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询保洁订单
|
* 查询保洁订单
|
||||||
*
|
*
|
||||||
@ -153,6 +157,7 @@ public class CleanOrderServiceImpl implements ICleanOrderService {
|
|||||||
BeanUtils.copyProperties(bo, add);
|
BeanUtils.copyProperties(bo, add);
|
||||||
add.setStarTime(String.valueOf(new DateTime(bo.getStarTime()).toLocalDateTime()));
|
add.setStarTime(String.valueOf(new DateTime(bo.getStarTime()).toLocalDateTime()));
|
||||||
add.setEndTime(String.valueOf(new DateTime(bo.getEndTime()).toLocalDateTime()));
|
add.setEndTime(String.valueOf(new DateTime(bo.getEndTime()).toLocalDateTime()));
|
||||||
|
add.setIsUnbooking(NOTUNBOOKING);
|
||||||
boolean flag = baseMapper.insert(add) > 0;
|
boolean flag = baseMapper.insert(add) > 0;
|
||||||
|
|
||||||
//取出clean_order表中的所有clean数据
|
//取出clean_order表中的所有clean数据
|
||||||
|
Loading…
Reference in New Issue
Block a user