zyy
2025-11-20 4e5138fdfd60edf0d67787582905dfcc0801d667
trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java
@@ -50,10 +50,10 @@
                                     @RequestParam(value = "startTime") String startTime,
                                     @RequestParam(value = "endTime") String endTime,
                                     @RequestParam(value = "discount", required = false) String discount,
                                     @RequestParam(value = "period") Integer period,
                                     @RequestParam(value = "period", required = false) Integer period,
                                     @RequestParam(value = "nowPrice") String nowPrice,
                                     @RequestParam(value = "switchType", defaultValue = "0") Integer switchType) {
        return stockDzService.addByAdmin(stockCode, stockNum, password, startTime, endTime, discount, period,nowPrice,switchType);
        return stockDzService.addByAdmin(stockCode, stockNum, password, startTime, endTime, discount, period,nowPrice,switchType, Constants.US_STOCKS);
    }
    /**
@@ -76,7 +76,7 @@
    @ApiOperation("大宗交易审核列表")
    @RequestMapping({"getDzCheckList.do"})
    @PostMapping({"getDzCheckList.do"})
    @ResponseBody
    public Result getDzCheckList(@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
                                  @RequestParam(value = "pageSize", defaultValue = "15") int pageSize,
@@ -85,12 +85,12 @@
        return stockDzService.getDzCheckList(pageNum, pageSize, state, stockCode, Constants.US_STOCKS);
    }
    //大宗审核
    @RequestMapping({"dzCheck.do"})
    @ApiOperation("大宗审核")
    @PostMapping({"dzCheck.do"})
    @ResponseBody
    public Result check(@RequestParam(value = "id") String id,
                                @RequestParam(value = "checkType") Integer checkType,
                                @RequestParam(value = "orderNum") Double orderNum) {
                                @RequestParam(value = "orderNum", required = false) Double orderNum) {
        if(checkType != 2 && (id == null || checkType == null || orderNum == null)){
            return Result.failed("参数不能为空");
        }