| | |
| | | import com.mzl.flower.dto.response.flower.FlowerSupplierListDTO; |
| | | import com.mzl.flower.entity.flower.Flower; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | |
| | | void updateFlowerCategoryInfo(Long category); |
| | | |
| | | List<Long> searchInvalidHistory(@Param("userId") String userId); |
| | | |
| | | |
| | | void updateBatchTypeRank(@Param("list") List<Flower> flowerList); |
| | | |
| | | void deleteBatchPhysics(@Param("list") List<Long> ids); |
| | | |
| | | void restoreFlowerBatch(@Param("list") List<Long> ids); |
| | | |
| | | List<Flower> getDeletdFlowByIds(@Param("list") List<Long> ids); |
| | | |
| | | void updateTypeRankNull(@Param("category") Long category, @Param("level") String level); |
| | | |
| | | @Select("select * from t_flower where id = #{id}") |
| | | Flower selectFlowerById(Long id); |
| | | |
| | | @Select("<script>" + |
| | | "SELECT * FROM t_flower WHERE id IN " + |
| | | "<foreach item='id' collection='ids' open='(' separator=',' close=')'>" + |
| | | "#{id}" + |
| | | "</foreach>" + |
| | | "</script>") |
| | | List<Flower> selectFlowersByIds(@Param("ids") List<Long> ids); |
| | | |
| | | } |