Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
e7588208
Commit
e7588208
authored
Aug 07, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改app端新建楼宇接口返回id
parent
bdbb316c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
...oft/censoftrongtong/controller/RiskPlanAppController.java
+2
-1
censoft-rongtong/src/main/resources/mapper/system/LedgerBuildingMapper.xml
...src/main/resources/mapper/system/LedgerBuildingMapper.xml
+4
-0
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
View file @
e7588208
...
@@ -733,7 +733,8 @@ public class RiskPlanAppController extends BaseController {
...
@@ -733,7 +733,8 @@ public class RiskPlanAppController extends BaseController {
public
AjaxResult
addProject
(
@RequestBody
LedgerProject
ledgerProject
)
public
AjaxResult
addProject
(
@RequestBody
LedgerProject
ledgerProject
)
{
{
ledgerProject
.
setCreateBy
(
getUsername
());
ledgerProject
.
setCreateBy
(
getUsername
());
return
toAjax
(
ledgerProjectService
.
insertLedgerProject
(
ledgerProject
));
ledgerProjectService
.
insertLedgerProject
(
ledgerProject
);
return
AjaxResult
.
success
(
ledgerProject
.
getId
());
}
}
/**
/**
...
...
censoft-rongtong/src/main/resources/mapper/system/LedgerBuildingMapper.xml
View file @
e7588208
...
@@ -67,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -67,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"type != null"
>
type,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"deptId != null"
>
dept_id,
</if>
<if
test=
"deptId != null"
>
dept_id,
</if>
<if
test=
"floor != null"
>
floor,
</if>
<if
test=
"floor != null"
>
floor,
</if>
<if
test=
"groundFloor != null"
>
ground_floor,
</if>
<if
test=
"undergroundFloor != null"
>
underground_floor,
</if>
<if
test=
"useto != null"
>
useto,
</if>
<if
test=
"useto != null"
>
useto,
</if>
<if
test=
"city != null"
>
city,
</if>
<if
test=
"city != null"
>
city,
</if>
<if
test=
"area != null"
>
area,
</if>
<if
test=
"area != null"
>
area,
</if>
...
@@ -84,6 +86,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -84,6 +86,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"type != null"
>
#{type},
</if>
<if
test=
"type != null"
>
#{type},
</if>
<if
test=
"deptId != null"
>
#{deptId},
</if>
<if
test=
"deptId != null"
>
#{deptId},
</if>
<if
test=
"floor != null"
>
#{floor},
</if>
<if
test=
"floor != null"
>
#{floor},
</if>
<if
test=
"groundFloor != null"
>
#{groundFloor},
</if>
<if
test=
"undergroundFloor != null"
>
#{undergroundFloor},
</if>
<if
test=
"useto != null"
>
#{useto},
</if>
<if
test=
"useto != null"
>
#{useto},
</if>
<if
test=
"city != null"
>
#{city},
</if>
<if
test=
"city != null"
>
#{city},
</if>
<if
test=
"area != null"
>
#{area},
</if>
<if
test=
"area != null"
>
#{area},
</if>
...
...
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