| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectIdcNoIndexVo"> |
| | | select id, tel_no, production_year, index from idc_no_index |
| | | select id, tel_no, production_year, 'index' from idc_no_index |
| | | </sql> |
| | | |
| | | <select id="selectIdcNoIndexList" parameterType="IdcNoIndex" resultMap="IdcNoIndexResult"> |
| | |
| | | <where> |
| | | <if test="telNo != null and telNo != ''"> and tel_no = #{telNo}</if> |
| | | <if test="productionYear != null and productionYear != ''"> and production_year = #{productionYear}</if> |
| | | <if test="index != null and index != ''"> and index = #{index}</if> |
| | | <if test="index != null and index != ''"> and 'index' = #{index}</if> |
| | | </where> |
| | | </select> |
| | | |