| | |
| | | package com.fgkj.mapper.impl; |
| | | |
| | | import java.sql.ResultSet; |
| | | import java.sql.SQLException; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | import com.fgkj.mapper.BaseDAO; |
| | | import com.fgkj.mapper.CallBack; |
| | | import com.fgkj.mapper.DAOHelper; |
| | | import com.fgkj.db.DBUtil; |
| | | import com.fgkj.dto.User_task_param; |
| | | import org.apache.ibatis.annotations.Delete; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Update; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | public interface User_task_paramMapper{ |
| | | |
| | | //4.2作业参数(新增作业参数) |
| | | public boolean add(Object obj) ; |
| | | public boolean add(User_task_param obj) ; |
| | | //4.2作业参数(修改操作/重命名操作) |
| | | public boolean update(Object obj) ; |
| | | |
| | | public String updatePro(Object obj); |
| | | |
| | | //4.2作业参数(删除) |
| | | public boolean del(Object obj) ; |
| | | public boolean update(User_task_param obj) ; |
| | | |
| | | @Update("update db_user.tb_user_task_param set tp_name=#{tp_name},tp_taskname=#{tp_name},tp_tasktype=#{tp_tasktype},tp_autoinc_daycount=#{tp_autoinc_daycount}," + |
| | | "tp_taskdelay_daycount=#{tp_taskdelay_daycount},tp_pass_saturday=#{tp_pass_saturday},tp_pass_sunday=#{tp_pass_sunday},tp_pass_jiejiari=#{tp_pass_jiejiari},tp_task_notice_count=#{tp_task_notice_count}," + |
| | | "tp_task_notice_time_interval=#{tp_task_notice_time_interval},tp_task_notice_starttime=#{tp_task_notice_starttime},tp_task_notice_endtime=#{tp_task_notice_endtime},tp_task_enabled=#{tp_task_enabled}," + |
| | | "tp_master_id=#{tp_master_id},tp_notice_master_enabled=#{tp_notice_master_enabled},tp_task_battlife_var=#{tp_task_battlife_var},tp_task_battyong_test80_month=#{tp_task_battyong_test80_month}," + |
| | | "tp_task_battold_test80_month=#{tp_task_battold_test80_month},tp_task_battyong_test40_month=#{tp_task_battyong_test40_month},tp_task_battold_test40_month=#{tp_task_battold_test40_month}," + |
| | | "tp_task_batt_checkcircle_month=#{tp_task_batt_checkcircle_month},tp_task_batt_checklimit_month=#{tp_task_batt_checklimit_month},tp_task_batt_lazhacircle_month=#{tp_task_batt_lazhacircle_month}," + |
| | | "tp_task_batt_lazhalimit_month=#{tp_task_batt_lazhalimit_month} where tp_num=#{tp_num}") |
| | | public int updatePro(User_task_param obj); |
| | | /*4.2作业参数(删除)*/ |
| | | @Delete("delete from db_user.tb_user_task_param where tp_num=#{tp_num}") |
| | | public int del(User_task_param obj) ; |
| | | //4.2查询所有参数种类 |
| | | public List searchAll() ; |
| | | @Select("select tp_num,tp_name,tp_taskname,tp_tasktype,tp_autoinc_daycount,tp_taskdelay_daycount," + |
| | | "tp_pass_saturday,tp_pass_sunday,tp_pass_jiejiari,tp_task_notice_count,tp_task_notice_time_interval,tp_task_notice_starttime," + |
| | | "tp_task_notice_endtime,tp_task_enabled,tp_master_id,tp_notice_master_enabled,tp_task_battlife_var,tp_task_battyong_test80_month," + |
| | | "tp_task_battold_test80_month,tp_task_battyong_test40_month,tp_task_battold_test40_month,tp_task_batt_checkcircle_month,tp_task_batt_checklimit_month," + |
| | | "tp_task_batt_lazhacircle_month,tp_task_batt_lazhalimit_month from db_user.tb_user_task_param order by tp_num") |
| | | public List<User_task_param> searchAll() ; |
| | | //4.2根据参数id查基本参数和模板参数 |
| | | public List serchByCondition(Object obj); |
| | | @Select("select tp_num,tp_name,tp_taskname,tp_tasktype,tp_autoinc_daycount,tp_taskdelay_daycount," + |
| | | "tp_pass_saturday,tp_pass_sunday,tp_pass_jiejiari,tp_task_notice_count,tp_task_notice_time_interval,tp_task_notice_starttime," + |
| | | "tp_task_notice_endtime,tp_task_enabled,tp_master_id,tp_notice_master_enabled,tp_task_battlife_var,tp_task_battyong_test80_month," + |
| | | "tp_task_battold_test80_month,tp_task_battyong_test40_month,tp_task_battold_test40_month,tp_task_batt_checkcircle_month,tp_task_batt_checklimit_month," + |
| | | "tp_task_batt_lazhacircle_month,tp_task_batt_lazhalimit_month from db_user.tb_user_task_param where tp_num=#{tp_num}") |
| | | public List<User_task_param> serchByCondition(User_task_param obj); |
| | | |
| | | public List serchByInfo(Object obj) ; |
| | | |