|
|
@@ -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)
|
|
|
}
|