|
|
@ -17,7 +17,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
@ -52,7 +55,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
@ -91,7 +97,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
@ -131,7 +140,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
@ -299,7 +311,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
@ -332,7 +347,10 @@ |
|
|
|
<choose> |
|
|
|
<!-- 参与用户 --> |
|
|
|
<when test='regOrPartiFlag == "parti"'> |
|
|
|
AND PARTICIPATION = '1' |
|
|
|
AND ( |
|
|
|
( FIRST_REGISTER = '1' AND REGISTER = '1' AND PARTICIPATION = '1' ) |
|
|
|
OR ( FIRST_REGISTER = '0' AND REGISTER = '0' AND PARTICIPATION = '1' ) |
|
|
|
) |
|
|
|
</when> |
|
|
|
<!-- 默认查注册用户 --> |
|
|
|
<otherwise> |
|
|
|