| | |
| | | <if test="shipId!=null"> |
| | | and c.ship_id = ${shipId} |
| | | </if> |
| | | <if test="deptId!=null"> |
| | | and a.dept_id = ${deptId} |
| | | </if> |
| | | <if test="teamId!=null"> |
| | | and a.TEAMGROUP_ID = ${teamId} |
| | | </if> |
| | | <if test="cabinId!=null"> |
| | | and a.cabin_id LIKE '%${cabinId}%' |
| | | </if> |
| | | <if test="type!=null and type!=''"> |
| | | and a.type = #{type} |
| | | </if> |
| | | <if test="name!=null and name!=''"> |
| | | and a.name LIKE '%${name}%' |
| | | </if> |
| | | group by a.id |
| | | </select> |
| | | |
| | |
| | | where is_delete = 0 |
| | | and LEVEL1_network_id = ${level1NetworkId} |
| | | </select> |
| | | <select id="getListByExport" resultType="com.example.client.dto.JComboBoxItem"> |
| | | SELECT |
| | | a.* |
| | | FROM `dj_jdgz_network_level3` a |
| | | where |
| | | a.is_delete = 0 |
| | | <if test="projectId!=null"> |
| | | and a.LEVEL1_network_id = ${projectId} |
| | | </if> |
| | | <if test="deptId!=null"> |
| | | and a.dept_id = ${deptId} |
| | | </if> |
| | | <if test="teamId!=null"> |
| | | and a.TEAMGROUP_ID = ${teamId} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | </mapper> |