| @@ -87,6 +87,22 @@ public class WxCustomizeModuleController extends BaseController { | |||||
| return wxCustomizeModuleService.updateDefault(wxCustomizeModule); | return wxCustomizeModuleService.updateDefault(wxCustomizeModule); | ||||
| } | } | ||||
| @ApiOperation("根据id删除接口") | |||||
| @GetMapping("/getById") | |||||
| @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | |||||
| @SystemControllerLog(description = "-删除") | |||||
| public ResultData getById(Long id) { | |||||
| logger.debug("[" + getIpAddr() + "] WxCustomizeModuleController::getById"); | |||||
| if(id == null){ | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); | |||||
| } | |||||
| WxCustomizeModule wxCustomizeModule = new WxCustomizeModule(); | |||||
| wxCustomizeModule.updateTenantInfo(ifParentUpdateAloneTenantInfo()); | |||||
| wxCustomizeModule.setId(id); | |||||
| wxCustomizeModule = wxCustomizeModuleService.getById(wxCustomizeModule); | |||||
| return new ResultData(wxCustomizeModule); | |||||
| } | |||||
| @ApiOperation("根据id删除接口") | @ApiOperation("根据id删除接口") | ||||
| @GetMapping("/del") | @GetMapping("/del") | ||||
| @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | ||||