|
|
@ -233,10 +233,18 @@ namespace FLocal.Common.dataobjects { |
|
|
|
return Post.LoadByIds( |
|
|
|
return Post.LoadByIds( |
|
|
|
from stringId in Config.instance.mainConnection.LoadIdsByConditions( |
|
|
|
from stringId in Config.instance.mainConnection.LoadIdsByConditions( |
|
|
|
Post.TableSpec.instance, |
|
|
|
Post.TableSpec.instance, |
|
|
|
new ComparisonCondition( |
|
|
|
new ComplexCondition( |
|
|
|
parent.additionalTable.getColumnSpec(Post.TableSpec.FIELD_POSTERID), |
|
|
|
ConditionsJoinType.AND, |
|
|
|
ComparisonType.EQUAL, |
|
|
|
new ComparisonCondition( |
|
|
|
this.id.ToString() |
|
|
|
parent.additionalTable.getColumnSpec(Post.TableSpec.FIELD_POSTERID), |
|
|
|
|
|
|
|
ComparisonType.EQUAL, |
|
|
|
|
|
|
|
this.id.ToString() |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
new ComparisonCondition( |
|
|
|
|
|
|
|
Post.TableSpec.instance.getIdSpec(), |
|
|
|
|
|
|
|
ComparisonType.GREATEROREQUAL, |
|
|
|
|
|
|
|
Thread.FORMALREADMIN.ToString() |
|
|
|
|
|
|
|
) |
|
|
|
), |
|
|
|
), |
|
|
|
diapasone, |
|
|
|
diapasone, |
|
|
|
new JoinSpec[] { |
|
|
|
new JoinSpec[] { |
|
|
|