| | |
| | | WorkAssignmentMapper workAssignmentMapper; |
| | | |
| | | |
| | | // private final static String ERP_URL = "http://192.168.2.100:8086"; |
| | | private final static String ERP_URL = "http://10.153.19.174:8086"; |
| | | private final static String ERP_URL = "http://192.168.2.100:8086"; |
| | | |
| | | |
| | | /** |
| | |
| | | result.put("title", reportingWorkJson); |
| | | |
| | | result.put("type", 0); |
| | | if (reportingWorkDetails.get(0).getDamageDetails().get(0).getPatchStatus() == 1) { |
| | | result.put("isPatch", 1); |
| | | } else { |
| | | result.put("isPatch", 0); |
| | | if (reportingWorkDetails.get(0).getDamageDetails() != null) { |
| | | if (reportingWorkDetails.get(0).getDamageDetails().get(0).getPatchStatus() == 1) { |
| | | result.put("isPatch", 1); |
| | | } else { |
| | | result.put("isPatch", 0); |
| | | } |
| | | } |
| | | result.put("userId", "admin"); |
| | | result.put("userName", "admin"); |