[email protected] před 17 hodinami
rodič
revize
6ea441b036
2 změnil soubory, kde provedl 10 přidání a 1 odebrání
  1. +9
    -0
      src/main/java/com/ffii/lioner/modules/lioner/pdf/service/PdfService.java
  2. +1
    -1
      src/main/resources/application-db-local.yml

+ 9
- 0
src/main/java/com/ffii/lioner/modules/lioner/pdf/service/PdfService.java Zobrazit soubor

@@ -1732,6 +1732,11 @@ public class PdfService extends AbstractBaseEntityService<Pdf, Long, PdfReposito
setValueIfPresent(form, "Text16_2", getCrAddress2(client)); setValueIfPresent(form, "Text16_2", getCrAddress2(client));
setValueIfPresent(form, "fill_2b_1", client.getCrAddressPostalCode()); setValueIfPresent(form, "fill_2b_1", client.getCrAddressPostalCode());


if(!(getCrAddress1(client) + getCrAddress2(client)).equals(getCorAddress1(client) + getCorAddress2(client))){
setValueIfPresent(form, "address1", getCorAddress1(client));
setValueIfPresent(form, "address2", getCorAddress2(client));
}

//setValueIfPresent(form, "address1", commonField.getOthers().get("address1")); //setValueIfPresent(form, "address1", commonField.getOthers().get("address1"));
//setValueIfPresent(form, "address2", commonField.getOthers().get("address2")); //setValueIfPresent(form, "address2", commonField.getOthers().get("address2"));
@@ -1938,6 +1943,10 @@ public class PdfService extends AbstractBaseEntityService<Pdf, Long, PdfReposito
setValueIfPresent(form2, "Check Box4", "Yes"); setValueIfPresent(form2, "Check Box4", "Yes");
} }
} }

if(!"".equals(getCrAddress1(client) + getCrAddress2(client)) && (getCrAddress1(client) + getCrAddress2(client)).equals(getCorAddress1(client) + getCorAddress2(client))){
setValueIfPresent(form2, "Check Box10", "Yes");
}
/* Page1 End */ /* Page1 End */


+ 1
- 1
src/main/resources/application-db-local.yml Zobrazit soubor

@@ -1,5 +1,5 @@
spring: spring:
datasource: datasource:
jdbc-url: jdbc:mysql://127.0.0.1:3308/lionerdb?useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8
jdbc-url: jdbc:mysql://127.0.0.1:3306/lionerdb?useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8
username: root username: root
password: secret password: secret

Načítá se…
Zrušit
Uložit