ID,
FILE_TITLE,
KEY_WORD,
FILE_TYPE,
ABS,
FILE_NAME,
FILE_SIZE,
FILE_EXT,
FILE_PATH,
THUMBNAIL_URL,
BIZ_TYPE,
BIZ_ID,
LONGITUDE,
LATITUDE,
CREATE_BY,
CREATE_DATE,
UPDATE_BY,
UPDATE_DATE,
DOWN_NUM,
SN,
TOP,
TOP_DATE
#{id},
#{fileTitle},
#{keyWord},
#{fileType},
#{abs},
#{fileName},
#{fileSize},
#{fileExt},
#{filePath},
#{thumbnailUrl},
#{bizType},
#{bizId},
#{longitude},
#{latitude},
#{createBy},
#{createDate},
#{updateBy},
#{updateDate},
#{downNum},
#{sn},
#{topValue},
#{topDate}
and FILE_TITLE = #{fileTitle}
and KEY_WORD = #{keyWord}
and FILE_TYPE = #{fileType}
and ABS = #{abs}
and FILE_NAME like '${fileName}%'
and FILE_SIZE = #{fileSize}
and FILE_EXT = #{fileExt}
and FILE_PATH = #{filePath}
and THUMBNAIL_URL = #{thumbnailUrl}
and BIZ_TYPE like '${bizType}%'
and BIZ_ID = #{bizId}
and LONGITUDE = #{longitude}
and LATITUDE = #{latitude}
and CREATE_BY = #{createBy}
and CREATE_DATE = #{createDate}
and UPDATE_BY = #{updateBy}
and UPDATE_DATE = #{updateDate}
and DOWN_NUM = #{downNum}
and SN = #{sn}
and TOP = #{topValue}
and TOP_DATE = #{topDate}
insert into gw_com_file(
)
values (
)
delete from gw_com_file where ID = #{id}
delete from gw_com_file
update gw_com_file set flag_valid = 0 where ID = #{id}
update gw_com_file
FILE_TITLE = #{fileTitle},
KEY_WORD = #{keyWord},
FILE_TYPE = #{fileType},
ABS = #{abs},
FILE_NAME = #{fileName},
FILE_SIZE = #{fileSize},
FILE_EXT = #{fileExt},
FILE_PATH = #{filePath},
THUMBNAIL_URL = #{thumbnailUrl},
BIZ_TYPE = #{bizType},
BIZ_ID = #{bizId},
LONGITUDE = #{longitude},
LATITUDE = #{latitude},
CREATE_BY = #{createBy},
CREATE_DATE = #{createDate},
UPDATE_BY = #{updateBy},
UPDATE_DATE = #{updateDate},
DOWN_NUM = #{downNum},
SN = #{sn},
TOP = #{topValue},
TOP_DATE = #{topDate}
ID = #{id}
update gw_com_file
FILE_TITLE = #{fileTitle},
KEY_WORD = #{keyWord},
FILE_TYPE = #{fileType},
ABS = #{abs},
FILE_NAME = #{fileName},
FILE_SIZE = #{fileSize},
FILE_EXT = #{fileExt},
FILE_PATH = #{filePath},
THUMBNAIL_URL = #{thumbnailUrl},
BIZ_TYPE = #{bizType},
BIZ_ID = #{bizId},
LONGITUDE = #{longitude},
LATITUDE = #{latitude},
CREATE_BY = #{createBy},
CREATE_DATE = #{createDate},
UPDATE_BY = #{updateBy},
UPDATE_DATE = #{updateDate},
DOWN_NUM = #{downNum},
SN = #{sn},
TOP = #{topValue},
TOP_DATE = #{topDate}
UPDATE gw_com_file set BIZ_ID = #{bizId} where ID = #{id}
UPDATE
gw_com_file
set
TOP = #{topValue},
TOP_DATE = #{topDate}
where
ID = #{id}