From 328f9b1f7a046378ef5d8f2b8337770fff372cc7 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期六, 26 十月 2024 19:12:07 +0800 Subject: [PATCH] 更新测试后代码 --- springboot-vue3/src/main/java/com/example/springboot/mapper/GlassInfoMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/mapper/GlassInfoMapper.java b/springboot-vue3/src/main/java/com/example/springboot/mapper/GlassInfoMapper.java index d6ec9a7..44133dd 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/mapper/GlassInfoMapper.java +++ b/springboot-vue3/src/main/java/com/example/springboot/mapper/GlassInfoMapper.java @@ -13,8 +13,8 @@ @Repository public interface GlassInfoMapper extends BaseMapper<GlassInfo> { - @Select("select gi.* from flowcard as fd LEFT JOIN glassinfo as gi on fd.flowcard=gi.flowcard where fd.orderstate=1 and gi.flowcard is not null and gi.width<=#{maxwidth} and gi.width>=#{minwidth} and gi.height<=#{maxheight} and gi.height>=#{minheight} and gi.measurenumber<number") - List<GlassInfo> selectGlassInfos(@Param("maxwidth") double maxwidth, @Param("minwidth") double minwidth, @Param("maxheight") double maxheight, @Param("minheight") double minheight); + @Select("select gi.* from flowcard as fd LEFT JOIN glassinfo as gi on fd.flowcard=gi.flowcard where fd.orderstate=1 and gi.flowcard is not null and gi.width<=#{maxwidth} and gi.width>=#{minwidth} and gi.height<=#{maxheight} and gi.height>=#{minheight} and gi.films>=#{Films} and gi.thickness>=#{Thickness} and gi.measurenumber<gi.number") + List<GlassInfo> selectGlassInfos(@Param("maxwidth") double maxwidth, @Param("minwidth") double minwidth, @Param("maxheight") double maxheight, @Param("minheight") double minheight,Integer Thickness,String Films); // @Select("SELECT COUNT(*) FROM role_permission WHERE role_id = #{roleId} AND permission_id = #{permissionId}") // boolean checkExists(@Param("roleId") int roleId, @Param("permissionId") int permissionId); -- Gitblit v1.8.0