Преглед изворни кода

ljx:修改价格指数修改接口报错

ljx пре 1 месец
родитељ
комит
05f80373a6

+ 3 - 3
enteprise-admin/src/main/resources/mapper/priceindex/PriceIndexMapper.xml

@@ -73,9 +73,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="year != null">year = #{year},</if>
             <if test="unit != null">unit = #{unit},</if>
             <if test="creator != null">creator = #{creator},</if>
-            <if test="indexv != null">index = #{indexv},</if>
-            <if test="industry != null">index = #{industry},</if>
-            <if test="code != null">index = #{code},</if>
+            <if test="indexv != null">indexv = #{indexv},</if>
+            <if test="industry != null">industry = #{industry},</if>
+            <if test="code != null">code = #{code},</if>
         </trim>
         where id = #{id}
     </update>