...
|
...
|
@@ -15,9 +15,10 @@ |
|
|
<result column="ver" property="ver" jdbcType="VARCHAR" />
|
|
|
<result column="creat_time" property="creatTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
|
|
|
<collection column="id" javaType="java.util.ArrayList" ofType="com.sunyo.wlpt.message.bus.service.model.MessageRouterReciver" property="rcvrList" select="com.sunyo.wlpt.message.bus.service.mapper.selectByRouterKey" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, sndr, btype, stype, optype, msg_limit, character, status, usage, des, ver, creat_time,
|
|
|
id, sndr, btype, stype, optype, msg_limit, `character`, status, `usage`, des, ver, creat_time,
|
|
|
update_time
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
...
|
...
|
@@ -33,7 +34,7 @@ |
|
|
<insert id="insert" parameterType="com.sunyo.wlpt.message.bus.service.model.MessageRouter" >
|
|
|
insert into message_router (id, sndr, btype,
|
|
|
stype, optype, msg_limit,
|
|
|
character, status, usage, des,
|
|
|
`character`, status, `usage`, des,
|
|
|
ver, creat_time, update_time
|
|
|
)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{sndr,jdbcType=VARCHAR}, #{btype,jdbcType=VARCHAR},
|
...
|
...
|
@@ -64,13 +65,13 @@ |
|
|
msg_limit,
|
|
|
</if>
|
|
|
<if test="character != null" >
|
|
|
character,
|
|
|
`character`,
|
|
|
</if>
|
|
|
<if test="status != null" >
|
|
|
status,
|
|
|
</if>
|
|
|
<if test="usage != null" >
|
|
|
usage,
|
|
|
`usage`,
|
|
|
</if>
|
|
|
<if test="des != null" >
|
|
|
des,
|
...
|
...
|
@@ -146,13 +147,13 @@ |
|
|
msg_limit = #{msgLimit,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
<if test="character != null" >
|
|
|
character = #{character,jdbcType=VARCHAR},
|
|
|
`character` = #{character,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null" >
|
|
|
status = #{status,jdbcType=BIT},
|
|
|
</if>
|
|
|
<if test="usage != null" >
|
|
|
usage = #{usage,jdbcType=TINYINT},
|
|
|
`usage` = #{usage,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
<if test="des != null" >
|
|
|
des = #{des,jdbcType=VARCHAR},
|
...
|
...
|
@@ -176,9 +177,9 @@ |
|
|
stype = #{stype,jdbcType=VARCHAR},
|
|
|
optype = #{optype,jdbcType=VARCHAR},
|
|
|
msg_limit = #{msgLimit,jdbcType=TINYINT},
|
|
|
character = #{character,jdbcType=VARCHAR},
|
|
|
`character` = #{character,jdbcType=VARCHAR},
|
|
|
status = #{status,jdbcType=BIT},
|
|
|
usage = #{usage,jdbcType=TINYINT},
|
|
|
`usage` = #{usage,jdbcType=TINYINT},
|
|
|
des = #{des,jdbcType=VARCHAR},
|
|
|
ver = #{ver,jdbcType=VARCHAR},
|
|
|
creat_time = #{creatTime,jdbcType=TIMESTAMP},
|
...
|
...
|
|