select ID, COMPANY_ID, NAME, ENG_NAME, TYPE, MODEL_ID, MODEL_NAME, MODEL_VERSION, DESCRIPTION, SINGLE_CONTENT, MULTIPLE_CONTENT, VALID_FLAG, DEL_FLAG, CREATE_BY, CREATOR_ID, CREATE_TIME, UPDATE_BY, UPDATOR_ID, UPDATE_TIME, REMARK from MODEL_OUTPUT
and COMPANY_ID = #{companyId}
and NAME like concat('%', #{name}, '%')
and ENG_NAME like concat('%', #{engName}, '%')
and TYPE = #{type}
and MODEL_ID = #{modelId}
and MODEL_NAME like concat('%', #{modelName}, '%')
and MODEL_VERSION = #{modelVersion}
and DESCRIPTION = #{description}
and SINGLE_CONTENT = #{singleContent}
and MULTIPLE_CONTENT = #{multipleContent}
and CREATE_TIME = #{createTime}
where ID = #{id}
insert into MODEL_OUTPUT ID, COMPANY_ID, NAME, ENG_NAME, TYPE, MODEL_ID, MODEL_NAME, MODEL_VERSION, DESCRIPTION, SINGLE_CONTENT, MULTIPLE_CONTENT, VALID_FLAG, DEL_FLAG, CREATE_BY, CREATOR_ID, CREATE_TIME, UPDATE_BY, UPDATOR_ID, UPDATE_TIME, REMARK, #{ID}, #{companyId}, #{NAME}, #{engName}, #{TYPE}, #{modelId}, #{modelName}, #{modelVersion}, #{DESCRIPTION}, #{singleContent}, #{multipleContent}, #{validFlag}, #{delFlag}, #{createBy}, #{creatorId}, #{createTime}, #{updateBy}, #{updatorId}, #{updateTime}, #{REMARK},
update MODEL_OUTPUT COMPANY_ID = #{companyId}, NAME = #{NAME}, ENG_NAME = #{engName}, TYPE = #{TYPE}, MODEL_ID = #{modelId}, MODEL_NAME = #{modelName}, MODEL_VERSION = #{modelVersion}, DESCRIPTION = #{DESCRIPTION}, SINGLE_CONTENT = #{singleContent}, MULTIPLE_CONTENT = #{multipleContent}, VALID_FLAG = #{validFlag}, DEL_FLAG = #{delFlag}, CREATE_BY = #{createBy}, CREATOR_ID = #{creatorId}, CREATE_TIME = #{createTime}, UPDATE_BY = #{updateBy}, UPDATOR_ID = #{updatorId}, UPDATE_TIME = #{updateTime}, REMARK = #{REMARK}, where ID = #{ID}
delete from MODEL_OUTPUT where ID = #{ID}
delete from MODEL_OUTPUT where ID in #{ID}