|
@@ -46,9 +46,9 @@ public class CardApi extends BaseController {
|
|
public DataResultForAPI storefrontAddCard(@RequestBody Map<String, String> mapData) {
|
|
public DataResultForAPI storefrontAddCard(@RequestBody Map<String, String> mapData) {
|
|
DataResultForAPI dataRet = new DataResultForAPI();
|
|
DataResultForAPI dataRet = new DataResultForAPI();
|
|
try {
|
|
try {
|
|
- int staus = Integer.valueOf(mapData.get("staus"));
|
|
|
|
|
|
+ String status = mapData.get("status");
|
|
int count = Integer.valueOf(mapData.get("count"));
|
|
int count = Integer.valueOf(mapData.get("count"));
|
|
- List<AgentCardInfo> cardInfos = cardInfoService.findByCardStatusOrderByCreateDateAsc(staus);
|
|
|
|
|
|
+ List<AgentCardInfo> cardInfos = cardInfoService.findByCardStatusOrderByCreateDateAsc(status);
|
|
List<CardApiVo> vos = Lists.newArrayList();
|
|
List<CardApiVo> vos = Lists.newArrayList();
|
|
if (CollectionUtils.isNotEmpty(cardInfos)) {
|
|
if (CollectionUtils.isNotEmpty(cardInfos)) {
|
|
for (int i = 0; i < count; i++) {
|
|
for (int i = 0; i < count; i++) {
|