| | |
| | | ${ew.customSqlSegment} |
| | | </if> |
| | | </select> |
| | | <select id="selectDeviceList" resultType="java.util.Map" parameterType="java.util.Set"> |
| | | select device_name,specification_model,factory_no,latest_traceability from device |
| | | <select id="selectDeviceList" resultType="java.util.Map"> |
| | | select device_name,specification_model,factory_no,date_format(latest_traceability, '%Y-%m-%d') latest_traceability from device |
| | | where device_name in |
| | | <foreach collection="array" open="(" separator="," close=")" item="val"> |
| | | ${val} |
| | | <foreach collection="names" index="index" open="(" separator="," close=")" item="val"> |
| | | #{val} |
| | | </foreach> |
| | | </select> |
| | | |