articlePc.sql.xml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <das-client>
  3. <Sqls>
  4. <Sql name='getArticlePcList'>
  5. <![CDATA[
  6. select * from Org_Article where 1=1 and ArticleState =1 @Condition order by ArticleOrder desc ,UpdateTime desc @PageParam
  7. ]]>
  8. </Sql>
  9. <Sql name='getArticlePcListCount'>
  10. <![CDATA[
  11. select count(1) from Org_Article where 1=1 and ArticleState =1 @Condition
  12. ]]>
  13. </Sql>
  14. <Sql name='queryCategory'>
  15. <![CDATA[
  16. select categoryId,categoryName,categoryLevel,FirstLevelId,SecondLevelId from Org_Category where 1=1 and CategoryState =1 @Condition
  17. ]]>
  18. </Sql>
  19. <Sql name='getArticlePc'>
  20. <![CDATA[
  21. select * from Org_Article where 1=1 and ArticleState =1 and ArticleOrder = 99
  22. ]]>
  23. </Sql>
  24. <Sql name='querySwitchState'>
  25. <![CDATA[
  26. select SwitchState from Config_Sys where SwitchType=1
  27. ]]>
  28. </Sql>
  29. <Sql name='getArticlePcId'>
  30. <![CDATA[
  31. select * from Org_Article where 1=1 and ArticleState =1 @Condition
  32. ]]>
  33. </Sql>
  34. </Sqls>
  35. </das-client>