Преглед изворни кода

Merge branch 'master' of 192.168.30.132:MTP2.0/MTP20_IF

zhou.xiaoning пре 4 година
родитељ
комит
001bc934f6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      models/ermcpOPLog.go

+ 1 - 1
models/ermcpOPLog.go

@@ -52,7 +52,7 @@ func (r *ErmcpOPLogModel) buildSql() string {
 		"  from ermcp_contractoperatelog t" +
 		"  left join loginaccount l" +
 		"    on t.applyid = l.loginid" +
-		" where t.relatedid = %v" +
+		" where t.relatedid = %v and t.operatelogtype in(13, 14, 15, 16, 21, 22)" +
 		" order by t.UPDATETIME desc"
 	return fmt.Sprintf(str, r.RELATEDID)
 }