8272fe03 by xiaojie

【数据资产】

1、数据需求-修改上架状态
1 parent eabf9de6
......@@ -337,9 +337,12 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
}
String orderNo = null;
LambdaUpdateWrapper<MfDemand> updateWrapper = new LambdaUpdateWrapper<>();
if (ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState()) && !dto.getIsZqPlatformApprove() && StringUtils.isEmpty(entity.getZqName())) {
//生成加工单
orderNo = addOrder(mfDemandService.getById(dto.getBizGuid()),dto);
if (ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState()) && !dto.getIsZqPlatformApprove()) {
if (StringUtils.isEmpty(entity.getZqName())) {
//生成加工单
orderNo = addOrder(mfDemandService.getById(dto.getBizGuid()),dto);
}
// 判断是否审核自动上架
updateWrapper.set(MfDemand::getListingStatus, "Y");
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!