chenlu
2024-03-29 6c17e1f3da486ffd16b7237d9bc35a9bcbef5348
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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);
 
    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);
 
}