|
@@ -4,9 +4,15 @@ import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.util.PushFeedbackConn;
|
|
import com.diagbot.util.PushFeedbackConn;
|
|
import com.diagbot.util.StringUtil;
|
|
import com.diagbot.util.StringUtil;
|
|
import com.diagbot.vo.his.FeedbackHosVO;
|
|
import com.diagbot.vo.his.FeedbackHosVO;
|
|
|
|
+import com.google.common.collect.Lists;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.util.Collection;
|
|
|
|
+import java.util.Iterator;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.ListIterator;
|
|
|
|
+
|
|
@Component
|
|
@Component
|
|
@Slf4j
|
|
@Slf4j
|
|
public class FeedbackHosFacade {
|
|
public class FeedbackHosFacade {
|
|
@@ -36,4 +42,15 @@ public class FeedbackHosFacade {
|
|
return RespDTO.onError("推送缺陷反馈失败,请联系维护人员!!!");
|
|
return RespDTO.onError("推送缺陷反馈失败,请联系维护人员!!!");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public RespDTO statusQuery(FeedbackHosVO feedbackHosVO){
|
|
|
|
+ try{
|
|
|
|
+ //List<FeedbackHosVO>
|
|
|
|
+ List<FeedbackHosVO> statusList=conn.statusQuery(feedbackHosVO);
|
|
|
|
+ return RespDTO.onSuc(statusList);
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+ return RespDTO.onError("获取状态异常!!");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|