|
@@ -14,10 +14,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="type" column="type" />
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="isSh" column="is_sh" />
|
|
|
+ <result property="createTime" column="create_time" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFgwFjVo">
|
|
|
- select id, xm_id, xmbh,source_id, fj_name, path, type, remark,is_sh from fgw_fj
|
|
|
+ select id, xm_id, xmbh,source_id, fj_name, path, type, remark,is_sh,create_time from fgw_fj
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFgwFjList" parameterType="FgwFj" resultMap="FgwFjResult">
|
|
@@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null">type,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
<if test="isSh != null and isSh != ''">is_sh,</if>
|
|
|
+ <if test="createTime != null ">create_time,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="xmId != null">#{xmId},</if>
|
|
@@ -67,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null">#{type},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
<if test="isSh != null and isSh != ''">#{isSh},</if>
|
|
|
-
|
|
|
+ <if test="createTime != null">#{createTime},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -81,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null">type = #{type},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
<if test="isSh != null and isSh != ''">is_sh = #{isSh},</if>
|
|
|
+ <if test="createTime != null">create_time = #{createTime},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|