File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
generator-web/src/main/resources
templates/code-generator/jpa Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ function setAllCookie() {
166
166
}
167
167
168
168
function setOneCookie ( key ) {
169
- setCookie ( key , vm . formData . options [ key ] ) ;
169
+ setCookie ( key , vm . formData . options [ key ] , 60 * 60 * 24 * 7 ) ;
170
170
}
171
171
172
172
/**
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import org.springframework.web.bind.annotation.PostMapping;
13
13
import org.springframework.web.bind.annotation.RestController;
14
14
import java.util.List;
15
15
import java.util.Map;
16
+ import java.util.Optional;
17
+
16
18
</#if >
17
19
/**
18
20
* @description ${classInfo.classComment}
Original file line number Diff line number Diff line change 1
- <#if isWithPackage?exists && isWithPackage==true >package ${packageName} .mapper ;</#if >
1
+ <#if isWithPackage?exists && isWithPackage==true >package ${packageName} .repository ;</#if >
2
2
<#if isAutoImport?exists && isAutoImport==true >import ${packageName} .entity.${classInfo.className} ;
3
3
4
4
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0 >
You can’t perform that action at this time.
0 commit comments