| | |
| | | package com.fgkj.mapper.impl; |
| | | |
| | | import com.fgkj.dto.Process_survey; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Update; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface Process_surveyMapper { |
| | | |
| | | //根据进程名字,将服务是否开启的标识符改为0 |
| | | public boolean update(Object obj); |
| | | @Update("update web_site.tb_Process_survey set ServerFlag='${@com.fgkj.mapper.ProcessServerDao@PROCESS_OFF}' where ProcessName=#{processName} and ServerFlag!='${@com.fgkj.mapper.ProcessServerDao@PROCESS_TEMP}'") |
| | | public boolean update(Process_survey process); |
| | | |
| | | //界面修改进程名字和超时时间以及进程版本号 |
| | | public boolean updateAll(Object obj); |
| | | // @Update("update web_site.tb_Process_survey set note=#{note},OutTime=#{OutTime} where num=#{num} ") |
| | | public boolean updateAll(Process_survey obj); |
| | | |
| | | //界面修改进程同服务对应的标识位 |
| | | public boolean updateFlag(Object obj); |
| | | @Update(" update web_site.tb_Process_survey set ServerFlag=#{serverFlag} where ServerName=#{serverName} ") |
| | | public int updateFlag(Process_survey process_survey); |
| | | |
| | | //查询所有进程的运行情况 |
| | | public List searchAll() ; |
| | | @Select("select num,ProcessId,ProcessName,ProcessVersion,ProcessTime,Process_starttime,ServerName,ServerFlag,note,Outtime " + |
| | | "from web_site.tb_Process_survey order by num") |
| | | public List<Process_survey> searchAll() ; |
| | | |
| | | } |