|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- package vn.azteam.tpf.service;
-
- import vn.azteam.tpf.service.dto.TBCodeDTO;
-
- import java.util.List;
-
- /**
- * Service Interface for managing TBCode.
- */
- public interface TBCodeService {
- TBCodeDTO save(TBCodeDTO tBCodeDTO);
-
- List<TBCodeDTO> saveAll(List<TBCodeDTO> tBCodeDTOs);
-
- // /**
- // * Update crop's PIC
- // * @param cropPersonInChargeDTO
- // * @return the persisted entity
- // */
- // Optional<TBCropDTO> updateCropPersonInCharge(CropPersonInChargeDTO cropPersonInChargeDTO);
- //
- // /**
- // * Get all the tBCrops.
- // *
- // * @param pageable the pagination information
- // * @return the list of entities
- // */
- // Page<TBCropDTO> findAll(Pageable pageable);
- //
- // /**
- // * Get all the TBCrop with eager load of many-to-many relationships.
- // *
- // * @return the list of entities
- // */
- // Page<TBCropDTO> findAllWithEagerRelationships(Pageable pageable);
- //
- // /**
- // * Get the "id" tBCrop.
- // *
- // * @param id the id of the entity
- // * @return the entity
- // */
- // Optional<TBCropDTO> findOne(Long id);
- //
- // /**
- // * Delete the "id" tBCrop.
- // *
- // * @param id the id of the entity
- // */
- // void delete(Long id);
- //
- // /**
- // * Search for the tBCrop corresponding to the query.
- // *
- // * @param query the query of the search
- // *
- // * @param pageable the pagination information
- // * @return the list of entities
- // */
- // Page<TBCropDTO> search(String query, Pageable pageable);
- //
- // /**
- // * Search for the tBCrop corresponding to the query, areaId or netHouseId.
- // *
- // * @param query the query of the search
- // * @param areaId the areaId of the search
- // * @param netHouseId the netHouseId of the search
- // *
- // * @param pageable the pagination information
- // * @return the list of entities
- // */
- // Page<TBCropDTO> searchCrop(String query, Long areaId, Long netHouseId, Pageable pageable);
- //
- // List<TBCustomerHasCropTypeDTO> getAllCustomerHasCropTypeByCustomerAndCropType(Long customerId, Long cropTypeId);
- //
- // List<Long> getListActivityTypeIdByByCustomerAndCropType(Long customerId, Long cropTypeId);
- //
- // List<String> getListActivityTypeNameByByCustomerAndCropType(Long customerId, Long cropTypeId);
- //
- // List<Long> getAllCropIdByCustomer(Long customerId);
- }
|