issue 27 comment status refactoring

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8460 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-06-08 02:26:45 +00:00
parent 23453c0aac
commit e56c8ee2a1
12 changed files with 106 additions and 25 deletions

View file

@ -0,0 +1,12 @@
<query id="updateDocumentCommentStatus" action="update">
<tables>
<table name="documents" />
</tables>
<columns>
<column name="comment_status" var="commentStatus" default="ALLOW" />
</columns>
<conditions>
<condition operation="equal" column="allow_comment" var="allowComment" default="Y" pipe="and" />
<condition operation="equal" column="lock_comment" var="lockComment" default="N" pipe="and" />
</conditions>
</query>