欣影管理平台装置通道表修改
parent
437328ce19
commit
7a7b024230
@ -0,0 +1,21 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 线路电压和通道对象
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class DyLineAndTerminalAndChannelDto {
|
||||||
|
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private Integer dyValue;
|
||||||
|
|
||||||
|
private List<LineAndTerminalAndChannelDto> list;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class LineAndTerminalAndChannelDto {
|
||||||
|
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private String bsManufacturer;
|
||||||
|
|
||||||
|
private List<TerminalsAndChannelDto> list;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 装置通道关联和通道信息
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class TermChannelAndMapperDto {
|
||||||
|
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private Integer termid;
|
||||||
|
|
||||||
|
private Integer channelid;
|
||||||
|
|
||||||
|
private String channelname;
|
||||||
|
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
private Integer maxResolutionWidth;
|
||||||
|
|
||||||
|
private Integer maxResolutionHeight;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TerminalChannelsDto implements Serializable {
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TerminalsAndChannelDto implements Serializable {
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private Integer towerid;
|
||||||
|
|
||||||
|
private String cmdid;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private List<TerminalChannelsDto> list;
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.shxy.xymanager_common.entity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TerminalChannelMapper implements Serializable {
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private Integer termId;
|
||||||
|
|
||||||
|
private Integer channelId;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
package com.shxy.xymanager_common.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通道关联表和通道列表
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "通道关联表和通道列表", description = "通道列表信息")
|
||||||
|
public class TerminalChannelMapperListModel implements Serializable {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "通道关联表和通道列表对象", example = "[]")
|
||||||
|
private List<ChannelBean> list;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class ChannelBean {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123456")
|
||||||
|
private Integer termId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "通道编号", example = "123456")
|
||||||
|
private Integer channelid;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "通道名称", example = "123456")
|
||||||
|
private String channelname;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "通道状态", example = "123456")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率W", example = "123456")
|
||||||
|
private Integer maxResolutionWidth;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率H", example = "123456")
|
||||||
|
private Integer maxResolutionHeight;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package com.shxy.xymanager_common.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.sql.Time;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 时间任务详情
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "时间任务详情", description = "时间任务详情信息")
|
||||||
|
public class TerminalScheduleRuleTimeListModel implements Serializable {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "任务名称", example = "123456")
|
||||||
|
private List<String> list;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备关联拍照时间任务规则
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "关联任务规则编号对象", description = "关联任务规则编号对象描述")
|
||||||
|
public class RelateTerminalListRuleIdVo {
|
||||||
|
|
||||||
|
@NotNull(message = "规则编号不能缺少")
|
||||||
|
@ApiModelProperty(value = "规则编号", example = "123455")
|
||||||
|
private Integer ruleid;
|
||||||
|
|
||||||
|
@NotNull(message = "装置列表不能缺少")
|
||||||
|
@ApiModelProperty(value = "装置通道编号列表", example = "123455")
|
||||||
|
private List<Item> list;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class Item {
|
||||||
|
@NotNull(message = "装置编号")
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||||
|
private Integer termid;
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号列表不能缺少")
|
||||||
|
@ApiModelProperty(value = "通道编号列表", example = "123455")
|
||||||
|
private List<Integer> channelidlist;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
package com.shxy.xymanager_common.vo;
|
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotNull;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 设备关联拍照时间任务规则
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@ApiModel(value = "关联任务规则编号对象", description = "关联任务规则编号对象描述")
|
|
||||||
public class RelateTerminalRuleIdVo {
|
|
||||||
|
|
||||||
@NotNull(message = "规则编号不能缺少")
|
|
||||||
@ApiModelProperty(value = "规则编号", example = "123455")
|
|
||||||
private Integer ruleid;
|
|
||||||
|
|
||||||
@NotNull(message = "通道编号列表不能缺少")
|
|
||||||
@ApiModelProperty(value = "通道编号列表", example = "123455")
|
|
||||||
private List<Integer> channelidlist;
|
|
||||||
|
|
||||||
@NotNull(message = "装置编号")
|
|
||||||
@ApiModelProperty(value = "装置编号", example = "123455")
|
|
||||||
private Integer termid;
|
|
||||||
}
|
|
@ -0,0 +1,26 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.Min;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "装置和通道编号和查询时间", description = "装置和通道编号和查询时间描述")
|
||||||
|
public class TerminalAndChannelIdAndTimeVo {
|
||||||
|
|
||||||
|
@NotNull(message = "装置编号不能缺少")
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||||
|
private Integer terminalid;
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号不能缺少")
|
||||||
|
@ApiModelProperty(value = "通道编号", example = "123455")
|
||||||
|
private Integer channelid;
|
||||||
|
|
||||||
|
@NotNull(message = "查询时间不能缺少")
|
||||||
|
@ApiModelProperty(value = "查询时间", example = "123455")
|
||||||
|
private Date time;
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "通道编号数组对象", description = "通道编号数组对象")
|
||||||
|
public class TerminalChannelIdListVo {
|
||||||
|
@NotEmpty(message = "不能传入空值")
|
||||||
|
@ApiModelProperty(value = "通道编号数组", required = true, example = "A0001")
|
||||||
|
private List<Integer> list;
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "通道对象", description = "通道对象描述")
|
||||||
|
public class TerminalChannelVo {
|
||||||
|
|
||||||
|
@NotNull(message = "装置列表不能缺少")
|
||||||
|
@ApiModelProperty(value = "装置通道编号列表", example = "123455")
|
||||||
|
private List<Item> list;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class Item {
|
||||||
|
@NotNull(message = "通道编号")
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号不能缺少")
|
||||||
|
@ApiModelProperty(value = "通道编号", example = "123455")
|
||||||
|
private Integer channelname;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率W", example = "123456")
|
||||||
|
private Integer maxResolutionWidth;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率H", example = "123456")
|
||||||
|
private Integer maxResolutionHeight;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "通道对象", description = "通道对象描述")
|
||||||
|
public class UpdateTerminalChannelVo {
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号")
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号不能缺少")
|
||||||
|
@ApiModelProperty(value = "通道编号", example = "123455")
|
||||||
|
private Integer channelname;
|
||||||
|
|
||||||
|
@NotNull(message = "通道编号状态")
|
||||||
|
@ApiModelProperty(value = "通道状态", example = "0---关闭 1--开启")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率W", example = "123456")
|
||||||
|
private Integer maxResolutionWidth;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分辨率H", example = "123456")
|
||||||
|
private Integer maxResolutionHeight;
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package com.shxy.xymanager_dao.dao;
|
||||||
|
|
||||||
|
import com.shxy.xymanager_common.entity.TerminalChannelMapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public interface TerminalChannelMapperDao {
|
||||||
|
int deleteByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int insert(TerminalChannelMapper record);
|
||||||
|
|
||||||
|
int insertSelective(TerminalChannelMapper record);
|
||||||
|
|
||||||
|
List<TerminalChannelMapper> selectByTermid(Integer id);
|
||||||
|
|
||||||
|
TerminalChannelMapper selectByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(TerminalChannelMapper record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(TerminalChannelMapper record);
|
||||||
|
}
|
@ -1,19 +1,27 @@
|
|||||||
package com.shxy.xymanager_dao.dao;
|
package com.shxy.xymanager_dao.dao;
|
||||||
|
|
||||||
|
import com.shxy.xymanager_common.dto.DyLineAndTerminalAndChannelDto;
|
||||||
|
import com.shxy.xymanager_common.dto.TermChannelAndMapperDto;
|
||||||
import com.shxy.xymanager_common.entity.TerminalChannels;
|
import com.shxy.xymanager_common.entity.TerminalChannels;
|
||||||
|
import com.shxy.xymanager_common.entity.TerminalScheduleMapper;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface TerminalChannelsDao {
|
public interface TerminalChannelsDao {
|
||||||
int deleteByPrimaryKey(Integer id);
|
int deleteByPrimaryKey(Integer id);
|
||||||
|
|
||||||
int insert(TerminalChannels record);
|
int insertList(@Param("list") List<TerminalChannels> record,@Param("status") Integer status, @Param("createat") Date create, @Param("updateat") Date update);
|
||||||
|
|
||||||
int insertSelective(TerminalChannels record);
|
List<TerminalChannels> selectChannelList();
|
||||||
|
|
||||||
List<TerminalChannels> selectByTermid(Integer termid);
|
List<TermChannelAndMapperDto> selectByTermid(@Param("termid") Integer termid, @Param("status") Integer status);
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(TerminalChannels record);
|
List<DyLineAndTerminalAndChannelDto> selectAllAndChannelByTermid(@Param("termid") Integer termid, @Param("status") Integer status);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(@Param("data") TerminalChannels record,@Param("updateat") Date update);
|
||||||
|
|
||||||
|
int deleteList(@Param("list") List<Integer> list,@Param("status") Integer status,@Param("updateat") Date update);
|
||||||
|
|
||||||
int updateByPrimaryKey(TerminalChannels record);
|
|
||||||
}
|
}
|
@ -0,0 +1,100 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.shxy.xymanager_dao.dao.TerminalChannelMapperDao">
|
||||||
|
<resultMap id="BaseResultMap" type="com.shxy.xymanager_common.entity.TerminalChannelMapper">
|
||||||
|
<id column="id" jdbcType="INTEGER" property="id"/>
|
||||||
|
<result column="term_id" jdbcType="INTEGER" property="termId"/>
|
||||||
|
<result column="channel_id" jdbcType="INTEGER" property="channelId"/>
|
||||||
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
||||||
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id, term_id, channel_id, create_time, update_time
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectByTermid" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List"/>
|
||||||
|
from terminal_channel_mapper
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</select>
|
||||||
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List"/>
|
||||||
|
from terminal_channel_mapper
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||||
|
delete from terminal_channel_mapper
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.shxy.xymanager_common.entity.TerminalChannelMapper">
|
||||||
|
insert into terminal_channel_mapper (id, term_id, channel_id,
|
||||||
|
create_time, update_time)
|
||||||
|
values (#{id,jdbcType=INTEGER}, #{termId,jdbcType=INTEGER}, #{channelId,jdbcType=INTEGER},
|
||||||
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.TerminalChannelMapper">
|
||||||
|
insert into terminal_channel_mapper
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
id,
|
||||||
|
</if>
|
||||||
|
<if test="termId != null">
|
||||||
|
term_id,
|
||||||
|
</if>
|
||||||
|
<if test="channelId != null">
|
||||||
|
channel_id,
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time,
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
#{id,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="termId != null">
|
||||||
|
#{termId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="channelId != null">
|
||||||
|
#{channelId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.shxy.xymanager_common.entity.TerminalChannelMapper">
|
||||||
|
update terminal_channel_mapper
|
||||||
|
<set>
|
||||||
|
<if test="termId != null">
|
||||||
|
term_id = #{termId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="channelId != null">
|
||||||
|
channel_id = #{channelId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.shxy.xymanager_common.entity.TerminalChannelMapper">
|
||||||
|
update terminal_channel_mapper
|
||||||
|
set term_id = #{termId,jdbcType=INTEGER},
|
||||||
|
channel_id = #{channelId,jdbcType=INTEGER},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue