whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
    
}