| | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.Material; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.ProductModel; |
| | | import com.yuanchu.limslaboratory.pojo.dto.AddMaterialDto; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | */ |
| | | public interface MaterialService extends IService<Material> { |
| | | |
| | | Integer addMaterialInformation(Material material); |
| | | List<Map> selectMaterialLimit(int pageSize,int countSize, int type); |
| | | |
| | | /** |
| | | * 侧边栏物料数据 |
| | | * @param specificationsId |
| | | * @return |
| | | */ |
| | | List<Map<String, Object>> getListMaterialInformation(String specificationsId); |
| | | |
| | | /** |
| | | * 删除等于MaterialId的数据 |
| | | * @param materialId |
| | | * @return |
| | | */ |
| | | Integer deleteMaterialInformation(String materialId); |
| | | @Transactional(rollbackFor = Exception.class) |
| | | Integer deleteMaterialInformation(Integer materialId); |
| | | |
| | | /** |
| | | * 更新Material的数据 |
| | | * @param material |
| | | * @return |
| | | * 三级添加参数 |
| | | */ |
| | | Integer updateMaterialInformation(Material material); |
| | | @Transactional(rollbackFor = Exception.class) |
| | | Integer addMaterialInformation(AddMaterialDto addMaterialDto); |
| | | |
| | | /** |
| | | * 删除等于SpecificationsId的物料数据 |
| | | * @param deleteSpecificationsId |
| | | * 四级分层显示 |
| | | */ |
| | | List<Map<String, Object>> getFourLevelInformation(); |
| | | |
| | | |
| | | /** |
| | | * 添加指标-->选择样品名称 |
| | | * @return |
| | | */ |
| | | List<String> specificationsIdDeleteMaterial(List<Integer> deleteSpecificationsId); |
| | | List<String> selectmater(); |
| | | |
| | | List<ProductModel> getSample(); |
| | | } |