Commit abd14ea69cd84022f3f2fea2611d35f4593d2798

Authored by rui.zhang
1 parent 44e1d66c3d

bug fix

Showing 2 changed files with 3 additions and 3 deletions

platform-biz-service/src/main/resources/mainOrm/Departments.xml View file @ abd14ea
... ... @@ -40,7 +40,7 @@
40 40 <if test="foreignId != null and foreignId != ''">
41 41 foreign_id = #{foreignId,jdbcType=INTEGER},
42 42 </if>
43   - <if test="description != null and description != ''">
  43 + <if test="description != null">
44 44 description = #{description,jdbcType=VARCHAR},
45 45 </if>
46 46 <if test="publishId != null and publishId >= 0">
... ... @@ -61,7 +61,7 @@
61 61 <if test="type != null and type >= 0">
62 62 type = #{type,jdbcType=INTEGER},
63 63 </if>
64   - <if test="shortCode != null and shortCode != ''">
  64 + <if test="shortCode != null">
65 65 shortCode = #{shortCode,jdbcType=VARCHAR},
66 66 </if>
67 67 </set>
platform-biz-service/src/main/resources/mainOrm/Organization.xml View file @ abd14ea
... ... @@ -64,7 +64,7 @@
64 64 <if test="address != null and address != ''">
65 65 address = #{address,jdbcType=VARCHAR},
66 66 </if>
67   - <if test="description != null and description != ''">
  67 + <if test="description != null">
68 68 description = #{description,jdbcType=VARCHAR},
69 69 </if>
70 70 <if test="publishId != null and publishId >= 0">