浏览代码

ljx:修改新增、编辑企业分类失败bug

ljx 2 月之前
父节点
当前提交
aa7ac62b20
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      enteprise-admin/src/main/resources/mapper/enterprise/EnterpriseMapper.xml

+ 2 - 2
enteprise-admin/src/main/resources/mapper/enterprise/EnterpriseMapper.xml

@@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="enterpriseName != null and enterpriseName != ''">#{enterpriseName},</if>
             <if test="location != null">#{location},</if>
             <if test="code != null">#{code},</if>
-            <if test="typeNum != null">#{typeNum}</if>>
+            <if test="typeNum != null">#{typeNum},</if>
          </trim>
     </insert>
 
@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="enterpriseName != null and enterpriseName != ''">enterprise_name = #{enterpriseName},</if>
             <if test="location != null">location = #{location},</if>
             <if test="code != null">code = #{code},</if>
-            <if test="typeNum != null">type_num = #{typeNum}</if>>
+            <if test="typeNum != null">type_num = #{typeNum},</if>
         </trim>
         where id = #{id}
     </update>