|
@ -21,6 +21,6 @@ public interface ServiceItemPlanDao extends JpaRepository<ServiceItemPlanDO, Str
|
|
|
List<ServiceItemPlanDO> findBySignIdAndServiceItemId(String signId, String serviceItemId);
|
|
|
|
|
|
@Modifying
|
|
|
@Query("UPDATE base_service_item_plan SET status='1' ,complete_time=?3 WHERE status='0' AND sign_id=?1 AND service_pack_id=?2 ORDER BY plan_time DESC LIMIT 1")
|
|
|
@Query(value ="UPDATE base_service_item_plan SET status='1' ,complete_time=?3 WHERE status='0' AND sign_id=?1 AND service_pack_id=?2 ORDER BY plan_time DESC LIMIT 1", nativeQuery = true)
|
|
|
void updateState(String signId, String packageId, Date date);
|
|
|
}
|