zss
2023-08-22 9263a9be2c9c820c322dd734c4c18b0bcd05f91e
inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
@@ -42,9 +42,9 @@
    <select id="getResultNum" resultType="java.util.Map">
        select ip.name,
               equipment_name instrumentname,
               start_time     startTime,
               DATE_FORMAT(start_time, '%Y-%m-%d') startTime,
               user.name      checkname,
               end_time       endTime
               DATE_FORMAT(end_time, '%Y-%m-%d')   endTime
        from lims_laboratory.inspection_product ip
                 left join lims_laboratory.inspection_material on ip.inspection_material_id = inspection_material.id
                 left join lims_laboratory.inspection i on inspection_material.inspection_id = i.id
@@ -52,5 +52,7 @@
                 left join lims_laboratory.user on ip.user_id = user.id
        where ip.state=1
        and test_state is null
        order by start_time
        limit 4
    </select>
</mapper>