cr파트리스트 -> nr 등록 화면에서 일부 사용자가 표시되지 않는 현상 수정

This commit is contained in:
chi
2023-01-04 17:30:22 +09:00
parent f5422e9272
commit c1d1b4f9d4
2 changed files with 4 additions and 4 deletions

View File

@@ -148,8 +148,8 @@ namespace FPJ0000
var cn = FCOMMON.DBM.getCn();
cn.Open();
string sql = "select [id],[name] " +
" from users" +
" where gcode='{1}' and id <> '{0}'" +
" from vGroupUser" +
" where gcode='{1}' and isnull(useUserState,0) = 1 and id <> '{0}'" +
" order by [name]";
sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);