update 法规采购流程
This commit is contained in:
+5
-8
@@ -89,9 +89,10 @@ public class ProcessFbStandardPurchaseServiceImpl extends ServiceImpl<ProcessFbS
|
|||||||
**/
|
**/
|
||||||
private String addBusinessInfo(ProcessInfoVO<List<ProcessFbStandardPurchase>> processInfoVO) {
|
private String addBusinessInfo(ProcessInfoVO<List<ProcessFbStandardPurchase>> processInfoVO) {
|
||||||
List<ProcessFbStandardPurchase> businessInfoList = processInfoVO.getBusinessInfoDTO();
|
List<ProcessFbStandardPurchase> businessInfoList = processInfoVO.getBusinessInfoDTO();
|
||||||
String businessId = UUIDUtils.randomUUID20();
|
if (CollectionUtils.isEmpty(businessInfoList)) return "";
|
||||||
if (CollectionUtils.isNotEmpty(businessInfoList)) {
|
String businessId = businessInfoList.get(0).getBusinessId();
|
||||||
businessId = businessInfoList.get(0).getBusinessId();
|
if (StringUtils.isBlank(businessId)) {
|
||||||
|
businessId = UUIDUtils.randomUUID20();
|
||||||
}
|
}
|
||||||
processInfoVO.setBusinessId(businessId);
|
processInfoVO.setBusinessId(businessId);
|
||||||
|
|
||||||
@@ -112,11 +113,7 @@ public class ProcessFbStandardPurchaseServiceImpl extends ServiceImpl<ProcessFbS
|
|||||||
|
|
||||||
saveBatch(businessInfoList, businessInfoList.size()); // 保存到数据库
|
saveBatch(businessInfoList, businessInfoList.size()); // 保存到数据库
|
||||||
|
|
||||||
if (CollectionUtils.isNotEmpty(businessInfoList)) {
|
return businessInfoList.get(0).getStandardNumber() + "-" + businessInfoList.get(0).getStandardName() + "-" + "采购";
|
||||||
return businessInfoList.get(0).getStandardNumber() + "-" + businessInfoList.get(0).getStandardName() + "-" + "采购";
|
|
||||||
} else {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+3
@@ -15,4 +15,7 @@ public class MessageTemplateCodeCommon {
|
|||||||
public static final String ON_THE_PRODUCTION = "on_the_production"; // 【在产车实施预警】
|
public static final String ON_THE_PRODUCTION = "on_the_production"; // 【在产车实施预警】
|
||||||
public static final String LAWS_STANDARD_SHARING = "laws_standard_sharing"; // 【分享】收到分享
|
public static final String LAWS_STANDARD_SHARING = "laws_standard_sharing"; // 【分享】收到分享
|
||||||
public static final String ES_INSPECT_PLAN = "es_inspect_plan"; // 【企标稽查计划】流程结束
|
public static final String ES_INSPECT_PLAN = "es_inspect_plan"; // 【企标稽查计划】流程结束
|
||||||
|
public static final String STANDARD_CHANGE_REPLACE = "standard_change_replace"; // 【法规变更】代替/被代替标准变更
|
||||||
|
public static final String STANDARD_CHANGE_REFERENCE = "standard_change_reference"; // 【法规变更】引用标准变更
|
||||||
|
public static final String STANDARD_CONSULTATION = "standard_consultation"; // 【征求意见结果提醒】
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user