...
|
...
|
@@ -150,4 +150,28 @@ |
|
|
update_time = #{updateTime,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<select id="getChannelGroupList" resultMap="BaseResultMap" parameterType="com.yoho.unions.dal.model.ChannelGroup" >
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from channel_group
|
|
|
where 1=1
|
|
|
<if test="channelGroup.name != null" >
|
|
|
and name = #{channelGroup.name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="channelGroup.createTime != null" >
|
|
|
and create_time>=#{channelGroup.createTime,jdbcType=INTEGER} and create_time <=#{channelGroup.createTime,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
<if test="channelGroup.createUser != null" >
|
|
|
create_user = #{channelGroup.createUser,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="channelGroup.smsNumber != null" >
|
|
|
sms_number = #{channelGroup.smsNumber,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="channelGroup.sendTime != null" >
|
|
|
send_time >= #{channelGroup.sendTime,jdbcType=INTEGER} and send_time < #{channelGroup.sendTime,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
<if test="channelGroup.sendUser != null" >
|
|
|
send_user = #{channelGroup.sendUser,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</select>
|
|
|
</mapper> |
...
|
...
|
|