fix: 数据字典不赋值bug

This commit is contained in:
2024-04-02 15:10:24 +08:00
parent 0e7a4f33ee
commit cc0122d9c1
5 changed files with 154 additions and 62 deletions
@@ -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));