Fixed monitoring setup

This commit is contained in:
Mikhail Trofimov 2025-06-17 17:05:24 +03:00
parent 16b3f085cb
commit b6f4f47715
2 changed files with 6 additions and 0 deletions

View file

@ -16,6 +16,8 @@ public class Person {
protected String value; protected String value;
@XmlAttribute(name = "uid", required = true) @XmlAttribute(name = "uid", required = true)
protected String uid; protected String uid;
@XmlAttribute(name = "oksm", required = true)
protected String oksm;
@XmlAttribute(name = "s", required = true) @XmlAttribute(name = "s", required = true)
protected String s; protected String s;
@XmlAttribute(name = "n", required = true) @XmlAttribute(name = "n", required = true)
@ -67,6 +69,8 @@ public class Person {
@XmlAttribute(name = "consentPd") @XmlAttribute(name = "consentPd")
@XmlSchemaType(name = "date") @XmlSchemaType(name = "date")
protected String consentPd; protected String consentPd;
@XmlAttribute(name = "consentDivCode")
protected String consentDivCode;
@XmlAttribute(name = "consentDt") @XmlAttribute(name = "consentDt")
protected String consentDt; protected String consentDt;
@XmlAttribute(name = "inqPurpose") @XmlAttribute(name = "inqPurpose")

View file

@ -115,6 +115,7 @@ public class SignalService {
person.setDt(StringUtils.isNotBlank(passportData.getIdType2()) ? passportData.getIdType2() : passportData.getIdType()); person.setDt(StringUtils.isNotBlank(passportData.getIdType2()) ? passportData.getIdType2() : passportData.getIdType());
person.setIp("0"); person.setIp("0");
person.setUid(id); person.setUid(id);
person.setOksm("999");
person.setConsentDate(DATE_FORMAT.format(toDate(LocalDate.now()))); person.setConsentDate(DATE_FORMAT.format(toDate(LocalDate.now())));
person.setConsentPurpose("16"); person.setConsentPurpose("16");
person.setReportUser("АО «НБКИ»"); person.setReportUser("АО «НБКИ»");
@ -131,6 +132,7 @@ public class SignalService {
person.setConsentBd(person.getD()); person.setConsentBd(person.getD());
person.setConsentPn(person.getPn()); person.setConsentPn(person.getPn());
person.setConsentPd(person.getPd()); person.setConsentPd(person.getPd());
person.setConsentDivCode("000-000");
person.setConsentDt(person.getDt()); person.setConsentDt(person.getDt());
person.setInqPurpose("16"); person.setInqPurpose("16");
return person; return person;