Feat(Project Hub): Apply for Founding Partner Program page created with database structure and methods.

This commit is contained in:
2025-08-02 17:39:22 +01:00
parent 09af0a7a93
commit 438909b102
343 changed files with 8047 additions and 4253 deletions

View File

@@ -45,7 +45,7 @@ BEGIN
MET.id_type
, @errno
, @text
FROM parts.Shop_Msg_Error_Type MET
FROM fetchmetrics.Shop_Msg_Error_Type MET
WHERE MET.code = 'MYSQL_ERROR'
;
SELECT *
@@ -112,7 +112,7 @@ BEGIN
, IFNULL(U_T.is_included_VAT_default, U.is_included_VAT_default) AS is_included_VAT_default
, IFNULL(IFNULL(U_T.active, U.active), 1) AS active
, IFNULL(U_T.display_order, PC.display_order) AS display_order
FROM parts.Shop_User_Temp U_T
FROM fetchmetrics.Shop_User_Temp U_T
LEFT JOIN Shop_User U ON U_T.id_user = U.id_user
WHERE U_T.guid = a_guid
;
@@ -202,10 +202,10 @@ BEGIN
, 0 -- a_show_errors
, 0 -- a_debug
;
SELECT * FROM parts.DOG_Calc_User_Temp;
SELECT * FROM fetchmetrics.DOG_Calc_User_Temp;
END IF;
CALL parts.p_dog_calc_user(
CALL fetchmetrics.p_dog_calc_user(
v_guid -- guid
, a_id_user -- ids_user
, FALSE -- get_inactive_user
@@ -217,7 +217,7 @@ BEGIN
SET v_can_admin_user := (
SELECT IFNULL(UE_T.can_edit, 0) = 1
FROM parts.Shop_User_Eval_Temp UE_T
FROM fetchmetrics.Shop_User_Eval_Temp UE_T
WHERE
UE_T.GUID = a_guid
AND UE_T.id_user = a_id_user
@@ -284,7 +284,7 @@ BEGIN
# Errors
SELECT *
FROM tmp_Msg_Error t_ME
INNER JOIN parts.Shop_Msg_Error_Type MET ON t_ME.id_type = MET.id_type
INNER JOIN fetchmetrics.Shop_Msg_Error_Type MET ON t_ME.id_type = MET.id_type
;
IF a_debug = 1 THEN
@@ -295,7 +295,7 @@ BEGIN
DROP TABLE IF EXISTS tmp_User;
IF a_debug = 1 THEN
CALL parts.p_debug_timing_reporting ( v_time_start );
CALL fetchmetrics.p_debug_timing_reporting ( v_time_start );
END IF;
END //
DELIMITER ;