| | |
| | | " a.rejustsrvflag,a.Readers,a.UsrReaded,a.tipcount,a.formid,\n" + |
| | | " a.formtype,a.origfields,a.linkfields,a.linkmode,a.self_datafields,\n" + |
| | | " a.link_datafields,a.efilter , b.usercode ,a.url ,\n" + |
| | | " a.createusername ,a.topic ,a.messagetype ,a.isPublicUser\n" + |
| | | " a.createusername ,a.topic ,a.messagetype ,a.isPublicUser,"+dataSourceEntity.getDbId()+"as dbid\n" + |
| | | " from _sysMessageCount b \n" + |
| | | " join _sysmessage a on a.messid = b.messid\n" + |
| | | " where b.usercode in (select list from getinstr(@UserCodes)) \n" + |