Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
360ac3b1
Commit
360ac3b1
authored
Sep 25, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交配置校验
parent
bed2e20b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
base-manager/src/main/java/com/mortals/xhx/module/skin/service/impl/SkinBaseServiceImpl.java
...als/xhx/module/skin/service/impl/SkinBaseServiceImpl.java
+19
-4
No files found.
base-manager/src/main/java/com/mortals/xhx/module/skin/service/impl/SkinBaseServiceImpl.java
View file @
360ac3b1
...
...
@@ -348,6 +348,7 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
zip
.
flush
();
zip
.
closeEntry
();
}
catch
(
Exception
e
)
{
log
.
error
(
"异常"
,
e
.
getMessage
());
}
}
...
...
@@ -423,7 +424,6 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
}
IOUtils
.
closeQuietly
(
zip
);
return
Rest
.
ok
(
outputStream
.
toByteArray
());
}
...
...
@@ -445,7 +445,7 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
skinBaseEntity
.
setPreviewImagePath
(
StrUtil
.
prependIfMissing
(
skinBaseEntity
.
getPreviewImagePath
(),
"/"
));
}
if
(!
ObjectUtils
.
isEmpty
(
query
.
getPrependPath
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getPrependPath
()))
{
}
...
...
@@ -463,6 +463,21 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
}
skinFieldService
.
update
(
skinFieldEntities
,
context
);
List
<
AppEntity
>
appEntityList
=
appService
.
find
(
new
AppQuery
());
for
(
AppEntity
appEntity
:
appEntityList
)
{
if
(!
ObjectUtils
.
isEmpty
(
appEntity
.
getAppIconPath
()))
{
appEntity
.
setAppIconPath
(
StrUtil
.
prependIfMissing
(
appEntity
.
getAppIconPath
(),
"/"
));
}
}
appService
.
update
(
appEntityList
,
context
);
List
<
ModelEntity
>
modelEntities
=
modelService
.
find
(
new
ModelQuery
());
for
(
ModelEntity
modelEntity
:
modelEntities
)
{
if
(!
ObjectUtils
.
isEmpty
(
modelEntity
.
getModelIcon
()))
{
modelEntity
.
setModelIcon
(
StrUtil
.
prependIfMissing
(
modelEntity
.
getModelIcon
(),
"/"
));
}
}
modelService
.
update
(
modelEntities
,
context
);
return
Rest
.
ok
();
}
...
...
@@ -475,7 +490,7 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
System.out.println(result);*/
String
str
=
"
/
file/upload/12332.png"
;
String
str
=
"file/upload/12332.png"
;
String
s1
=
StrUtil
.
subAfter
(
str
,
"/"
,
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment