|
|
@@ -16,10 +16,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
+ <result property="shopCode" column="shop_code" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysMagnetLogVo">
|
|
|
- select id, user_id, user_name, org_code, org_name, level, magnet_name, create_by, create_time, update_by, update_time from sys_magnet_log
|
|
|
+ select id, user_id, user_name, org_code, org_name, level, magnet_name, create_by, create_time, update_by, update_time,shop_code from sys_magnet_log
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysMagnetLogList" parameterType="SysMagnetLog" resultMap="SysMagnetLogResult">
|
|
|
@@ -60,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null ">create_time,</if>
|
|
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
|
|
<if test="updateTime != null ">update_time,</if>
|
|
|
+ <if test="shopCode != null ">shop_code,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="userId != null ">#{userId},</if>
|
|
|
@@ -72,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null ">#{createTime},</if>
|
|
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
|
|
<if test="updateTime != null ">#{updateTime},</if>
|
|
|
+ <if test="shopCode != null ">#{shopCode},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|