|
@@ -1464,11 +1464,11 @@ func (this *SmartReportController) CancelApprove() {
|
|
|
br.Msg = "操作成功"
|
|
|
return
|
|
|
}
|
|
|
- if reportItem.ApproveId <= 0 {
|
|
|
- br.Msg = "报告审批不存在"
|
|
|
- br.ErrMsg = fmt.Sprintf("报告审批不存在, ApproveId: %d", reportItem.ApproveId)
|
|
|
- return
|
|
|
- }
|
|
|
+ //if reportItem.ApproveId <= 0 {
|
|
|
+ // br.Msg = "报告审批不存在"
|
|
|
+ // br.ErrMsg = fmt.Sprintf("报告审批不存在, ApproveId: %d", reportItem.ApproveId)
|
|
|
+ // return
|
|
|
+ //}
|
|
|
|
|
|
// 撤销审批
|
|
|
e = services.CancelReportApprove(report_approve.FlowReportTypeSmart, reportItem.SmartReportId, reportItem.ApproveId, sysUser.AdminId, sysUser.RealName)
|