fix: 数据字典不赋值bug
This commit is contained in:
+2
@@ -3,6 +3,7 @@ package com.jero.modules.controller;
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import com.jero.common.api.vo.Results;
|
||||
import com.jero.common.aspect.annotation.Translation;
|
||||
import com.jero.modules.entity.KhSystemSetting;
|
||||
import com.jero.modules.service.IKhSystemSettingService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -41,6 +42,7 @@ public class KhSystemSettingController extends JeroController<KhSystemSetting, I
|
||||
@AutoLog(value = "系统设置-获取设置")
|
||||
@ApiOperation(value="系统设置-获取设置", notes="系统设置-获取设置")
|
||||
@GetMapping(value = "/getSetting")
|
||||
@Translation
|
||||
public Results<KhSystemSetting> queryList(KhSystemSetting khSystemSetting, HttpServletRequest req) {
|
||||
List<KhSystemSetting> list = khSystemSettingService.queryList(khSystemSetting, req);
|
||||
return Results.OK(list.get(0));
|
||||
|
||||
Reference in New Issue
Block a user