| | |
| | | import me.zhengjie.modules.attendance.domain.AttendanceBusinessTravel; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | |
| | | import java.time.LocalDateTime; |
| | |
| | | |
| | | @Query |
| | | List<AssetUseManagement> findByMeetingId(Long meeting); |
| | | |
| | | // 根据资产id删除数据 |
| | | @Modifying |
| | | @Query(value = "delete from asset_use_management where asset_id = ?1",nativeQuery = true) |
| | | void deleteByAssetId(Long assetId); |
| | | } |