Commit 745aedec by 杨浩

供应商订单

parent 41910597
......@@ -79,6 +79,7 @@ public interface ErpPurchaseOrderMapper extends BaseMapperX<ErpPurchaseOrderDO>
.eq(reqVO.getProductId() != null, ErpPurchaseOrderItemDO::getProductId, reqVO.getProductId())
.groupBy(ErpPurchaseOrderDO::getId); // 避免 1 对多查询,产生相同的 1
}
return query;
}
default int updateByIdAndStatus(Long id, Integer status, ErpPurchaseOrderDO updateObj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment