fix(repository): 修正质检物料查询排序字段
- 将查询结果排序字段从id改为material_no - 优化查询逻辑,使排序符合业务需求 - 保持查询条件和结构不变,确保兼容性
This commit is contained in:
parent
c9f0e112d6
commit
66f732bf66
|
|
@ -94,7 +94,7 @@
|
|||
AND material_name ilike concat('%', #{request.materialName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY id DESC
|
||||
ORDER BY material_no DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue