package com.nanometer.smartlab.dao;
|
|
import com.nanometer.smartlab.entity.OpeUseFlow;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.dao.DataAccessException;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* Created by johnny on 17/12/16.
|
*/
|
public interface OpeUseFlowDao {
|
|
void insertOpeUseFlow(OpeUseFlow opeUseFlow) throws DataAccessException;
|
|
@SuppressWarnings("rawtypes")
|
List<OpeUseFlow> getOpeUseFlowList(Map params);
|
|
@SuppressWarnings("rawtypes")
|
int getOpeUseFlowTotalCount(Map params);
|
|
int update(OpeUseFlow opeUseFlow);
|
|
void deleteByReagentCode(String reagentCode);
|
|
void deleteByReagentCodeAndStatus(Map<String,Object> params);
|
|
int updateTimeByCode(Map params);
|
|
OpeUseFlow getOpeUseFlowByCode(@Param("reagentCode") String reagentCode);
|
}
|