Commit c2faaa49 by 杨林龙

完成基本开发

1 parent 9f03584f
Showing 21 changed files with 13 additions and 19 deletions
...@@ -21,6 +21,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; ...@@ -21,6 +21,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@SpringBootApplication @SpringBootApplication
@ServletComponentScan @ServletComponentScan
@EnableSwagger2 @EnableSwagger2
@MapperScan("com.glsx.mapper")
public class Main extends AbsOreBootStarter { public class Main extends AbsOreBootStarter {
@Override @Override
......
package com.glsx.service; package com.glsx.service;
import com.glsx.model.PlatformAd; import com.glsx.model.PlatformAd;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@Service
public interface AdMgrService { public interface AdMgrService {
List<PlatformAd> getAdMgrList(); List<PlatformAd> getAdMgrList();
......
...@@ -2,12 +2,10 @@ package com.glsx.service; ...@@ -2,12 +2,10 @@ package com.glsx.service;
import com.glsx.model.PlatformApiCall; import com.glsx.model.PlatformApiCall;
import com.glsx.vo.ApiCallVo; import com.glsx.vo.ApiCallVo;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@Service
public interface ApiCallMgrService { public interface ApiCallMgrService {
List<PlatformApiCall> getApiCallMgrList(ApiCallVo apiCallVo); List<PlatformApiCall> getApiCallMgrList(ApiCallVo apiCallVo);
......
package com.glsx.service; package com.glsx.service;
import com.glsx.model.PlatformApi; import com.glsx.model.PlatformApi;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@Service
public interface ApiMgrService { public interface ApiMgrService {
List<PlatformApi> getApiMgrList(); List<PlatformApi> getApiMgrList();
......
package com.glsx.service; package com.glsx.service;
import org.springframework.stereotype.Service;
@Service
public interface AppDownloadMgrService { public interface AppDownloadMgrService {
int getApiCallCountAuth(String customerName); int getApiCallCountAuth(String customerName);
} }
package com.glsx.service; package com.glsx.service;
import com.glsx.model.PlatformCustomer; import com.glsx.model.PlatformCustomer;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@Service
public interface CustomerMgrService { public interface CustomerMgrService {
List<PlatformCustomer> getCustomerMgrList(); List<PlatformCustomer> getCustomerMgrList();
......
...@@ -2,12 +2,10 @@ package com.glsx.service; ...@@ -2,12 +2,10 @@ package com.glsx.service;
import com.glsx.model.PlatformDevice; import com.glsx.model.PlatformDevice;
import com.glsx.vo.DeviceVo; import com.glsx.vo.DeviceVo;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@Service
public interface DeviceMgrService { public interface DeviceMgrService {
List<PlatformDevice> getDeviceMgrList(DeviceVo deviceVo); List<PlatformDevice> getDeviceMgrList(DeviceVo deviceVo);
......
...@@ -2,11 +2,9 @@ package com.glsx.service; ...@@ -2,11 +2,9 @@ package com.glsx.service;
import com.glsx.model.PlatformUser; import com.glsx.model.PlatformUser;
import com.glsx.vo.UserVo; import com.glsx.vo.UserVo;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@Service
public interface UserMgrService { public interface UserMgrService {
List<PlatformUser> getUserMgrList(UserVo userVo); List<PlatformUser> getUserMgrList(UserVo userVo);
......
...@@ -5,10 +5,12 @@ import com.glsx.model.PlatformAd; ...@@ -5,10 +5,12 @@ import com.glsx.model.PlatformAd;
import com.glsx.service.AdMgrService; import com.glsx.service.AdMgrService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@Service
public class AdMgrServiceImpl implements AdMgrService { public class AdMgrServiceImpl implements AdMgrService {
/** /**
* 日志 * 日志
......
package com.glsx.service.impl; package com.glsx.service.impl;
import com.glsx.mapper.PlatformApiCallMapper; import com.glsx.mapper.PlatformApiCallMapper;
import com.glsx.mapper.PlatformApiMapper;
import com.glsx.model.PlatformApiCall; import com.glsx.model.PlatformApiCall;
import com.glsx.service.ApiCallMgrService; import com.glsx.service.ApiCallMgrService;
import com.glsx.vo.ApiCallVo; import com.glsx.vo.ApiCallVo;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@Service
public class ApiCallMgrServiceImpl implements ApiCallMgrService { public class ApiCallMgrServiceImpl implements ApiCallMgrService {
/** /**
* 日志 * 日志
......
package com.glsx.service.impl; package com.glsx.service.impl;
import com.glsx.mapper.PlatformApiMapper; import com.glsx.mapper.PlatformApiMapper;
import com.glsx.mapper.PlatformAppDownloadMapper;
import com.glsx.model.PlatformApi; import com.glsx.model.PlatformApi;
import com.glsx.model.PlatformCustomer;
import com.glsx.service.ApiMgrService; import com.glsx.service.ApiMgrService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@Service
public class ApiMgrServiceImpl implements ApiMgrService { public class ApiMgrServiceImpl implements ApiMgrService {
/** /**
* 日志 * 日志
......
package com.glsx.service.impl; package com.glsx.service.impl;
import com.glsx.mapper.PlatformAppDownloadMapper; import com.glsx.mapper.PlatformAppDownloadMapper;
import com.glsx.mapper.PlatformCustomerMapper;
import com.glsx.service.AppDownloadMgrService; import com.glsx.service.AppDownloadMgrService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
@Service
public class AppDownloadMgrServiceImpl implements AppDownloadMgrService { public class AppDownloadMgrServiceImpl implements AppDownloadMgrService {
/** /**
* 日志 * 日志
......
package com.glsx.service.impl; package com.glsx.service.impl;
import com.glsx.mapper.PlatformCustomerMapper; import com.glsx.mapper.PlatformCustomerMapper;
import com.glsx.mapper.PlatformDeviceMapper;
import com.glsx.model.PlatformCustomer; import com.glsx.model.PlatformCustomer;
import com.glsx.service.CustomerMgrService; import com.glsx.service.CustomerMgrService;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@Service
public class CustomerMgrServiceImpl implements CustomerMgrService { public class CustomerMgrServiceImpl implements CustomerMgrService {
/** /**
* 日志 * 日志
......
...@@ -7,11 +7,13 @@ import com.glsx.service.DeviceMgrService; ...@@ -7,11 +7,13 @@ import com.glsx.service.DeviceMgrService;
import com.glsx.vo.DeviceVo; import com.glsx.vo.DeviceVo;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@Service
public class DeviceMgrServiceImpl implements DeviceMgrService { public class DeviceMgrServiceImpl implements DeviceMgrService {
/** /**
* 日志 * 日志
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!