package com.whyc.mapper;
|
|
|
import com.whyc.pojo.Experiment;
|
import com.whyc.pojo.ExperimentWindingStep1;
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Update;
|
import org.junit.runners.Parameterized;
|
|
import java.util.List;
|
|
public interface ExperimentWindingStep1Mapper extends CustomMapper<ExperimentWindingStep1>{
|
int deleteByPrimaryKey(Integer id);
|
|
int insertSelective(ExperimentWindingStep1 record);
|
|
ExperimentWindingStep1 selectByPrimaryKey(Integer id);
|
|
int updateByPrimaryKeySelective(ExperimentWindingStep1 record);
|
|
int updateByPrimaryKey(ExperimentWindingStep1 record);
|
|
int delExperimentWindingbyId(String experimentId);
|
|
//根据experiment_id编辑试验数据
|
int updateById(ExperimentWindingStep1 windingStep1);
|
|
int updateByIdandIndex(ExperimentWindingStep1 windingStep1);
|
|
//根据试验ID查询到uid在tb_user表查询real_name
|
String getRealName(String experimentId);
|
|
List<ExperimentWindingStep1> selectlistByCondition(@Param(value = "rzLink") int rzLink,@Param(value = "step") int step);
|
|
//完成试验
|
@Update("update `db_3.5mw_web`.`tb_experiment_winding_step1` set status =2 where experiment_id=#{id} ")
|
int updateFlag(String id);
|
}
|