package com.example.his.api.db.dao;

import com.example.his.api.db.pojo.GoodsEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface GoodsDao {
    public ArrayList<HashMap> searchByPage(Map param);

    public long searchCount(Map param);

    public int insert(GoodsEntity entity);

    public HashMap searchById(Map param);

    public int update(GoodsEntity entity);

    public GoodsEntity searchEntityById(int id);

    public int updateCheckup(Map param);

    public int updateStatus(Map param);

    public ArrayList<String> searchImageByIds(Integer[] ids);

    public int deleteByIds(Integer[] ids);

    public ArrayList<HashMap> searchByPartIdLimit4(int partId);

    public ArrayList<HashMap> searchListByPage(Map param);

    public long searchListCount(Map param);

    public HashMap searchSnapshotNeededById(int id);

    public int updateSalesVolume(int id);
}




