private String exercice, idBordereau, typeBordereau, finGeo, finGeoNodeId, idPce = null;
private final HashSet<String> listeCodeFiness = new HashSet<String>();
private String nomenclature = "";
- private boolean isAno14 = false;
+
private boolean isAno15 = false;
/**
if (this.hParams.get("nomencl") != null) {
this.nomenclature = (String) this.hParams.get("nomencl");
}
+
Nodes nodesListeFiness;
this.tableRef = this.getTableReference(CTRL_ID);
if (this.tableRef == null) {
if (xpath.endsWith(ON_RETURN_ANOMALIE)) {
this.idPce = "";
this.anos.clear();
- this.isAno14 = false;
this.isAno15 = false;
this.finGeoNodeId = "";
}
public ArrayList<ControlReturn> endElement(final String uri, final String localName, final String qName, final String xpath) throws SAXException {
if (xpath.endsWith(CHEMIN_LIGNE_DE_PIECE_RECETTE)) {
-
- if ("M21".equals(this.nomenclature) && !this.isAno14) {
- if (this.finGeo.length() > 0 && this.mauvaisFiness()) {
- this.isAno14 = true;
- }
- } else if (!this.isAno15) {
- if (this.finGeo.length() > 0) {
+ if (!this.isAno15) {
+ if (!"M21".equals(this.nomenclature) && !"M22".equals(this.nomenclature) && this.finGeo.length() > 0) {
this.isAno15 = true;
}
}
}
- if (xpath.endsWith(ON_RETURN_ANOMALIE)) {
- if (this.isAno14) {
- this.anos.add(this.addPesAnomalie(this, this.getDocumentModel(), this.messageAnomalie, false, this.exercice, this.typeBordereau, this.idBordereau, "MREC14", this.finGeoNodeId, PIECE_ELEMENT_ID, this.idPce));
- }
-
+ if (xpath.endsWith(ON_RETURN_ANOMALIE)) {
if (this.isAno15) {
this.anos.add(this.addPesAnomalie(this, this.getDocumentModel(), this.messageAnomalie, false, this.exercice, this.typeBordereau, this.idBordereau, "MREC15", this.finGeoNodeId, PIECE_ELEMENT_ID, this.idPce));
}