luguang 6 hónapja%!(EXTRA string=óta)
szülő
commit
6c4ba915ab

+ 1 - 0
src/main/java/com/sy/coinage/workshop/controller/DeliveryDetailController.java

@@ -56,6 +56,7 @@ public class DeliveryDetailController extends BaseController {
     public List<DeliveryDetail> list(@RequestBody DeliveryDetailListReq req, @CurrentUser CacheUserVO user) {
         QueryWrapper<DeliveryDetail> queryWrapper = new QueryWrapper<>();
         queryWrapper.eq("delivery_id", req.getDeliveryId());
+        queryWrapper.orderByAsc("serial_number");
         List<DeliveryDetail> data = this.deliveryDetailService.queryList(queryWrapper);
         return data;
     }

+ 1 - 0
src/main/java/com/sy/coinage/workshop/controller/WorkshopOutboundDetailController.java

@@ -54,6 +54,7 @@ public class WorkshopOutboundDetailController extends BaseController {
                                              @CurrentUser CacheUserVO user) {
         QueryWrapper<WorkshopOutboundDetail> queryWrapper = new QueryWrapper<>();
         queryWrapper.eq("out_id", req.getOutId());
+        queryWrapper.orderByAsc("serial_number");
         List<WorkshopOutboundDetail> data = this.workshopOutboundDetailService.querylist(queryWrapper);
         return data;
     }