master
ck 5 years ago
parent decbaff4ba
commit 982b9e8f22

@ -0,0 +1,189 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Spring" name="Spring">
<configuration />
</facet>
<facet type="web" name="Web">
<configuration>
<webroots />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk16:1.46" level="project" />
<orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:jdk15:2.2.3" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.7.0" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2" level="project" />
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.4" level="project" />
<orderEntry type="library" name="Maven: net.sf.ezmorph:ezmorph:1.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.8" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.8" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.8" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.16" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.14.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.9.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-freemarker:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.28" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-test:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-test:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" />
<orderEntry type="library" name="Maven: net.minidev:json-smart:2.3" level="project" />
<orderEntry type="library" name="Maven: net.minidev:accessors-smart:1.2" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.4" level="project" />
<orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" name="Maven: org.assertj:assertj-core:3.11.1" level="project" />
<orderEntry type="library" name="Maven: org.mockito:mockito-core:2.23.4" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.9.10" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy-agent:1.9.10" level="project" />
<orderEntry type="library" name="Maven: org.objenesis:objenesis:2.6" level="project" />
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" />
<orderEntry type="library" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-test:5.1.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.xmlunit:xmlunit-core:2.6.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-devtools:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid-spring-boot-starter:1.1.10" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.1.10" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.15" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.57" level="project" />
<orderEntry type="library" name="Maven: net.sf.trove4j:core:3.1.0" level="project" />
<orderEntry type="library" name="Maven: tk.mybatis:mapper-spring-boot-starter:1.2.4" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.5" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.1" level="project" />
<orderEntry type="library" name="Maven: tk.mybatis:mapper-spring-boot-autoconfigure:1.2.4" level="project" />
<orderEntry type="library" name="Maven: tk.mybatis:mapper:3.5.3" level="project" />
<orderEntry type="library" name="Maven: javax.persistence:persistence-api:1.0" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.3.5" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper-spring-boot-starter:1.2.3" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.3.1" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper-spring-boot-autoconfigure:1.2.3" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:5.1.2" level="project" />
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:1.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-log4j2:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-slf4j-impl:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-core:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-jul:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8" level="project" />
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.23" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.8" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger2:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-annotations:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-models:1.5.20" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spi:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-core:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-schema:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-common:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spring-web:2.9.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.2.0.Final" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-ui:2.9.2" level="project" />
<orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-actuator:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator-autoconfigure:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator:2.1.3.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.1.3" level="project" />
<orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.9" level="project" />
<orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" />
<orderEntry type="library" name="Maven: com.auth0:java-jwt:3.2.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.8" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.55" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-spring:1.3.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-core:1.3.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-web:1.3.2" level="project" />
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.16.16" level="project" />
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-generator:3.3.2" level="project" />
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-extension:3.3.2" level="project" />
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-core:3.3.2" level="project" />
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-annotation:3.3.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.7" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.11" level="project" />
<orderEntry type="library" name="Maven: com.antkorwin:ioutils:0.4" level="project" />
<orderEntry type="library" name="Maven: com.antkorwin:throwable-functions:1.2" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
<orderEntry type="library" name="Maven: com.antkorwin:better-strings:0.3" level="project" />
<orderEntry type="module-library">
<library name="Maven: com.sun:tools:1.8.0">
<CLASSES>
<root url="jar://C:/Program Files/Java/jdk1.8.0_181/lib/tools.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.4" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-all:1.9.5" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.google.inject:guice:3.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-server:9.3.0.M0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.servlet:javax.servlet-api:4.0.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-http:9.4.14.v20181114" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-util:9.4.14.v20181114" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-io:9.4.14.v20181114" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-servlet:9.3.0.M0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.eclipse.jetty:jetty-security:9.4.14.v20181114" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.6" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5" level="project" />
<orderEntry type="library" name="Maven: com.thoughtworks.xstream:xstream:1.4.7" level="project" />
<orderEntry type="library" name="Maven: xmlpull:xmlpull:1.1.3.1" level="project" />
<orderEntry type="library" name="Maven: xpp3:xpp3_min:1.1.4c" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:4.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-math3:3.6.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:4.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:4.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.18" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.06" level="project" />
<orderEntry type="library" name="Maven: com.aliyun.oss:aliyun-sdk-oss:2.8.3" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom:1.1" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-configuration-processor:2.1.3.RELEASE" level="project" />
</component>
</module>

