Existing store procedure untuk get graph, body, data table
This commit is contained in:
18
sp_exe_sum_tpl_01_V2(ONPROGRESS).txt
Normal file
18
sp_exe_sum_tpl_01_V2(ONPROGRESS).txt
Normal file
@@ -0,0 +1,18 @@
|
||||
BEGIN
|
||||
|
||||
SELECT exeSumTplTitle , exeSumTplSubTitleTitle , exeSumTplSubBody into @judul, @subjudul, @body
|
||||
FROM exe_sum_tpl
|
||||
WHERE exeSumTplCode= CODE
|
||||
AND exeSumTplMgm_McuID = MMID
|
||||
AND exeSumTplIsActive = 'Y'
|
||||
limit 0,1;
|
||||
|
||||
IF (CODE = 'A01') THEN
|
||||
SET @body = REPLACE(@body, '{PERCENTAGE_MEMBER}', 'New');
|
||||
|
||||
|
||||
|
||||
SELECT @judul as judul, @subjudul as subjudul, @body as body;
|
||||
END IF;
|
||||
|
||||
END
|
||||
Reference in New Issue
Block a user