/**
* @Title: CompareObjUtil.java
* @Package cc.messcat.common.util
* @Description: TODO
* @author limh
* @date 2017年3月2日
*/
package cc.messcat.util;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import cc.messcat.vo.Comparison;
/**
* ClassName: 对象比较类
* @Description: TODO
* @author limh
* @date 2017年3月2日
*/
public class CompareObjUtil {
public static List compareObj(Object beforeObj,Object afterObj) throws Exception{
List differents = new ArrayList();
if(beforeObj == null) throw new Exception("原对象不能为空");
if(afterObj == null) throw new Exception("新对象不能为空");
if(!beforeObj.getClass().isAssignableFrom(afterObj.getClass())){ </