| | |
| | | and jt.report_type in (5,8) |
| | | </if> |
| | | and jt.is_deleted = 0 |
| | | and jt.house_code is not null |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <!--取保候审人员查询--> |
| | | <select id="getBailReportingPage" resultType="org.springblade.modules.task.vo.TaskVO"> |
| | | SELECT |
| | | IFNULL( jda.address_name, jp.location ) AS address_name, |
| | | IFNULL( jda.address_name, jh.house_name ) AS address_name, |
| | | jtbre.apply_name, |
| | | jh.district_code aoiCode, |
| | | jda.region_code, |
| | |
| | | </if> |
| | | |
| | | <if test="task.aoiCode != null and task.aoiCode != null"> |
| | | and jgr.district_code = #{task.aoiCode} |
| | | and jh.district_code = #{task.aoiCode} |
| | | </if> |
| | | |
| | | <if test="task.neiCode != null and task.neiCode != null"> |