| | |
| | | ) tmp on tmp."tb_state_id" = b."guid" |
| | | |
| | | where 1 = 1 |
| | | <if test="attResBase.tbYear !=null and attResBase.tbYear !=''"> |
| | | AND b."tb_year" = #{attResBase.tbYear} |
| | | </if> |
| | | <if test="attResBase.tbQuarter !=null and attResBase.tbQuarter !=''"> |
| | | AND b."tb_quarter" = #{attResBase.tbQuarter} |
| | | </if> |
| | |
| | | |
| | | ) tmp on tmp."tb_state_id" = tdis."guid" |
| | | where 1 = 1 |
| | | <if test="vo.tbYear !=null and vo.tbYear !=''"> |
| | | AND tdis."tb_year" = #{vo.tbYear} |
| | | </if> |
| | | <if test="vo.name !=null and vo.name !=''"> |
| | | AND trd."name" LIKE CONCAT('%',#{vo.name},'%') |
| | | </if> |