【数据资产】
1、数据需求-修改上架状态
Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -337,9 +337,12 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -337,9 +337,12 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
| 337 | } | 337 | } |
| 338 | String orderNo = null; | 338 | String orderNo = null; |
| 339 | LambdaUpdateWrapper<MfDemand> updateWrapper = new LambdaUpdateWrapper<>(); | 339 | LambdaUpdateWrapper<MfDemand> updateWrapper = new LambdaUpdateWrapper<>(); |
| 340 | if (ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState()) && !dto.getIsZqPlatformApprove() && StringUtils.isEmpty(entity.getZqName())) { | 340 | if (ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState()) && !dto.getIsZqPlatformApprove()) { |
| 341 | if (StringUtils.isEmpty(entity.getZqName())) { | ||
| 341 | //生成加工单 | 342 | //生成加工单 |
| 342 | orderNo = addOrder(mfDemandService.getById(dto.getBizGuid()),dto); | 343 | orderNo = addOrder(mfDemandService.getById(dto.getBizGuid()),dto); |
| 344 | } | ||
| 345 | |||
| 343 | // 判断是否审核自动上架 | 346 | // 判断是否审核自动上架 |
| 344 | updateWrapper.set(MfDemand::getListingStatus, "Y"); | 347 | updateWrapper.set(MfDemand::getListingStatus, "Y"); |
| 345 | } | 348 | } | ... | ... |
-
Please register or sign in to post a comment