| | |
| | | LEFT JOIN |
| | | ( |
| | | select * |
| | | from st_client_amount_year cayTb_ |
| | | from st_client_amount_year |
| | | <where> |
| | | <if test="year != null">(cayTb_.`year` = #{year,jdbcType=INTEGER}) |
| | | <if test="year != null"> |
| | | `year` = #{year,jdbcType=INTEGER} |
| | | </if> |
| | | </where> |
| | | ) as cayTb |
| | |
| | | --> |
| | | </trim> |
| | | order by ctb.id DESC |
| | | <!-- 2025-07-14 因为有clientIdsJson限制的数量,所以不再用limit了 |
| | | <!-- 2025-07-14 因为有clientIdsJson限制了数量,所以不再用limit了 |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} |