单位-分类导出
This commit is contained in:
@@ -13,6 +13,7 @@ import com.czg.validator.group.InsertGroup;
|
||||
import com.czg.validator.group.UpdateGroup;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -52,6 +53,12 @@ public class ShopProdCategoryController {
|
||||
return CzgResult.success(data);
|
||||
}
|
||||
|
||||
@GetMapping("/export")
|
||||
@OperationLog("商品分类-导出")
|
||||
public void exportShopProdCategory(ShopProdCategoryDTO param, HttpServletResponse response) {
|
||||
shopProdCategoryService.exportShopProdCategory(param, response);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@OperationLog("商品分类-详情")
|
||||
//@SaAdminCheckPermission("shopProdCategory:info")
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.czg.validator.group.InsertGroup;
|
||||
import com.czg.validator.group.UpdateGroup;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -53,6 +54,12 @@ public class ShopProdUnitController {
|
||||
return CzgResult.success(data);
|
||||
}
|
||||
|
||||
@GetMapping("/export")
|
||||
@OperationLog("商品单位-导出")
|
||||
public void exportProduct(ShopProdUnitDTO param, HttpServletResponse response) {
|
||||
shopProdUnitService.exportShopProdUnit(param, response);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@OperationLog("商品单位-详情")
|
||||
//@SaAdminCheckPermission("shopProdUnit:info")
|
||||
|
||||
Reference in New Issue
Block a user