Bladeren bron

tb_brand 없어진 칼럼 기준으로 데이터 생성 후 다시 주석 처리 fn_get_user_nm 수정

jsshin 5 jaren geleden
bovenliggende
commit
fa658b60d4

+ 9 - 0
산출물/3.설계/05.DB-Object/03.db_function/fn_get_user_nm.sql

@@ -29,6 +29,15 @@ BEGIN
 	FROM   TB_USER
 	WHERE  USER_NO = I_USER_NO
 	;
+
+	IF I_USER_NO = 0 THEN
+	    SET O_RET_VALUE = '배치';
+	END IF;
+
+	IF I_USER_NO > 1000000 THEN
+	    SET O_RET_VALUE = '본인';
+	END IF;
+
 	
 	RETURN O_RET_VALUE;
 

File diff suppressed because it is too large
+ 1400 - 24
산출물/3.설계/05.DB-Object/06.DDL/table.sql


Some files were not shown because too many files changed in this diff