Преглед изворни кода

增加pom统一管理服务

lyhzzz пре 3 година
родитељ
комит
cdca86c561
100 измењених фајлова са 402 додато и 4595 уклоњено
  1. 7 142
      4dkankan-center-platform/pom.xml
  2. 52 0
      4dkankan-center-platform/src/main/java/com/fdkankan/agent/controller/AgentController.java
  3. 2 2
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/Agent.java
  4. 114 0
      4dkankan-center-platform/src/main/java/com/fdkankan/common/base/JsonResult.java
  5. 50 0
      4dkankan-center-platform/src/main/java/com/fdkankan/common/base/Swagger2.java
  6. 5 0
      4dkankan-common/pom.xml
  7. 171 0
      4dkankan-pom/pom.xml
  8. 1 0
      pom.xml
  9. 0 15
      备份/4dkankan-center-agent/pom.xml
  10. 0 23
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/AgentApplication.java
  11. 0 169
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentAudit.java
  12. 0 64
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentFramework.java
  13. 0 65
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentNotice.java
  14. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentAuditMapper.java
  15. 0 8
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentFrameworkMapper.java
  16. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentMapper.java
  17. 0 8
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentNoticeMapper.java
  18. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentAuditService.java
  19. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentFrameworkService.java
  20. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentNoticeService.java
  21. 0 9
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentService.java
  22. 0 30
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentAuditService.java
  23. 0 30
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentFrameworkService.java
  24. 0 30
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentNoticeService.java
  25. 0 30
      备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentService.java
  26. 0 39
      备份/4dkankan-center-agent/src/main/resources/application.yml
  27. 0 230
      备份/4dkankan-center-agent/src/main/resources/logback-spring.xml
  28. 0 128
      备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentAuditMapper.xml
  29. 0 116
      备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentFrameworkMapper.xml
  30. 0 122
      备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentMapper.xml
  31. 0 115
      备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentNoticeMapper.xml
  32. 0 39
      备份/4dkankan-center-agent/target/classes/application.yml
  33. 0 230
      备份/4dkankan-center-agent/target/classes/logback-spring.xml
  34. 0 128
      备份/4dkankan-center-agent/target/classes/mapper/agent/AgentAuditMapper.xml
  35. 0 116
      备份/4dkankan-center-agent/target/classes/mapper/agent/AgentFrameworkMapper.xml
  36. 0 122
      备份/4dkankan-center-agent/target/classes/mapper/agent/AgentMapper.xml
  37. 0 115
      备份/4dkankan-center-agent/target/classes/mapper/agent/AgentNoticeMapper.xml
  38. 0 15
      备份/4dkankan-center-goods/pom.xml
  39. 0 23
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/GoodsApplication.java
  40. 0 97
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Camera.java
  41. 0 169
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraDetail.java
  42. 0 81
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraOut.java
  43. 0 105
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraSpace.java
  44. 0 113
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraVersion.java
  45. 0 106
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Cart.java
  46. 0 138
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CommerceOrder.java
  47. 0 113
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Company.java
  48. 0 146
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/DownloadOrder.java
  49. 0 170
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/ExpansionOrder.java
  50. 0 130
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Goods.java
  51. 0 122
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSku.java
  52. 0 56
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpec.java
  53. 0 65
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpecValue.java
  54. 0 65
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpuSpec.java
  55. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraDetailMapper.java
  56. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraMapper.java
  57. 0 7
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraOutMapper.java
  58. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraSpaceMapper.java
  59. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraVersionMapper.java
  60. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICartMapper.java
  61. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICommerceOrderMapper.java
  62. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICompanyMapper.java
  63. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IDownloadOrderMapper.java
  64. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IExpansionOrderMapper.java
  65. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsMapper.java
  66. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSkuMapper.java
  67. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpecMapper.java
  68. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpecValueMapper.java
  69. 0 8
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpuSpecMapper.java
  70. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraDetailService.java
  71. 0 10
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraOutService.java
  72. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraService.java
  73. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraSpaceService.java
  74. 0 10
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraVersionService.java
  75. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICartService.java
  76. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICommerceOrderService.java
  77. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICompanyService.java
  78. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IDownloadOrderService.java
  79. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IExpansionOrderService.java
  80. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsService.java
  81. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSkuService.java
  82. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpecService.java
  83. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpecValueService.java
  84. 0 9
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpuSpecService.java
  85. 0 31
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraDetailService.java
  86. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraOutService.java
  87. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraService.java
  88. 0 31
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraSpaceService.java
  89. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraVersionService.java
  90. 0 31
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CartService.java
  91. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CommerceOrderService.java
  92. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CompanyService.java
  93. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/DownloadOrderService.java
  94. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/ExpansionOrderService.java
  95. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsService.java
  96. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSkuService.java
  97. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpecService.java
  98. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpecValueService.java
  99. 0 30
      备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpuSpecService.java
  100. 0 0
      备份/4dkankan-center-goods/src/main/resources/application.yml

+ 7 - 142
4dkankan-center-platform/pom.xml

@@ -14,148 +14,13 @@
     <artifactId>4dkankan-center-platform</artifactId>
 
 
-    <dependencies>
-        <dependency>
-            <groupId>cn.hutool</groupId>
-            <artifactId>hutool-all</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
-            <version>2.1.0.RELEASE</version>
-        </dependency>
-
-
-        <dependency>
-            <groupId>org.springframework.cloud</groupId>
-            <artifactId>spring-cloud-starter-openfeign</artifactId>
-            <version>2.2.10.RELEASE</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-redis</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-web</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.mybatis.spring.boot</groupId>
-            <artifactId>mybatis-spring-boot-starter</artifactId>
-            <version>1.3.2</version>
-        </dependency>
-
-        <dependency>
-            <groupId>mysql</groupId>
-            <artifactId>mysql-connector-java</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-test</artifactId>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.junit.vintage</groupId>
-                    <artifactId>junit-vintage-engine</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>junit</groupId>
-                    <artifactId>junit</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
-        <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>1.2.58</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpclient</artifactId>
-        </dependency>
-        <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>druid</artifactId>
-            <version>1.1.17</version>
-        </dependency>
-        <dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger2</artifactId>
-            <version>2.9.2</version>
-        </dependency>
-        <dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger-ui</artifactId>
-            <version>2.9.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.plugin</groupId>
-            <artifactId>spring-plugin-core</artifactId>
-            <version>1.2.0.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.plugin</groupId>
-            <artifactId>spring-plugin-metadata</artifactId>
-            <version>1.2.0.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>com.github.xiaoymin</groupId>
-            <artifactId>swagger-bootstrap-ui</artifactId>
-            <version>1.9.4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-aop</artifactId>
-        </dependency>
-
-        <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
-        <dependency>
-            <groupId>org.projectlombok</groupId>
-            <artifactId>lombok</artifactId>
-            <version>1.18.12</version>
-            <scope>provided</scope>
-        </dependency>
-
-    </dependencies>
-
-
-    <distributionManagement>
-        <repository>
-            <!-- 这里的ID要和setting的id一致 -->
-            <id>releases</id>
-            <url>http://192.168.0.115:8081/nexus-2.14.2-01/content/repositories/releases/</url>
-        </repository>
-        <!--这是打成快照版本的配置 -->
-        <snapshotRepository>
-            <id>snapshots</id>
-            <url>http://192.168.0.115:8081/nexus-2.14.2-01/content/repositories/snapshots/</url>
-        </snapshotRepository>
-    </distributionManagement>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-            </plugin>
-            <!-- maven 打包时跳过测试 -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-
-
-        </plugins>
-    </build>
+  <dependencies>
+      <dependency>
+          <groupId>com.fdkankan</groupId>
+          <artifactId>4dkankan-pom</artifactId>
+          <version>2.0.0</version>
+      </dependency>
+  </dependencies>
 
 
 </project>

+ 52 - 0
4dkankan-center-platform/src/main/java/com/fdkankan/agent/controller/AgentController.java

@@ -0,0 +1,52 @@
+package com.fdkankan.agent.controller;
+
+
+import com.auth0.jwt.JWT;
+import com.fdkankan.agent.dto.AgentDto;
+import com.fdkankan.agent.entity.Agent;
+import com.fdkankan.agent.service.IAgentService;
+import com.fdkankan.common.base.JsonResult;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.log4j.Log4j2;
+import org.springframework.beans.BeanUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.servlet.http.HttpServletRequest;
+import java.util.LinkedHashMap;
+
+@Log4j2
+@Api(tags = "代理商模块")
+@RestController
+@RequestMapping("/api/agent")
+public class AgentController {
+
+
+    @Autowired
+    IAgentService agentService;
+
+    @Autowired
+    JsonResult jsonResult;
+
+    /**
+     * 获取代理商信息
+     * @return
+     */
+    @ApiOperation("获取代理商信息")
+    @RequestMapping(value = {"/detail"}, method = RequestMethod.POST)
+    public String detail(HttpServletRequest request ) throws Exception {
+        String userName = JWT.decode( request.getHeader("token")).getClaim("userName").asString();
+        String agentId = userName.split(":")[1];
+        LinkedHashMap<String,String > queryMap = new LinkedHashMap<>();
+        queryMap.put("agent_id = "+agentId ,"and");
+        queryMap.put("rec_status = A" ,"and");
+        Agent one = agentService.getOne(queryMap);
+        AgentDto agentDto = new AgentDto();
+        BeanUtils.copyProperties(one, agentDto);
+        return jsonResult.ok(agentDto);
+    }
+
+}

+ 2 - 2
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/Agent.java

