|
@@ -86,6 +86,8 @@ public class PdmConstructTeamController extends BaseController
|
|
@PostMapping
|
|
@PostMapping
|
|
public AjaxResult add(@RequestBody PdmConstructTeamVo pdmConstructTeam)
|
|
public AjaxResult add(@RequestBody PdmConstructTeamVo pdmConstructTeam)
|
|
{
|
|
{
|
|
|
|
+ if(pdmConstructTeam.getId()!=null)
|
|
|
|
+ return toAjax(pdmConstructTeamService.updatePdmConstructTeam(pdmConstructTeam));
|
|
return toAjax(pdmConstructTeamService.insertPdmConstructTeam(pdmConstructTeam));
|
|
return toAjax(pdmConstructTeamService.insertPdmConstructTeam(pdmConstructTeam));
|
|
}
|
|
}
|
|
|
|
|