Просмотр исходного кода

系统消息插入错误修复

沈静伟 4 лет назад
Родитель
Сommit
954168576f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/dsb/com/cnd3b/common/data/SQL/系统消息插入.sql

+ 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$,
 $objectid$,$objectname$
 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$