SupSettlementTargetDAO extends BaseIbatisDAO { public List<SupSettlementTarget> getMetaSettlementByMetaProductId(Long metaProductId,String bizType) { Map<String, Object> p = new HashMap<String, Object>(); p.put("metaProductId", metaProductId); p.put("bizType", bizType); return super.queryForList("SUP_SETTLEMENT_TARGET.selectMetaSettlementByMetaProductId", p); }  Long insert(SupSettlementTarget record); int updateByPrimaryKey(SupSettlementTarget record); int updateMemoByPrimaryKey(Map<String, String> params); List<SupSettlementTarget> findSupSettlementTarget(Map param); SupSettlementTarget getSettlementTargetById(long targetId); void markIsValid(Map params); Integer selectRowCount(Map searchConds); List<SupSettlementTarget> getMetaSettlementByMetaProductId(Long metaProductId,String bizType); SupSettlementTarget getSupSettlementTargetBySupplierId(Long supplierId); List<SupSettlementTarget> selectSupSettlementTargetByName(String search , Integer size);  }
@Test public void testGetMetaSettlementByMetaProductId() { List<SupSettlementTarget> s = supSettlementTargetDAO.getMetaSettlementByMetaProductId(111l,Constant.PRODUCT_BIZ_TYPE.BEE.name()); System.out.println("test:"+s.size()); }