|
|
@ -159,23 +159,7 @@ |
|
|
|
and t.rec_status = 0 |
|
|
|
) c2 on c1.`code` = c2.parent_code |
|
|
|
|
|
|
|
<if test="code==null or code==''"> |
|
|
|
<if test="nums == 0"> |
|
|
|
and (c1.`report_type`in (0,1)) |
|
|
|
</if> |
|
|
|
<if test="nums == 14"> |
|
|
|
and (c1.`report_type`in (1)) |
|
|
|
</if> |
|
|
|
<if test="nums == 90"> |
|
|
|
and (c1.`report_type`in (1)) |
|
|
|
</if> |
|
|
|
<if test="nums == 180"> |
|
|
|
and (c1.`report_type`in (2)) |
|
|
|
</if> |
|
|
|
<if test="nums == 365"> |
|
|
|
and (c1.`report_type`in (2)) |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
<select id="queryCodeAll" resultType="java.lang.String"> |
|
|
|