Fix crm
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -80,6 +80,9 @@ public class ConfigActivityRules extends QueryRules {
|
||||
|
||||
String codJflav = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connection, sql);
|
||||
|
||||
if (UtilityString.isNullOrEmpty(codJflav))
|
||||
throw new Exception(String.format("Codice lavoratore non trovato per l'utente (%s)", entity.getUserName()));
|
||||
|
||||
ArrayList<JtbRLavt> returnList = new ArrayList<>();
|
||||
|
||||
sql =
|
||||
|
||||
@@ -215,17 +215,14 @@ public class CrmService {
|
||||
.setCodAnag((String) result.get("cod_anag"))
|
||||
.setFlagTipologia("A");
|
||||
|
||||
stbActivity = createNewActivity(activity, null);
|
||||
} else if (activity.getCodJcom() == null || activity.getCodJcom().equals(codJcomInterno)) {
|
||||
activity.setFlagTipologia("A");
|
||||
|
||||
if (userName.equalsIgnoreCase(requestDataDTO.getUsername()))
|
||||
activity.setOraViewAct(new Date());
|
||||
|
||||
stbActivity = createNewActivity(activity, null);
|
||||
} else {
|
||||
throw new Exception("Processo non valido");
|
||||
}
|
||||
|
||||
stbActivity = createNewActivity(activity, null);
|
||||
} else {
|
||||
stbActivity = CRMUtility.buildStbActivity(activity);
|
||||
stbActivity.setOperation(OperationType.UPDATE);
|
||||
|
||||
Reference in New Issue
Block a user