业务数据逻辑.txt 985 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. 1.正式常规任务与临时任务的区别,
  2. 2.如何查询超期未完成的伤
  3. dt_article 检查标准 或者 待检任务
  4. SetNoFinish
  5. select * from dt_article where add_time < GetDate() and status=0 and is_top=0 and is_sys = 0
  6. select * from dt_article where add_time < GetDate() and status=0 and is_top=0 and is_sys = 0
  7. select * from dt_article_category where seo_keywords != '' and id in(select category_id from dt_article where is_top=1)
  8. select * from dt_article where is_top=1
  9. -- 已完成 待审核
  10. select * from dt_article
  11. where is_msg = 0 -- 待审核
  12. and status = 1 -- 已完成
  13. and is_top = 0 -- 非标准
  14. 1插入正常任务
  15. AddTask
  16. article_category 检查项目,检查点
  17. article 检查标准 is_top = 1
  18. SetNoFinish status = 3 是什么意思
  19. status, is_top = 0
  20. 0 未完成
  21. 1 已完成
  22. 2 已取消
  23. 3 无完成
  24. is_msg
  25. 0 待审核
  26. 1 已审核
  27. is_top = 1
  28. 检查标准
  29. audit_result 0-重检,1-确认通过
  30. article_attribute_value 检查频率
  31. GetForAudit type = 1 管理员查找 过期未做
  32. GetTaskCount type = 3 会员查看 过期未做
  33. convert(varchar(10),GETDATE(),120)