截取对象里图片路径的后缀名
int index = dto.getStuIdCardImgZ().lastIndexOf(".");
char[] ch = dto.getStuIdCardImgZ().toCharArray();
String IdCardSuffixZ = String.copyValueOf(ch, index+1, ch.length - index - 1);
int index = dto.getStuIdCardImgZ().lastIndexOf(".");
char[] ch = dto.getStuIdCardImgZ().toCharArray();
String IdCardSuffixZ = String.copyValueOf(ch, index+1, ch.length - index - 1);