Showing
2 changed files
with
2 additions
and
32 deletions
@@ -21,11 +21,10 @@ public interface BrandMapper { | @@ -21,11 +21,10 @@ public interface BrandMapper { | ||
21 | 21 | ||
22 | /** | 22 | /** |
23 | * 更新品牌状态 | 23 | * 更新品牌状态 |
24 | - * @param id | ||
25 | - * @param status | 24 | + * @param brand |
26 | * @return | 25 | * @return |
27 | */ | 26 | */ |
28 | - int updateBrandStatus(@Param("id") Integer id, @Param("status") Integer status); | 27 | + int updateBrandStatus(Brand brand); |
29 | 28 | ||
30 | /** | 29 | /** |
31 | * 更新一条品牌 | 30 | * 更新一条品牌 |
1 | -package com.yohobuy.ufo.mapper.brand; | ||
2 | - | ||
3 | -import com.yohobuy.ufo.model.brand.Brand; | ||
4 | -import org.apache.ibatis.annotations.Param; | ||
5 | - | ||
6 | -public interface BrandMapper { | ||
7 | - | ||
8 | - /** | ||
9 | - * 插入一条品牌记录 | ||
10 | - * @param brand | ||
11 | - * @return | ||
12 | - */ | ||
13 | - int insertBrand(Brand brand); | ||
14 | - | ||
15 | - /** | ||
16 | - * 更新品牌状态 | ||
17 | - * @param id | ||
18 | - * @param status | ||
19 | - * @return | ||
20 | - */ | ||
21 | - int updateBrandStatus(@Param("id") Integer id, @Param("status") Integer status); | ||
22 | - | ||
23 | - /** | ||
24 | - * 更新一条品牌 | ||
25 | - * @param brand | ||
26 | - * @return | ||
27 | - */ | ||
28 | - int updateBrand(Brand brand); | ||
29 | -} |
-
Please register or login to post a comment