|
|
@ -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.bean.ListPager;
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.PagerHelper;
|
|
|
|
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.bean.SysConfig;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysConfigRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysConfigRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.sqlpack.CoreHqlPack;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.sqlpack.CoreHqlPack;
|
|
|
@ -114,6 +115,20 @@ public class SysConfigService implements ISysConfigService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@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修改系统配置")
|
|
|
|
@ApiOperation(value = "根据code修改系统配置")
|
|
|
|
public void updateSysConfigByCode(String code, String value) {
|
|
|
|
public void updateSysConfigByCode(String code, String value) {
|
|
|
|
SysConfigRDao.updateByProperties("configCode",code,"configValue",value);
|
|
|
|
SysConfigRDao.updateByProperties("configCode",code,"configValue",value);
|
|
|
|