dev
parent
6cbf4e6596
commit
bd9607f309
10
Dockerfile
10
Dockerfile
|
@ -1,12 +1,12 @@
|
|||
# |- home
|
||||
# |- app.jar
|
||||
# |- logs
|
||||
FROM openjdk:17-jdk
|
||||
|
||||
WORKDIR /home
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN ln -snf /usr/share/zoneifon/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
|
||||
|
||||
VOLUME ["/home/logs/cloud-system"]
|
||||
|
||||
COPY ./target/cloud-system.jar /home/app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Dfile.encoding=UTF-8", "-jar", "/home/app.jar"]
|
||||
ENTRYPOINT ["java","-Dfile.encoding=utf-8","-jar"]
|
||||
|
||||
CMD ["/home/app.jar"]
|
||||
|
|
|
@ -164,6 +164,7 @@ public class SysDictTypeServiceImpl extends ServiceImpl<SysDictTypeMapper, SysDi
|
|||
*/
|
||||
@Override
|
||||
public int insertDictType (SysDictType dict) {
|
||||
System.out.println(dict);
|
||||
int row = dictTypeMapper.insertDictType(dict);
|
||||
if (row > 0) {
|
||||
DictUtils.setDictCache(dict.getDictType(), null);
|
||||
|
|
Loading…
Reference in New Issue