|
|
|
@ -61,8 +61,13 @@ public class MesOrgServiceImpl implements IMesOrgService {
|
|
|
|
|
if (responsibleParty.contains(",")) {
|
|
|
|
|
String[] split = responsibleParty.split(",");
|
|
|
|
|
for (int i = 0; i < split.length; i++) {
|
|
|
|
|
org.setResponsibleParty(split[i]);
|
|
|
|
|
resultList.add(org);
|
|
|
|
|
MesOrg mesOrg1 = new MesOrg();
|
|
|
|
|
mesOrg1.setId(org.getId());
|
|
|
|
|
mesOrg1.setOrganizeCode(org.getOrganizeCode());
|
|
|
|
|
mesOrg1.setInventoryLocationCode(org.getInventoryLocationCode());
|
|
|
|
|
mesOrg1.setInventoryLocationName(org.getInventoryLocationName());
|
|
|
|
|
mesOrg1.setResponsibleParty(split[i]);
|
|
|
|
|
resultList.add(mesOrg1);
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
resultList.add(org);
|
|
|
|
|