Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yichengstreet
yichengstreet-be
Commits
78cf6847
Commit
78cf6847
authored
Jul 17, 2025
by
luben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat 地块
parent
96a9217d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
RegionController.java
.../java/com/ruoyi/web/controller/grid/RegionController.java
+14
-0
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/grid/RegionController.java
View file @
78cf6847
...
@@ -1033,6 +1033,20 @@ public class RegionController extends BaseController {
...
@@ -1033,6 +1033,20 @@ public class RegionController extends BaseController {
}
else
{
}
else
{
body
.
setStatus
(
level
);
body
.
setStatus
(
level
);
}
}
if
(
body
.
getWgType
()==
null
&&
body
.
getWgParentId
()!=
null
){
String
type
=
body
.
getWgParentId
().
substring
(
12
,
14
);
if
(
type
.
equals
(
"LY"
)){
body
.
setWgType
(
"1"
);
}
else
if
(
type
.
equals
(
"DL"
))
{
body
.
setWgType
(
"4"
);
}
else
if
(
type
.
equals
(
"JQ"
))
{
body
.
setWgType
(
"5"
);
}
else
if
(
type
.
equals
(
"SC"
))
{
body
.
setWgType
(
"7"
);
}
else
{
body
.
setWgType
(
"6"
);
}
}
body
.
setPosition
(
gridRegionMapper
.
selectMaxPosition
()+
1
);
body
.
setPosition
(
gridRegionMapper
.
selectMaxPosition
()+
1
);
return
gridRegionFacadeService
.
commit
(
body
,
"insert"
);
return
gridRegionFacadeService
.
commit
(
body
,
"insert"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
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