Subversion Repositories SmartDukaan

Rev

Rev 30219 | Rev 30527 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30219 Rev 30525
Line 866... Line 866...
866
 
866
 
867
	}
867
	}
868
 
868
 
869
	@Override
869
	@Override
870
	public List<DistrictMaster> getAllDistrictMaster(String stateName) {
870
	public List<DistrictMaster> getAllDistrictMaster(String stateName) {
871
		StateInfo stateInfo = null;
871
		// StateInfo stateInfo = null;
-
 
872
		State stateInfo = null;
872
		try {
873
		try {
873
			stateInfo = Utils.getStateInfo(stateName);
874
			// stateInfo = Utils.getStateInfo(stateName);
-
 
875
 
-
 
876
			stateInfo = stateRepository.selectByName(stateName);
874
		} catch (Exception e) {
877
		} catch (Exception e) {
875
			e.printStackTrace();
878
			e.printStackTrace();
876
			// throw new ProfitMandiBusinessException();
879
			// throw new ProfitMandiBusinessException();
877
		}
880
		}
878
		return districtMasterRepository.selectByStateShortName(stateInfo.getShortName());
881
		return districtMasterRepository.selectByStateShortName(stateInfo.getShortName());