Sfoglia il codice sorgente

系统消息插入错误修复

沈静伟 4 anni fa
parent
commit
954168576f

+ 1 - 1
src/dsb/com/cnd3b/common/data/SQL/系统消息插入.sql

@@ -5,4 +5,4 @@ insert into tmessage
 select @tmessageid+ROW_NUMBER()over(order by fphonenumber), siteid, getDate(), 0, $fmessage$, $ftype$, 0, null, tenterprise_userid,$ftitle$,
 select @tmessageid+ROW_NUMBER()over(order by fphonenumber), siteid, getDate(), 0, $fmessage$, $ftype$, 0, null, tenterprise_userid,$ftitle$,
 $objectid$,$objectname$
 $objectid$,$objectname$
 from tenterprise_users
 from tenterprise_users
-where fphonenumber is not null and siteid=$siteid$ and ($tenterprise_userid$=0 or tenterprise_userid = $tenterprise_userid$)
+where fphonenumber is not null and siteid=$siteid$ and tenterprise_userid = $tenterprise_userid$