XiaoRuby
2023-09-07 088ceb9faf6f1d0d9f57bb9cd65f542337d40b7f
standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java
@@ -2,6 +2,7 @@
import com.yuanchu.mom.pojo.Technology;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.dto.TechnologyDto;
import java.util.List;
import java.util.Map;
@@ -29,4 +30,43 @@
     * @return
     */
    List<Map<String,Object>> selectAllTec(Integer specificationsId, Integer version,String message);
    /**
     * 右上角新增-->工艺路线-->选择设备组
     * @return
     */
    List<Map<String, Object>> chooseDevice();
    /**
     * 右上角新增-->工艺路线-->选择工序
     * @return
     */
    List<Map<String,Object>> chooseFather(Integer specificationsId);
    /**
     * 右上角新增-->工艺路线
     * @param specificationsId
     * @param technologyDto
     */
    void addTechnology(Integer specificationsId, TechnologyDto technologyDto);
    /**
     * 填写生产定额,鼠标移开保存
     * @param id
     * @param productionQuota
     * @return
     */
    Integer write(Integer id, Integer productionQuota);
    /**
     * 删除
     * @param id
     */
    void delTechById(Integer id);
    /**
     * 批量删除
     * @param ids
     */
    void delAllTech(String ids);
}