Commit 7fa8137a authored by HuangBingGui's avatar HuangBingGui
Browse files

no commit message

parent 6c859da2
......@@ -162,7 +162,7 @@ public class MailComposeController extends AbstractBaseController {
model.addAttribute("mailDraftCount", mailComposeService.getCount(serachBox4));
if(mailCompose.getStatus()== null || mailCompose.getStatus().equals("0")){
if(mailCompose.getStatus()== null || "0".equals(mailCompose.getStatus())){
return "modules/iim/mailDraftList";//草稿箱
}
return "modules/iim/mailComposeList";//已发送
......@@ -244,7 +244,7 @@ public class MailComposeController extends AbstractBaseController {
mailComposeService.save(mailCompose);//0 显示在草稿箱,1 显示在已发送需同时保存到收信人的收件箱。
if(mailCompose.getStatus().equals("1"))//已发送,同时保存到收信人的收件箱
if("1".equals(mailCompose.getStatus()))//已发送,同时保存到收信人的收件箱
{
MailBox mailBox = new MailBox();
mailBox.setReadstatus("0");
......@@ -272,7 +272,7 @@ public class MailComposeController extends AbstractBaseController {
*/
@RequestMapping(value = "deleteAllCompose")
public String deleteAllCompose(String ids, Model model, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
mailComposeService.delete(mailComposeService.get(id));
}
......@@ -289,7 +289,7 @@ public class MailComposeController extends AbstractBaseController {
*/
@RequestMapping(value = "deleteAllDraft")
public String deleteAllDraft(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
mailComposeService.delete(mailComposeService.get(id));
}
......
......@@ -82,7 +82,7 @@ public class MailController extends AbstractBaseController {
*/
@RequestMapping(value = "deleteAll")
public String deleteAll(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
mailService.delete(mailService.get(id));
}
......
......@@ -261,7 +261,7 @@ public class SysJobLogRestController extends AbstractBaseController {
}
private Result deleteAll(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobLogService.delete(sysJobLogService.get(id));
}
......@@ -290,7 +290,7 @@ public class SysJobLogRestController extends AbstractBaseController {
}
private Result deleteAllByLogic(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobLogService.deleteByLogic(sysJobLogService.get(id));
}
......
......@@ -261,7 +261,7 @@ public class SysJobRestController extends AbstractBaseController {
}
private Result deleteAll(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobService.delete(sysJobService.get(id));
}
......@@ -290,7 +290,7 @@ public class SysJobRestController extends AbstractBaseController {
}
private Result deleteAllByLogic(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobService.deleteByLogic(sysJobService.get(id));
}
......
......@@ -32,6 +32,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
@Autowired
private RedisUtils redisUtils;
@Override
public SysJobLog get(String id) {
//获取数据库数据
SysJobLog sysJobLog=super.get(id);
......@@ -41,7 +42,9 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
public SysJobLog getCache(String id) {
//获取缓存数据
SysJobLog sysJobLog=(SysJobLog)redisUtils.get(RedisUtils.getIdKey(SysJobLogService.class.getName(),id));
if( sysJobLog!=null) return sysJobLog;
if( sysJobLog!=null) {
return sysJobLog;
}
//获取数据库数据
sysJobLog=super.get(id);
//设置缓存数据
......@@ -49,6 +52,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
return sysJobLog;
}
@Override
public List<SysJobLog> total(SysJobLog sysJobLog) {
//获取数据库数据
List<SysJobLog> sysJobLogList=super.total(sysJobLog);
......@@ -59,7 +63,9 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
//获取缓存数据
String totalKey = RedisUtils.getTotalKey(SysJobLogService.class.getName(),JSON.toJSONString(sysJobLog));
List<SysJobLog> sysJobLogList=(List<SysJobLog>)redisUtils.get(totalKey);
if(sysJobLogList!=null) return sysJobLogList;
if(sysJobLogList!=null) {
return sysJobLogList;
}
//获取数据库数据
sysJobLogList=super.total(sysJobLog);
//设置缓存数据
......@@ -67,6 +73,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
return sysJobLogList;
}
@Override
public List<SysJobLog> findList(SysJobLog sysJobLog) {
//获取数据库数据
List<SysJobLog> sysJobLogList=super.findList(sysJobLog);
......@@ -78,7 +85,9 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
//获取缓存数据
String findListKey = RedisUtils.getFindListKey(SysJobLogService.class.getName(),JSON.toJSONString(sysJobLog));
List<SysJobLog> sysJobLogList=(List<SysJobLog>)redisUtils.get(findListKey);
if(sysJobLogList!=null) return sysJobLogList;
if(sysJobLogList!=null) {
return sysJobLogList;
}
//获取数据库数据
sysJobLogList=super.findList(sysJobLog);
//设置缓存数据
......@@ -89,7 +98,9 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
public SysJobLog findListFirst(SysJobLog sysJobLog) {;
//获取数据库数据
List<SysJobLog> sysJobLogList=super.findList(sysJobLog);
if(sysJobLogList.size()>0) sysJobLog=sysJobLogList.get(0);
if(sysJobLogList.size()>0) {
sysJobLog = sysJobLogList.get(0);
}
return sysJobLog;
}
......@@ -97,16 +108,22 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
//获取缓存数据
String findListFirstKey = RedisUtils.getFindListFirstKey(SysJobLogService.class.getName(),JSON.toJSONString(sysJobLog));
SysJobLog sysJobLogRedis=(SysJobLog)redisUtils.get(findListFirstKey);
if(sysJobLogRedis!=null) return sysJobLogRedis;
if(sysJobLogRedis!=null) {
return sysJobLogRedis;
}
//获取数据库数据
List<SysJobLog> sysJobLogList=super.findList(sysJobLog);
if(sysJobLogList.size()>0) sysJobLog=sysJobLogList.get(0);
else sysJobLog=new SysJobLog();
if(sysJobLogList.size()>0) {
sysJobLog = sysJobLogList.get(0);
} else {
sysJobLog = new SysJobLog();
}
//设置缓存数据
redisUtils.set(findListFirstKey,sysJobLog);
return sysJobLog;
}
@Override
public Page<SysJobLog> findPage(Page<SysJobLog> page, SysJobLog sysJobLog) {
//获取数据库数据
Page<SysJobLog> pageReuslt=super.findPage(page, sysJobLog);
......@@ -117,7 +134,9 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
//获取缓存数据
String findPageKey = RedisUtils.getFindPageKey(SysJobLogService.class.getName(),JSON.toJSONString(page)+JSON.toJSONString(sysJobLog));
Page<SysJobLog> pageReuslt=(Page<SysJobLog>)redisUtils.get(findPageKey);
if(pageReuslt!=null) return pageReuslt;
if(pageReuslt!=null) {
return pageReuslt;
}
//获取数据库数据
pageReuslt=super.findPage(page, sysJobLog);
//设置缓存数据
......@@ -125,6 +144,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
return pageReuslt;
}
@Override
@Transactional(readOnly = false)
public void save(SysJobLog sysJobLog) {
//保存数据库记录
......@@ -136,6 +156,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
redisUtils.removePattern(RedisUtils.getFinPageKeyPattern(SysJobLogService.class.getName()));
}
@Override
@Transactional(readOnly = false)
public void delete(SysJobLog sysJobLog) {
//清除记录缓存数据
......@@ -147,6 +168,7 @@ public class SysJobLogService extends AbstractBaseService<SysJobLogDao, SysJobLo
redisUtils.removePattern(RedisUtils.getFinPageKeyPattern(SysJobLogService.class.getName()));
}
@Override
@Transactional(readOnly = false)
public void deleteByLogic(SysJobLog sysJobLog) {
//清除记录缓存数据
......
......@@ -39,6 +39,7 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
@Autowired
private RedisUtils redisUtils;
@Override
public SysJob get(String id) {
//获取数据库数据
SysJob sysJob=super.get(id);
......@@ -48,7 +49,9 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
public SysJob getCache(String id) {
//获取缓存数据
SysJob sysJob=(SysJob)redisUtils.get(RedisUtils.getIdKey(SysJobService.class.getName(),id));
if( sysJob!=null) return sysJob;
if( sysJob!=null) {
return sysJob;
}
//获取数据库数据
sysJob=super.get(id);
//设置缓存数据
......@@ -56,6 +59,7 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
return sysJob;
}
@Override
public List<SysJob> total(SysJob sysJob) {
//获取数据库数据
List<SysJob> sysJobList=super.total(sysJob);
......@@ -66,7 +70,9 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
//获取缓存数据
String totalKey = RedisUtils.getTotalKey(SysJobService.class.getName(),JSON.toJSONString(sysJob));
List<SysJob> sysJobList=(List<SysJob>)redisUtils.get(totalKey);
if(sysJobList!=null) return sysJobList;
if(sysJobList!=null) {
return sysJobList;
}
//获取数据库数据
sysJobList=super.total(sysJob);
//设置缓存数据
......@@ -74,6 +80,7 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
return sysJobList;
}
@Override
public List<SysJob> findList(SysJob sysJob) {
//获取数据库数据
List<SysJob> sysJobList=super.findList(sysJob);
......@@ -85,7 +92,9 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
//获取缓存数据
String findListKey = RedisUtils.getFindListKey(SysJobService.class.getName(),JSON.toJSONString(sysJob));
List<SysJob> sysJobList=(List<SysJob>)redisUtils.get(findListKey);
if(sysJobList!=null) return sysJobList;
if(sysJobList!=null) {
return sysJobList;
}
//获取数据库数据
sysJobList=super.findList(sysJob);
//设置缓存数据
......@@ -96,7 +105,9 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
public SysJob findListFirst(SysJob sysJob) {;
//获取数据库数据
List<SysJob> sysJobList=super.findList(sysJob);
if(sysJobList.size()>0) sysJob=sysJobList.get(0);
if(sysJobList.size()>0) {
sysJob = sysJobList.get(0);
}
return sysJob;
}
......@@ -104,16 +115,22 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
//获取缓存数据
String findListFirstKey = RedisUtils.getFindListFirstKey(SysJobService.class.getName(),JSON.toJSONString(sysJob));
SysJob sysJobRedis=(SysJob)redisUtils.get(findListFirstKey);
if(sysJobRedis!=null) return sysJobRedis;
if(sysJobRedis!=null) {
return sysJobRedis;
}
//获取数据库数据
List<SysJob> sysJobList=super.findList(sysJob);
if(sysJobList.size()>0) sysJob=sysJobList.get(0);
else sysJob=new SysJob();
if(sysJobList.size()>0) {
sysJob = sysJobList.get(0);
} else {
sysJob = new SysJob();
}
//设置缓存数据
redisUtils.set(findListFirstKey,sysJob);
return sysJob;
}
@Override
public Page<SysJob> findPage(Page<SysJob> page, SysJob sysJob) {
//获取数据库数据
Page<SysJob> pageReuslt=super.findPage(page, sysJob);
......@@ -124,7 +141,9 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
//获取缓存数据
String findPageKey = RedisUtils.getFindPageKey(SysJobService.class.getName(),JSON.toJSONString(page)+JSON.toJSONString(sysJob));
Page<SysJob> pageReuslt=(Page<SysJob>)redisUtils.get(findPageKey);
if(pageReuslt!=null) return pageReuslt;
if(pageReuslt!=null) {
return pageReuslt;
}
//获取数据库数据
pageReuslt=super.findPage(page, sysJob);
//设置缓存数据
......@@ -132,16 +151,19 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
return pageReuslt;
}
@Override
@Transactional(readOnly = false)
public void save(SysJob sysJob) {
if(sysJob.getIsNewRecord())
if(sysJob.getIsNewRecord()) {
sysJob.setStatus(ScheduleConstants.Status.PAUSE.getValue());
}
//保存数据库记录
super.save(sysJob);
if(sysJob.getIsNewRecord())
if(sysJob.getIsNewRecord()) {
ScheduleUtils.createScheduleJob(scheduler, sysJob);
else
} else {
ScheduleUtils.updateScheduleJob(scheduler, sysJob);
}
/*if (ScheduleConstants.Status.NORMAL.getValue().equals(sysJob.getStatus()))
{
......@@ -159,6 +181,7 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
redisUtils.removePattern(RedisUtils.getFinPageKeyPattern(SysJobService.class.getName()));
}
@Override
@Transactional(readOnly = false)
public void delete(SysJob sysJob) {
//清除记录缓存数据
......@@ -171,6 +194,7 @@ public class SysJobService extends AbstractBaseService<SysJobDao, SysJob> {
redisUtils.removePattern(RedisUtils.getFinPageKeyPattern(SysJobService.class.getName()));
}
@Override
@Transactional(readOnly = false)
public void deleteByLogic(SysJob sysJob) {
//清除记录缓存数据
......
......@@ -66,7 +66,7 @@ public class JeeSpringTask
String message="";
for (SysServer item:sysServers){
item.getServerAddress();
if(HttpRequest.sendGet(item.getServerAddress(),"").equals("Down")){
if("Down".equals(HttpRequest.sendGet(item.getServerAddress(), ""))){
sysServersBug.add(item);
message=message+item.getName()+" "+item.getServerAddress()+" Down;<br>";
item.setStatus("off_line");
......
......@@ -159,8 +159,9 @@ public class SysJobController extends AbstractBaseController {
public String form(SysJob sysJob, Model model, HttpServletRequest request, HttpServletResponse response) {
model.addAttribute("action", request.getParameter("action"));
model.addAttribute("sysJob", sysJob);
if(request.getParameter("ViewFormType")!=null && request.getParameter("ViewFormType").equals("FormTwo"))
if(request.getParameter("ViewFormType")!=null && "FormTwo".equals(request.getParameter("ViewFormType"))) {
return "modules/job/sysJobFormTwo";
}
return "modules/job/sysJobForm";
}
......@@ -247,7 +248,7 @@ public class SysJobController extends AbstractBaseController {
addMessage(redirectAttributes, sysConfigService.isDemoModeDescription());
return "redirect:" + adminPath + "/job/sysJob/?repage";
}
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobService.delete(sysJobService.get(id));
}
......@@ -265,7 +266,7 @@ public class SysJobController extends AbstractBaseController {
addMessage(redirectAttributes, sysConfigService.isDemoModeDescription());
return "redirect:" + adminPath + "/job/sysJob/?repage";
}
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobService.deleteByLogic(sysJobService.get(id));
}
......
......@@ -162,8 +162,9 @@ public class SysJobLogController extends AbstractBaseController {
public String form(SysJobLog sysJobLog, Model model, HttpServletRequest request, HttpServletResponse response) {
model.addAttribute("action", request.getParameter("action"));
model.addAttribute("sysJobLog", sysJobLog);
if(request.getParameter("ViewFormType")!=null && request.getParameter("ViewFormType").equals("FormTwo"))
if(request.getParameter("ViewFormType")!=null && "FormTwo".equals(request.getParameter("ViewFormType"))) {
return "modules/job/sysJobLogFormTwo";
}
return "modules/job/sysJobLogForm";
}
......@@ -225,7 +226,7 @@ public class SysJobLogController extends AbstractBaseController {
addMessage(redirectAttributes, sysConfigService.isDemoModeDescription());
return "redirect:" + adminPath + "/job/sysJobLog/?repage";
}
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobLogService.delete(sysJobLogService.get(id));
}
......@@ -243,7 +244,7 @@ public class SysJobLogController extends AbstractBaseController {
addMessage(redirectAttributes, sysConfigService.isDemoModeDescription());
return "redirect:" + adminPath + "/job/sysJobLog/?repage";
}
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
sysJobLogService.deleteByLogic(sysJobLogService.get(id));
}
......
......@@ -22,23 +22,28 @@ import com.jeespring.modules.monitor.dao.MonitorDao;
@Transactional(readOnly = true)
public class MonitorService extends AbstractBaseService<MonitorDao, Monitor> {
@Override
public Monitor get(String id) {
return super.get(id);
}
@Override
public List<Monitor> findList(Monitor monitor) {
return super.findList(monitor);
}
@Override
public Page<Monitor> findPage(Page<Monitor> page, Monitor monitor) {
return super.findPage(page, monitor);
}
@Override
@Transactional(readOnly = false)
public void save(Monitor monitor) {
super.save(monitor);
}
@Override
@Transactional(readOnly = false)
public void delete(Monitor monitor) {
super.delete(monitor);
......
......@@ -424,8 +424,9 @@ public class Common {
* @version 1.0
*/
public static <T extends Object> T flushObject(T t, Map<String, Object> params) {
if (params == null || t == null)
if (params == null || t == null) {
return t;
}
Class<?> clazz = t.getClass();
for (; clazz != Object.class; clazz = clazz.getSuperclass()) {
......@@ -459,8 +460,9 @@ public class Common {
* @version 1.0
*/
public static String htmltoString(String content) {
if (content == null)
if (content == null) {
return "";
}
String html = content;
html = html.replace("'", "&apos;");
html = html.replaceAll("&", "&amp;");
......@@ -484,8 +486,9 @@ public class Common {
* @version 1.0
*/
public static String stringtohtml(String content) {
if (content == null)
if (content == null) {
return "";
}
String html = content;
html = html.replace("&apos;", "'");
html = html.replaceAll("&amp;", "&");
......@@ -620,6 +623,7 @@ public class Common {
// 如果存在 就获取包下的所有文件 包括目录
File[] dirfiles = dir.listFiles(new FileFilter() {
// 自定义过滤规则 如果可以循环(包含子目录) 或则是以.class结尾的文件(编译好的java类文件)
@Override
public boolean accept(File file) {
return (recursive && file.isDirectory()) || (file.getName().endsWith(".class"));
}
......
......@@ -108,7 +108,7 @@ public class SystemInfo {
public static List<Map> cpuInfos(Sigar sigar) {
List<Map> monitorMaps = new ArrayList<Map>();
try {
CpuPerc cpuList[] = sigar.getCpuPercList();
CpuPerc[] cpuList = sigar.getCpuPercList();
for (CpuPerc cpuPerc : cpuList) {
Map<String, Comparable> monitorMap = new HashMap();
monitorMap.put("cpuUserUse", Math.round(cpuPerc.getUser()*100));// 用户使用率
......@@ -125,7 +125,7 @@ public class SystemInfo {
public List<Map> diskInfos(Sigar sigar) throws Exception {
List<Map> monitorMaps = new ArrayList<Map>();
FileSystem fslist[] = sigar.getFileSystemList();
FileSystem[] fslist = sigar.getFileSystemList();
for (int i = 0; i < fslist.length; i++) {
Map<Object, Object> monitorMap = new HashMap();
FileSystem fs = fslist[i];
......
......@@ -22,23 +22,28 @@ import com.jeespring.modules.mvvmoa.dao.FormLeavemDao;
@Transactional(readOnly = true)
public class FormLeavemService extends AbstractBaseService<FormLeavemDao, FormLeavem> {
@Override
public FormLeavem get(String id) {
return super.get(id);
}
@Override
public List<FormLeavem> findList(FormLeavem formLeavem) {
return super.findList(formLeavem);
}
@Override
public Page<FormLeavem> findPage(Page<FormLeavem> page, FormLeavem formLeavem) {
return super.findPage(page, formLeavem);
}
@Override
@Transactional(readOnly = false)
public void save(FormLeavem formLeavem) {
super.save(formLeavem);
}
@Override
@Transactional(readOnly = false)
public void delete(FormLeavem formLeavem) {
super.delete(formLeavem);
......
......@@ -145,7 +145,7 @@ public class FormLeavemController extends AbstractBaseController {
//RequiresPermissions("mvvmoa:formLeavem:del")
@RequestMapping(value = "deleteAll")
public String deleteAll(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
for(String id : idArray){
formLeavemService.delete(formLeavemService.get(id));
}
......
/**
* Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
* Copyright &copy; 2012-2016 <a href="https://gitee.com/JeeHuangBingGui/jeeSpringCloud">JeeSpring</a> All rights reserved.
*/
package com.jeespring.modules.oa.dao;
......
/**
* Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
* Copyright &copy; 2012-2016 <a href="https://gitee.com/JeeHuangBingGui/jeeSpringCloud">JeeSpring</a> All rights reserved.
*/
package com.jeespring.modules.oa.entity;
......
......@@ -28,6 +28,7 @@ public class OaNotifyService extends AbstractBaseService<OaNotifyDao, OaNotify>
@Autowired
private OaNotifyRecordDao oaNotifyRecordDao;
@Override
public OaNotify get(String id) {
OaNotify entity = dao.get(id);
return entity;
......@@ -58,6 +59,7 @@ public class OaNotifyService extends AbstractBaseService<OaNotifyDao, OaNotify>
return dao.findCount(oaNotify);
}
@Override
@Transactional(readOnly = false)
public void save(OaNotify oaNotify) {
super.save(oaNotify);
......
/**
* Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
* Copyright &copy; 2012-2016 <a href="https://gitee.com/JeeHuangBingGui/jeeSpringCloud">JeeSpring</a> All rights reserved.
*/
package com.jeespring.modules.oa.service;
......@@ -34,6 +34,7 @@ public class TestAuditService extends AbstractBaseService<TestAuditDao, TestAudi
return dao.getByProcInsId(procInsId);
}
@Override
public Page<TestAudit> findPage(Page<TestAudit> page, TestAudit testAudit) {
testAudit.setPage(page);
page.setList(dao.findList(testAudit));
......@@ -44,6 +45,7 @@ public class TestAuditService extends AbstractBaseService<TestAuditDao, TestAudi
* 审核新增或编辑
* @param testAudit
*/
@Override
@Transactional(readOnly = false)
public void save(TestAudit testAudit) {
......
......@@ -109,7 +109,7 @@ public class OaNotifyController extends AbstractBaseController {
public String deleteAll(String ids, RedirectAttributes redirectAttributes) {
String idArray[] =ids.split(",");
String[] idArray = ids.split(",");
long successCount=0,failureCount=0;
String failureMsg="";
......
/**
* Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
* Copyright &copy; 2012-2016 <a href="https://gitee.com/JeeHuangBingGui/jeeSpringCloud">JeeSpring</a> All rights reserved.
*/
package com.jeespring.modules.oa.web;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment