|
@@ -3,15 +3,25 @@ package com.iamberry.rst.service.cm.mapper;
|
|
import com.iamberry.rst.core.cm.StoreInfo;
|
|
import com.iamberry.rst.core.cm.StoreInfo;
|
|
|
|
|
|
public interface StoreInfoMapper {
|
|
public interface StoreInfoMapper {
|
|
- Integer deleteByPrimaryKey(Integer storeId);
|
|
|
|
|
|
|
|
- Integer insert(StoreInfo storeInfo);
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 添加店铺信息
|
|
|
|
+ * @param storeInfo
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ Integer addStoreInfo(StoreInfo storeInfo);
|
|
|
|
|
|
- Integer insertSelective(StoreInfo storeInfo);
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 根据id查询店铺信息
|
|
|
|
+ * @param storeId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ StoreInfo getStoreInfoById(Integer storeId);
|
|
|
|
|
|
- StoreInfo selectByPrimaryKey(Integer storeId);
|
|
|
|
-
|
|
|
|
- Integer updateByPrimaryKeySelective(StoreInfo storeInfo);
|
|
|
|
-
|
|
|
|
- Integer updateByPrimaryKey(StoreInfo storeInfo);
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 修改店铺信息
|
|
|
|
+ * @param storeInfo
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ Integer updateStoreInfo(StoreInfo storeInfo);
|
|
}
|
|
}
|