8272fe03 by xiaojie

【数据资产】

1、数据需求-修改上架状态
1 parent eabf9de6
...@@ -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 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!