select ID, IS_DELETED, CREATED_TIME, CREATED_BY, MODIFIED_BY, LAST_UPDATED_TIME, STATUS, CITY_CODE, TYPE, NAME, SN, BUILDING_ID, REMARK, URL from camera_info
insert into camera_info
IS_DELETED,
CREATED_TIME,
CREATED_BY,
MODIFIED_BY,
LAST_UPDATED_TIME,
STATUS,
CITY_CODE,
TYPE,
NAME,
SN,
BUILDING_ID,
REMARK,
URL,
#{isDeleted},
#{createdTime},
#{createdBy},
#{modifiedBy},
#{lastUpdatedTime},
#{status},
#{cityCode},
#{type},
#{name},
#{sn},
#{buildingId},
#{remark},
#{url},
update camera_info
IS_DELETED = #{isDeleted},
CREATED_TIME = #{createdTime},
CREATED_BY = #{createdBy},
MODIFIED_BY = #{modifiedBy},
LAST_UPDATED_TIME = #{lastUpdatedTime},
STATUS = #{status},
CITY_CODE = #{cityCode},
TYPE = #{type},
NAME = #{name},
SN = #{sn},
BUILDING_ID = #{buildingId},
REMARK = #{remark},
URL = #{url},
where ID = #{id}
delete from camera_info where ID = #{id}
delete from camera_info where ID in
#{id}