liding
3 小时以前 444409ba734d4457f9109f0b71422b83fed60cd6
inspect-server/src/main/resources/mapper/InsOrderMapper.xml
@@ -241,7 +241,7 @@
        </if>
    </select>
    <select id="selectDeviceList" resultType="java.util.Map">
    <select id="selectDeviceListByIds" resultType="java.util.Map">
        select device_name,
               en_device_name,
               specification_model,
@@ -249,10 +249,14 @@
               date_format(activation_date,'%Y-%m-%d')
        latest_traceability
        from device
        where device.management_number in
        <foreach collection="managementNumbers" index="index" open="(" separator="," close=")" item="val">
        where device.id in
        <foreach collection="deviceIds" index="index" open="(" separator="," close=")" item="val">
            #{val}
        </foreach>
        order by field(device.id,
        <foreach collection="deviceIds" index="index" separator="," item="val">
            #{val}
        </foreach>)
    </select>
    <update id="updateStatus">