|
@@ -1,8 +1,9 @@
|
|
|
package com.iamberry.wechat.service.integral;
|
|
|
|
|
|
+import com.iamberry.wechat.core.entity.integral.IntegralConfig;
|
|
|
import com.iamberry.wechat.core.entity.integral.UseIntegral;
|
|
|
import com.iamberry.wechat.face.integral.UseIntegralService;
|
|
|
-import com.iamberry.wechat.service.integral.dao.UseIntegralDao;
|
|
|
+import com.iamberry.wechat.service.mapper.UseIntegralMapper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -10,7 +11,7 @@ import java.util.List;
|
|
|
@Service
|
|
|
public class UseIntegralServiceImpl implements UseIntegralService {
|
|
|
@Autowired
|
|
|
- private UseIntegralDao useIntegralDao;
|
|
|
+ private UseIntegralMapper useIntegralMapper;
|
|
|
|
|
|
/**
|
|
|
* 积分使用日志
|
|
@@ -19,7 +20,7 @@ public class UseIntegralServiceImpl implements UseIntegralService {
|
|
|
*/
|
|
|
@Override
|
|
|
public List<UseIntegral> getUseIntegral(String openid) {
|
|
|
- return useIntegralDao.getUseIntegral(openid);
|
|
|
+ return useIntegralMapper.getUseIntegral(openid);
|
|
|
}
|
|
|
/**
|
|
|
* 总积分(使用)
|
|
@@ -28,6 +29,11 @@ public class UseIntegralServiceImpl implements UseIntegralService {
|
|
|
*/
|
|
|
@Override
|
|
|
public int allUseIntegral(String openid) {
|
|
|
- return useIntegralDao.allUseIntegral(openid);
|
|
|
+ return useIntegralMapper.allUseIntegral(openid);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<IntegralConfig> listIntegralConfig(IntegralConfig integralConfig) {
|
|
|
+ return null;
|
|
|
}
|
|
|
}
|