Browse Source

完善代码

yuansh 2 months ago
parent
commit
31e8c5f254

+ 24 - 0
srm-module-code/src/main/java/org/jeecg/modules/saleCode/controller/SaleOrderController.java

@@ -170,6 +170,30 @@ public class SaleOrderController {
         return Result.OK(pageList);
     }
 
+    /**
+     * 销售订单弹框明细
+     *
+     * @param saleInquiryForm
+     * @param pageNo
+     * @param pageSize
+     * @param req
+     * @return
+     */
+    @ApiOperation(value = "销售订单弹框明细", notes = "销售订单弹框明细")
+    @GetMapping(value = "/selectSaleOrderDetailAlertExistSup")
+    @PermissionData(pageComponent="saleCode/salesOrder/SaleOrderFormList")
+    public Result<IPage<SaleOrderAlert>> selectSaleOrderDetailAlertExistSup(SaleOrderAlert saleInquiryForm,
+                                                                  @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
+                                                                  @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
+                                                                  HttpServletRequest req) {
+
+        QueryWrapper<SaleOrderAlert> queryWrapper = QueryGenerator.initQueryWrapper(saleInquiryForm, req.getParameterMap());
+        Page<SaleOrderAlert> page = new Page<SaleOrderAlert>(pageNo, pageSize);
+        queryWrapper.isNotNull("supplier_id");
+        IPage<SaleOrderAlert> pageList = saleOrderProductService.selectSaleOrderDetailAlert(page, queryWrapper);
+        return Result.OK(pageList);
+    }
+
 
     /**
      * 添加