guoyujie
4 小时以前 d5bb894f9be2e0a3b62d475b60b44f2ab138528c
north-glass-erp/src/main/java/com/example/erp/mapper/mm/MaterialStoreMapper.java
New file
@@ -0,0 +1,40 @@
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<MaterialStore,Long> {
    List<MaterialStore> getSelectMaterialStore(@Param("offset") Integer offset,
                                     @Param("pageSize") Integer pageSize,
                                     @Param("materialStore") MaterialStore materialStore);
    List<MaterialStore> getSelectMaterialStores(@Param("materialStore") MaterialStore materialStore);
    MaterialStore getSelectMaterialStoreById(@Param("id") Long id);
    Map<String,Integer> 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);
}