|  |  | 
 |  |  | package com.dy.pmsGlobal.daoPr; | 
 |  |  |  | 
 |  |  | import cn.hutool.json.JSONObject; | 
 |  |  | import com.dy.pmsGlobal.pojoPr.PrAssemblyPlan; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  | 
 |  |  |  | 
 |  |  |     int deleteLogicById(Long id); | 
 |  |  |  | 
 |  |  |     boolean exists(String name, Long id); | 
 |  |  |     boolean exists(@Param("name") String name, @Param("id") Long id); | 
 |  |  |  | 
 |  |  |     List<PrAssemblyPlan> selectList(PrAssemblyPlan params); | 
 |  |  |     PrAssemblyPlan selectByDeviceNo(@Param("proCode") String proCode,@Param("batchNumber") String batchNumber); | 
 |  |  |  | 
 |  |  |     Long countByPlanIdAndNodeId(@Param("planId") Long planId,@Param("nodeId") Long nodeId); | 
 |  |  |  | 
 |  |  |     List<JSONObject> selectByPlanName(@Param("planName") String planName); | 
 |  |  |  | 
 |  |  |     PrAssemblyPlan selectByBatchId(@Param("batchId") Long batchId); | 
 |  |  |  | 
 |  |  |     List<JSONObject> queryPlanList(); | 
 |  |  |  | 
 |  |  |     List<PrAssemblyPlan> selectAssyPlanList(PrAssemblyPlan params); | 
 |  |  |  | 
 |  |  |     List<PrAssemblyPlan> selectAssyPlanSimplify(PrAssemblyPlan params); | 
 |  |  | } |