From e208aa1ef8e861dba168e8d83ab3066fc9f1e02d Mon Sep 17 00:00:00 2001 From: 严智鑫 <test> Date: 星期二, 16 四月 2024 13:30:45 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/mapper/GlassInfoMapper.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/mapper/GlassInfoMapper.java b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/mapper/GlassInfoMapper.java new file mode 100644 index 0000000..a8efa7c --- /dev/null +++ b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/mapper/GlassInfoMapper.java @@ -0,0 +1,28 @@ +package com.mes.glassinfo.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.mes.glassinfo.entity.GlassInfo; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.Update; +import org.mapstruct.Mapper; + +/** + * <p> + * Mapper 鎺ュ彛 + * </p> + * + * @author zhoush + * @since 2024-03-27 + */ +@Mapper +public interface GlassInfoMapper extends BaseMapper<GlassInfo> { + + +// @Select("SELECT COUNT(*) FROM glass_info WHERE flowcard_id = #{flowCardId}") +// int getGlassInfoCountByFlowCardId(@Param("flowCardId") String flowCardId); + +// @Update("UPDATE down_workstation SET total_quantity = #{glassInfoCount},flow_card_id=#{flowCardId} WHERE workstation_id = #{workstationId}") +// int updateFlowCardIdAndCount(@Param("flowCardId") String flowCardId, @Param("glassInfoCount") int glassInfoCount,@Param("workstationId")int workstationId); + +} -- Gitblit v1.8.0