正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -357,7 +357,9 @@ func ChanceApprove(header *protocol.RequestHeader, request *protocol.ChanceAppro | @@ -357,7 +357,9 @@ func ChanceApprove(header *protocol.RequestHeader, request *protocol.ChanceAppro | ||
357 | mapProcess["EnableStatus"] = int8(1) | 357 | mapProcess["EnableStatus"] = int8(1) |
358 | mapChance["Type"] = request.Type | 358 | mapChance["Type"] = request.Type |
359 | mapChance["ReserveTypeId"] = request.ReserveTypeId | 359 | mapChance["ReserveTypeId"] = request.ReserveTypeId |
360 | - mapChance["SelfChecks"] = common.AssertJson(request.SelfChecks) | 360 | + if len(request.SelfChecks) > 0 { |
361 | + mapChance["SelfChecks"] = common.AssertJson(request.SelfChecks) | ||
362 | + } | ||
361 | } | 363 | } |
362 | } | 364 | } |
363 | log.Info(fmt.Sprintf("用户:%v 提交审核 机会编号:%v 审批流编号:%v 审批状态:%v", header.UserId, chance.Id, process.Id, request.ReviewStatus)) | 365 | log.Info(fmt.Sprintf("用户:%v 提交审核 机会编号:%v 审批流编号:%v 审批状态:%v", header.UserId, chance.Id, process.Id, request.ReviewStatus)) |
-
请 注册 或 登录 后发表评论