zss
2023-09-25 d1ea726be5628c46fb6be700a0197002d55d39f1
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,29 @@
 */
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 id
     * @param type
     * @param devId
     */
    void updateDevByInsId(Integer id, Integer type, Integer devId);
}