liusheng
2025-10-21 2d84b9771e11b64f4224c57ebc36a157fe9a15b4
smartor/src/main/java/com/smartor/service/impl/ServiceTelInfoServiceImpl.java
@@ -4,7 +4,6 @@
import com.smartor.mapper.UtilsMapper;
import com.smartor.service.IServiceTelInfoService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.ObjectUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -24,7 +23,7 @@
     */
    @Override
    public List<Map<String,Object>> getList(String orgid) {
        String where=" where state=0  OR DATE_ADD(editTime, INTERVAL 10 MINUTE)< NOW() ";
        String where=" where (state=0  OR DATE_ADD(editTime, INTERVAL 10 MINUTE)< NOW()) ";
        if(ObjectUtils.isNotEmpty(orgid))
            where=where+" and orgid='"+orgid+"'";
       List<Map<String,Object>> lists= utilsMapper.getList("select * from service_telinfo " +where);