| | |
| | | <select id="getList" resultType="com.example.server.progressTrack.model.DjJdgzDismantTrack"> |
| | | select * |
| | | from dj_jdgz_dismant_track |
| | | where LEVEL3_NETWORK_ID = ${level3Id} |
| | | and is_delete = 0 |
| | | where is_delete = 0 |
| | | <if test="level3Id!=null"> |
| | | and LEVEL3_NETWORK_ID = ${level3Id} |
| | | </if> |
| | | <if test="cabinId!=null"> |
| | | and cabin_id = ${cabinId} |
| | | </if> |
| | |
| | | group by b.cabin_id |
| | | order by a.id |
| | | </select> |
| | | <select id="getAll" resultType="com.example.server.progressTrack.model.DjJdgzDismantTrack"> |
| | | select * |
| | | from dj_jdgz_dismant_track |
| | | </select> |
| | | </mapper> |