Browse Source

解决商户荣誉管理界面新增荣誉信息,保存报错

kouchengxing 5 years ago
parent
commit
528edf1910

+ 1 - 1
dgtly-admin/src/main/resources/templates/company/honour/add.html

@@ -8,7 +8,7 @@
     <div class="wrapper wrapper-content animated fadeInRight ibox-content">
         <form class="form-horizontal m" id="form-company_honour-add">
             <div class="form-group">
-                <label class="col-sm-3 control-label">荣耀标题:</label>
+                <label class="col-sm-3 control-label">荣标题:</label>
                 <div class="col-sm-8">
                     <input class="form-control" type="text" name="title" id="title" required>
                 </div>

+ 1 - 1
dgtly-system/src/main/resources/mapper/companyext/CompanyHonourMapper.xml

@@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="companyId != null ">company_id,</if>
             <if test="title != null  and title != ''">title,</if>
-            <if test="titleEn != null  and titleEn != ''">titleEn,</if>
+            <if test="titleEn != null  and titleEn != ''">title_en,</if>
             <if test="des != null  and des != ''">des,</if>
             <if test="desEn != null  and desEn != ''">desEn,</if>
             <if test="img != null  and img != ''">img,</if>