|
|
|
@ -20,7 +20,7 @@ |
|
|
|
on t1.c601000 = t2.c601000 |
|
|
|
<where> |
|
|
|
<if test="bo.idNumber!=null and bo.idNumber!=''"> |
|
|
|
and t2.C601034 =#{dto.idNumber} |
|
|
|
and t2.C601034 =#{bo.idNumber} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
union all |
|
|
|
@ -41,7 +41,7 @@ |
|
|
|
t1.c301000 = t3.c301000 |
|
|
|
<where> |
|
|
|
<if test="bo.idNumber!=null and bo.idNumber!=''"> |
|
|
|
and t3.c301010 =#{dto.idNumber} |
|
|
|
and t3.c301010 =#{bo.idNumber} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
union all |
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
t1.c201000 = t3.c201000 |
|
|
|
<where> |
|
|
|
<if test="bo.idNumber!=null and bo.idNumber!=''"> |
|
|
|
and t3.c201016 =#{dto.idNumber} |
|
|
|
and t3.c201016 =#{bo.idNumber} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|