Commit 0bd6a4763dc5050004fbe3273f57f084bc69a401
Merge branch 'master_cj_zq' into master_sample_order
# Conflicts: # xingyun-sc/src/main/java/com/lframework/xingyun/sc/impl/customer/FlowTaskServiceImpl.java
Showing
4 changed files
with
6 additions
and
6 deletions
| @@ -161,7 +161,7 @@ public class DraftRequestCarTicket extends BaseEntity implements BaseDto { | @@ -161,7 +161,7 @@ public class DraftRequestCarTicket extends BaseEntity implements BaseDto { | ||
| 161 | /** | 161 | /** |
| 162 | * 是否冻结 | 162 | * 是否冻结 |
| 163 | */ | 163 | */ |
| 164 | - private boolean freeze; | 164 | + private Boolean freeze; |
| 165 | 165 | ||
| 166 | /** | 166 | /** |
| 167 | * 冻结次数 | 167 | * 冻结次数 |
| @@ -278,7 +278,7 @@ public class PurchaseOrderInfo extends BaseEntity implements BaseDto { | @@ -278,7 +278,7 @@ public class PurchaseOrderInfo extends BaseEntity implements BaseDto { | ||
| 278 | /** | 278 | /** |
| 279 | * 是否冻结 | 279 | * 是否冻结 |
| 280 | */ | 280 | */ |
| 281 | - private boolean freeze; | 281 | + private Boolean freeze; |
| 282 | 282 | ||
| 283 | /** | 283 | /** |
| 284 | * 冻结次数 | 284 | * 冻结次数 |
| @@ -626,7 +626,7 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde | @@ -626,7 +626,7 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde | ||
| 626 | return; | 626 | return; |
| 627 | } | 627 | } |
| 628 | LambdaUpdateWrapper<PurchaseOrderInfo> updateWrapper = Wrappers.lambdaUpdate(PurchaseOrderInfo.class); | 628 | LambdaUpdateWrapper<PurchaseOrderInfo> updateWrapper = Wrappers.lambdaUpdate(PurchaseOrderInfo.class); |
| 629 | - updateWrapper.set(PurchaseOrderInfo::isFreeze, false) | 629 | + updateWrapper.set(PurchaseOrderInfo::getFreeze, false) |
| 630 | .in(PurchaseOrderInfo::getId, ids); | 630 | .in(PurchaseOrderInfo::getId, ids); |
| 631 | getBaseMapper().update(updateWrapper); | 631 | getBaseMapper().update(updateWrapper); |
| 632 | } | 632 | } |
| @@ -637,7 +637,7 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde | @@ -637,7 +637,7 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde | ||
| 637 | return; | 637 | return; |
| 638 | } | 638 | } |
| 639 | LambdaUpdateWrapper<PurchaseOrderInfo> updateWrapper = Wrappers.lambdaUpdate(PurchaseOrderInfo.class); | 639 | LambdaUpdateWrapper<PurchaseOrderInfo> updateWrapper = Wrappers.lambdaUpdate(PurchaseOrderInfo.class); |
| 640 | - updateWrapper.set(PurchaseOrderInfo::isFreeze, Boolean.TRUE) | 640 | + updateWrapper.set(PurchaseOrderInfo::getFreeze, Boolean.TRUE) |
| 641 | .setSql("freeze_count = freeze_count + 1") | 641 | .setSql("freeze_count = freeze_count + 1") |
| 642 | .in(PurchaseOrderInfo::getId, ids); | 642 | .in(PurchaseOrderInfo::getId, ids); |
| 643 | getBaseMapper().update(updateWrapper); | 643 | getBaseMapper().update(updateWrapper); |
| @@ -282,11 +282,11 @@ public class DraftRequestCarTicketServiceImpl extends BaseMpServiceImpl<DraftReq | @@ -282,11 +282,11 @@ public class DraftRequestCarTicketServiceImpl extends BaseMpServiceImpl<DraftReq | ||
| 282 | } | 282 | } |
| 283 | LambdaUpdateWrapper<DraftRequestCarTicket> updateWrapper = Wrappers.lambdaUpdate(DraftRequestCarTicket.class); | 283 | LambdaUpdateWrapper<DraftRequestCarTicket> updateWrapper = Wrappers.lambdaUpdate(DraftRequestCarTicket.class); |
| 284 | if (flag) { | 284 | if (flag) { |
| 285 | - updateWrapper.set(DraftRequestCarTicket::isFreeze, true) | 285 | + updateWrapper.set(DraftRequestCarTicket::getFreeze, true) |
| 286 | .setSql("freeze_count = freeze_count + 1") | 286 | .setSql("freeze_count = freeze_count + 1") |
| 287 | .in(DraftRequestCarTicket::getPurchaseOrderId, orderIds); | 287 | .in(DraftRequestCarTicket::getPurchaseOrderId, orderIds); |
| 288 | } else { | 288 | } else { |
| 289 | - updateWrapper.set(DraftRequestCarTicket::isFreeze, false) | 289 | + updateWrapper.set(DraftRequestCarTicket::getFreeze, false) |
| 290 | .in(DraftRequestCarTicket::getPurchaseOrderId, orderIds); | 290 | .in(DraftRequestCarTicket::getPurchaseOrderId, orderIds); |
| 291 | } | 291 | } |
| 292 | getBaseMapper().update(updateWrapper); | 292 | getBaseMapper().update(updateWrapper); |