@ -1,8 +0,0 @@
package com.bsd.cases.mapper;
import com.bsd.cases.model.CaseArea;
import com.bsd.cases.util.CommonMapper;
public interface CaseAreaMapper extends CommonMapper<CaseArea> {
}

@ -1,9 +0,0 @@
package com.bsd.cases.mapper;
import com.bsd.cases.model.CaseCompany;
import com.bsd.cases.util.CommonMapper;
public interface CaseCompanyMapper extends CommonMapper<CaseCompany> {
}

@ -1,8 +0,0 @@
package com.bsd.cases.mapper;
import com.bsd.cases.model.CaseStore;
import com.bsd.cases.util.CommonMapper;
public interface CaseStoreMapper extends CommonMapper<CaseStore> {
}

@ -1,8 +0,0 @@
package com.bsd.cases.mapper;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.util.CommonMapper;
public interface CaseUsersMapper extends CommonMapper<CaseUsers> {
}

@ -1,46 +0,0 @@
package com.bsd.cases.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.bsd.cases.vo.CaseContentBakVo;
import com.bsd.cases.vo.CaseContentDetailBakVo;
import com.bsd.cases.vo.CaseContentDetailVo;
import com.bsd.cases.vo.CaseContentVo;
import java.io.UnsupportedEncodingException;
import java.util.List;
public interface CaseContentService<CaseContent> extends BaseService<CaseContent> {
JSONObject getContentListByCategoryId(Long categoryId, Integer pageNum, Integer pageSize);
CaseContentDetailVo getContentDetailByContentId(Long contentId) throws UnsupportedEncodingException;
AjaxResult saveContent(JSONObject jsonObject);
AjaxResult delContent(Long contentId);
/**
*
* @param name
* @param level1
* @param level2
* @param level3
* @return
*/
PageAjax<CaseContentBakVo> searchBakContentByParam(String name, Long level1, Long level2, Long level3, Integer pageNum);
CaseContentDetailBakVo getCaseContentDetailBakVoByContentID(Long contentId) throws UnsupportedEncodingException;
/**
*
*/
AjaxResult forwardContent(Long contentId);
/**
*
* @return
*/
AjaxResult getAllContentList();
}

@ -1,69 +0,0 @@
//package com.bsd.cases.shiro;
//
//import com.bsd.cases.model.BoUsers;
//import com.bsd.cases.service.BoUsersService;
//import com.bsd.cases.util.JWTUtil;
//import org.apache.shiro.authc.AuthenticationException;
//import org.apache.shiro.authc.AuthenticationInfo;
//import org.apache.shiro.authc.AuthenticationToken;
//import org.apache.shiro.authc.SimpleAuthenticationInfo;
//import org.apache.shiro.authz.AuthorizationInfo;
//import org.apache.shiro.authz.SimpleAuthorizationInfo;
//import org.apache.shiro.realm.AuthorizingRealm;
//import org.apache.shiro.subject.PrincipalCollection;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
//@Component
//public class CommonRealm extends AuthorizingRealm {
//
// @Resource
// private BoUsersService boUsersService;
//
// /**
// * 大坑必须重写此方法不然Shiro会报错
// */
// @Override
// public boolean supports(AuthenticationToken token) {
// return token instanceof JWTToken;
// }
//
// /**
// * 只有当需要检测用户权限的时候才会调用此方法例如checkRole,checkPermission之类的
// */
// @Override
// protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
//
// String key = JWTUtil.getKey(principals.toString());
// BoUsers boUsers = boUsersService.selectByUserNoOrOpenId(key);
// SimpleAuthorizationInfo simpleAuthorizationInfo = new SimpleAuthorizationInfo();
//// simpleAuthorizationInfo.addRole(user.getRole().toString());
//// Set<String> permission = new HashSet<>(Arrays.asList(user.getPermission().split(",")));
// // simpleAuthorizationInfo.addStringPermissions(permission);
// return simpleAuthorizationInfo;
// }
//
// /**
// * 默认使用此方法进行用户名正确与否验证,错误抛出异常即可。
// */
// @Override
// protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken auth) throws AuthenticationException {
//
// String token = (String) auth.getCredentials();
// // 解密获得username用于和数据库进行对比
// String key = JWTUtil.getKey(token);
// if (key == null) {
// throw new AuthenticationException("token invalid");
// }
//
// BoUsers boUsers = boUsersService.selectByUserNoOrOpenId(key);
// if (boUsers == null) {
// throw new AuthenticationException("User didn't existed!");
// }
// if (!JWTUtil.verify(token, key)) {
// throw new AuthenticationException("Username or password error");
// }
// return new SimpleAuthenticationInfo(token, token, "common_ream");
// }
//}

