@@ -26,4 +26,8 @@ public interface PlanManageService {
*/
PlanManage selectByPlanId(String planId);
+ /**
+ * 按主键查询
+ */
+ PlanManage selectByPrimaryKey(Integer id);
}
@@ -34,4 +34,8 @@ public class PlanManageServiceImpl implements PlanManageService {
return planManageMapper.selectByPlanId(planId);
+ @Override
+ public PlanManage selectByPrimaryKey(Integer id) {
+ return planManageMapper.selectByPrimaryKey(id);
+ }