@Query(value="SELECT count(*) as num FROM allot_bill WHERE delete_tag = 0 AND receive_unit_id = ?1 AND update_time BETWEEN ?2 AND ?3",nativeQuery=true)
@@ -31,9 +31,9 @@ public interface MatchingDeviceLibraryDao extends JpaRepository<MatchingDeviceLi
@Transactional
@Modifying
@Query("update MatchingDeviceLibrary m set m.lifeStatus = :status, m.remake = :remake, m.statusJson = :statusJson, m.stopUnitId = :stopUnitId where m.id in :matchingDeviceIds")
@Query("update MatchingDeviceLibrary m set m.lifeStatus = :status, m.stopReason = :stopReason, m.statusJson = :statusJson, m.stopUnitId = :stopUnitId where m.id in :matchingDeviceIds")