APm4GGroupVolteDao.java 1.4 KB

1234567891011121314151617181920212223242526
  1. package www.com.tencent.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.apache.ibatis.annotations.Select;
  6. import org.apache.ibatis.annotations.Update;
  7. import www.com.tencent.pojo.fourthgenerationentity.commonality.OrderEntity;
  8. import www.com.tencent.pojo.fourthgenerationentity.list.APm4GGroupDataListTopD;
  9. import www.com.tencent.pojo.fourthgenerationentity.voice.APm4GGroupVolteLowfeEntity;
  10. import java.util.List;
  11. //低感知小区--4G语音低感知数据同步接口 Dao层
  12. @Mapper
  13. public interface APm4GGroupVolteDao extends BaseMapper<APm4GGroupVolteLowfeEntity> {
  14. @Select("select distinct on (\"oid\")* from app_screen.a_pm_4g_group_volte_lowfell_m where \"oid\" =#{eci} and sdate =(select max(sdate) from app_screen.a_pm_4g_group_volte_lowfell_m) ")
  15. APm4GGroupVolteLowfeEntity selectByVolteEci(String eci);
  16. //集团反馈回单拿work去语音抵质感集团表查
  17. @Select("select * from app_screen.a_pm_4g_group_volte_lowfell_m where\"oid\"=#{workId} and sdate=#{sdate}")
  18. OrderEntity selectByOrderId(@Param("workId") String workId,@Param("sdate")String sdate);
  19. //用工单编号查询什么时候加Yes
  20. @Update("update app_screen.a_pm_4g_group_volte_lowfell_m set send_flag ='Yes' where order_id =#{orderId}")
  21. void updateFlag(String orderId);
  22. }