完善注释

This commit is contained in:
刘名喜 2024-11-05 16:59:56 +08:00
parent 491f1ed0a4
commit df8fc37da3

View File

@ -1,10 +1,5 @@
package com.ktg.mes.md.controller;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.mes.aspect.BarcodeGen;
import com.ktg.mes.md.domain.MdUnitMeasure;
import com.ktg.mes.md.domain.MdVendor;
import com.ktg.mes.md.service.IMdItemService;
import com.ktg.common.annotation.Log;
import com.ktg.common.constant.UserConstants;
import com.ktg.common.core.controller.BaseController;
@ -13,8 +8,12 @@ import com.ktg.common.core.domain.entity.ItemType;
import com.ktg.common.core.page.TableDataInfo;
import com.ktg.common.enums.BusinessType;
import com.ktg.common.utils.StringUtils;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.mes.aspect.BarcodeGen;
import com.ktg.mes.md.domain.MdItem;
import com.ktg.mes.md.domain.MdUnitMeasure;
import com.ktg.mes.md.service.IItemTypeService;
import com.ktg.mes.md.service.IMdItemService;
import com.ktg.mes.md.service.IMdUnitMeasureService;
import com.ktg.mes.wm.utils.WmBarCodeUtil;
import com.ktg.system.domain.SysOperLog;
@ -26,7 +25,6 @@ import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import javax.validation.constraints.Null;
import java.util.*;
@RestController
@ -89,6 +87,11 @@ public class MdItemController extends BaseController {
return result;
}
/**
* 主列表查询
*
* @return
*/
@GetMapping("/open/selectProduct")
public List<Map<String, String>> selectProduct() {
MdItem mdItem = new MdItem();