public List<RecommendInfo> getRecommendPlaceByBlockId(long id, String objectId, long number) { Map<String, Object> map = new HashMap<String, Object>(); map.put("iblock_id", id); map.put("iobject_id", objectId); map.put("product_type", ""); map.put("row_number", number); map.put("result_list", null); super.queryForList("RECOMMEND_INFO.getRecommendPlaceByBlockId", map); return (List<RecommendInfo>) map.get("result_list"); }
/** * 更新电子合同信息 * * @param prodEContract */ public void updateByProductId(ProdEContract prodEContract) { /** @author yangbin 方法名字修改为update */ super.update("PROD_ECONTRACT.updateByProductId", prodEContract); }
/** * 插入电子合同信息 * * @param prodEContract */ public void insert(ProdEContract prodEContract) { super.insert("PROD_ECONTRACT.insert", prodEContract); }
public void insertSelective(MobileHotelOrderLog record) { super.insert("MOBILE_HOTEL_ORDER_LOG.insertSelective", record); }
public MobileHotelOrderLog insert(MobileHotelOrderLog record) { super.insert("MOBILE_HOTEL_ORDER_LOG.insert", record); return record; }
public void insert(ComCondition record) { super.insert("COM_CONDITION.insert", record); }
/** * 更新点评总数 * * <p>将进行全表更新,此API应该有定时任务触发 */ public void updateProductSearchInfoCmtNum() { super.update("PRODUCT_SEARCH_INFO.updateProductSearchInfoCmtNum"); }
/** * 更新productSearchInfo * * @param productSearchInfo 更新后的productSearchInfo */ public void updateProductSearchInfo(final ProductSearchInfo productSearchInfo) { if (null != productSearchInfo && null != productSearchInfo.getProductId()) { super.update("PRODUCT_SEARCH_INFO.updateProductSearchInfo", productSearchInfo); } }
/** * 修改某条入/出库单记录. * * @param stock 入/出库单对象. */ public void update(StoredCardStock stock) { super.update("STORED_CARD_STOCK.updateByPrimaryKey", stock); }
public void updateViewContent(ViewContent content) { super.update("VIEW_CONTENT.updateByPrimaryKey", content); }
public void deleteByPageId(Map params) { super.delete("VIEW_PAGE.markIsValid", params); }