| | |
| | | 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_batt_template; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Update; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | public interface User_task_batt_templateMapper{ |
| | | |
| | | //4.4 作业模板管理(新建模板) |
| | | public boolean add(Object obj) ; |
| | | public boolean add(User_task_batt_template obj) ; |
| | | //4.4 作业模板管理(修改模板/重命名) |
| | | public boolean update(Object obj) ; |
| | | |
| | | //4.4 作业模板管理(修改模板/重命名)<多条修改> |
| | | public String updatePro(Object obj); |
| | | public boolean updatePro(Object obj); |
| | | |
| | | //4.4 作业模板管理(删除) |
| | | public boolean del(Object obj); |
| | | public boolean del(User_task_batt_template obj); |
| | | |
| | | //4.4查询所有的模板 |
| | | public List searchAll() ; |
| | | @Select("select template_id,template_name,task_batt_check_en,task_batt_lazha_test_en," + |
| | | "task_batt_cap40_test_en,task_batt_cap80_test_en,task_param_id,task_battgroup_quyu_index,task_exe_usr_selmode," + |
| | | "task_exe_usrlunliu_count,task_create_mode from db_user.tb_user_task_batt_template") |
| | | public List<User_task_batt_template> searchAll() ; |
| | | //4.4根据模板id查询模板的信息 |
| | | public List serchByCondition(Object obj) ; |
| | | @Select("select template_id,template_name,task_batt_check_en,task_batt_lazha_test_en," + |
| | | "task_batt_cap40_test_en,task_batt_cap80_test_en,task_param_id,task_battgroup_quyu_index,task_exe_usr_selmode," + |
| | | "task_exe_usrlunliu_count,task_create_mode from db_user.tb_user_task_batt_template where template_id=#{template_id}") |
| | | public List<User_task_batt_template> serchByCondition(User_task_batt_template obj) ; |
| | | |
| | | public List serchByInfo(Object obj); |
| | | |