@@ -1,7 +1,7 @@
-package com.fdkankan.agent.entity;
+package com.fdkankan.agent.dto;
 
 
-public class Agent implements java.io.Serializable {
+public class AgentDto implements java.io.Serializable {
 	private static final long serialVersionUID = 1L;
 
 	private String id; // 

+ 114 - 0
4dkankan-center-platform/src/main/java/com/fdkankan/common/base/JsonResult.java

@@ -0,0 +1,114 @@
+package com.fdkankan.common.base;
+
+import com.alibaba.fastjson.JSON;
+import org.springframework.stereotype.Component;
+
+import java.util.Map;
+
+
+@Component("jsonResult")
+public class JsonResult {
+	
+	private String VERSION = Config.VERSION;
+	private Integer statusCode;
+	private String statusMsg;
+	private String version;
+	private String token;
+	private Object data;
+	
+	public JsonResult() {
+		this.setVersion(VERSION);
+	}
+	
+	public Integer getStatusCode() {
+		return statusCode;
+	}
+
+	public void setStatusCode(Integer statusCode) {
+		this.statusCode = statusCode;
+	}
+
+	public String getStatusMsg() {
+		return statusMsg;
+	}
+
+	public void setStatusMsg(String statusMsg) {
+		this.statusMsg = statusMsg;
+	}
+
+	public String getVersion() {
+		return version;
+	}
+
+	public void setVersion(String version) {
+		this.version = version;
+	}
+
+	public String getToken() {
+		return token;
+	}
+
+	public void setToken(String token) {
+		this.token = token;
+	}
+	
+	public Object getData() {
+		return data;
+	}
+
+	public void setData(Object data) {
+		this.data = data;
+	}
+	
+	public String ok() {
+		return this.ok("");
+	}
+	
+	public String ok(Object data) {
+		return this.ok("", data);
+	}
+	public String ok(String msg, Object data) {
+		return this.base(200, msg, data);
+	}
+	
+	public String parameterError(String msg, Map<String, Object> paramMap) {		
+		return this.base(203, msg, paramMap);
+	}
+
+	public String error(int code, String msg) {
+		return this.error(code, msg, "");
+	}
+	
+	public String error(int code, String msg, Object data) {
+		return this.base(code, msg, data);
+	}
+	
+	public String noRecord() {
+		return this.base(202, "没有记录 !!!");
+	}
+	
+	public String notLoggedIn() {
+		return this.base(201, " 请登录 !!!");
+	}
+	public String notLoggedIn(Object data) {
+		return this.base(201, " 请登录 !!!", data);
+	}
+	
+	public String noPower() {
+		return this.base(206, "没有权限!!!");
+	}
+	
+	private String base(int code, String msg) {
+		return this.base(code, msg, "");
+	}
+	
+	private String base(int code, String msg, Object data) {
+		JsonResult jd = new JsonResult();
+		jd.setStatusCode(code);
+		jd.setStatusMsg(msg);
+		jd.setData(data);
+		return JSON.toJSONString(jd);
+	}
+	
+}
+

+ 50 - 0
4dkankan-center-platform/src/main/java/com/fdkankan/common/base/Swagger2.java

@@ -0,0 +1,50 @@
+package com.fdkankan.common.base;
+
+import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import springfox.documentation.builders.ApiInfoBuilder;
+import springfox.documentation.builders.PathSelectors;
+import springfox.documentation.builders.RequestHandlerSelectors;
+import springfox.documentation.service.ApiInfo;
+import springfox.documentation.spi.DocumentationType;
+import springfox.documentation.spring.web.plugins.Docket;
+import springfox.documentation.swagger2.annotations.EnableSwagger2;
+
+@EnableSwagger2
+@EnableSwaggerBootstrapUI
+@Configuration
+public class Swagger2 {
+	
+	  @Bean
+	  public Docket baseApi() {
+		return new Docket(DocumentationType.SWAGGER_2).groupName("模板接口").apiInfo(apiBaseInfo()).select().apis(RequestHandlerSelectors.basePackage("com.fdkankan"))
+			.paths(PathSelectors.regex(".*/base/.*")).build();
+	  }
+
+	  private ApiInfo apiBaseInfo() {
+		return new ApiInfoBuilder().title("模板接口文档").description("模板接口文档").termsOfServiceUrl("").version("1.0").build();
+	  }
+
+	  @Bean
+	  public Docket createRestApi() {
+		return new Docket(DocumentationType.SWAGGER_2).groupName("API管理接口").apiInfo(apiInfo()).select().apis(RequestHandlerSelectors.basePackage("com.fdkankan"))
+			.paths(PathSelectors.regex(".*/.*")).build();
+	  }
+
+	  private ApiInfo apiInfo() {
+		return new ApiInfoBuilder().title("API文档").description("API文档").termsOfServiceUrl("").version("1.0").build();
+	  }
+
+	  @Bean
+	  public Docket backApi() {
+		return new Docket(DocumentationType.SWAGGER_2).groupName("后台管理接口").apiInfo(apiBackInfo()).select().apis(RequestHandlerSelectors.basePackage("com.fdkankan"))
+			.paths(PathSelectors.regex(".*/back/.*")).build();
+	  }
+
+	  private ApiInfo apiBackInfo() {
+		return new ApiInfoBuilder().title("后台管理接口").description("后台管理接口实现的文档").termsOfServiceUrl("").version("1.0").build();
+	  }
+
+}
+

+ 5 - 0
4dkankan-common/pom.xml

@@ -15,6 +15,11 @@
     <dependencies>
 
         <dependency>
+            <groupId>com.fdkankan</groupId>
+            <artifactId>4dkankan-pom</artifactId>
+            <version>2.0.0</version>
+        </dependency>
+        <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
         </dependency>

+ 171 - 0
4dkankan-pom/pom.xml

@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>4dkankan-parent</artifactId>
+        <groupId>com.fdkankan</groupId>
+        <version>2.0.0</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>4dkankan-pom</artifactId>
+
+
+    <dependencies>
+
+        <dependency>
+            <groupId>com.fdkankan</groupId>
+            <artifactId>4dkankan-common</artifactId>
+            <version>2.0.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>com.alibaba.cloud</groupId>
+            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
+            <version>2.1.0.RELEASE</version>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.springframework.cloud</groupId>
+            <artifactId>spring-cloud-starter-openfeign</artifactId>
+            <version>2.2.10.RELEASE</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.mybatis.spring.boot</groupId>
+            <artifactId>mybatis-spring-boot-starter</artifactId>
+            <version>1.3.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.junit.vintage</groupId>
+                    <artifactId>junit-vintage-engine</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>junit</groupId>
+                    <artifactId>junit</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.58</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+        </dependency>
+        <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid</artifactId>
+            <version>1.1.17</version>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>2.9.2</version>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+            <version>2.9.2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.plugin</groupId>
+            <artifactId>spring-plugin-core</artifactId>
+            <version>1.2.0.RELEASE</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.plugin</groupId>
+            <artifactId>spring-plugin-metadata</artifactId>
+            <version>1.2.0.RELEASE</version>
+        </dependency>
+        <dependency>
+            <groupId>com.github.xiaoymin</groupId>
+            <artifactId>swagger-bootstrap-ui</artifactId>
+            <version>1.9.4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-aop</artifactId>
+        </dependency>
+
+        <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>1.18.12</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.auth0</groupId>
+            <artifactId>java-jwt</artifactId>
+            <version>3.10.3</version>
+        </dependency>
+
+    </dependencies>
+
+
+    <distributionManagement>
+        <repository>
+            <!-- 这里的ID要和setting的id一致 -->
+            <id>releases</id>
+            <url>http://192.168.0.115:8081/nexus-2.14.2-01/content/repositories/releases/</url>
+        </repository>
+        <!--这是打成快照版本的配置 -->
+        <snapshotRepository>
+            <id>snapshots</id>
+            <url>http://192.168.0.115:8081/nexus-2.14.2-01/content/repositories/snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+            </plugin>
+            <!-- maven 打包时跳过测试 -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+
+
+        </plugins>
+    </build>
+
+</project>

+ 1 - 0
pom.xml

@@ -9,6 +9,7 @@
         <module>4dkankan-center-scene</module>
         <module>4dkankan-common</module>
         <module>4dkankan-center-platform</module>
+        <module>4dkankan-pom</module>
     </modules>
 
     <parent>

+ 0 - 15
备份/4dkankan-center-agent/pom.xml

@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <parent>
-        <artifactId>4dkankan-center-platform</artifactId>
-        <groupId>com.fdkankan</groupId>
-        <version>2.0.0</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>4dkankan-agent</artifactId>
-
-
-</project>

+ 0 - 23
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/AgentApplication.java

@@ -1,23 +0,0 @@
-package com.fdkankan.agent;
-
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.cloud.openfeign.EnableFeignClients;
-
-
-@SpringBootApplication
-@EnableDiscoveryClient
-@EnableFeignClients //扫描包
-@MapperScan("com.fdkankan.**.mapper")
-public class AgentApplication {
-
-	public static void main(String[] args) {
-		SpringApplication.run(AgentApplication.class, args);
-	}
-}
-
-
-
-

+ 0 - 169
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentAudit.java

@@ -1,169 +0,0 @@
-package com.fdkankan.agent.entity;
-
-
-public class AgentAudit implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String auditName; // 经销商公司名称
-	private String country; // 国家
-	private String region; // 地区
-	private String address; // 地址
-	private Integer auditType; // 类型,1为线下,2为线上
-	private String storeAddress; // 线下门店地址或线上网站
-	private String surName; // 申请人的姓
-	private String userName; // 申请人的名字
-	private String post; // 申请人职位
-	private String areaCode; // 区号
-	private String phone; // 手机号
-	private String email; // 邮箱地址
-	private Integer state; // 状态,0申请中,1审核通过,2审核失败
-	private String createTime; // 创建时间
-	private String updateTime; // 更新时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private Integer noteType; // 备注等级
-	private String noteContent; // 备注内容
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getAuditName() {
-		return auditName;
-	}
-	public void setAuditName(String auditName) {
-		this.auditName = auditName;
-	}
-
-	public String getCountry() {
-		return country;
-	}
-	public void setCountry(String country) {
-		this.country = country;
-	}
-
-	public String getRegion() {
-		return region;
-	}
-	public void setRegion(String region) {
-		this.region = region;
-	}
-
-	public String getAddress() {
-		return address;
-	}
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	public Integer getAuditType() {
-		return auditType;
-	}
-	public void setAuditType(Integer auditType) {
-		this.auditType = auditType;
-	}
-
-	public String getStoreAddress() {
-		return storeAddress;
-	}
-	public void setStoreAddress(String storeAddress) {
-		this.storeAddress = storeAddress;
-	}
-
-	public String getSurName() {
-		return surName;
-	}
-	public void setSurName(String surName) {
-		this.surName = surName;
-	}
-
-	public String getUserName() {
-		return userName;
-	}
-	public void setUserName(String userName) {
-		this.userName = userName;
-	}
-
-	public String getPost() {
-		return post;
-	}
-	public void setPost(String post) {
-		this.post = post;
-	}
-
-	public String getAreaCode() {
-		return areaCode;
-	}
-	public void setAreaCode(String areaCode) {
-		this.areaCode = areaCode;
-	}
-
-	public String getPhone() {
-		return phone;
-	}
-	public void setPhone(String phone) {
-		this.phone = phone;
-	}
-
-	public String getEmail() {
-		return email;
-	}
-	public void setEmail(String email) {
-		this.email = email;
-	}
-
-	public Integer getState() {
-		return state;
-	}
-	public void setState(Integer state) {
-		this.state = state;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getNoteType() {
-		return noteType;
-	}
-	public void setNoteType(Integer noteType) {
-		this.noteType = noteType;
-	}
-
-	public String getNoteContent() {
-		return noteContent;
-	}
-	public void setNoteContent(String noteContent) {
-		this.noteContent = noteContent;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 64
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentFramework.java

@@ -1,64 +0,0 @@
-package com.fdkankan.agent.entity;
-
-public class AgentFramework implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String parentId; // 上级架构id
-	private String agentName; // 代理商名称
-	private String recStatus; // 
-	private String createTime; // 
-	private String updateTime; // 
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getParentId() {
-		return parentId;
-	}
-	public void setParentId(String parentId) {
-		this.parentId = parentId;
-	}
-
-	public String getAgentName() {
-		return agentName;
-	}
-	public void setAgentName(String agentName) {
-		this.agentName = agentName;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 65
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/entity/AgentNotice.java

@@ -1,65 +0,0 @@
-package com.fdkankan.agent.entity;
-
-
-public class AgentNotice implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String title; // 标题
-	private String content; // 公告内容
-	private String createTime; // 创建时间
-	private String updateTime; // 更新时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getTitle() {
-		return title;
-	}
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	public String getContent() {
-		return content;
-	}
-	public void setContent(String content) {
-		this.content = content;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentAuditMapper.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.mapper;
-
-
-import com.fdkankan.agent.entity.AgentAudit;
-import com.fdkankan.common.base.IOperations;
-
-public interface IAgentAuditMapper extends IOperations<AgentAudit> {
-}
-

+ 0 - 8
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentFrameworkMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.agent.mapper;
-
-import com.fdkankan.agent.entity.AgentFramework;
-import com.fdkankan.common.base.IOperations;
-
-public interface IAgentFrameworkMapper extends IOperations<AgentFramework> {
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentMapper.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.mapper;
-
-
-import com.fdkankan.agent.entity.Agent;
-import com.fdkankan.common.base.IOperations;
-
-public interface IAgentMapper extends IOperations<Agent> {
-}
-

+ 0 - 8
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/mapper/IAgentNoticeMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.agent.mapper;
-
-import com.fdkankan.agent.entity.AgentNotice;
-import com.fdkankan.common.base.IOperations;
-
-public interface IAgentNoticeMapper extends IOperations<AgentNotice> {
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentAuditService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.service;
-
-import com.fdkankan.agent.entity.AgentAudit;
-import com.fdkankan.common.base.IServiceOperations;
-
-public interface IAgentAuditService extends IServiceOperations<AgentAudit> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentFrameworkService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.service;
-
-import com.fdkankan.agent.entity.AgentFramework;
-import com.fdkankan.common.base.IServiceOperations;
-
-public interface IAgentFrameworkService extends IServiceOperations<AgentFramework> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentNoticeService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.service;
-
-import com.fdkankan.agent.entity.AgentNotice;
-import com.fdkankan.common.base.IServiceOperations;
-
-public interface IAgentNoticeService extends IServiceOperations<AgentNotice> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/IAgentService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.agent.service;
-
-import com.fdkankan.agent.entity.Agent;
-import com.fdkankan.common.base.IServiceOperations;
-
-public interface IAgentService extends IServiceOperations<Agent> {
-
-}
-

+ 0 - 30
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentAuditService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.agent.service.impl;
-
-import com.fdkankan.agent.entity.AgentAudit;
-import com.fdkankan.agent.mapper.IAgentAuditMapper;
-import com.fdkankan.agent.service.IAgentAuditService;
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("AgentAuditService")
-public class AgentAuditService extends AbstractService<AgentAudit> implements IAgentAuditService {
-
-	public AgentAuditService() {
-		this.setTableName("t_agent_audit");
-	}
-	@Resource
-	private IAgentAuditMapper tAgentAuditMapper;
-
-	@Override
-	protected IOperations<AgentAudit> getMapper() {
-		return tAgentAuditMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentFrameworkService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.agent.service.impl;
-
-import com.fdkankan.agent.entity.AgentFramework;
-import com.fdkankan.agent.mapper.IAgentFrameworkMapper;
-import com.fdkankan.agent.service.IAgentFrameworkService;
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("AgentFrameworkService")
-public class AgentFrameworkService extends AbstractService<AgentFramework> implements IAgentFrameworkService {
-
-	public AgentFrameworkService() {
-		this.setTableName("t_agent_framework");
-	}
-	@Resource
-	private IAgentFrameworkMapper tAgentFrameworkMapper;
-
-	@Override
-	protected IOperations<AgentFramework> getMapper() {
-		return tAgentFrameworkMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentNoticeService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.agent.service.impl;
-
-import com.fdkankan.agent.entity.AgentNotice;
-import com.fdkankan.agent.mapper.IAgentNoticeMapper;
-import com.fdkankan.agent.service.IAgentNoticeService;
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("AgentNoticeService")
-public class AgentNoticeService extends AbstractService<AgentNotice> implements IAgentNoticeService {
-
-	public AgentNoticeService() {
-		this.setTableName("t_agent_notice");
-	}
-	@Resource
-	private IAgentNoticeMapper tAgentNoticeMapper;
-
-	@Override
-	protected IOperations<AgentNotice> getMapper() {
-		return tAgentNoticeMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-agent/src/main/java/com/fdkankan/agent/service/impl/AgentService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.agent.service.impl;
-
-import com.fdkankan.agent.entity.Agent;
-import com.fdkankan.agent.mapper.IAgentMapper;
-import com.fdkankan.agent.service.IAgentService;
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("AgentService")
-public class AgentService extends AbstractService<Agent> implements IAgentService {
-
-	public AgentService() {
-		this.setTableName("t_agent");
-	}
-	@Resource
-	private IAgentMapper tAgentMapper;
-
-	@Override
-	protected IOperations<Agent> getMapper() {
-		return tAgentMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 39
备份/4dkankan-center-agent/src/main/resources/application.yml

@@ -1,39 +0,0 @@
-server:
-  port: 8081
-  servlet:
-    context-path: /agent
-  tomcat:
-    accesslog:
-      buffered: true
-      directory: /home/logs/tomcat
-      enabled: true
-      file-date-format: .yyyy-MM-dd
-      pattern: '%t | %{X-Real-IP}i | %b | %B | %H | %l | %m | %p | %q | %r | %s | %S | %u | %U | %v | %D | %T | %{Cookie}i | %{User-Agent}i | %{a}r'
-      prefix: access_log
-      rename-on-rotate: false
-      request-attributes-enabled: false
-      rotate: true
-      suffix: .log
-spring:
-  cloud:
-    nacos:
-      discovery:
-        port: ${discoveryPort:8848}
-        server-addr: 127.0.0.1
-  application:
-    name: agent
-  datasource:
-    name: test
-    url: jdbc:mysql://localhost:3306/4dkankan_center_application?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC&allowMultiQueries=true
-    username: root
-    password: 123456
-    type: com.alibaba.druid.pool.DruidDataSource
-    driver-class-name: com.mysql.cj.jdbc.Driver
-mybatis:
-  mapper-locations: classpath:mapper/*/*.xml
-  type-aliases-package: com.4dkankan_center_application.www
-  configuration:
-    map-underscore-to-camel-case: true
-logging:
-  config: classpath:logback-spring.xml
-

+ 0 - 230
备份/4dkankan-center-agent/src/main/resources/logback-spring.xml

@@ -1,230 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL,如果设置为WARN,则低于WARN的信息都不会输出 -->
-<!-- scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true -->
-<!-- scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒。当scan为true时,此属性生效。默认的时间间隔为1分钟。 -->
-<!-- debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 -->
-<configuration scan="true" scanPeriod="10 seconds">
-
-	<contextName>logback</contextName>
-	<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
-	<property name="log.path" value="/home/logs/4dkankan_center_application" />
-
-	<!-- 彩色日志 -->
-	<!-- 彩色日志依赖的渲染类 -->
-	<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
-	<conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />
-	<conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" />
-	<!-- 彩色日志格式 -->
-	<property name="CONSOLE_LOG_PATTERN"
-		value="${CONSOLE_LOG_PATTERN:-%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}" />
-
-	<!--输出到控制台 -->
-	<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
-		<!--此日志appender是为开发使用,只配置最底级别,控制台输出的日志级别是大于或等于此级别的日志信息 -->
-		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
-			<level>info</level>
-		</filter>
-		<encoder>
-			<Pattern>${CONSOLE_LOG_PATTERN}</Pattern>
-			<!-- 设置字符集 -->
-			<charset>UTF-8</charset>
-		</encoder>
-	</appender>
-	<!--输出到文件 -->
-
-	<!-- 时间滚动输出 level为 DEBUG 日志 -->
-	<appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_debug.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<!-- 日志归档 -->
-			<fileNamePattern>${log.path}/debug/log-debug-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录debug级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>debug</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-	<!-- 时间滚动输出 level为 INFO 日志 -->
-	<appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_info.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset>
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<!-- 每天日志归档路径以及格式 -->
-			<fileNamePattern>${log.path}/info/log-info-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录info级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>info</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-	<!-- 时间滚动输出 level为 WARN 日志 -->
-	<appender name="WARN_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_warn.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/warn/log-warn-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录warn级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>warn</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-
-	<!-- 时间滚动输出 level为 ERROR 日志 -->
-	<appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_error.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/error/log-error-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>ERROR</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	
-	<appender name="PROGRAM_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/program/log_program.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/program/log-program-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	<logger name="programLog" level="INFO" additivity="true">
-        <appender-ref ref="PROGRAM_FILE"/>
-    </logger>
-
-	<appender name="VISIT_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/visit/log_visit.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/visit/log-visit-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	<logger name="visitLog" level="INFO" additivity="true">
-        <appender-ref ref="VISIT_FILE"/>
-    </logger>
-
-	<!-- <logger>用来设置某一个包或者具体的某一个类的日志打印级别、 以及指定<appender>。<logger>仅有一个name属性, 一个可选的level和一个可选的addtivity属性。 name:用来指定受此logger约束的某一个包或者具体的某一个类。 level:用来设置打印级别,大小写无关:TRACE, 
-		DEBUG, INFO, WARN, ERROR, ALL 和 OFF, 还有一个特俗值INHERITED或者同义词NULL,代表强制执行上级的级别。 如果未设置此属性,那么当前logger将会继承上级的级别。 addtivity:是否向上级logger传递打印信息。默认是true。 -->
-	<!--<logger name="org.springframework.web" level="info"/> -->
-	<!--<logger name="org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor" level="INFO"/> -->
-	<!-- 使用mybatis的时候,sql语句是debug下才会打印,而这里我们只配置了info,所以想要查看sql语句的话,有以下两种操作: 第一种把<root level="info">改成<root level="DEBUG">这样就会打印sql,不过这样日志那边会出现很多其他消息 第二种就是单独给dao下目录配置debug模式,代码如下,这样配置sql语句会打印,其他还是正常info级别: -->
-	<!-- root节点是必选节点,用来指定最基础的日志输出级别,只有一个level属性 level:用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF, 不能设置为INHERITED或者同义词NULL。默认是DEBUG 可以包含零个或多个元素,标识这个appender将会添加到这个logger。 -->
-
-	<root level="info">
-		<appender-ref ref="CONSOLE" />
-		<appender-ref ref="DEBUG_FILE" />
-		<appender-ref ref="INFO_FILE" />
-		<appender-ref ref="WARN_FILE" />
-		<appender-ref ref="ERROR_FILE" />
-	</root>
-
-	<!--生产环境:输出到文件 -->
-	<!--<springProfile name="pro"> -->
-	<!--<root level="info"> -->
-	<!--<appender-ref ref="CONSOLE" /> -->
-	<!--<appender-ref ref="DEBUG_FILE" /> -->
-	<!--<appender-ref ref="INFO_FILE" /> -->
-	<!--<appender-ref ref="ERROR_FILE" /> -->
-	<!--<appender-ref ref="WARN_FILE" /> -->
-	<!--</root> -->
-	<!--</springProfile> -->
-
-</configuration>
-
-

+ 0 - 128
备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentAuditMapper.xml

@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentAuditMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentAudit">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="audit_name" jdbcType="VARCHAR" property="auditName" />
-		<result column="country" jdbcType="VARCHAR" property="country" />
-		<result column="region" jdbcType="VARCHAR" property="region" />
-		<result column="address" jdbcType="VARCHAR" property="address" />
-		<result column="audit_type" jdbcType="INTEGER" property="auditType" />
-		<result column="store_address" jdbcType="VARCHAR" property="storeAddress" />
-		<result column="sur_name" jdbcType="VARCHAR" property="surName" />
-		<result column="user_name" jdbcType="VARCHAR" property="userName" />
-		<result column="post" jdbcType="VARCHAR" property="post" />
-		<result column="area_code" jdbcType="VARCHAR" property="areaCode" />
-		<result column="phone" jdbcType="VARCHAR" property="phone" />
-		<result column="email" jdbcType="VARCHAR" property="email" />
-		<result column="state" jdbcType="INTEGER" property="state" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="note_type" jdbcType="INTEGER" property="noteType" />
-		<result column="note_content" jdbcType="VARCHAR" property="noteContent" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,audit_name,country,region,address,audit_type,store_address,sur_name,user_name,post,area_code,phone,email,state,create_time,update_time,rec_status,note_type,note_content,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		audit_name, country, region, address, audit_type, store_address, sur_name, user_name, post, area_code, phone, email, state, rec_status, note_type, note_content
-		) VALUES (
-		#{entity.auditName}, #{entity.country}, #{entity.region}, #{entity.address}, #{entity.auditType}, #{entity.storeAddress}, #{entity.surName}, #{entity.userName}, #{entity.post}, #{entity.areaCode}, #{entity.phone}, #{entity.email}, #{entity.state}, #{entity.recStatus}, #{entity.noteType}, #{entity.noteContent}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		audit_name, country, region, address, audit_type, store_address, sur_name, user_name, post, area_code, phone, email, state, rec_status, note_type, note_content
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.auditName}, #{entity.country}, #{entity.region}, #{entity.address}, #{entity.auditType}, #{entity.storeAddress}, #{entity.surName}, #{entity.userName}, #{entity.post}, #{entity.areaCode}, #{entity.phone}, #{entity.email}, #{entity.state}, #{entity.recStatus}, #{entity.noteType}, #{entity.noteContent})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		audit_name=#{entity.auditName}, country=#{entity.country}, region=#{entity.region}, address=#{entity.address}, audit_type=#{entity.auditType}, store_address=#{entity.storeAddress}, sur_name=#{entity.surName}, user_name=#{entity.userName}, post=#{entity.post}, area_code=#{entity.areaCode}, phone=#{entity.phone}, email=#{entity.email}, state=#{entity.state}, rec_status=#{entity.recStatus}, note_type=#{entity.noteType}, note_content=#{entity.noteContent}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 116
备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentFrameworkMapper.xml

@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentFrameworkMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentFramework">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="parent_id" jdbcType="VARCHAR" property="parentId" />
-		<result column="agent_name" jdbcType="VARCHAR" property="agentName" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,parent_id,agent_name,rec_status,create_time,update_time,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		parent_id, agent_name, rec_status
-		) VALUES (
-		#{entity.parentId}, #{entity.agentName}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		parent_id, agent_name, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.parentId}, #{entity.agentName}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		parent_id=#{entity.parentId}, agent_name=#{entity.agentName}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 122
备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentMapper.xml

@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.Agent">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="agent_id" jdbcType="VARCHAR" property="agentId" />
-		<result column="agent_name" jdbcType="VARCHAR" property="agentName" />
-		<result column="agent_password" jdbcType="VARCHAR" property="agentPassword" />
-		<result column="agent_area" jdbcType="VARCHAR" property="agentArea" />
-		<result column="agent_email" jdbcType="VARCHAR" property="agentEmail" />
-		<result column="agent_phone" jdbcType="VARCHAR" property="agentPhone" />
-		<result column="state" jdbcType="INTEGER" property="state" />
-		<result column="agent_num" jdbcType="INTEGER" property="agentNum" />
-		<result column="agent_country" jdbcType="VARCHAR" property="agentCountry" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,agent_id,agent_name,agent_password,agent_area,agent_email,agent_phone,state,agent_num,agent_country,create_time,update_time,rec_status,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		agent_id, agent_name, agent_password, agent_area, agent_email, agent_phone, state, agent_num, agent_country, rec_status
-		) VALUES (
-		#{entity.agentId}, #{entity.agentName}, #{entity.agentPassword}, #{entity.agentArea}, #{entity.agentEmail}, #{entity.agentPhone}, #{entity.state}, #{entity.agentNum}, #{entity.agentCountry}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		agent_id, agent_name, agent_password, agent_area, agent_email, agent_phone, state, agent_num, agent_country, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.agentId}, #{entity.agentName}, #{entity.agentPassword}, #{entity.agentArea}, #{entity.agentEmail}, #{entity.agentPhone}, #{entity.state}, #{entity.agentNum}, #{entity.agentCountry}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		agent_id=#{entity.agentId}, agent_name=#{entity.agentName}, agent_password=#{entity.agentPassword}, agent_area=#{entity.agentArea}, agent_email=#{entity.agentEmail}, agent_phone=#{entity.agentPhone}, state=#{entity.state}, agent_num=#{entity.agentNum}, agent_country=#{entity.agentCountry}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 115
备份/4dkankan-center-agent/src/main/resources/mapper/agent/AgentNoticeMapper.xml

@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentNoticeMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentNotice">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="title" jdbcType="VARCHAR" property="title" />
-		<result column="content" jdbcType="VARCHAR" property="content" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,title,content,create_time,update_time,rec_status,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		title, content, rec_status
-		) VALUES (
-		#{entity.title}, #{entity.content}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		title, content, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.title}, #{entity.content}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		title=#{entity.title}, content=#{entity.content}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 39
备份/4dkankan-center-agent/target/classes/application.yml

@@ -1,39 +0,0 @@
-server:
-  port: 8081
-  servlet:
-    context-path: /agent
-  tomcat:
-    accesslog:
-      buffered: true
-      directory: /home/logs/tomcat
-      enabled: true
-      file-date-format: .yyyy-MM-dd
-      pattern: '%t | %{X-Real-IP}i | %b | %B | %H | %l | %m | %p | %q | %r | %s | %S | %u | %U | %v | %D | %T | %{Cookie}i | %{User-Agent}i | %{a}r'
-      prefix: access_log
-      rename-on-rotate: false
-      request-attributes-enabled: false
-      rotate: true
-      suffix: .log
-spring:
-  cloud:
-    nacos:
-      discovery:
-        port: ${discoveryPort:8848}
-        server-addr: 127.0.0.1
-  application:
-    name: agent
-  datasource:
-    name: test
-    url: jdbc:mysql://localhost:3306/4dkankan_center_application?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC&allowMultiQueries=true
-    username: root
-    password: 123456
-    type: com.alibaba.druid.pool.DruidDataSource
-    driver-class-name: com.mysql.cj.jdbc.Driver
-mybatis:
-  mapper-locations: classpath:mapper/*/*.xml
-  type-aliases-package: com.4dkankan_center_application.www
-  configuration:
-    map-underscore-to-camel-case: true
-logging:
-  config: classpath:logback-spring.xml
-

+ 0 - 230
备份/4dkankan-center-agent/target/classes/logback-spring.xml

@@ -1,230 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL,如果设置为WARN,则低于WARN的信息都不会输出 -->
-<!-- scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true -->
-<!-- scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒。当scan为true时,此属性生效。默认的时间间隔为1分钟。 -->
-<!-- debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 -->
-<configuration scan="true" scanPeriod="10 seconds">
-
-	<contextName>logback</contextName>
-	<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
-	<property name="log.path" value="/home/logs/4dkankan_center_application" />
-
-	<!-- 彩色日志 -->
-	<!-- 彩色日志依赖的渲染类 -->
-	<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
-	<conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />
-	<conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" />
-	<!-- 彩色日志格式 -->
-	<property name="CONSOLE_LOG_PATTERN"
-		value="${CONSOLE_LOG_PATTERN:-%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}" />
-
-	<!--输出到控制台 -->
-	<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
-		<!--此日志appender是为开发使用,只配置最底级别,控制台输出的日志级别是大于或等于此级别的日志信息 -->
-		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
-			<level>info</level>
-		</filter>
-		<encoder>
-			<Pattern>${CONSOLE_LOG_PATTERN}</Pattern>
-			<!-- 设置字符集 -->
-			<charset>UTF-8</charset>
-		</encoder>
-	</appender>
-	<!--输出到文件 -->
-
-	<!-- 时间滚动输出 level为 DEBUG 日志 -->
-	<appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_debug.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<!-- 日志归档 -->
-			<fileNamePattern>${log.path}/debug/log-debug-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录debug级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>debug</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-	<!-- 时间滚动输出 level为 INFO 日志 -->
-	<appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_info.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset>
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<!-- 每天日志归档路径以及格式 -->
-			<fileNamePattern>${log.path}/info/log-info-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录info级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>info</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-	<!-- 时间滚动输出 level为 WARN 日志 -->
-	<appender name="WARN_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_warn.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/warn/log-warn-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录warn级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>warn</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-
-
-	<!-- 时间滚动输出 level为 ERROR 日志 -->
-	<appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/log_error.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/error/log-error-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<level>ERROR</level>
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	
-	<appender name="PROGRAM_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/program/log_program.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/program/log-program-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	<logger name="programLog" level="INFO" additivity="true">
-        <appender-ref ref="PROGRAM_FILE"/>
-    </logger>
-
-	<appender name="VISIT_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-		<!-- 正在记录的日志文件的路径及文件名 -->
-		<file>${log.path}/visit/log_visit.log</file>
-		<!--日志文件输出格式 -->
-		<encoder>
-			<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>
-			<charset>UTF-8</charset> <!-- 此处设置字符集 -->
-		</encoder>
-		<!-- 日志记录器的滚动策略,按日期,按大小记录 -->
-		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
-			<fileNamePattern>${log.path}/visit/log-visit-%d{yyyy-MM-dd}.%i.log
-			</fileNamePattern>
-			<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
-				<maxFileSize>100MB</maxFileSize>
-			</timeBasedFileNamingAndTriggeringPolicy>
-			<!--日志文件保留天数 -->
-			<maxHistory>15</maxHistory>
-		</rollingPolicy>
-		<!-- 此日志文件只记录ERROR级别的 -->
-		<filter class="ch.qos.logback.classic.filter.LevelFilter">
-			<onMatch>ACCEPT</onMatch>
-			<onMismatch>DENY</onMismatch>
-		</filter>
-	</appender>
-	<logger name="visitLog" level="INFO" additivity="true">
-        <appender-ref ref="VISIT_FILE"/>
-    </logger>
-
-	<!-- <logger>用来设置某一个包或者具体的某一个类的日志打印级别、 以及指定<appender>。<logger>仅有一个name属性, 一个可选的level和一个可选的addtivity属性。 name:用来指定受此logger约束的某一个包或者具体的某一个类。 level:用来设置打印级别,大小写无关:TRACE, 
-		DEBUG, INFO, WARN, ERROR, ALL 和 OFF, 还有一个特俗值INHERITED或者同义词NULL,代表强制执行上级的级别。 如果未设置此属性,那么当前logger将会继承上级的级别。 addtivity:是否向上级logger传递打印信息。默认是true。 -->
-	<!--<logger name="org.springframework.web" level="info"/> -->
-	<!--<logger name="org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor" level="INFO"/> -->
-	<!-- 使用mybatis的时候,sql语句是debug下才会打印,而这里我们只配置了info,所以想要查看sql语句的话,有以下两种操作: 第一种把<root level="info">改成<root level="DEBUG">这样就会打印sql,不过这样日志那边会出现很多其他消息 第二种就是单独给dao下目录配置debug模式,代码如下,这样配置sql语句会打印,其他还是正常info级别: -->
-	<!-- root节点是必选节点,用来指定最基础的日志输出级别,只有一个level属性 level:用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF, 不能设置为INHERITED或者同义词NULL。默认是DEBUG 可以包含零个或多个元素,标识这个appender将会添加到这个logger。 -->
-
-	<root level="info">
-		<appender-ref ref="CONSOLE" />
-		<appender-ref ref="DEBUG_FILE" />
-		<appender-ref ref="INFO_FILE" />
-		<appender-ref ref="WARN_FILE" />
-		<appender-ref ref="ERROR_FILE" />
-	</root>
-
-	<!--生产环境:输出到文件 -->
-	<!--<springProfile name="pro"> -->
-	<!--<root level="info"> -->
-	<!--<appender-ref ref="CONSOLE" /> -->
-	<!--<appender-ref ref="DEBUG_FILE" /> -->
-	<!--<appender-ref ref="INFO_FILE" /> -->
-	<!--<appender-ref ref="ERROR_FILE" /> -->
-	<!--<appender-ref ref="WARN_FILE" /> -->
-	<!--</root> -->
-	<!--</springProfile> -->
-
-</configuration>
-
-

+ 0 - 128
备份/4dkankan-center-agent/target/classes/mapper/agent/AgentAuditMapper.xml

@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentAuditMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentAudit">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="audit_name" jdbcType="VARCHAR" property="auditName" />
-		<result column="country" jdbcType="VARCHAR" property="country" />
-		<result column="region" jdbcType="VARCHAR" property="region" />
-		<result column="address" jdbcType="VARCHAR" property="address" />
-		<result column="audit_type" jdbcType="INTEGER" property="auditType" />
-		<result column="store_address" jdbcType="VARCHAR" property="storeAddress" />
-		<result column="sur_name" jdbcType="VARCHAR" property="surName" />
-		<result column="user_name" jdbcType="VARCHAR" property="userName" />
-		<result column="post" jdbcType="VARCHAR" property="post" />
-		<result column="area_code" jdbcType="VARCHAR" property="areaCode" />
-		<result column="phone" jdbcType="VARCHAR" property="phone" />
-		<result column="email" jdbcType="VARCHAR" property="email" />
-		<result column="state" jdbcType="INTEGER" property="state" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="note_type" jdbcType="INTEGER" property="noteType" />
-		<result column="note_content" jdbcType="VARCHAR" property="noteContent" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,audit_name,country,region,address,audit_type,store_address,sur_name,user_name,post,area_code,phone,email,state,create_time,update_time,rec_status,note_type,note_content,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		audit_name, country, region, address, audit_type, store_address, sur_name, user_name, post, area_code, phone, email, state, rec_status, note_type, note_content
-		) VALUES (
-		#{entity.auditName}, #{entity.country}, #{entity.region}, #{entity.address}, #{entity.auditType}, #{entity.storeAddress}, #{entity.surName}, #{entity.userName}, #{entity.post}, #{entity.areaCode}, #{entity.phone}, #{entity.email}, #{entity.state}, #{entity.recStatus}, #{entity.noteType}, #{entity.noteContent}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		audit_name, country, region, address, audit_type, store_address, sur_name, user_name, post, area_code, phone, email, state, rec_status, note_type, note_content
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.auditName}, #{entity.country}, #{entity.region}, #{entity.address}, #{entity.auditType}, #{entity.storeAddress}, #{entity.surName}, #{entity.userName}, #{entity.post}, #{entity.areaCode}, #{entity.phone}, #{entity.email}, #{entity.state}, #{entity.recStatus}, #{entity.noteType}, #{entity.noteContent})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		audit_name=#{entity.auditName}, country=#{entity.country}, region=#{entity.region}, address=#{entity.address}, audit_type=#{entity.auditType}, store_address=#{entity.storeAddress}, sur_name=#{entity.surName}, user_name=#{entity.userName}, post=#{entity.post}, area_code=#{entity.areaCode}, phone=#{entity.phone}, email=#{entity.email}, state=#{entity.state}, rec_status=#{entity.recStatus}, note_type=#{entity.noteType}, note_content=#{entity.noteContent}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 116
备份/4dkankan-center-agent/target/classes/mapper/agent/AgentFrameworkMapper.xml

@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentFrameworkMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentFramework">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="parent_id" jdbcType="VARCHAR" property="parentId" />
-		<result column="agent_name" jdbcType="VARCHAR" property="agentName" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,parent_id,agent_name,rec_status,create_time,update_time,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		parent_id, agent_name, rec_status
-		) VALUES (
-		#{entity.parentId}, #{entity.agentName}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		parent_id, agent_name, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.parentId}, #{entity.agentName}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		parent_id=#{entity.parentId}, agent_name=#{entity.agentName}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 122
备份/4dkankan-center-agent/target/classes/mapper/agent/AgentMapper.xml

@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.Agent">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="agent_id" jdbcType="VARCHAR" property="agentId" />
-		<result column="agent_name" jdbcType="VARCHAR" property="agentName" />
-		<result column="agent_password" jdbcType="VARCHAR" property="agentPassword" />
-		<result column="agent_area" jdbcType="VARCHAR" property="agentArea" />
-		<result column="agent_email" jdbcType="VARCHAR" property="agentEmail" />
-		<result column="agent_phone" jdbcType="VARCHAR" property="agentPhone" />
-		<result column="state" jdbcType="INTEGER" property="state" />
-		<result column="agent_num" jdbcType="INTEGER" property="agentNum" />
-		<result column="agent_country" jdbcType="VARCHAR" property="agentCountry" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,agent_id,agent_name,agent_password,agent_area,agent_email,agent_phone,state,agent_num,agent_country,create_time,update_time,rec_status,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		agent_id, agent_name, agent_password, agent_area, agent_email, agent_phone, state, agent_num, agent_country, rec_status
-		) VALUES (
-		#{entity.agentId}, #{entity.agentName}, #{entity.agentPassword}, #{entity.agentArea}, #{entity.agentEmail}, #{entity.agentPhone}, #{entity.state}, #{entity.agentNum}, #{entity.agentCountry}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		agent_id, agent_name, agent_password, agent_area, agent_email, agent_phone, state, agent_num, agent_country, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.agentId}, #{entity.agentName}, #{entity.agentPassword}, #{entity.agentArea}, #{entity.agentEmail}, #{entity.agentPhone}, #{entity.state}, #{entity.agentNum}, #{entity.agentCountry}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		agent_id=#{entity.agentId}, agent_name=#{entity.agentName}, agent_password=#{entity.agentPassword}, agent_area=#{entity.agentArea}, agent_email=#{entity.agentEmail}, agent_phone=#{entity.agentPhone}, state=#{entity.state}, agent_num=#{entity.agentNum}, agent_country=#{entity.agentCountry}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 115
备份/4dkankan-center-agent/target/classes/mapper/agent/AgentNoticeMapper.xml

@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
-<mapper namespace="com.fdkankan.agent.mapper.IAgentNoticeMapper">
-	<resultMap id="resultMap" type="com.fdkankan.agent.entity.AgentNotice">
-		<id column="id" jdbcType="VARCHAR" property="id" />
-		<result column="title" jdbcType="VARCHAR" property="title" />
-		<result column="content" jdbcType="VARCHAR" property="content" />
-		<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-		<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-		<result column="rec_status" jdbcType="VARCHAR" property="recStatus" />
-		<result column="tb_status" jdbcType="INTEGER" property="tbStatus" />
-	</resultMap>
-	<sql id="columnList">
-id,title,content,create_time,update_time,rec_status,tb_status	</sql>
-		<insert id="insert" useGeneratedKeys="true" keyProperty="entity.id">
-		INSERT INTO ${tableName} (
-		title, content, rec_status
-		) VALUES (
-		#{entity.title}, #{entity.content}, #{entity.recStatus}
-		)	</insert>
-		<insert id="insertByBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id" >
-		INSERT INTO ${tableName} (
-		title, content, rec_status
-		) VALUES 
-		<foreach collection="list" item="entity" index="index" separator=",">
-			(#{entity.title}, #{entity.content}, #{entity.recStatus})
-		</foreach>
-	</insert>
-		<update id="update"  parameterType="java.util.List" >
-		<foreach collection="list" item="entity" index="index" separator=";">
-		UPDATE ${tableName} SET 
-		title=#{entity.title}, content=#{entity.content}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
-		 WHERE 
-		id = #{entity.id}
-
-		</foreach>
-	</update>
-	<update id="updateByBatch" >
-			UPDATE ${tableName} SET
-				${field}
-			<where>
-				<foreach collection="condition" index="key" item="value">
-					${value} ${key}
-				</foreach>
-			</where>
-	</update>
-	<select id="getById" parameterType="java.lang.Integer" resultMap="resultMap">
-		select
-		<include refid="columnList" />
-		from ${tableName} 
-		where id = #{id}
-	</select>
-	<select id="getOne" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		limit 1;
-	</select>
-	<select id="getCount" parameterType="java.util.Map" resultType="java.lang.Integer">
-		select
-		count(id)
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-	</select>
-	<!-- 这部分为根据传递参数,自动生成SQL -->
-	<select id="getList" parameterType="java.util.Map" resultMap="resultMap">
-		select
-		<if test="field == null">
-			<include refid="columnList" />
-		</if>
-		<if test="field != null">
-			${field}
-		</if>
-		from ${tableName} 
-		<where>
-			<foreach collection="condition" index="key" item="value">
-				${value} ${key}
-			</foreach>
-		</where>
-		<if test="order != null">
-			order by ${order}
-		</if>
-		<if test="limit != 0">
-			<if test="offset != 0">
-				limit ${offset}, ${limit}
-			</if>
-			<if test="offset == 0">
-				limit ${limit}
-			</if>
-		</if>
-	</select>
-	<!-- 判断表格是否存在,如果不存在可以配合createTable使用,用于动态创建表格 -->
-	<select id="existTable" parameterType="String" resultType="java.lang.Integer">
-		select count(table_name) from information_schema.TABLES WHERE table_name=#{tableName} ;
-	</select>
-	<update id="createTable" parameterType="String">
-		<!-- 这里是创建表格的SQL,复制过来,表名作为参数传递 -->
-		<!-- create table ${tableName} (   //  表名要这样写 -->
-	</update>
-</mapper>

+ 0 - 15
备份/4dkankan-center-goods/pom.xml

@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <parent>
-        <artifactId>4dkankan-center-platform</artifactId>
-        <groupId>com.fdkankan</groupId>
-        <version>1.0.0</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>4dkankan-goods</artifactId>
-
-
-</project>

+ 0 - 23
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/GoodsApplication.java

@@ -1,23 +0,0 @@
-package com.fdkankan.goods;
-
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.cloud.openfeign.EnableFeignClients;
-
-
-@SpringBootApplication
-@EnableDiscoveryClient
-@EnableFeignClients //扫描包
-@MapperScan("com.fdkankan.**.mapper")
-public class GoodsApplication {
-
-	public static void main(String[] args) {
-		SpringApplication.run(GoodsApplication.class, args);
-	}
-}
-
-
-
-

+ 0 - 97
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Camera.java

@@ -1,97 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class Camera implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String childName; // 相机的Mac地址
-	private String activatedTime; // 激活时间
-	private String childPassword; // 相机密码
-	private String snCode; // sn码
-	private String wifiName; // wifi名称
-	private String wifiPassword; // wifi密码
-	private String createTime; // 创建时间
-	private String updateTime; // 更新时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getChildName() {
-		return childName;
-	}
-	public void setChildName(String childName) {
-		this.childName = childName;
-	}
-
-	public String getActivatedTime() {
-		return activatedTime;
-	}
-	public void setActivatedTime(String activatedTime) {
-		this.activatedTime = activatedTime;
-	}
-
-	public String getChildPassword() {
-		return childPassword;
-	}
-	public void setChildPassword(String childPassword) {
-		this.childPassword = childPassword;
-	}
-
-	public String getSnCode() {
-		return snCode;
-	}
-	public void setSnCode(String snCode) {
-		this.snCode = snCode;
-	}
-
-	public String getWifiName() {
-		return wifiName;
-	}
-	public void setWifiName(String wifiName) {
-		this.wifiName = wifiName;
-	}
-
-	public String getWifiPassword() {
-		return wifiPassword;
-	}
-	public void setWifiPassword(String wifiPassword) {
-		this.wifiPassword = wifiPassword;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 169
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraDetail.java

@@ -1,169 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class CameraDetail implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String balance; // 余额
-	private String userId; // 用户表t_user的id
-	private Integer own; // 0表示客户,1表示员工,2表示赠送,3表示其他,4经销商销售
-	private String orderSn; // 订单号
-	private Integer country; // 0表示本国,1表示国外
-	private String agency; // 经销商
-	private Integer cameraType; // 相机类型,0表示双目,1四维看看pro,2 四维看看lite,9 双目转台,10 激光转台
-	private String totalSpace; // 总容量
-	private String usedSpace; // 已使用容量
-	private String cameraId; // 相机主表t_camera的id
-	private String goodsId; // 商品表t_goods的id
-	private String companyId; // 企业表t_company的id
-	private String agentFrameworkId; // 代理商架构管理t_agent_framework的id
-	private String cooperationUser; // 相机协作用户id
-	private String address; // 设备地址(追溯管理后台)
-	private String createTime; // 创建时间
-	private String updateTime; // 更新时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getBalance() {
-		return balance;
-	}
-	public void setBalance(String balance) {
-		this.balance = balance;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public Integer getOwn() {
-		return own;
-	}
-	public void setOwn(Integer own) {
-		this.own = own;
-	}
-
-	public String getOrderSn() {
-		return orderSn;
-	}
-	public void setOrderSn(String orderSn) {
-		this.orderSn = orderSn;
-	}
-
-	public Integer getCountry() {
-		return country;
-	}
-	public void setCountry(Integer country) {
-		this.country = country;
-	}
-
-	public String getAgency() {
-		return agency;
-	}
-	public void setAgency(String agency) {
-		this.agency = agency;
-	}
-
-	public Integer getCameraType() {
-		return cameraType;
-	}
-	public void setCameraType(Integer cameraType) {
-		this.cameraType = cameraType;
-	}
-
-	public String getTotalSpace() {
-		return totalSpace;
-	}
-	public void setTotalSpace(String totalSpace) {
-		this.totalSpace = totalSpace;
-	}
-
-	public String getUsedSpace() {
-		return usedSpace;
-	}
-	public void setUsedSpace(String usedSpace) {
-		this.usedSpace = usedSpace;
-	}
-
-	public String getCameraId() {
-		return cameraId;
-	}
-	public void setCameraId(String cameraId) {
-		this.cameraId = cameraId;
-	}
-
-	public String getGoodsId() {
-		return goodsId;
-	}
-	public void setGoodsId(String goodsId) {
-		this.goodsId = goodsId;
-	}
-
-	public String getCompanyId() {
-		return companyId;
-	}
-	public void setCompanyId(String companyId) {
-		this.companyId = companyId;
-	}
-
-	public String getAgentFrameworkId() {
-		return agentFrameworkId;
-	}
-	public void setAgentFrameworkId(String agentFrameworkId) {
-		this.agentFrameworkId = agentFrameworkId;
-	}
-
-	public String getCooperationUser() {
-		return cooperationUser;
-	}
-	public void setCooperationUser(String cooperationUser) {
-		this.cooperationUser = cooperationUser;
-	}
-
-	public String getAddress() {
-		return address;
-	}
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 81
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraOut.java

@@ -1,81 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class CameraOut implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String cameraId; // 相机id
-	private String orderId; // 订单id
-	private String agentName; // 经销商
-	private Integer outType; // 0:测试使用,1:线上出库,2:经销商出库
-	private String createTime; // 
-	private String updateTime; // 
-	private String recStatus; // 
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getCameraId() {
-		return cameraId;
-	}
-	public void setCameraId(String cameraId) {
-		this.cameraId = cameraId;
-	}
-
-	public String getOrderId() {
-		return orderId;
-	}
-	public void setOrderId(String orderId) {
-		this.orderId = orderId;
-	}
-
-	public String getAgentName() {
-		return agentName;
-	}
-	public void setAgentName(String agentName) {
-		this.agentName = agentName;
-	}
-
-	public Integer getOutType() {
-		return outType;
-	}
-	public void setOutType(Integer outType) {
-		this.outType = outType;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 105
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraSpace.java

@@ -1,105 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class CameraSpace implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String userId; // 用户表t_user的id
-	private String cameraId; // 相机主表t_camera的id
-	private String space; // 容量
-	private Integer spaceType; // 容量类型,0表示基础容量,1表示期限容量,2表示扩容容量
-	private String spaceStartTime; // 生效时间
-	private String spaceEndTime; // 结束时间
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private String orderSn; // 扩容订单集合
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public String getCameraId() {
-		return cameraId;
-	}
-	public void setCameraId(String cameraId) {
-		this.cameraId = cameraId;
-	}
-
-	public String getSpace() {
-		return space;
-	}
-	public void setSpace(String space) {
-		this.space = space;
-	}
-
-	public Integer getSpaceType() {
-		return spaceType;
-	}
-	public void setSpaceType(Integer spaceType) {
-		this.spaceType = spaceType;
-	}
-
-	public String getSpaceStartTime() {
-		return spaceStartTime;
-	}
-	public void setSpaceStartTime(String spaceStartTime) {
-		this.spaceStartTime = spaceStartTime;
-	}
-
-	public String getSpaceEndTime() {
-		return spaceEndTime;
-	}
-	public void setSpaceEndTime(String spaceEndTime) {
-		this.spaceEndTime = spaceEndTime;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getOrderSn() {
-		return orderSn;
-	}
-	public void setOrderSn(String orderSn) {
-		this.orderSn = orderSn;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 113
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CameraVersion.java

@@ -1,113 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class CameraVersion implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private Integer id; // 
-	private String fileName; // 名称
-	private String fileUrl; // 文件rul
-	private String fileMd5; // 文件MD5
-	private String description; // 描述
-	private String version; // 相机版本
-	private Integer cameraType; // 相机类型,1八目,2双目, 3转台双目, 4激光转台
-	private String acStatus; // 活动状态:A: 生效,I: 禁用
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String createTime; // 创建日期
-	private String updateTime; // 修改日期
-	private String minVersion; // 相机版本(最小)
-	private Integer tbStatus; // 0正常,1删除
-
-	public Integer getId() {
-		return id;
-	}
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	public String getFileName() {
-		return fileName;
-	}
-	public void setFileName(String fileName) {
-		this.fileName = fileName;
-	}
-
-	public String getFileUrl() {
-		return fileUrl;
-	}
-	public void setFileUrl(String fileUrl) {
-		this.fileUrl = fileUrl;
-	}
-
-	public String getFileMd5() {
-		return fileMd5;
-	}
-	public void setFileMd5(String fileMd5) {
-		this.fileMd5 = fileMd5;
-	}
-
-	public String getDescription() {
-		return description;
-	}
-	public void setDescription(String description) {
-		this.description = description;
-	}
-
-	public String getVersion() {
-		return version;
-	}
-	public void setVersion(String version) {
-		this.version = version;
-	}
-
-	public Integer getCameraType() {
-		return cameraType;
-	}
-	public void setCameraType(Integer cameraType) {
-		this.cameraType = cameraType;
-	}
-
-	public String getAcStatus() {
-		return acStatus;
-	}
-	public void setAcStatus(String acStatus) {
-		this.acStatus = acStatus;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getMinVersion() {
-		return minVersion;
-	}
-	public void setMinVersion(String minVersion) {
-		this.minVersion = minVersion;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 106
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Cart.java

@@ -1,106 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class Cart implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String userId; // t_user的id
-	private String goodsId; // t_goods的id
-	private String skuSn; // sku编号,唯一
-	private Integer goodsCount; // 商品数量
-	private BigDecimal price; // 价格
-	private BigDecimal amount; // 合计
-	private Integer payStatus; // 0表示未付,1表示已付
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public String getGoodsId() {
-		return goodsId;
-	}
-	public void setGoodsId(String goodsId) {
-		this.goodsId = goodsId;
-	}
-
-	public String getSkuSn() {
-		return skuSn;
-	}
-	public void setSkuSn(String skuSn) {
-		this.skuSn = skuSn;
-	}
-
-	public Integer getGoodsCount() {
-		return goodsCount;
-	}
-	public void setGoodsCount(Integer goodsCount) {
-		this.goodsCount = goodsCount;
-	}
-
-	public BigDecimal getPrice() {
-		return price;
-	}
-	public void setPrice(BigDecimal price) {
-		this.price = price;
-	}
-
-	public BigDecimal getAmount() {
-		return amount;
-	}
-	public void setAmount(BigDecimal amount) {
-		this.amount = amount;
-	}
-
-	public Integer getPayStatus() {
-		return payStatus;
-	}
-	public void setPayStatus(Integer payStatus) {
-		this.payStatus = payStatus;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 138
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/CommerceOrder.java

@@ -1,138 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class CommerceOrder implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String orderSn; // 订单号
-	private BigDecimal amount; // 金额
-	private String number; // 支付宝的交易号或者微信支付订单号
-	private Integer payType; // 付款方式,0表示微信,1表示支付宝,2表示paypal,3表示其他
-	private Integer payStatus; // 状态,0或-1表示未付款,1表示已付款
-	private String tradeTime; // 交易时间
-	private String userId; // 用户表t_user的id
-	private String cameraId; // 相机主表t_camera的id
-	private Integer commerceType; // 0表示年,1表示月
-	private Integer count; // 数量
-	private Integer abroad; // 0表示国内订单,1表示国外订单
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getOrderSn() {
-		return orderSn;
-	}
-	public void setOrderSn(String orderSn) {
-		this.orderSn = orderSn;
-	}
-
-	public BigDecimal getAmount() {
-		return amount;
-	}
-	public void setAmount(BigDecimal amount) {
-		this.amount = amount;
-	}
-
-	public String getNumber() {
-		return number;
-	}
-	public void setNumber(String number) {
-		this.number = number;
-	}
-
-	public Integer getPayType() {
-		return payType;
-	}
-	public void setPayType(Integer payType) {
-		this.payType = payType;
-	}
-
-	public Integer getPayStatus() {
-		return payStatus;
-	}
-	public void setPayStatus(Integer payStatus) {
-		this.payStatus = payStatus;
-	}
-
-	public String getTradeTime() {
-		return tradeTime;
-	}
-	public void setTradeTime(String tradeTime) {
-		this.tradeTime = tradeTime;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public String getCameraId() {
-		return cameraId;
-	}
-	public void setCameraId(String cameraId) {
-		this.cameraId = cameraId;
-	}
-
-	public Integer getCommerceType() {
-		return commerceType;
-	}
-	public void setCommerceType(Integer commerceType) {
-		this.commerceType = commerceType;
-	}
-
-	public Integer getCount() {
-		return count;
-	}
-	public void setCount(Integer count) {
-		this.count = count;
-	}
-
-	public Integer getAbroad() {
-		return abroad;
-	}
-	public void setAbroad(Integer abroad) {
-		this.abroad = abroad;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 113
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Company.java

@@ -1,113 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class Company implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String companyName; // 公司名称
-	private String topLogo; // 顶部logo
-	private String floorLogo; // 地面logo
-	private String markerLogo; // 地面点位logo
-	private String qrLogo; // 二维码logo
-	private Integer showLogo; // 是否显示初始logo,0隐藏,1显示
-	private String managerId; // t_manager表的id
-	private Integer cameraDelete; // 新增的相机是否注册,0否,1删
-	private String createTime; // 创建时间
-	private String updateTime; // 更新时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getCompanyName() {
-		return companyName;
-	}
-	public void setCompanyName(String companyName) {
-		this.companyName = companyName;
-	}
-
-	public String getTopLogo() {
-		return topLogo;
-	}
-	public void setTopLogo(String topLogo) {
-		this.topLogo = topLogo;
-	}
-
-	public String getFloorLogo() {
-		return floorLogo;
-	}
-	public void setFloorLogo(String floorLogo) {
-		this.floorLogo = floorLogo;
-	}
-
-	public String getMarkerLogo() {
-		return markerLogo;
-	}
-	public void setMarkerLogo(String markerLogo) {
-		this.markerLogo = markerLogo;
-	}
-
-	public String getQrLogo() {
-		return qrLogo;
-	}
-	public void setQrLogo(String qrLogo) {
-		this.qrLogo = qrLogo;
-	}
-
-	public Integer getShowLogo() {
-		return showLogo;
-	}
-	public void setShowLogo(Integer showLogo) {
-		this.showLogo = showLogo;
-	}
-
-	public String getManagerId() {
-		return managerId;
-	}
-	public void setManagerId(String managerId) {
-		this.managerId = managerId;
-	}
-
-	public Integer getCameraDelete() {
-		return cameraDelete;
-	}
-	public void setCameraDelete(Integer cameraDelete) {
-		this.cameraDelete = cameraDelete;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 146
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/DownloadOrder.java

@@ -1,146 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class DownloadOrder implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String orderSn; // 订单号
-	private BigDecimal amount; // 金额
-	private String number; // 支付宝的交易号或者微信支付订单号
-	private Integer payType; // 付款方式,0表示微信,1表示支付宝,2表示paypal,3表示其他
-	private Integer payStatus; // 状态,0或-1表示未付款,-2表示已退款,1表示已付款
-	private Integer downStatus; // 状态,1增加下载次数
-	private String tradeTime; // 交易时间
-	private String userId; // 用户表t_user的id
-	private Integer count; // 购买数量
-	private Integer abroad; // 0表示国内订单,1表示国外订单
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private String sceneNum; // 场景码
-	private String sceneName; // 场景名
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getOrderSn() {
-		return orderSn;
-	}
-	public void setOrderSn(String orderSn) {
-		this.orderSn = orderSn;
-	}
-
-	public BigDecimal getAmount() {
-		return amount;
-	}
-	public void setAmount(BigDecimal amount) {
-		this.amount = amount;
-	}
-
-	public String getNumber() {
-		return number;
-	}
-	public void setNumber(String number) {
-		this.number = number;
-	}
-
-	public Integer getPayType() {
-		return payType;
-	}
-	public void setPayType(Integer payType) {
-		this.payType = payType;
-	}
-
-	public Integer getPayStatus() {
-		return payStatus;
-	}
-	public void setPayStatus(Integer payStatus) {
-		this.payStatus = payStatus;
-	}
-
-	public Integer getDownStatus() {
-		return downStatus;
-	}
-	public void setDownStatus(Integer downStatus) {
-		this.downStatus = downStatus;
-	}
-
-	public String getTradeTime() {
-		return tradeTime;
-	}
-	public void setTradeTime(String tradeTime) {
-		this.tradeTime = tradeTime;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public Integer getCount() {
-		return count;
-	}
-	public void setCount(Integer count) {
-		this.count = count;
-	}
-
-	public Integer getAbroad() {
-		return abroad;
-	}
-	public void setAbroad(Integer abroad) {
-		this.abroad = abroad;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public String getSceneNum() {
-		return sceneNum;
-	}
-	public void setSceneNum(String sceneNum) {
-		this.sceneNum = sceneNum;
-	}
-
-	public String getSceneName() {
-		return sceneName;
-	}
-	public void setSceneName(String sceneName) {
-		this.sceneName = sceneName;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 170
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/ExpansionOrder.java

@@ -1,170 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class ExpansionOrder implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String orderSn; // 订单号
-	private BigDecimal amount; // 金额
-	private String number; // 支付宝的交易号或者微信支付订单号
-	private Integer payType; // 付款方式,0表示微信,1表示支付宝,2表示paypal,3表示其他
-	private Integer payStatus; // 状态,0或-1表示未付款,-2表示已退款,1表示已付款
-	private Integer status; // 状态,1表示充值,0表示系统赠送,2表示升级套餐
-	private String tradeTime; // 交易时间
-	private String userId; // 用户表t_user的id
-	private Integer month; // 期限,月为单位
-	private Integer years; // 期限,年为单位
-	private Integer delay; // 延期,天为单位
-	private Integer unitSize; // 容量大小
-	private String unit; // 容量单位,\"GB\", \"TB\", \"PB\"
-	private String cameraId; // 相机主表t_camera的id
-	private Integer abroad; // 0表示国内订单,1表示国外订单
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getOrderSn() {
-		return orderSn;
-	}
-	public void setOrderSn(String orderSn) {
-		this.orderSn = orderSn;
-	}
-
-	public BigDecimal getAmount() {
-		return amount;
-	}
-	public void setAmount(BigDecimal amount) {
-		this.amount = amount;
-	}
-
-	public String getNumber() {
-		return number;
-	}
-	public void setNumber(String number) {
-		this.number = number;
-	}
-
-	public Integer getPayType() {
-		return payType;
-	}
-	public void setPayType(Integer payType) {
-		this.payType = payType;
-	}
-
-	public Integer getPayStatus() {
-		return payStatus;
-	}
-	public void setPayStatus(Integer payStatus) {
-		this.payStatus = payStatus;
-	}
-
-	public Integer getStatus() {
-		return status;
-	}
-	public void setStatus(Integer status) {
-		this.status = status;
-	}
-
-	public String getTradeTime() {
-		return tradeTime;
-	}
-	public void setTradeTime(String tradeTime) {
-		this.tradeTime = tradeTime;
-	}
-
-	public String getUserId() {
-		return userId;
-	}
-	public void setUserId(String userId) {
-		this.userId = userId;
-	}
-
-	public Integer getMonth() {
-		return month;
-	}
-	public void setMonth(Integer month) {
-		this.month = month;
-	}
-
-	public Integer getYears() {
-		return years;
-	}
-	public void setYears(Integer years) {
-		this.years = years;
-	}
-
-	public Integer getDelay() {
-		return delay;
-	}
-	public void setDelay(Integer delay) {
-		this.delay = delay;
-	}
-
-	public Integer getUnitSize() {
-		return unitSize;
-	}
-	public void setUnitSize(Integer unitSize) {
-		this.unitSize = unitSize;
-	}
-
-	public String getUnit() {
-		return unit;
-	}
-	public void setUnit(String unit) {
-		this.unit = unit;
-	}
-
-	public String getCameraId() {
-		return cameraId;
-	}
-	public void setCameraId(String cameraId) {
-		this.cameraId = cameraId;
-	}
-
-	public Integer getAbroad() {
-		return abroad;
-	}
-	public void setAbroad(Integer abroad) {
-		this.abroad = abroad;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 130
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/Goods.java

@@ -1,130 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class Goods implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String goodName; // 商品名称
-	private String description; // 商品描述
-	private String goodsSn; // 商品编号
-	private String goodsStatus; // 商品状态,上架下架
-	private String imageUrl; // 商品图片
-	private String pic; // 商品图片2
-	private BigDecimal expressPrice; // 快递价格
-	private Integer sort; // 排序
-	private BigDecimal goodsPrice; // 价格
-	private BigDecimal goodsDollarPrice; // 价格(美元)
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getGoodName() {
-		return goodName;
-	}
-	public void setGoodName(String goodName) {
-		this.goodName = goodName;
-	}
-
-	public String getDescription() {
-		return description;
-	}
-	public void setDescription(String description) {
-		this.description = description;
-	}
-
-	public String getGoodsSn() {
-		return goodsSn;
-	}
-	public void setGoodsSn(String goodsSn) {
-		this.goodsSn = goodsSn;
-	}
-
-	public String getGoodsStatus() {
-		return goodsStatus;
-	}
-	public void setGoodsStatus(String goodsStatus) {
-		this.goodsStatus = goodsStatus;
-	}
-
-	public String getImageUrl() {
-		return imageUrl;
-	}
-	public void setImageUrl(String imageUrl) {
-		this.imageUrl = imageUrl;
-	}
-
-	public String getPic() {
-		return pic;
-	}
-	public void setPic(String pic) {
-		this.pic = pic;
-	}
-
-	public BigDecimal getExpressPrice() {
-		return expressPrice;
-	}
-	public void setExpressPrice(BigDecimal expressPrice) {
-		this.expressPrice = expressPrice;
-	}
-
-	public Integer getSort() {
-		return sort;
-	}
-	public void setSort(Integer sort) {
-		this.sort = sort;
-	}
-
-	public BigDecimal getGoodsPrice() {
-		return goodsPrice;
-	}
-	public void setGoodsPrice(BigDecimal goodsPrice) {
-		this.goodsPrice = goodsPrice;
-	}
-
-	public BigDecimal getGoodsDollarPrice() {
-		return goodsDollarPrice;
-	}
-	public void setGoodsDollarPrice(BigDecimal goodsDollarPrice) {
-		this.goodsDollarPrice = goodsDollarPrice;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 122
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSku.java

@@ -1,122 +0,0 @@
-package com.fdkankan.goods.entity;
-import java.math.BigDecimal;
-
-
-public class GoodsSku implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String goodsId; // 商品表t_goods的id
-	private String skuSn; // sku编号,唯一
-	private String description; // 规格描述
-	private Integer stock; // 库存,-1指充足
-	private BigDecimal price; // 价格(RMB)
-	private BigDecimal dollarPrice; // 价格(美元)
-	private Integer unitSize; // 容量大小
-	private String unit; // 容量单位,\"GB\", \"TB\", \"PB\"
-	private Integer month; // 容量时长
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getGoodsId() {
-		return goodsId;
-	}
-	public void setGoodsId(String goodsId) {
-		this.goodsId = goodsId;
-	}
-
-	public String getSkuSn() {
-		return skuSn;
-	}
-	public void setSkuSn(String skuSn) {
-		this.skuSn = skuSn;
-	}
-
-	public String getDescription() {
-		return description;
-	}
-	public void setDescription(String description) {
-		this.description = description;
-	}
-
-	public Integer getStock() {
-		return stock;
-	}
-	public void setStock(Integer stock) {
-		this.stock = stock;
-	}
-
-	public BigDecimal getPrice() {
-		return price;
-	}
-	public void setPrice(BigDecimal price) {
-		this.price = price;
-	}
-
-	public BigDecimal getDollarPrice() {
-		return dollarPrice;
-	}
-	public void setDollarPrice(BigDecimal dollarPrice) {
-		this.dollarPrice = dollarPrice;
-	}
-
-	public Integer getUnitSize() {
-		return unitSize;
-	}
-	public void setUnitSize(Integer unitSize) {
-		this.unitSize = unitSize;
-	}
-
-	public String getUnit() {
-		return unit;
-	}
-	public void setUnit(String unit) {
-		this.unit = unit;
-	}
-
-	public Integer getMonth() {
-		return month;
-	}
-	public void setMonth(Integer month) {
-		this.month = month;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 56
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpec.java

@@ -1,56 +0,0 @@
-package com.fdkankan.goods.entity;
-
-public class GoodsSpec implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String specName; // 规格名称
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getSpecName() {
-		return specName;
-	}
-	public void setSpecName(String specName) {
-		this.specName = specName;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 65
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpecValue.java

@@ -1,65 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class GoodsSpecValue implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String goodsSpecId; // 规格id
-	private String goodsSpecValue; // 规格值
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getGoodsSpecId() {
-		return goodsSpecId;
-	}
-	public void setGoodsSpecId(String goodsSpecId) {
-		this.goodsSpecId = goodsSpecId;
-	}
-
-	public String getGoodsSpecValue() {
-		return goodsSpecValue;
-	}
-	public void setGoodsSpecValue(String goodsSpecValue) {
-		this.goodsSpecValue = goodsSpecValue;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 65
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/entity/GoodsSpuSpec.java

@@ -1,65 +0,0 @@
-package com.fdkankan.goods.entity;
-
-
-public class GoodsSpuSpec implements java.io.Serializable {
-	private static final long serialVersionUID = 1L;
-
-	private String id; // 
-	private String goodsId; // 商品表id
-	private String goodsSpecId; // 商品规格表id
-	private String createTime; // 创建时间
-	private String recStatus; // 记录的状态,A: 生效,I: 禁用
-	private String updateTime; // 更新时间
-	private Integer tbStatus; // 0正常,1删除
-
-	public String getId() {
-		return id;
-	}
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getGoodsId() {
-		return goodsId;
-	}
-	public void setGoodsId(String goodsId) {
-		this.goodsId = goodsId;
-	}
-
-	public String getGoodsSpecId() {
-		return goodsSpecId;
-	}
-	public void setGoodsSpecId(String goodsSpecId) {
-		this.goodsSpecId = goodsSpecId;
-	}
-
-	public String getCreateTime() {
-		return createTime;
-	}
-	public void setCreateTime(String createTime) {
-		this.createTime = createTime;
-	}
-
-	public String getRecStatus() {
-		return recStatus;
-	}
-	public void setRecStatus(String recStatus) {
-		this.recStatus = recStatus;
-	}
-
-	public String getUpdateTime() {
-		return updateTime;
-	}
-	public void setUpdateTime(String updateTime) {
-		this.updateTime = updateTime;
-	}
-
-	public Integer getTbStatus() {
-		return tbStatus;
-	}
-	public void setTbStatus(Integer tbStatus) {
-		this.tbStatus = tbStatus;
-	}
-
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraDetailMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraDetail;
-
-public interface ICameraDetailMapper extends IOperations<CameraDetail> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Camera;
-
-public interface ICameraMapper extends IOperations<Camera> {
-}
-

+ 0 - 7
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraOutMapper.java

@@ -1,7 +0,0 @@
-package com.fdkankan.goods.mapper;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraOut;
-
-public interface ICameraOutMapper extends IOperations<CameraOut> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraSpaceMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraSpace;
-
-public interface ICameraSpaceMapper extends IOperations<CameraSpace> {
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICameraVersionMapper.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraVersion;
-
-public interface ICameraVersionMapper extends IOperations<CameraVersion> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICartMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Cart;
-
-public interface ICartMapper extends IOperations<Cart> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICommerceOrderMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CommerceOrder;
-
-public interface ICommerceOrderMapper extends IOperations<CommerceOrder> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/ICompanyMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Company;
-
-public interface ICompanyMapper extends IOperations<Company> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IDownloadOrderMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.DownloadOrder;
-
-public interface IDownloadOrderMapper extends IOperations<DownloadOrder> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IExpansionOrderMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.ExpansionOrder;
-
-public interface IExpansionOrderMapper extends IOperations<ExpansionOrder> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Goods;
-
-public interface IGoodsMapper extends IOperations<Goods> {
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSkuMapper.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSku;
-
-public interface IGoodsSkuMapper extends IOperations<GoodsSku> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpecMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpec;
-
-public interface IGoodsSpecMapper extends IOperations<GoodsSpec> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpecValueMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpecValue;
-
-public interface IGoodsSpecValueMapper extends IOperations<GoodsSpecValue> {
-}
-

+ 0 - 8
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/mapper/IGoodsSpuSpecMapper.java

@@ -1,8 +0,0 @@
-package com.fdkankan.goods.mapper;
-
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpuSpec;
-
-public interface IGoodsSpuSpecMapper extends IOperations<GoodsSpuSpec> {
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraDetailService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.CameraDetail;
-
-public interface ICameraDetailService extends IServiceOperations<CameraDetail> {
-
-}
-

+ 0 - 10
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraOutService.java

@@ -1,10 +0,0 @@
-package com.fdkankan.goods.service;
-
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.CameraOut;
-
-public interface ICameraOutService extends IServiceOperations<CameraOut> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.Camera;
-
-public interface ICameraService extends IServiceOperations<Camera> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraSpaceService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.CameraSpace;
-
-public interface ICameraSpaceService extends IServiceOperations<CameraSpace> {
-
-}
-

+ 0 - 10
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICameraVersionService.java

@@ -1,10 +0,0 @@
-package com.fdkankan.goods.service;
-
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.CameraVersion;
-
-public interface ICameraVersionService extends IServiceOperations<CameraVersion> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICartService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.Cart;
-
-public interface ICartService extends IServiceOperations<Cart> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICommerceOrderService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.CommerceOrder;
-
-public interface ICommerceOrderService extends IServiceOperations<CommerceOrder> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/ICompanyService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.Company;
-
-public interface ICompanyService extends IServiceOperations<Company> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IDownloadOrderService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.DownloadOrder;
-
-public interface IDownloadOrderService extends IServiceOperations<DownloadOrder> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IExpansionOrderService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.ExpansionOrder;
-
-public interface IExpansionOrderService extends IServiceOperations<ExpansionOrder> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.Goods;
-
-public interface IGoodsService extends IServiceOperations<Goods> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSkuService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.GoodsSku;
-
-public interface IGoodsSkuService extends IServiceOperations<GoodsSku> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpecService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.GoodsSpec;
-
-public interface IGoodsSpecService extends IServiceOperations<GoodsSpec> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpecValueService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.GoodsSpecValue;
-
-public interface IGoodsSpecValueService extends IServiceOperations<GoodsSpecValue> {
-
-}
-

+ 0 - 9
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/IGoodsSpuSpecService.java

@@ -1,9 +0,0 @@
-package com.fdkankan.goods.service;
-
-import com.fdkankan.common.base.IServiceOperations;
-import com.fdkankan.goods.entity.GoodsSpuSpec;
-
-public interface IGoodsSpuSpecService extends IServiceOperations<GoodsSpuSpec> {
-
-}
-

+ 0 - 31
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraDetailService.java

@@ -1,31 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraDetail;
-import com.fdkankan.goods.mapper.ICameraDetailMapper;
-import com.fdkankan.goods.service.ICameraDetailService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CameraDetailService")
-public class CameraDetailService extends AbstractService<CameraDetail> implements ICameraDetailService {
-
-	public CameraDetailService() {
-		this.setTableName("t_camera_detail");
-	}
-	@Resource
-	private ICameraDetailMapper tCameraDetailMapper;
-
-	@Override
-	protected IOperations<CameraDetail> getMapper() {
-		return tCameraDetailMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraOutService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraOut;
-import com.fdkankan.goods.mapper.ICameraOutMapper;
-import com.fdkankan.goods.service.ICameraOutService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CameraOutService")
-public class CameraOutService extends AbstractService<CameraOut> implements ICameraOutService {
-
-	public CameraOutService() {
-		this.setTableName("t_camera_out");
-	}
-	@Resource
-	private ICameraOutMapper tCameraOutMapper;
-
-	@Override
-	protected IOperations<CameraOut> getMapper() {
-		return tCameraOutMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Camera;
-import com.fdkankan.goods.mapper.ICameraMapper;
-import com.fdkankan.goods.service.ICameraService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CameraService")
-public class CameraService extends AbstractService<Camera> implements ICameraService {
-
-	public CameraService() {
-		this.setTableName("t_camera");
-	}
-	@Resource
-	private ICameraMapper tCameraMapper;
-
-	@Override
-	protected IOperations<Camera> getMapper() {
-		return tCameraMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 31
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraSpaceService.java

@@ -1,31 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraSpace;
-import com.fdkankan.goods.mapper.ICameraSpaceMapper;
-import com.fdkankan.goods.service.ICameraSpaceService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-
-@Service("CameraSpaceService")
-public class CameraSpaceService extends AbstractService<CameraSpace> implements ICameraSpaceService {
-
-	public CameraSpaceService() {
-		this.setTableName("t_camera_space");
-	}
-	@Resource
-	private ICameraSpaceMapper tCameraSpaceMapper;
-
-	@Override
-	protected IOperations<CameraSpace> getMapper() {
-		return tCameraSpaceMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CameraVersionService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CameraVersion;
-import com.fdkankan.goods.mapper.ICameraVersionMapper;
-import com.fdkankan.goods.service.ICameraVersionService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CameraVersionService")
-public class CameraVersionService extends AbstractService<CameraVersion> implements ICameraVersionService {
-
-	public CameraVersionService() {
-		this.setTableName("t_camera_version");
-	}
-	@Resource
-	private ICameraVersionMapper tCameraVersionMapper;
-
-	@Override
-	protected IOperations<CameraVersion> getMapper() {
-		return tCameraVersionMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 31
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CartService.java

@@ -1,31 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Cart;
-import com.fdkankan.goods.mapper.ICartMapper;
-import com.fdkankan.goods.service.ICartService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-
-@Service("CartService")
-public class CartService extends AbstractService<Cart> implements ICartService {
-
-	public CartService() {
-		this.setTableName("t_cart");
-	}
-	@Resource
-	private ICartMapper tCartMapper;
-
-	@Override
-	protected IOperations<Cart> getMapper() {
-		return tCartMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CommerceOrderService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.CommerceOrder;
-import com.fdkankan.goods.mapper.ICommerceOrderMapper;
-import com.fdkankan.goods.service.ICommerceOrderService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CommerceOrderService")
-public class CommerceOrderService extends AbstractService<CommerceOrder> implements ICommerceOrderService {
-
-	public CommerceOrderService() {
-		this.setTableName("t_commerce_order");
-	}
-	@Resource
-	private ICommerceOrderMapper tCommerceOrderMapper;
-
-	@Override
-	protected IOperations<CommerceOrder> getMapper() {
-		return tCommerceOrderMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/CompanyService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Company;
-import com.fdkankan.goods.mapper.ICompanyMapper;
-import com.fdkankan.goods.service.ICompanyService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("CompanyService")
-public class CompanyService extends AbstractService<Company> implements ICompanyService {
-
-	public CompanyService() {
-		this.setTableName("t_company");
-	}
-	@Resource
-	private ICompanyMapper tCompanyMapper;
-
-	@Override
-	protected IOperations<Company> getMapper() {
-		return tCompanyMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/DownloadOrderService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.DownloadOrder;
-import com.fdkankan.goods.mapper.IDownloadOrderMapper;
-import com.fdkankan.goods.service.IDownloadOrderService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("DownloadOrderService")
-public class DownloadOrderService extends AbstractService<DownloadOrder> implements IDownloadOrderService {
-
-	public DownloadOrderService() {
-		this.setTableName("t_download_order");
-	}
-	@Resource
-	private IDownloadOrderMapper tDownloadOrderMapper;
-
-	@Override
-	protected IOperations<DownloadOrder> getMapper() {
-		return tDownloadOrderMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/ExpansionOrderService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.ExpansionOrder;
-import com.fdkankan.goods.mapper.IExpansionOrderMapper;
-import com.fdkankan.goods.service.IExpansionOrderService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("ExpansionOrderService")
-public class ExpansionOrderService extends AbstractService<ExpansionOrder> implements IExpansionOrderService {
-
-	public ExpansionOrderService() {
-		this.setTableName("t_expansion_order");
-	}
-	@Resource
-	private IExpansionOrderMapper tExpansionOrderMapper;
-
-	@Override
-	protected IOperations<ExpansionOrder> getMapper() {
-		return tExpansionOrderMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.Goods;
-import com.fdkankan.goods.mapper.IGoodsMapper;
-import com.fdkankan.goods.service.IGoodsService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("GoodsService")
-public class GoodsService extends AbstractService<Goods> implements IGoodsService {
-
-	public GoodsService() {
-		this.setTableName("t_goods");
-	}
-	@Resource
-	private IGoodsMapper tGoodsMapper;
-
-	@Override
-	protected IOperations<Goods> getMapper() {
-		return tGoodsMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSkuService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSku;
-import com.fdkankan.goods.mapper.IGoodsSkuMapper;
-import com.fdkankan.goods.service.IGoodsSkuService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("GoodsSkuService")
-public class GoodsSkuService extends AbstractService<GoodsSku> implements IGoodsSkuService {
-
-	public GoodsSkuService() {
-		this.setTableName("t_goods_sku");
-	}
-	@Resource
-	private IGoodsSkuMapper tGoodsSkuMapper;
-
-	@Override
-	protected IOperations<GoodsSku> getMapper() {
-		return tGoodsSkuMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpecService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpec;
-import com.fdkankan.goods.mapper.IGoodsSpecMapper;
-import com.fdkankan.goods.service.IGoodsSpecService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("GoodsSpecService")
-public class GoodsSpecService extends AbstractService<GoodsSpec> implements IGoodsSpecService {
-
-	public GoodsSpecService() {
-		this.setTableName("t_goods_spec");
-	}
-	@Resource
-	private IGoodsSpecMapper tGoodsSpecMapper;
-
-	@Override
-	protected IOperations<GoodsSpec> getMapper() {
-		return tGoodsSpecMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpecValueService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpecValue;
-import com.fdkankan.goods.mapper.IGoodsSpecValueMapper;
-import com.fdkankan.goods.service.IGoodsSpecValueService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("GoodsSpecValueService")
-public class GoodsSpecValueService extends AbstractService<GoodsSpecValue> implements IGoodsSpecValueService {
-
-	public GoodsSpecValueService() {
-		this.setTableName("t_goods_spec_value");
-	}
-	@Resource
-	private IGoodsSpecValueMapper tGoodsSpecValueMapper;
-
-	@Override
-	protected IOperations<GoodsSpecValue> getMapper() {
-		return tGoodsSpecValueMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 30
备份/4dkankan-center-goods/src/main/java/com/fdkankan/goods/service/impl/GoodsSpuSpecService.java

@@ -1,30 +0,0 @@
-package com.fdkankan.goods.service.impl;
-
-import com.fdkankan.common.base.AbstractService;
-import com.fdkankan.common.base.IOperations;
-import com.fdkankan.goods.entity.GoodsSpuSpec;
-import com.fdkankan.goods.mapper.IGoodsSpuSpecMapper;
-import com.fdkankan.goods.service.IGoodsSpuSpecService;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-@Service("GoodsSpuSpecService")
-public class GoodsSpuSpecService extends AbstractService<GoodsSpuSpec> implements IGoodsSpuSpecService {
-
-	public GoodsSpuSpecService() {
-		this.setTableName("t_goods_spu_spec");
-	}
-	@Resource
-	private IGoodsSpuSpecMapper tGoodsSpuSpecMapper;
-
-	@Override
-	protected IOperations<GoodsSpuSpec> getMapper() {
-		return tGoodsSpuSpecMapper;
-	}
-	@Override
-	public void setTableName(String tableName){
-		this.tableName = tableName;
-	}
-}
-

+ 0 - 0
备份/4dkankan-center-goods/src/main/resources/application.yml


Неке датотеке нису приказане због велике количине промена