Bladeren bron

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

ljx 1 maand geleden
bovenliggende
commit
05f80373a6
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      enteprise-admin/src/main/resources/mapper/priceindex/PriceIndexMapper.xml

+ 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>