[修改] 保存到草稿 因dataId引起的偶现问题
This commit is contained in:
+7
@@ -51,6 +51,13 @@ public class ActivitDefineService {
|
||||
if (StringUtils.isBlank(reportId)){
|
||||
reportId = UUID.randomUUID().toString().replace("-","");
|
||||
}
|
||||
/**
|
||||
* prcId为空时,是指保存到草稿 ,dataJson是有reportId的,
|
||||
* 此时 给reportId一个唯一值,是为了付给 dataId
|
||||
*/
|
||||
if (StringUtils.isBlank(prcId)){
|
||||
reportId = UUID.randomUUID().toString().replace("-","");
|
||||
}
|
||||
if ("".equals(prcType)){
|
||||
// 保存到草稿 ,没有选择 要申请的权限
|
||||
PowerApplyAct powerApplyAct = JSONObject.parseObject(dataJson, PowerApplyAct.class);
|
||||
|
||||
Reference in New Issue
Block a user