完善注释

This commit is contained in:
刘名喜 2024-11-05 16:51:49 +08:00
parent e75be5d985
commit 491f1ed0a4

View File

@ -1,6 +1,5 @@
package com.ktg.mes.md.controller;
import com.ktg.mes.md.service.IMdUnitMeasureService;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
@ -8,6 +7,7 @@ import com.ktg.common.core.page.TableDataInfo;
import com.ktg.common.enums.BusinessType;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.mes.md.domain.MdUnitMeasure;
import com.ktg.mes.md.service.IMdUnitMeasureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@ -39,6 +39,9 @@ public class MdUnitMeasureController extends BaseController
return getDataTable(list);
}
/**
* 查询主列表
*/
@GetMapping("/listprimary")
public AjaxResult listPrimary(){
MdUnitMeasure mdUnitMeasure = new MdUnitMeasure();
@ -47,6 +50,9 @@ public class MdUnitMeasureController extends BaseController
return AjaxResult.success(list);
}
/**
* 选中全部
*/
@GetMapping("/selectall")
public AjaxResult selectAll(){
MdUnitMeasure mdUnitMeasure = new MdUnitMeasure();