| | |
| | | level = 3 |
| | | and parent_id = #{terms.queArea} |
| | | </if> |
| | | <if test="terms.queRoad != null and terms.queRoad !=''"> |
| | | level = 4 |
| | | and parent_id = #{terms.queRoad} |
| | | </if> |
| | | ORDER BY level ASC,create_time ASC |
| | | </select> |
| | | |
| | |
| | | and t4.handle_result = 3 |
| | | and t4.node_id in ('ZJ_DFP', 'QJ_DFP', 'SJ_DFP', 'DFP', 'QJ_DSL', 'SJ_DSL', 'DSL', 'ZJ_DSL') |
| | | </if> |
| | | <if test="terms.unitGrade != null and terms.unitGrade !=''"> |
| | | and t1.unit_grade = #{terms.unitGrade} |
| | | </if> |
| | | <include refid="statisticsCirculation-wherePart"/> |
| | | </select> |
| | | |
| | |
| | | and t4.handle_result = 3 |
| | | and t4.node_id in ('ZJ_DFP', 'QJ_DFP', 'SJ_DFP', 'DFP', 'QJ_DSL', 'SJ_DSL', 'DSL', 'ZJ_DSL') |
| | | </if> |
| | | <if test="terms.unitGrade != null and terms.unitGrade !=''"> |
| | | and t1.unit_grade = #{terms.unitGrade} |
| | | </if> |
| | | <include refid="statisticsCirculation-wherePart"/> |
| | | <if test="page.sort != null"> |
| | | <foreach collection="page.sort" item="s" index="index" separator="," open="order by "> |