提交 7ab5c4e8 authored 作者: jiashixiong's avatar jiashixiong

修改查询课程后试题sql

上级 67c8b053
......@@ -6,7 +6,7 @@ ribbon:
ReadTimeout: 600000 #服务间连接超时时间
spring:
resources:
static-locations: classpath:/static/,classpath:/META-INF/resources/,file:/opt/upload/hxkf/
static-locations: classpath:/static/,classpath:/META-INF/resources/,file:/data/upload/hxkf/
servlet:
multipart:
enabled: true
......
......@@ -101,7 +101,8 @@ public class DiyTypeController {
String code = page.getList().get(0).getCode();
entity.setCode(UUIDUtil.newCode(code));
}else{
//没有查询到子分类,获取父类code 拼接 01
//没有查询到子分类,获取父类code 拼
// 接 01
if(entity.getParentId()!=0){
entity.setCode(service.selectByPrimaryKey(entity.getParentId()).getCode()+ "01");
}else{
......
......@@ -5,7 +5,7 @@
debug="false" scan="true" scanPeriod="30 second">
<!--读取配置中心的属性-->
<springProperty scope="context" name="name" source="spring.application.name"/>
<property name="ROOT" value="/opt/logs/hxkf/server/" />
<property name="ROOT" value="/data/logs/hxkf/server/" />
<property name="FILESIZE" value="10MB" />
<property name="MAXHISTORY" value="60" />
<property name="DATETIME" value="yyyy-MM-dd HH:mm:ss" />
......
......@@ -4,7 +4,7 @@ spring:
mvc:
static-path-pattern: /**
resources:
static-locations: classpath:/static/,classpath:/META-INF/resources/,file:/opt/view/hxkf/
static-locations: classpath:/static/,classpath:/META-INF/resources/,file:/data/view/hxkf/
application:
name: zuul
servlet:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论