Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
dolly-chhabriya-altius committed Nov 7, 2024
2 parents 6daeb32 + c60f40c commit fba1254
Show file tree
Hide file tree
Showing 16 changed files with 271 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>cc.altius.FASP.rest.webservice</groupId>
<artifactId>FASP</artifactId>
<version>2.91[5043]</version>
<version>2.92[5059]</version>
<name>QAT</name>
<description>Quantification Analytics Tool</description>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cc/altius/FASP/dao/impl/UserDaoImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void setDataSource(DataSource dataSource) {
+ " `user`.`FAILED_ATTEMPTS`, `user`.`LAST_LOGIN_DATE`, "
+ " realm.`REALM_ID`, realm.`REALM_CODE`, realm_lb.`LABEL_ID` `REALM_LABEL_ID`, realm_lb.`LABEL_EN` `REALM_LABEL_EN`, realm_lb.`LABEL_FR` `REALM_LABEL_FR`, realm_lb.`LABEL_SP` `REALM_LABEL_SP`, realm_lb.`LABEL_PR` `REALM_LABEL_PR`, "
+ " lang.`LANGUAGE_ID`, langLabel.`LABEL_ID` AS LANGUAGE_LABEL_ID,langLabel.`LABEL_EN` AS LANGUAGE_LABEL_EN,langLabel.`LABEL_FR` AS LANGUAGE_LABEL_FR,langLabel.`LABEL_PR` LANGUAGE_LABEL_PR,langLabel.`LABEL_SP` AS LANGUAGE_LABEL_SP , lang.`LANGUAGE_CODE`,lang.`COUNTRY_CODE`, "
+ " `user`.`ACTIVE`, `user`.`EMAIL_ID`, `user`.`EXPIRES_ON`, `user`.`DEFAULT_THEME_ID`, `user`.`SHOW_DECIMALS`, "
+ " `user`.`ACTIVE`, `user`.`EMAIL_ID`, `user`.`EXPIRES_ON`, `user`.`DEFAULT_THEME_ID`, `user`.`SHOW_DECIMALS`,`user`.`DEFAULT_MODULE_ID`, "
+ " role.`ROLE_ID`, role_lb.`LABEL_ID` `ROLE_LABEL_ID`, role_lb.`LABEL_EN` `ROLE_LABEL_EN`, role_lb.`LABEL_FR` `ROLE_LABEL_FR`, role_lb.`LABEL_SP` `ROLE_LABEL_SP`, role_lb.`LABEL_PR` `ROLE_LABEL_PR`, "
+ " bf.`BUSINESS_FUNCTION_ID`, "
+ " acl.USER_ACL_ID, "
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cc/altius/FASP/jwt/JWTWebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(HttpMethod.GET, "/api/procurementAgent/**").hasAnyAuthority("ROLE_BF_LIST_PROCUREMENT_AGENT", "ROLE_BF_MAP_PLANNING_UNIT", "ROLE_BF_MAP_PROCUREMENT_UNIT", "ROLE_BF_MAP_COUNTRY_SPECIFIC_PRICES", "ROLE_BF_EDIT_PROCUREMENT_AGENT")
.requestMatchers(HttpMethod.POST, "/api/program/planningUnit/procurementAgent/**").hasAnyAuthority("ROLE_BF_MAP_COUNTRY_SPECIFIC_PRICES")
.requestMatchers(HttpMethod.PUT, "/api/procurementAgent/planningUnit/**").hasAnyAuthority("ROLE_BF_MAP_PLANNING_UNIT")
.requestMatchers(HttpMethod.PUT, "/api/program/planningingUnit/procurementAgent/**").hasAnyAuthority("ROLE_BF_MAP_COUNTRY_SPECIFIC_PRICES")
.requestMatchers(HttpMethod.PUT, "/api/program/planningUnit/procurementAgent").hasAnyAuthority("ROLE_BF_MAP_COUNTRY_SPECIFIC_PRICES")
.requestMatchers(HttpMethod.PUT, "/api/procurementAgent/procurementUnit/**").hasAnyAuthority("ROLE_BF_MAP_PROCUREMENT_UNIT")
.requestMatchers("/api/procurementAgent/getDisplayName/realmId/**").hasAnyAuthority("ROLE_BF_ADD_PROCUREMENT_AGENT")
.requestMatchers(HttpMethod.POST, "/api/procurementAgentType/**").hasAnyAuthority("ROLE_BF_ADD_PROCUREMENT_AGENT")
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/cc/altius/FASP/model/CustomUserDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class CustomUserDetails implements UserDetails, Serializable {
private boolean agreementAccepted;
private int defaultThemeId;
private boolean showDecimals;
private int defaultModuleId;

public Realm getRealm() {
return realm;
Expand Down Expand Up @@ -195,6 +196,14 @@ public void setShowDecimals(boolean showDecimals) {
this.showDecimals = showDecimals;
}

public int getDefaultModuleId() {
return defaultModuleId;
}

public void setDefaultModuleId(int defaultModuleId) {
this.defaultModuleId = defaultModuleId;
}

@Override
public String getUsername() {
return username;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public CustomUserDetails extractData(ResultSet rs) throws SQLException, DataAcce
user.setAgreementAccepted(rs.getBoolean("AGREEMENT_ACCEPTED"));
user.setDefaultThemeId(rs.getInt("DEFAULT_THEME_ID"));
user.setShowDecimals(rs.getBoolean("SHOW_DECIMALS"));
user.setDefaultModuleId(rs.getInt("DEFAULT_MODULE_ID"));
user.setRoles(new LinkedList<>());
user.setAclList(new LinkedList<>());
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ syncExpiresOn=15

info.app.name=QAT
info.app.description=Quantification Analytics Tool
info.app.version=2.91[5043]
info.app.frontEndVersion=[13066]
info.app.version=2.92[5059]
info.app.frontEndVersion=[13116]
management.endpoints.web.exposure.include=*
management.info.env.enabled = true
management.endpoint.sessions.enabled=true
Expand Down
39 changes: 39 additions & 0 deletions src/main/resources/incrementalSqlScripts/20240416-QAT-4598.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.supplyPlan.importIntoSP','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Import Into Supply Plan'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Importer dans le plan d`approvisionnement'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Importar al plan de suministro'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Importar para o plano de fornecimento'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.importIntoSP.forecastBlank','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Forecast is blank'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'La prévision est vide'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'El pronóstico está en blanco'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'A previsão está em branco'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.importIntoSP.dataExists','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Data already exists in Supply Plan Program'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Les données existent déjà dans le programme du plan d`approvisionnement'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Los datos ya existen en el programa del plan de suministro.'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Os dados já existem no Programa Plano de Fornecimento'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.importIntoSP.dataExistsGray','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Data exists in Supply Plan Program and is past {{month}} months, so it cannot be imported.'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Les données existent dans le programme du plan d`approvisionnement et sont passées {{month}} mois, il ne peut donc pas être importé.'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Los datos existen en el programa del plan de suministro y ya pasaron {{month}} meses, por lo que no se puede importar.'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Os dados existem no Programa Plano de Fornecimento e são passados {{month}} meses, portanto não pode ser importado.'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.forecastMonthlyErrorReport.showConsumption','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Show consumption adjusted for stock out?'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Afficher la consommation ajustée aux ruptures de stock ?'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'¿Mostrar el consumo ajustado por desabastecimiento?'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Mostrar consumo ajustado por ruptura de estoque?'); -- pr
111 changes: 111 additions & 0 deletions src/main/resources/incrementalSqlScripts/20240424-QAT-4598.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.dataSet.forecastingProgramName','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Enter forecasting program name'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Saisissez le nom du programme de prévision'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Ingrese el nombre del programa de pronóstico'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Insira o nome do programa de previsão'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.dataSet.forecastPeriodInMonth','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Enter forecast period (months)'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Entrez la période de prévision (mois)'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Ingrese el período de pronóstico (meses)'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Insira o período de previsão (meses)'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.dataSet.forecastperiodInMonthRequired','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Forecast period should not contain negative number, decimal numbers, characters & special symbols'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'La période de prévision ne doit pas contenir de nombres négatifs, de nombres décimaux, de caractères et de symboles spéciaux.'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'El período de pronóstico no debe contener números negativos, números decimales, caracteres ni símbolos especiales.'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'O período de previsão não deve conter números negativos, números decimais, caracteres e símbolos especiais'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.target','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Target'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Cible'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Objetivo'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Alvo'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.annualTarget','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Annual Target'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Objectif annuel'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Meta Anual'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Meta Anual'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.endingValueTarget','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Ending Value Target / Change'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Objectif de valeur finale/Modification'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Valor final objetivo/cambio'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Finalizando a meta/mudança de valor'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.increase','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Increase'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Augmenter'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Aumentar'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Aumentar'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.decrease','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Decrease'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Diminuer'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Disminuir'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Diminuir'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.discription','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Monthly change for {{startDate}} - {{stopDate}};\nConsiders: {{dateRange}} Entered Target = {{enteredTarget}}\nCalculated Target = {{calculatedTarget}}'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Changement mensuel pour {{startDate}} - {{stopDate}} ;\nConsidére : {{dateRange}} Cible saisie = {{enteredTarget}}\nCible calculée = {{calculatedTarget}}'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Cambio mensual para {{startDate}} - {{stopDate}};\nConsidera: {{dateRange}} Objetivo ingresado = {{enteredTarget}}\nObjetivo calculado = {{calculatedTarget}}'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Alteração mensal para {{startDate}} - {{stopDate}};\nConsiderações: {{dateRange}} Meta inserida = {{enteredTarget}}\nMeta calculada = {{calculatedTarget}}'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.treeTemplate.monthSelector','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Month Selector'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Sélecteur de mois'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Selector de mes'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Seletor de mês'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.consumptionInterval','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Consumption Interval (Reference)'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Intervalle de consommation (référence)'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Intervalo de consumo (Referencia)'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Intervalo de Consumo (Referência)'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.treeTemplate.returnToList','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Return To List'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Retour à la liste'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Volver a la lista'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Retornar à lista'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.targetChangePer','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Target change (%)'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Changement cible (%)'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Cambio de objetivo (%)'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Alteração de meta (%)'); -- pr

INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.tree.changePerPoints','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Change (% points)'); -- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Variation (points de %)'); -- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Cambio (puntos porcentuales)'); -- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Alteração (% pontos)'); -- pr
14 changes: 14 additions & 0 deletions src/main/resources/incrementalSqlScripts/20241104-QAT-5325.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.extrapolation.optimiseTESAndARIMASuccess','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Optimize TES & ARIMA done successfully');-- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Optimisation de TES et ARIMA effectuée avec succès');-- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Optimización de TES y ARIMA realizada con éxito');-- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Otimização de TES e ARIMA feita com sucesso');-- pr
INSERT INTO `fasp`.`ap_static_label`(`STATIC_LABEL_ID`,`LABEL_CODE`,`ACTIVE`) VALUES ( NULL,'static.extrapolation.missingTESAndARIMASuccess','1');
SELECT MAX(l.STATIC_LABEL_ID) INTO @MAX FROM ap_static_label l ;

INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,1,'Missing Extrapolation for TES & ARIMA done successfully');-- en
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,2,'Extrapolation manquante pour TES et ARIMA effectuée avec succès');-- fr
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,3,'Falta extrapolación para TES y ARIMA realizada con éxito');-- sp
INSERT INTO ap_static_label_languages VALUES(NULL,@MAX,4,'Extrapolação ausente para TES e ARIMA feita com sucesso');-- pr
Loading

0 comments on commit fba1254

Please sign in to comment.