select ID, COMPANY_ID, MODULE_NAME, TYPE, CONTENT, METHOD, REQ_CONTENT, RESP_CONTENT, IP, ADDRESS, STATUS, VALID_FLAG, DEL_FLAG, CREATE_BY, CREATOR_ID, CREATE_TIME, UPDATE_BY, UPDATOR_ID, UPDATE_TIME, REMARK from MODEL_OPERATE
and COMPANY_ID = #{companyId}
and MODULE_NAME like concat('%', #{moduleName}, '%')
and TYPE = #{type}
and CONTENT = #{content}
and METHOD = #{method}
and REQ_CONTENT = #{reqContent}
and RESP_CONTENT = #{respContent}
and IP = #{ip}
and ADDRESS = #{address}
and STATUS = #{status}
and CREATE_TIME = #{createTime}
where ID = #{id}
insert into MODEL_OPERATE ID, COMPANY_ID, MODULE_NAME, TYPE, CONTENT, METHOD, REQ_CONTENT, RESP_CONTENT, IP, ADDRESS, STATUS, VALID_FLAG, DEL_FLAG, CREATE_BY, CREATOR_ID, CREATE_TIME, UPDATE_BY, UPDATOR_ID, UPDATE_TIME, REMARK, #{id}, #{companyId}, #{moduleName}, #{type}, #{content}, #{method}, #{reqContent}, #{respContent}, #{ip}, #{address}, #{status}, #{validFlag}, #{delFlag}, #{createBy}, #{creatorId}, #{createTime}, #{updateBy}, #{updatorId}, #{updateTime}, #{remark},
update MODEL_OPERATE COMPANY_ID = #{companyId}, MODULE_NAME = #{moduleName}, TYPE = #{type}, CONTENT = #{content}, METHOD = #{method}, REQ_CONTENT = #{reqContent}, RESP_CONTENT = #{respContent}, IP = #{ip}, ADDRESS = #{address}, STATUS = #{status}, 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_OPERATE where ID = #{id}
delete from MODEL_OPERATE where ID in #{id}