From cda0faf3128ed97e7519d1ca04be079aea64dd93 Mon Sep 17 00:00:00 2001 From: liuxm <liuxm_a@163.com> Date: 星期四, 06 六月 2024 16:34:23 +0800 Subject: [PATCH] 添加验证和异常处理 --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java index baa61eb..c28b029 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java @@ -8,19 +8,21 @@ @Mapper public interface PltProductMapper { - int insert(PltProduct record); - int insertSelective(PltProduct record); PltProduct selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PltProduct record); - int updateByPrimaryKey(PltProduct record); - Long selectSomeCount(Map<String, Object> params); List<PltProduct> selectSome(Map<String, Object> params); int deleteLogicById(Long id); + + List<PltProduct> selectAll(Map<String, Object> params); + + String selectMaxCode(); + + boolean exists(String name, Long id); } \ No newline at end of file -- Gitblit v1.8.0