浏览代码

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

ljx 1 月之前
父节点
当前提交
05f80373a6
共有 1 个文件被更改,包括 3 次插入3 次删除
  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>