package com.nanometer.smartlab.dao; import com.nanometer.smartlab.entity.OpeApply; import com.nanometer.smartlab.entity.OpeApplyReserve; import com.nanometer.smartlab.entity.OpeOrder; import com.nanometer.smartlab.entity.OpeWarehouseReserve; 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/8. */ public interface OpeApplyDao { public int updateFirst(Map params) throws DataAccessException; public int updateFirst2(Map params) throws DataAccessException; public int updateOpeApplyProject(Map params) throws DataAccessException; public OpeApply getOpeApply(String id) throws DataAccessException; public List getOpeApplyList(Map params) throws DataAccessException; public int getOpeApplyTotalCount(Map params) throws DataAccessException; public void insertOpeApply(OpeApply opeApply) throws DataAccessException; public void insertOpeApplyList(List opeApplyList) throws DataAccessException; public int updateOpeApply(OpeApply opeApply) throws DataAccessException; public int updateOpeApplyStatus(Map params) throws DataAccessException; public int updateOpeApplyAdmin(Map params) throws DataAccessException; public int updateOpeApplyAdmin2(Map params) throws DataAccessException; public int deleteOpeApply(List ids) throws DataAccessException; public int updaetOpeApplyPrice(Map params) throws DataAccessException; public int updaetOpeApplyStockFlag(Map params) throws DataAccessException; public int cancelApply(Map params) throws DataAccessException; OpeApply selectOpeApplyByPrimaryKey(String id); public int updateOpeApplyUsed(OpeApplyReserve opeApplyReserve) throws DataAccessException; @SuppressWarnings("rawtypes") List getOpeApplyReserveList(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") int getOpeApplyReserveTotalCount(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") List getOpeApplyReserveListFor(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") int getOpeApplyReserveTotalCountFor(Map params) throws DataAccessException; List selectByReId(String id); public int updateByReId(Map params); OpeApplyReserve getOpeApplyDetail(String id); void updateOpeApplyInfo(Map params); void insertList(List opeApplyList); OpeApplyReserve getOpeApplyReserveListByNameForRowData(@Param("id") String rowKey); }