懒羊羊
2023-11-25 9bd5461a1387becd4da03158061a1ed17ddf6a6c
guns-vip-main/src/main/java/cn/stylefeng/guns/modular/cm/passingStationCollection/mapper/mapping/PassingStationCollectionMapper.xml
@@ -136,4 +136,15 @@
            location_code
    </select>
    <select id="bigCenterRightTable" resultType="Integer">
        SELECT COUNT(*) AS sumNumber FROM cm_passing_station_collection
        WHERE 1 = 1
          AND location_code = 'OP170'
          AND work_order_no = #{workOrderNo}
          AND create_time BETWEEN #{startTime} AND #{endTime}
        <if test="qualifiedFlag != null and qualifiedFlag != ''">
            and out_rs_sign = #{qualifiedFlag}
        </if>
    </select>
</mapper>