/** * 更新全局参数 * * @return */ @Action( value = "updateGolbalParamBykey", results = {@Result(name = "json", type = "json")}) public String updateGolbalParamBykey() { GlobalParamM gm = new GlobalParamM(); gm.setGkey(GlobalParam.ISSENDACTIVATEMAIL); gm.setGvalue(this.getIssendactivatemail()); int i = this.getGlobalParamServiceImpl().updateGolbalParamByKey(gm); gm.setGkey(GlobalParam.STOCKWARNING); gm.setGvalue(this.getStockwarning().trim()); int j = this.getGlobalParamServiceImpl().updateGolbalParamByKey(gm); gm.setGkey(GlobalParam.INTEGRALCONVERSIONRATIO); gm.setGvalue(this.getIntegralconversionratio().trim()); int k = this.getGlobalParamServiceImpl().updateGolbalParamByKey(gm); gm.setGkey(GlobalParam.MOBILEHOST); gm.setGvalue(this.getMobilehost().trim()); this.getGlobalParamServiceImpl().updateGolbalParamByKey(gm); this.setSucflag(true); return "json"; }