yb
2 天以前 672c8317bb13928d7eb79ac4911302eb4cbcf961
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcEquipmentMagnificationController.java
@@ -13,6 +13,7 @@
import org.jeecg.modules.mdc.entity.MdcProcessQuantity;
import org.jeecg.modules.mdc.service.IMdcEquipmentMagnificationService;
import org.jeecg.modules.mdc.vo.MdcEquipmentMagnificationVo;
import org.jeecg.modules.mdc.vo.MdcMagnificationVo;
import org.jeecg.modules.mdc.vo.MdcProcessQuantityVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -52,6 +53,7 @@
    /**
     * 导出excel
     *
@@ -64,4 +66,19 @@
        String userId = user.getId();
        return service.exportXls(userId, magnificationVo);
    }
    /**
     * 倍率报表
     * @param magnificationVo
     * @return
     */
    @AutoLog(value = "倍率报表")
    @ApiOperation(value = "倍率报表", notes = "倍率报表")
    @RequestMapping(value = "/beilvList")
    public Result<?> beilvList(MdcEquipmentMagnificationVo magnificationVo) {
        LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
        String userId = user.getId();
        MdcMagnificationVo vo = service.beilvsList(magnificationVo,userId);
        return Result.OK(vo);
    }
}