| | |
| | | <if test="terms.caseTypeFirstName != null and terms.caseTypeFirstName !=''"> |
| | | and t1.case_type_first_name = #{caseTypeFirstName} |
| | | </if> |
| | | <if test="terms.caseTypeName != null and terms.caseTypeName !=''"> |
| | | and t1.case_type_name = #{terms.caseTypeName} |
| | | <if test="terms.caseType != null and terms.caseType !=''"> |
| | | and t1.case_type = #{terms.caseType} |
| | | </if> |
| | | <if test="terms.canal != null and terms.canal !=''"> |
| | | and t1.canal = #{canal} |
| | | and t1.canal = #{terms.canal} |
| | | </if> |
| | | <if test="terms.canalName != null and terms.canalName !=''"> |
| | | and t1.canal_name = #{canalName} |
| | | and t1.canal_name = #{terms.canalName} |
| | | </if> |
| | | <if test="terms.plaintiffs != null and terms.plaintiffs !=''"> |
| | | and t1.plaintiffs = #{terms.plaintiffs} |
| | | </if> |
| | | <if test="terms.defendants != null and terms.defendants !=''"> |
| | | and t1.defendants = #{terms.defendants} |
| | | </if> |
| | | <if test="terms.status != null and terms.status !=''"> |
| | | and t1.status = #{terms.status} |
| | | </if> |
| | | <if test="terms.statusName != null and terms.statusName !=''"> |
| | | and t1.statusName = #{terms.statusName} |
| | |
| | | FROM |
| | | dyh_case_info t1 |
| | | left join dyh_case_info_unfold t2 on t1.id = t2.id |
| | | left join dyh_case_task t4 on t1.id = t4.case_id |
| | | <include refid="where-register-part"/> |
| | | </select> |
| | | <!-- 根据条件统计 --> |