Java学习笔记

  

算法

@Repository("XZAqfjDaoImpl")

public class AqfjDaoImpl extends BaseDao implements AqfjDao {



    @SuppressWarnings("unchecked")

    @Override

    public Pager<AqfjxzList> getPageListData(Map<String, String> condition) {

        return executeQueryForPager("Aqfjxz.getPageListData", "Aqfjxz.getListTotalCount", condition);

    }



    @Override

    public AqfjxzList getBill(String itemId) {

        return (AqfjxzList) executeQueryForObject("Aqfjxz.getBill", itemId);

    }

}

 

 

原理

@Repository("XZAqfjDaoImpl")

public class AqfjDaoImpl extends BaseDao implements AqfjDao {



	@SuppressWarnings("unchecked")

	@Override

	public Pager<AqfjxzList> getPageListData(Map<String, String> condition) {

		return executeQueryForPager("Aqfjxz.getPageListData", "Aqfjxz.getListTotalCount", condition);

	}



	@Override

	public AqfjxzList getBill(String itemId) {

		return (AqfjxzList) executeQueryForObject("Aqfjxz.getBill", itemId);

	}

}

  

 

方法

 

你可能感兴趣的:(Java学习)