Bläddra i källkod

今日订单sql优化

Memory_LG 9 månader sedan
förälder
incheckning
e51a15371c

+ 2 - 2
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionViewMapper.xml

@@ -370,8 +370,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 <if test="state != null  and state != ''">
                     and DATE(sign_time) = CURDATE()
                 </if>
-                <if test="steelcylinderName != null  and steelcylinderName != ''">
-                    and steelcylinder_name like concat('%', #{steelcylinderName}, '%')
+                <if test="name != null  and name != ''">
+                    and steelcylinder_name like concat('%', #{name}, '%')
                 </if>
             </where>
         ) a