package com.fgkj.mapper.impl;
|
|
import java.util.List;
|
|
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(User_task_batt_template obj) ;
|
//4.4 作业模板管理(修改模板/重命名)
|
public boolean update(Object obj) ;
|
|
//4.4 作业模板管理(修改模板/重命名)<多条修改>
|
public boolean updatePro(Object obj);
|
|
//4.4 作业模板管理(删除)
|
public boolean del(User_task_batt_template obj);
|
|
//4.4查询所有的模板
|
@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查询模板的信息
|
@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);
|
|
}
|