Commit e7588208 authored by 周昊's avatar 周昊

1、修改app端新建楼宇接口返回id

parent bdbb316c
......@@ -733,7 +733,8 @@ public class RiskPlanAppController extends BaseController {
public AjaxResult addProject(@RequestBody LedgerProject ledgerProject)
{
ledgerProject.setCreateBy(getUsername());
return toAjax(ledgerProjectService.insertLedgerProject(ledgerProject));
ledgerProjectService.insertLedgerProject(ledgerProject);
return AjaxResult.success(ledgerProject.getId());
}
/**
......
......@@ -67,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">type,</if>
<if test="deptId != null">dept_id,</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="city != null">city,</if>
<if test="area != null">area,</if>
......@@ -84,6 +86,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">#{type},</if>
<if test="deptId != null">#{deptId},</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="city != null">#{city},</if>
<if test="area != null">#{area},</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment