作者 yangfu

自查模板修改

@@ -286,10 +286,10 @@ func GetCheckQuestionsByChanceId(header *protocol.RequestHeader, id int64) (rsp @@ -286,10 +286,10 @@ func GetCheckQuestionsByChanceId(header *protocol.RequestHeader, id int64) (rsp
286 if len(chance.SelfChecks) == 0 { 286 if len(chance.SelfChecks) == 0 {
287 return 287 return
288 } 288 }
289 - //if chance.ReviewStatus==protocol.ReviewStatusPass{  
290 - // log.Warn("机会已审核通过不可编辑自查数据:",chance.Id)  
291 - // return  
292 - //} 289 + if chance.ReviewStatus == protocol.ReviewStatusPass {
  290 + log.Warn("机会已审核通过不可编辑自查数据:", chance.Id)
  291 + return
  292 + }
293 if e := json.Unmarshal([]byte(chance.SelfChecks), &selfChecks); e != nil { 293 if e := json.Unmarshal([]byte(chance.SelfChecks), &selfChecks); e != nil {
294 log.Error(e) 294 log.Error(e)
295 return 295 return