| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gkhy.safePlatform.equipment.entity.SafeMaterialBO; |
| | | import com.gkhy.safePlatform.equipment.entity.SafeMaterialDO; |
| | | import com.gkhy.safePlatform.equipment.entity.SafeMaterialInfo; |
| | | import com.gkhy.safePlatform.equipment.model.dto.req.SafeMaterialQuery; |
| | |
| | | @Repository |
| | | public interface SafeMaterialInfoRepository extends BaseMapper<SafeMaterialInfo> { |
| | | |
| | | SafeMaterialInfo queryById(Long id); |
| | | SafeMaterialDO queryById(Long id); |
| | | |
| | | int getTotalCount(); |
| | | |
| | |
| | | int getCountBySmallClassifyId(Long smallClassifyId); |
| | | |
| | | Integer checkMatrial(@Param("smallClassifyId") Long smallClassifyId, @Param("depId") Long depId,@Param("id") Long id); |
| | | |
| | | void updateCountById(SafeMaterialBO safeMaterialBO); |
| | | |
| | | void updateStockCount(List<SafeMaterialBO> safeMaterialBOList); |
| | | } |