forked from sdksdk0/taotaoMalls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
增加了商品列表查询,加入了pageHelper分页
- Loading branch information
Showing
883 changed files
with
110,088 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
taotao-common/src/main/java/cn/tf/taotao/common/pojo/EUDResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package cn.tf.taotao.common.pojo; | ||
|
||
import java.util.List; | ||
|
||
|
||
|
||
public class EUDResult { | ||
|
||
private long total; | ||
private List<?> rows; | ||
public long getTotal() { | ||
return total; | ||
} | ||
public void setTotal(long total) { | ||
this.total = total; | ||
} | ||
public List<?> getRows() { | ||
return rows; | ||
} | ||
public void setRows(List<?> rows) { | ||
this.rows = rows; | ||
} | ||
public EUDResult(long total, List<?> rows) { | ||
super(); | ||
this.total = total; | ||
this.rows = rows; | ||
} | ||
public EUDResult() { | ||
super(); | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...ager/taotao-manager-mapper/src/main/java/cn/tf/taotao/mapper/TbContentCategoryMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package cn.tf.taotao.mapper; | ||
|
||
import cn.tf.taotao.po.TbContentCategory; | ||
import cn.tf.taotao.po.TbContentCategoryExample; | ||
import java.util.List; | ||
import org.apache.ibatis.annotations.Param; | ||
|
||
public interface TbContentCategoryMapper { | ||
int countByExample(TbContentCategoryExample example); | ||
|
||
int deleteByExample(TbContentCategoryExample example); | ||
|
||
int deleteByPrimaryKey(Long id); | ||
|
||
int insert(TbContentCategory record); | ||
|
||
int insertSelective(TbContentCategory record); | ||
|
||
List<TbContentCategory> selectByExample(TbContentCategoryExample example); | ||
|
||
TbContentCategory selectByPrimaryKey(Long id); | ||
|
||
int updateByExampleSelective(@Param("record") TbContentCategory record, @Param("example") TbContentCategoryExample example); | ||
|
||
int updateByExample(@Param("record") TbContentCategory record, @Param("example") TbContentCategoryExample example); | ||
|
||
int updateByPrimaryKeySelective(TbContentCategory record); | ||
|
||
int updateByPrimaryKey(TbContentCategory record); | ||
} |
Oops, something went wrong.