dataObj为实体对象
public void recordSingleFailProc(Object dataObj)
{
Class<?> classType = dataObj.getClass();
Method methodBatchNo = classType.getDeclaredMethod("getNo");
}
dataObj为实体对象
public void recordSingleFailProc(Object dataObj)
{
Class<?> classType = dataObj.getClass();
Method methodBatchNo = classType.getDeclaredMethod("getNo");
}