aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml
@@ -287,7 +287,8 @@ unmatched_quantity,version from aps_plate_plan where del_flag='0' and professional_affiliation !='0' and unmatched_quantity > 0 <if test="plant != null and plan !='' "> and plant = #{plant}</if> <if test="plant != null and plant !='' "> and plant = #{plant}</if> <if test="itemNumber != null and itemNumber !='' "> and item_number = #{itemNumber}</if> order by document_number asc,id asc limit 1 </select>