package com.example.erp.mapper.mm; import com.example.erp.entity.mm.BasicWarehouseType; import com.example.erp.entity.mm.MaterialStore; import com.example.erp.entity.pp.FlowCard; import com.example.erp.entity.sd.Customer; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.data.repository.CrudRepository; import java.util.List; import java.util.Map; @Mapper public interface MaterialStoreMapper extends CrudRepository { List getSelectMaterialStore(@Param("offset") Integer offset, @Param("pageSize") Integer pageSize, @Param("materialStore") MaterialStore materialStore); MaterialStore getSelectMaterialStoreById(@Param("id") Long id); Map getSelectMaterialStorePageTotal(Integer offset, Integer pageSize, MaterialStore materialStore); Boolean insertMaterialStore(@Param("type") String type, @Param("json") String json); Boolean updateMaterialStore(@Param("type") String type, @Param("json") String json, @Param("id") Long id); Boolean deleteMaterialStore(@Param("id") Long id); Integer selectMaterialStore(@Param("id") Long id); Integer selectMaterialStoreJson(@Param("json") String json); }