作者 tangxvhui

模板详情修改

@@ -220,6 +220,9 @@ func getSelfCheckData(templateId int64) []protocol.TemplateSelfCheck { @@ -220,6 +220,9 @@ func getSelfCheckData(templateId int64) []protocol.TemplateSelfCheck {
220 return data 220 return data
221 } 221 }
222 for i := range selfCheckData { 222 for i := range selfCheckData {
  223 + if selfCheckData[i].Pid > 0 {
  224 + continue
  225 + }
223 checkdata := protocol.TemplateSelfCheck{ 226 checkdata := protocol.TemplateSelfCheck{
224 Id: selfCheckData[i].Id, 227 Id: selfCheckData[i].Id,
225 Pid: selfCheckData[i].Pid, 228 Pid: selfCheckData[i].Pid,