From 4574296e4453f0cbb75a5fdb8bb39fa43c87297c Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 15 八月 2024 15:07:26 +0800 Subject: [PATCH] @param --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java index 8cf66bc..22eed32 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceProductionLogMapper.java @@ -2,11 +2,15 @@ import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.Date; +import java.util.List; /** * @author User * @description 閽堝琛ㄣ�恠ta_device_production_log(璁惧鐢熶骇鏃ュ織琛�)銆戠殑鏁版嵁搴撴搷浣淢apper -* @createDate 2024-06-19 14:21:17 +* @createDate 2024-06-22 11:43:04 * @Entity com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog */ @Mapper @@ -20,6 +24,10 @@ StaDeviceProductionLog selectByPrimaryKey(Long id); + List<StaDeviceProductionLog> selectByDeviceNo(String deviceNo); + + List<StaDeviceProductionLog> selectProductLog(@Param("deviceNo") String deviceNo,@Param("startTime") Date startTime,@Param("endTime") Date endTime); + int updateByPrimaryKeySelective(StaDeviceProductionLog record); int updateByPrimaryKey(StaDeviceProductionLog record); -- Gitblit v1.8.0