Exemplo n.º 1
0
 private void convertLocationMap(Receptions source, String newLocationNo) {
   String sourceLocationNo = source.getLocationNo();
   Tenanter tenant = tenanterMap.get(newLocationNo);
   locationConvertMap.put(sourceLocationNo, newLocationNo);
   List<String> locationNoList = new ArrayList<String>(source.getLocationNoSet());
   for (String locationNo : locationNoList) {
     if (!locationConvertMap.containsKey(locationNo)) {
       locationConvertMap.put(locationNo, tenant.getLocationNo2());
     }
   }
 }
Exemplo n.º 2
0
  public Receptions getReception(Receptions reception, String newLocationNo) {
    if (logger.isDebugEnabled()) logger.debug("start");
    // 設置場所番号
    String maxReceptionNo = arrangementDao.getMaxReceptionNo();
    convertLocationMap(reception, newLocationNo);
    convertCisuserMap(reception);

    reception.arrange(maxReceptionNo, newLocationNo, cisuserMap.get(reception.getLocationNo()));
    reception.arrangeProcess(maxReceptionNo);

    arrangeConstruction(reception, maxReceptionNo, newLocationNo);
    arrangeCommision(reception, maxReceptionNo);
    arrangeContactMean(reception);
    arrangeSecall(reception.getSecallList());

    if (logger.isDebugEnabled()) logger.debug("end");
    return reception;
  }