21047-松下EP-登录首页、模块首页、功能界面页面下的工厂名字需要更改成可配置-2022-07-10

yun-zuoyi
feng.liu 3 years ago
parent 79feab31fc
commit 44c7ee028d

@ -77,6 +77,9 @@ public interface ISysConfigService {
@ApiOperation(value = "查询系统配置信息项")
List findSystemInfoConfig();
@ApiOperation(value = "查询松下系统配置信息项")
List findSystemInfoConfigPanasonic(String organizeCode);
/**
*
* @param code

@ -199,6 +199,18 @@ public class WhiteController extends CoreBaseController {
}
}
@GetMapping(value = "/system-info-panasonic")
@ApiOperation(value = "查询可用语言", notes = "查询可用语言")
public ResultBean getSystemInfoPanasonic(String organizeCode) {
try {
return ResultBean.success("操作成功").setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()).setResultList(configService.findSystemInfoConfigPanasonic(organizeCode));
} catch (ImppBusiException busExcep) {
return ResultBean.fail(busExcep);
} catch (Exception e) {
return ImppExceptionBuilder.newInstance().buildExceptionResult(e);
}
}
@GetMapping(value = "/session-user")
@ApiOperation(value = "获取用户信息", notes = "获取当前登录用户账号详细信息")
public ResultBean getSession() {

@ -6,6 +6,7 @@ import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
import cn.estsh.i3plus.pojo.base.bean.ListPager;
import cn.estsh.i3plus.pojo.base.common.Pager;
import cn.estsh.i3plus.pojo.base.common.PagerHelper;
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import cn.estsh.i3plus.pojo.platform.bean.SysConfig;
import cn.estsh.i3plus.pojo.platform.repository.SysConfigRepository;
import cn.estsh.i3plus.pojo.platform.sqlpack.CoreHqlPack;
@ -114,6 +115,20 @@ public class SysConfigService implements ISysConfigService {
}
@Override
public List findSystemInfoConfigPanasonic(String organizeCode) {
List mailConfig = new ArrayList();
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_HOME_LOGO));
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_LOGO));
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_COMPANY_NAME));
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_NAME));
mailConfig.add(SysConfigRDao.getByProperty("configCode", PlatformConstWords.SYSTEM_TITLE_NAME));
mailConfig.add(SysConfigRDao.getByProperty(new String[]{"configCode", "organizeCode"},
new Object[]{PlatformConstWords.SYSTEM_COPYRIGHT,organizeCode}));
return mailConfig;
}
@Override
@ApiOperation(value = "根据code修改系统配置")
public void updateSysConfigByCode(String code, String value) {
SysConfigRDao.updateByProperties("configCode",code,"configValue",value);

Loading…
Cancel
Save