123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?xml version="1.0" encoding="UTF-8"?>
- <das-client>
- <Sqls>
- <!--<Sql name='getCategoryList'>
- <![CDATA[
- select m.*, ISNULL (n.CategoryId) as isSubscrive from Org_Category m left JOIN
- User_Subscrive n on m.CategoryId=n.CategoryId and 1=1 @UserId where 1=1 and CategoryState!=2 @Condition
- ]]>
- </Sql>-->
- <Sql name='getCategoryList'>
- <![CDATA[
- select m.* from Org_Category m where 1=1 and CategoryState!=2 @Condition
- ]]>
- </Sql>
-
- <Sql name='addCategory'>
- <![CDATA[
- INSERT INTO Org_Category
- (
- CategoryId,
- CategoryName,
- CategoryLevel,
- SecondLevelId,
- FirstLevelId,
- OrgName,
- OrgId,
- CategoryState,
- InsertTime,
- UpdateTime,
- OperatorName,
- OperatorId
- )
- VALUES(?,?,?,?,?,?,?,?,?,?,?,?)
- ]]>
- </Sql>
-
-
- <Sql name='updateCategory'>
- <![CDATA[
- update Org_Category set @behaviorParam where 1=1 @Condition
- ]]>
- </Sql>
-
- </Sqls>
- </das-client>
|