|
@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="zymlId" column="zyml_id" />
|
|
|
<result property="filedName" column="filed_name" />
|
|
|
<result property="filedNameZh" column="filed_name_zh" />
|
|
|
+ <result property="filedType" column="filed_type" />
|
|
|
<result property="shareDisplay" column="share_display" />
|
|
|
<result property="sort" column="sort" />
|
|
|
</resultMap>
|
|
@@ -38,17 +39,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="zymlId != null">zyml_id,</if>
|
|
|
<if test="filedName != null">filed_name,</if>
|
|
|
<if test="filedNameZh != null">filed_name_zh,</if>
|
|
|
+ <if test="filedType != null">filed_type,</if>
|
|
|
<if test="shareDisplay != null">share_display,</if>
|
|
|
- <if test="sort != sort">sort,</if>
|
|
|
- </trim>
|
|
|
+ <if test="sort != null">sort,</if>
|
|
|
+ </trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
|
<if test="zymlId != null">#{zymlId},</if>
|
|
|
<if test="filedName != null">#{filedName},</if>
|
|
|
<if test="filedNameZh != null">#{filedNameZh},</if>
|
|
|
+ <if test="filedType != null">#{filedType},</if>
|
|
|
<if test="shareDisplay != null">#{shareDisplay},</if>
|
|
|
<if test="sort != null">#{sort},</if>
|
|
|
- </trim>
|
|
|
+ </trim>
|
|
|
</insert>
|
|
|
|
|
|
<update id="updateTZymlFiled" parameterType="TZymlFiled">
|