@ -1,4 +1,4 @@
package com.bsd.cases;
package com.jingcheng.cms;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@ -1,6 +1,6 @@
package com.bsd.cases.aop;
package com.jingcheng.cms.aop;
import com.bsd.cases.util.LogUtils;
import com.jingcheng.cms.util.LogUtils;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.*;
import org.slf4j.Logger;
@ -17,7 +17,7 @@ public class LogAspect {
private Logger logger = LogUtils.getPlatformLogger();
@Pointcut("execution(public * com.oceanspot.template..controller.*.*(..))")
@Pointcut("execution(public * com.jingcheng.cms..controller.*.*(..))")
public void webLog(){
}

@ -1,4 +1,4 @@
package com.bsd.cases.conf;
package com.jingcheng.cms.conf;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ -1,7 +1,7 @@
package com.bsd.cases.conf;
package com.jingcheng.cms.conf;
import com.bsd.cases.shiro.JWTFilter;
import com.bsd.cases.util.CommonRealm;
import com.jingcheng.cms.shiro.JWTFilter;
import com.jingcheng.cms.util.CommonRealm;
import org.apache.shiro.mgt.DefaultSessionStorageEvaluator;
import org.apache.shiro.mgt.DefaultSubjectDAO;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;

@ -1,4 +1,4 @@
package com.bsd.cases.conf;
package com.jingcheng.cms.conf;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
package com.bsd.cases.conf;
package com.jingcheng.cms.conf;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.web.servlet.MultipartConfigFactory;

@ -1,4 +1,4 @@
package com.bsd.cases.constants;
package com.jingcheng.cms.constants;
public class Constants {

@ -1,16 +1,15 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.BaseEntity;
import com.bsd.cases.service.BaseService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.BaseEntity;
import com.jingcheng.cms.service.BaseService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageAjax;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.MessageSourceAware;
import org.springframework.web.bind.annotation.CrossOrigin;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;

@ -1,11 +1,11 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseCategoryService;
import com.bsd.cases.service.OssService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.LogUtils;
import com.jingcheng.cms.service.CaseCategoryService;
import com.jingcheng.cms.service.OssService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.LogUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Value;
@ -13,12 +13,9 @@ import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;
@CrossOrigin
@RestController

@ -1,10 +1,10 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseCompany;
import com.bsd.cases.service.CaseCompanyService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseCompany;
import com.jingcheng.cms.service.CaseCompanyService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageAjax;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;

@ -1,11 +1,11 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseContentAttachmentService;
import com.bsd.cases.service.OssService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.LogUtils;
import com.jingcheng.cms.service.CaseContentAttachmentService;
import com.jingcheng.cms.service.OssService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.LogUtils;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.CrossOrigin;

@ -1,9 +1,9 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseContentCommentsService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.service.CaseContentCommentsService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;

@ -1,12 +1,12 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseContentLikeService;
import com.bsd.cases.service.CaseContentService;
import com.bsd.cases.service.OssService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.LogUtils;
import com.jingcheng.cms.service.CaseContentLikeService;
import com.jingcheng.cms.service.CaseContentService;
import com.jingcheng.cms.service.OssService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.LogUtils;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.CrossOrigin;

@ -1,16 +1,11 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseContentLikeService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.service.CaseContentLikeService;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@CrossOrigin
@RestController

@ -1,9 +1,9 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.service.CaseContentScoreService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.service.CaseContentScoreService;
import com.jingcheng.cms.util.AjaxRequest;
import com.jingcheng.cms.util.AjaxResult;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@ -1,12 +1,12 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.JWTUtil;
import com.bsd.cases.util.LogUtils;
import com.bsd.cases.util.WechatAccessUtils;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.JWTUtil;
import com.jingcheng.cms.util.LogUtils;
import com.jingcheng.cms.util.WechatAccessUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;

@ -1,9 +1,9 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseRecommend;
import com.bsd.cases.service.CaseRecommendService;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.model.CaseRecommend;
import com.jingcheng.cms.service.CaseRecommendService;
import com.jingcheng.cms.util.AjaxResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@ -1,10 +1,10 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseStore;
import com.bsd.cases.service.CaseStoreService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseStore;
import com.jingcheng.cms.service.CaseStoreService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageAjax;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;

@ -1,11 +1,11 @@
package com.bsd.cases.controller;
package com.jingcheng.cms.controller;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.FileUtils;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.FileUtils;
import com.jingcheng.cms.util.PageAjax;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@ -8,7 +8,7 @@
//import com.bsd.cases.model.BoUsers;
//import com.bsd.cases.service.BoBussinessLogService;
//import com.bsd.cases.service.BoUsersService;
//import com.bsd.cases.util.DateUtils;
//import DateUtils;
//import org.springframework.context.event.EventListener;
//import org.springframework.scheduling.annotation.Async;
//import org.springframework.stereotype.Component;

@ -0,0 +1,8 @@
package com.jingcheng.cms.mapper;
import com.jingcheng.cms.model.CaseArea;
import com.jingcheng.cms.util.CommonMapper;
public interface CaseAreaMapper extends CommonMapper<CaseArea> {
}

@ -1,10 +1,9 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseCategory;
import com.bsd.cases.util.CommonMapper;
import com.bsd.cases.vo.CaseCategoryVo;
import com.bsd.cases.vo.CaseContentBakVo;
import com.bsd.cases.vo.CaseSearchVo;
import com.jingcheng.cms.model.CaseCategory;
import com.jingcheng.cms.util.CommonMapper;
import com.jingcheng.cms.vo.CaseCategoryVo;
import com.jingcheng.cms.vo.CaseSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@ -0,0 +1,9 @@
package com.jingcheng.cms.mapper;
import com.jingcheng.cms.model.CaseCompany;
import com.jingcheng.cms.util.CommonMapper;
public interface CaseCompanyMapper extends CommonMapper<CaseCompany> {
}

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentAttachment;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentAttachment;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentComments;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentComments;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentForward;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentForward;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentLike;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentLike;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -1,8 +1,8 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContent;
import com.bsd.cases.util.CommonMapper;
import com.bsd.cases.vo.CaseContentBakVo;
import com.jingcheng.cms.model.CaseContent;
import com.jingcheng.cms.util.CommonMapper;
import com.jingcheng.cms.vo.CaseContentBakVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentMaterial;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentMaterial;
import com.jingcheng.cms.util.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentScore;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentScore;
import com.jingcheng.cms.util.CommonMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.util.CommonMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseContentView;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseContentView;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -1,7 +1,7 @@
package com.bsd.cases.mapper;
package com.jingcheng.cms.mapper;
import com.bsd.cases.model.CaseRecommend;
import com.bsd.cases.util.CommonMapper;
import com.jingcheng.cms.model.CaseRecommend;
import com.jingcheng.cms.util.CommonMapper;
import org.springframework.stereotype.Repository;
@Repository

@ -0,0 +1,8 @@
package com.jingcheng.cms.mapper;
import com.jingcheng.cms.model.CaseStore;
import com.jingcheng.cms.util.CommonMapper;
public interface CaseStoreMapper extends CommonMapper<CaseStore> {
}

@ -0,0 +1,8 @@
package com.jingcheng.cms.mapper;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.util.CommonMapper;
public interface CaseUsersMapper extends CommonMapper<CaseUsers> {
}

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
public class FillterConstants {

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import javax.persistence.Column;

@ -1,4 +1,4 @@
package com.bsd.cases.model;
package com.jingcheng.cms.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@ -1,9 +1,9 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.BaseEntity;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.BaseEntity;
import com.jingcheng.cms.util.PageAjax;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;

@ -1,8 +1,8 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseArea;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseArea;
import com.jingcheng.cms.util.PageAjax;
import java.util.List;

@ -1,10 +1,9 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.bsd.cases.vo.CaseCategoryVo;
import com.bsd.cases.vo.CaseContentBakVo;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageAjax;
import com.jingcheng.cms.vo.CaseCategoryVo;
import java.util.List;

@ -1,8 +1,8 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseCompany;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseCompany;
import com.jingcheng.cms.util.PageAjax;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,9 +1,7 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.util.AjaxResult;
import java.util.List;
import com.jingcheng.cms.util.AjaxResult;
public interface CaseContentCommentsService<CaseContentComments> extends BaseService<CaseContentComments> {

@ -1,6 +1,6 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.util.AjaxResult;
public interface CaseContentLikeService<CaseContentLike> extends BaseService<CaseContentLike> {

@ -1,4 +1,4 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
public interface CaseContentMaterialService<CaseContentMaterial> extends BaseService<CaseContentMaterial> {
}

@ -1,6 +1,6 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.util.AjaxResult;
public interface CaseContentScoreService<CaseContentScore> extends BaseService<CaseContentScore> {

@ -1,4 +1,4 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
public interface CaseContentStaticalService<CaseContentStatical> extends BaseService<CaseContentStatical> {
}

@ -1,4 +1,4 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
public interface CaseContentViewService<CaseContentView> extends BaseService<CaseContentView> {
}

@ -1,7 +1,7 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.util.AjaxResult;
import java.util.List;

@ -1,8 +1,8 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseStore;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseStore;
import com.jingcheng.cms.util.PageAjax;
public interface CaseStoreService {

@ -1,9 +1,9 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.model.ImportPO;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.model.ImportPO;
import com.jingcheng.cms.util.PageAjax;
import java.io.IOException;
import java.util.List;

@ -1,21 +1,16 @@
package com.bsd.cases.service;
package com.jingcheng.cms.service;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.conf.OssProperties;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseCategoryMapper;
import com.bsd.cases.mapper.CaseContentAttachmentMapper;
import com.bsd.cases.model.CaseCategory;
import com.bsd.cases.model.CaseContentAttachment;
import com.bsd.cases.util.FileSizeUtils;
import com.bsd.cases.util.OSSClientUtil;
import com.jingcheng.cms.conf.OssProperties;
import com.jingcheng.cms.mapper.CaseCategoryMapper;
import com.jingcheng.cms.util.FileSizeUtils;
import com.jingcheng.cms.util.OSSClientUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import java.util.Date;
@Service
@Transactional

@ -1,14 +1,14 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageHelper;
import com.bsd.cases.model.BaseEntity;
import com.bsd.cases.model.FillterConstants;
import com.bsd.cases.service.BaseService;
import com.bsd.cases.util.CommonMapper;
import com.bsd.cases.util.DateUtils;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.model.BaseEntity;
import com.jingcheng.cms.model.FillterConstants;
import com.jingcheng.cms.service.BaseService;
import com.jingcheng.cms.util.CommonMapper;
import com.jingcheng.cms.util.DateUtils;
import com.jingcheng.cms.util.PageAjax;
import io.micrometer.core.instrument.util.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import tk.mybatis.mapper.entity.Example;

@ -1,12 +1,13 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseAreaMapper;
import com.bsd.cases.model.CaseArea;
import com.bsd.cases.service.CaseAreaService;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseAreaMapper;
import com.jingcheng.cms.model.CaseArea;
import com.jingcheng.cms.service.CaseAreaService;
import com.jingcheng.cms.util.PageAjax;
import com.github.pagehelper.PageHelper;
import com.jingcheng.cms.util.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.entity.Condition;
@ -38,7 +39,7 @@ public class CaseAreaServiceImpl implements CaseAreaService {
if (null != key) {
key = com.bsd.cases.util.StringUtils.generateLike(key);
key = StringUtils.generateLike(key);
criteria.andLike("name", key);
}

@ -1,22 +1,20 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseCategoryMapper;
import com.bsd.cases.mapper.CaseContentMapper;
import com.bsd.cases.mapper.CaseContentStaticalMapper;
import com.bsd.cases.model.CaseCategory;
import com.bsd.cases.model.CaseContent;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseCategoryService;
import com.bsd.cases.util.AjaxRequest;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageAjax;
import com.bsd.cases.util.PageUtils;
import com.bsd.cases.vo.CaseCategoryVo;
import com.bsd.cases.vo.CaseSearchVo;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseCategoryMapper;
import com.jingcheng.cms.mapper.CaseContentMapper;
import com.jingcheng.cms.mapper.CaseContentStaticalMapper;
import com.jingcheng.cms.model.CaseCategory;
import com.jingcheng.cms.model.CaseContent;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.service.CaseCategoryService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageAjax;
import com.jingcheng.cms.util.PageUtils;
import com.jingcheng.cms.vo.CaseCategoryVo;
import com.jingcheng.cms.vo.CaseSearchVo;
import com.github.pagehelper.PageHelper;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

@ -1,12 +1,12 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseCompanyMapper;
import com.bsd.cases.model.CaseCompany;
import com.bsd.cases.service.CaseCompanyService;
import com.bsd.cases.util.DateUtils;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseCompanyMapper;
import com.jingcheng.cms.model.CaseCompany;
import com.jingcheng.cms.service.CaseCompanyService;
import com.jingcheng.cms.util.DateUtils;
import com.jingcheng.cms.util.PageAjax;
import com.github.pagehelper.PageHelper;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
@ -55,7 +55,7 @@ public class CaseCompanyServiceImpl implements CaseCompanyService {
}
if (StringUtils.isNotEmpty(name)) {
name = com.bsd.cases.util.StringUtils.generateLike(name);
name = com.jingcheng.cms.util.StringUtils.generateLike(name);
criteria.andLike("companyName", name);
}

@ -1,9 +1,9 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseContentAttachmentMapper;
import com.bsd.cases.model.CaseContentAttachment;
import com.bsd.cases.service.CaseContentAttachmentService;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseContentAttachmentMapper;
import com.jingcheng.cms.model.CaseContentAttachment;
import com.jingcheng.cms.service.CaseContentAttachmentService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,21 +1,18 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseContentCommentsMapper;
import com.bsd.cases.mapper.CaseContentStaticalMapper;
import com.bsd.cases.model.CaseContentComments;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseContentCommentsService;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.PageUtils;
import com.bsd.cases.vo.CaseContentCommentsVo;
import com.sun.org.apache.bcel.internal.generic.NEW;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseContentCommentsMapper;
import com.jingcheng.cms.mapper.CaseContentStaticalMapper;
import com.jingcheng.cms.model.CaseContentComments;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseContentCommentsService;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.PageUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.yaml.snakeyaml.scanner.Constant;
import javax.annotation.Resource;
import java.util.Date;

@ -1,17 +1,16 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseContentLikeMapper;
import com.bsd.cases.mapper.CaseContentMapper;
import com.bsd.cases.mapper.CaseContentStaticalMapper;
import com.bsd.cases.model.CaseContent;
import com.bsd.cases.model.CaseContentLike;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseContentLikeService;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import org.apache.ibatis.annotations.Case;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseContentLikeMapper;
import com.jingcheng.cms.mapper.CaseContentMapper;
import com.jingcheng.cms.mapper.CaseContentStaticalMapper;
import com.jingcheng.cms.model.CaseContent;
import com.jingcheng.cms.model.CaseContentLike;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseContentLikeService;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,8 +1,8 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.mapper.CaseContentMaterialMapper;
import com.bsd.cases.model.CaseContentMaterial;
import com.bsd.cases.service.CaseContentMaterialService;
import com.jingcheng.cms.mapper.CaseContentMaterialMapper;
import com.jingcheng.cms.model.CaseContentMaterial;
import com.jingcheng.cms.service.CaseContentMaterialService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,23 +1,21 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseContentMapper;
import com.bsd.cases.mapper.CaseContentScoreMapper;
import com.bsd.cases.mapper.CaseContentStaticalMapper;
import com.bsd.cases.model.CaseContent;
import com.bsd.cases.model.CaseContentScore;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseContentScoreService;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import org.apache.ibatis.annotations.Case;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseContentMapper;
import com.jingcheng.cms.mapper.CaseContentScoreMapper;
import com.jingcheng.cms.mapper.CaseContentStaticalMapper;
import com.jingcheng.cms.model.CaseContent;
import com.jingcheng.cms.model.CaseContentScore;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseContentScoreService;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.Date;
import java.util.List;
@Service("caseContentScoreService")
@Transactional

@ -1,20 +1,22 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.jingcheng.cms.constants.Constants;
import com.bsd.cases.mapper.*;
import com.bsd.cases.model.*;
import com.bsd.cases.service.CaseContentService;
import com.bsd.cases.service.CaseUsersService;
import com.bsd.cases.util.AjaxResult;
import com.bsd.cases.util.LogUtils;
import com.bsd.cases.util.PageAjax;
import com.bsd.cases.util.PageUtils;
import com.bsd.cases.vo.CaseContentBakVo;
import com.bsd.cases.vo.CaseContentDetailBakVo;
import com.bsd.cases.vo.CaseContentDetailVo;
import com.bsd.cases.vo.CaseContentVo;
import com.jingcheng.cms.mapper.*;
import com.jingcheng.cms.model.*;
import com.jingcheng.cms.service.CaseContentService;
import com.jingcheng.cms.service.CaseUsersService;
import com.jingcheng.cms.util.AjaxResult;
import com.jingcheng.cms.util.LogUtils;
import com.jingcheng.cms.util.PageAjax;
import com.jingcheng.cms.util.PageUtils;
import com.jingcheng.cms.vo.CaseContentBakVo;
import com.jingcheng.cms.vo.CaseContentDetailBakVo;
import com.jingcheng.cms.vo.CaseContentDetailVo;
import com.jingcheng.cms.vo.CaseContentVo;
import com.github.pagehelper.PageHelper;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;

@ -1,8 +1,8 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.mapper.CaseContentStaticalMapper;
import com.bsd.cases.model.CaseContentStatical;
import com.bsd.cases.service.CaseContentStaticalService;
import com.jingcheng.cms.mapper.CaseContentStaticalMapper;
import com.jingcheng.cms.model.CaseContentStatical;
import com.jingcheng.cms.service.CaseContentStaticalService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,11 +1,8 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.bsd.cases.mapper.CaseContentMapper;
import com.bsd.cases.mapper.CaseContentViewMapper;
import com.bsd.cases.model.CaseContent;
import com.bsd.cases.model.CaseContentView;
import com.bsd.cases.service.CaseContentService;
import com.bsd.cases.service.CaseContentViewService;
import com.jingcheng.cms.mapper.CaseContentViewMapper;
import com.jingcheng.cms.model.CaseContentView;
import com.jingcheng.cms.service.CaseContentViewService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,11 +1,11 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseRecommendMapper;
import com.bsd.cases.model.CaseRecommend;
import com.bsd.cases.service.CaseRecommendService;
import com.bsd.cases.util.AjaxResult;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseRecommendMapper;
import com.jingcheng.cms.model.CaseRecommend;
import com.jingcheng.cms.service.CaseRecommendService;
import com.jingcheng.cms.util.AjaxResult;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@ -1,15 +1,15 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseCompanyMapper;
import com.bsd.cases.mapper.CaseStoreMapper;
import com.bsd.cases.model.CaseCompany;
import com.bsd.cases.model.CaseStore;
import com.bsd.cases.model.CaseUsers;
import com.bsd.cases.service.CaseStoreService;
import com.bsd.cases.util.DateUtils;
import com.bsd.cases.util.PageAjax;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseCompanyMapper;
import com.jingcheng.cms.mapper.CaseStoreMapper;
import com.jingcheng.cms.model.CaseCompany;
import com.jingcheng.cms.model.CaseStore;
import com.jingcheng.cms.model.CaseUsers;
import com.jingcheng.cms.service.CaseStoreService;
import com.jingcheng.cms.util.DateUtils;
import com.jingcheng.cms.util.PageAjax;
import com.github.pagehelper.PageHelper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -37,7 +37,7 @@ public class CaseStoreServiceImpl implements CaseStoreService {
Example.Criteria criteria = condition.createCriteria();
if(!StringUtils.isEmpty(key)){
key = com.bsd.cases.util.StringUtils.generateLike(key);
key = com.jingcheng.cms.util.StringUtils.generateLike(key);
criteria.andLike("storeName", key).orLike("storeId", key);
}
List<CaseStore> storeList = caseStoreMapper.selectByExample(condition);
@ -63,7 +63,7 @@ public class CaseStoreServiceImpl implements CaseStoreService {
}
if (null != key) {
key = com.bsd.cases.util.StringUtils.generateLike(key);
key = com.jingcheng.cms.util.StringUtils.generateLike(key);
criteria.andLike("storeName", key).orLike("storeId", key);
}

@ -1,16 +1,18 @@
package com.bsd.cases.service.impl;
package com.jingcheng.cms.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.bsd.cases.constants.Constants;
import com.bsd.cases.mapper.CaseAreaMapper;
import com.bsd.cases.mapper.CaseCompanyMapper;
import com.bsd.cases.mapper.CaseStoreMapper;
import com.bsd.cases.mapper.CaseUsersMapper;
import com.jingcheng.cms.constants.Constants;
import com.jingcheng.cms.mapper.CaseAreaMapper;
import com.jingcheng.cms.mapper.CaseCompanyMapper;
import com.jingcheng.cms.mapper.CaseStoreMapper;
import com.jingcheng.cms.mapper.CaseUsersMapper;
import com.bsd.cases.model.*;
import com.bsd.cases.service.CaseUsersService;
import com.jingcheng.cms.model.*;
import com.jingcheng.cms.service.CaseUsersService;
import com.bsd.cases.util.*;
import com.github.pagehelper.PageHelper;
import com.jingcheng.cms.util.*;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
@ -292,7 +294,7 @@ public class CaseUsersServiceImpl implements CaseUsersService {
}
if (null != key) {
key = com.bsd.cases.util.StringUtils.generateLike(key);
key = com.jingcheng.cms.util.StringUtils.generateLike(key);
criteria.andLike("userName", key).orLike("userNo", key).andCondition("state=" + state);
}
condition.orderBy("createDateTime").desc();
@ -724,7 +726,7 @@ public class CaseUsersServiceImpl implements CaseUsersService {
// }
// if (null != key) {
//
// key = com.bsd.cases.util.StringUtils.generateLike(key);
// key = StringUtils.generateLike(key);
// criteria.andLike("userName", key).orLike("userNo", key);
// }
//

@ -1,4 +1,4 @@
package com.bsd.cases.shiro;
package com.jingcheng.cms.shiro;
import org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter;
import org.slf4j.Logger;

@ -1,4 +1,4 @@
package com.bsd.cases.shiro;
package com.jingcheng.cms.shiro;
import org.apache.shiro.authc.AuthenticationToken;

@ -1,4 +1,4 @@
package com.bsd.cases.util;
package com.jingcheng.cms.util;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONType;

@ -1,4 +1,4 @@
package com.bsd.cases.util;
package com.jingcheng.cms.util;
import com.alibaba.fastjson.annotation.JSONType;
import lombok.AllArgsConstructor;

@ -1,4 +1,4 @@
package com.bsd.cases.util;
package com.jingcheng.cms.util;
import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;
import com.baomidou.mybatisplus.core.toolkit.StringPool;

@ -1,4 +1,4 @@
package com.bsd.cases.util;
package com.jingcheng.cms.util;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save