XiaoRuby
2023-09-07 088ceb9faf6f1d0d9f57bb9cd65f542337d40b7f
inspect-server/src/main/java/com/yuanchu/mom/service/InspectionItemService.java
@@ -1,7 +1,7 @@
package com.yuanchu.mom.service;
import com.yuanchu.mom.pojo.InspectionItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.InspectionItem;
import com.yuanchu.mom.pojo.dto.InspectionItemDto;
import com.yuanchu.mom.pojo.dto.UpdateInspectionItemDto;
@@ -18,11 +18,28 @@
 */
public interface InspectionItemService extends IService<InspectionItem> {
    void insertList(Integer finishInspectId, List<Map<String, Object>> list);
    List<InspectionItemDto> selectInspectionItem(Integer finishInspectId);
    /**
     * 新增按钮-->2、查询所有检验项目
     * @param id
     * @return
     */
    List<InspectionItemDto> selectInspectionItem(Integer id, Integer type);
    /**
     * 新增按钮-->2、检验项目-->失去焦点发起该请求
     * @param username
     * @param updateInspectionItemDto
     * @return
     */
    Integer addProcessInspectionSheet(String username, UpdateInspectionItemDto updateInspectionItemDto);
    List<Map<String, Object>> selectDeviceIdAndName();
    /**
     * 新增按钮-->选择设备
     * @param technologyId
     * @param father
     * @param name
     * @return
     */
    List<Map<String, Object>> chooseDev(Integer technologyId, String father, String name);
}