From abdfbf6dabca15594ed57a1560bcfffecb0ac854 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期一, 29 七月 2024 16:28:42 +0800 Subject: [PATCH] add number for product_log --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java index a092934..5777468 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java @@ -2,6 +2,7 @@ import com.dy.pmsGlobal.pojoPlt.PltProductionLine; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; @@ -22,7 +23,7 @@ int insertSelective(PltProductionLine record); PltProductionLine selectByPrimaryKey(Long id); - Long selectByNameId(Long id,String name); + Long selectByNameId(@Param("id") Long id, @Param("name") String name); int updateByPrimaryKeySelective(PltProductionLine record); @@ -34,4 +35,5 @@ int deleteLogicById(Long id); + List<PltProductionLine> selectAll(); } -- Gitblit v1.8.0