|
@@ -43,7 +43,6 @@ public class OrgController{
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation( value = "新建组织部门", notes = "新建组织部门" )
|
|
@ApiOperation( value = "新建组织部门", notes = "新建组织部门" )
|
|
|
@PostMapping({"insert"})
|
|
@PostMapping({"insert"})
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public ResponseResultVO<?> insert(@RequestBody OrgVO orgVO) {
|
|
public ResponseResultVO<?> insert(@RequestBody OrgVO orgVO) {
|
|
|
return orgService.insert(orgVO);
|
|
return orgService.insert(orgVO);
|
|
|
}
|
|
}
|
|
@@ -56,7 +55,6 @@ public class OrgController{
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation( value = "新建组织部门", notes = "新建组织部门" )
|
|
@ApiOperation( value = "新建组织部门", notes = "新建组织部门" )
|
|
|
@PostMapping({"insert_feign_org"})
|
|
@PostMapping({"insert_feign_org"})
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public ResponseResultVO<?> insertFeignOrg(@RequestBody OrgVO orgVO) {
|
|
public ResponseResultVO<?> insertFeignOrg(@RequestBody OrgVO orgVO) {
|
|
|
return orgService.insertFeignOrg(orgVO);
|
|
return orgService.insertFeignOrg(orgVO);
|
|
|
}
|
|
}
|