|
|
@@ -146,7 +146,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public IPage<ExpiredAccountDataView> getExpiredAccountView(Boolean isCorpWx, String customerService, Integer goodsId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, Long startTime, Long endTime, Long start, Long limit) {
|
|
|
+ public IPage<ExpiredAccountDataView> getExpiredAccountView(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, Long startTime, Long endTime, Long start, Long limit) {
|
|
|
String startDate = null;
|
|
|
String endDate = null;
|
|
|
if (startTime != null) {
|
|
|
@@ -155,12 +155,12 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
if (endTime != null) {
|
|
|
endDate = DateTime.of(endTime).toString();
|
|
|
}
|
|
|
- IPage<ExpiredAccountDataView> expiredAccountDataViews = accountService.getExpiredAccountView(isCorpWx, customerService, goodsId, account, renewStatus, handleStatus, cnAccount, usAccount, userId, startDate, endDate, DateTime.now().toString(), start, limit);
|
|
|
+ IPage<ExpiredAccountDataView> expiredAccountDataViews = accountService.getExpiredAccountView(isCorpWx, customerService, goodsId, skuId, account, renewStatus, handleStatus, cnAccount, usAccount, userId, startDate, endDate, DateTime.now().toString(), start, limit);
|
|
|
return expiredAccountDataViews;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public List<ExcelAccountData> getExpiredAccountViewNoPage(Boolean isCorpWx, String customerService, Integer goodsId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, Long startTime, Long endTime) {
|
|
|
+ public List<ExcelAccountData> getExpiredAccountViewNoPage(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, Long startTime, Long endTime) {
|
|
|
String startDate = null;
|
|
|
String endDate = null;
|
|
|
if (startTime != null) {
|
|
|
@@ -169,7 +169,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
if (endTime != null) {
|
|
|
endDate = DateTime.of(endTime).toString();
|
|
|
}
|
|
|
- List<ExcelAccountData> expiredAccountDataViews = accountService.getExpiredAccountViewNoPage(isCorpWx, customerService, goodsId, account, renewStatus, handleStatus, cnAccount, usAccount, userId, startDate, endDate, DateTime.now().toString());
|
|
|
+ List<ExcelAccountData> expiredAccountDataViews = accountService.getExpiredAccountViewNoPage(isCorpWx, customerService, goodsId, skuId, account, renewStatus, handleStatus, cnAccount, usAccount, userId, startDate, endDate, DateTime.now().toString());
|
|
|
return expiredAccountDataViews;
|
|
|
}
|
|
|
|
|
|
@@ -209,7 +209,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Result<String> updateRenewStatus(Integer relationId) {
|
|
|
+ public Result<String> updateRenewStatus(Long relationId) {
|
|
|
GroupsRelation groupsRelation = groupsRelationMapper.selectById(relationId);
|
|
|
groupsRelation.setRenewStatus(!groupsRelation.getRenewStatus());
|
|
|
groupsRelationMapper.updateById(groupsRelation);
|
|
|
@@ -217,7 +217,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Result<String> updateHandleStatus(Integer relationId) {
|
|
|
+ public Result<String> updateHandleStatus(Long relationId) {
|
|
|
GroupsRelation groupsRelation = groupsRelationMapper.selectById(relationId);
|
|
|
groupsRelation.setIsHandle(!groupsRelation.getIsHandle());
|
|
|
groupsRelationMapper.updateById(groupsRelation);
|