Browse Source

[feat]

采购管理 采购订单
修改采购订单列表查询mapper方法,添加根据审批状态排序;
dev
王晓迪 1 month ago
parent
commit
095abe4a99
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysSupplierService.java
  2. 2
      ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderMapper.xml

2
ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysSupplierService.java

@ -112,4 +112,6 @@ public interface ISysSupplierService
List<SysSupplier> selectSupplierByPrefix(String prefix);
SysSupplier getSelectSupplier(SysSupplier supplier);
List<SysSupplier> selectSysSupplierByCodes(String[] ids);
}

2
ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderMapper.xml

@ -61,7 +61,7 @@
<if test="supplierName != null and supplierName != ''"> and supplier_name like concat('%', #{supplierName}, '%')</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
</where>
order by create_time desc
order by audit_status asc, create_time desc
</select>
<select id="selectPurchaseOrderById" parameterType="Long" resultMap="PurchaseOrderResult">

Loading…
Cancel
Save