| | |
| | | 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_battmaint_check; |
| | | import com.fgkj.dto.User_battmaint_check_process; |
| | | import org.apache.ibatis.annotations.Delete; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Update; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import javax.faces.component.UIPanel; |
| | | |
| | | public interface User_battmaint_check_processMapper{ |
| | | |
| | | public boolean add(Object obj) ; |
| | | //4.10user_battmaint_check表修改时User_battmaint_check_process表就新增一条记录 |
| | | public String addPro(Object obj) ; |
| | | @Update("insert into db_user.tb_user_battmaint_check_process(task_rec_id,work_caption,usr_id,work_caption_time) " + |
| | | "values(#{task_rec_id},#{work_caption},#{usr_id},#{work_caption_time})") |
| | | public int addPro(User_battmaint_check_process obj) ; |
| | | public boolean update(Object obj) ; |
| | | |
| | | public boolean del(Object obj) ; |
| | | //4.10user_battmaint_check表删除一条记录时User_battmaint_check_process表就删除相关的记录 |
| | | public String delPro(Object obj) ; |
| | | |
| | | @Delete("delete from db_user.tb_user_battmaint_check_process where task_rec_id=#{task_rec_id}") |
| | | public int delPro(User_battmaint_check_process obj) ; |
| | | public List searchAll() ; |
| | | //4.10根据User_battmaint_check的num查询User_battmaint_check_process对应的数据 |
| | | public List serchByCondition(Object obj) ; |
| | | @Select("select num,usr_id,task_rec_id,work_caption,work_caption_time from db_user.tb_user_battmaint_check_process where task_rec_id=#{num} ") |
| | | public List<User_battmaint_check_process> serchByCondition(User_battmaint_check obj) ; |
| | | |
| | | public List serchByInfo(Object obj); |
| | | } |