and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, system_name, system_type, belong_to, has_ownership, network_type, dev_language, interface_count, deadline, rqrmnt_user, contact1, phone1, contact2, phone2, need_platform_support, category_id, expected_quote, created_at, created_by, deleted_at, deleted_by system_desc, url, attachment, description delete from requirement_api where id = #{id,jdbcType=BIGINT} delete from requirement_api SELECT LAST_INSERT_ID() insert into requirement_api (id,system_name, system_type, belong_to, has_ownership, network_type, dev_language, interface_count, deadline, rqrmnt_user, contact1, phone1, contact2, phone2, need_platform_support, category_id, expected_quote, created_at, created_by, deleted_at, deleted_by, system_desc, url, attachment, description ) values (#{id},#{systemName,jdbcType=VARCHAR}, #{systemType,jdbcType=VARCHAR}, #{belongTo,jdbcType=VARCHAR}, #{hasOwnership,jdbcType=TINYINT}, #{networkType,jdbcType=VARCHAR}, #{devLanguage,jdbcType=VARCHAR}, #{interfaceCount,jdbcType=INTEGER}, #{deadline,jdbcType=TIMESTAMP}, #{rqrmntUser,jdbcType=VARCHAR}, #{contact1,jdbcType=VARCHAR}, #{phone1,jdbcType=VARCHAR}, #{contact2,jdbcType=VARCHAR}, #{phone2,jdbcType=VARCHAR}, #{needPlatformSupport,jdbcType=VARCHAR}, #{categoryId,jdbcType=BIGINT}, #{expectedQuote,jdbcType=DECIMAL}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{deletedAt,jdbcType=TIMESTAMP}, #{deletedBy,jdbcType=BIGINT}, #{systemDesc,jdbcType=LONGVARCHAR}, #{url,jdbcType=LONGVARCHAR}, #{attachment,jdbcType=LONGVARCHAR}, #{description,jdbcType=LONGVARCHAR} ) SELECT LAST_INSERT_ID() insert into requirement_api system_name, system_type, belong_to, has_ownership, network_type, dev_language, interface_count, deadline, rqrmnt_user, contact1, phone1, contact2, phone2, need_platform_support, category_id, expected_quote, created_at, created_by, deleted_at, deleted_by, system_desc, url, attachment, description, #{systemName,jdbcType=VARCHAR}, #{systemType,jdbcType=VARCHAR}, #{belongTo,jdbcType=VARCHAR}, #{hasOwnership,jdbcType=TINYINT}, #{networkType,jdbcType=VARCHAR}, #{devLanguage,jdbcType=VARCHAR}, #{interfaceCount,jdbcType=INTEGER}, #{deadline,jdbcType=TIMESTAMP}, #{rqrmntUser,jdbcType=VARCHAR}, #{contact1,jdbcType=VARCHAR}, #{phone1,jdbcType=VARCHAR}, #{contact2,jdbcType=VARCHAR}, #{phone2,jdbcType=VARCHAR}, #{needPlatformSupport,jdbcType=VARCHAR}, #{categoryId,jdbcType=BIGINT}, #{expectedQuote,jdbcType=DECIMAL}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{deletedAt,jdbcType=TIMESTAMP}, #{deletedBy,jdbcType=BIGINT}, #{systemDesc,jdbcType=LONGVARCHAR}, #{url,jdbcType=LONGVARCHAR}, #{attachment,jdbcType=LONGVARCHAR}, #{description,jdbcType=LONGVARCHAR}, update requirement_api id = #{record.id,jdbcType=BIGINT}, system_name = #{record.systemName,jdbcType=VARCHAR}, system_type = #{record.systemType,jdbcType=VARCHAR}, belong_to = #{record.belongTo,jdbcType=VARCHAR}, has_ownership = #{record.hasOwnership,jdbcType=TINYINT}, network_type = #{record.networkType,jdbcType=VARCHAR}, dev_language = #{record.devLanguage,jdbcType=VARCHAR}, interface_count = #{record.interfaceCount,jdbcType=INTEGER}, deadline = #{record.deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{record.rqrmntUser,jdbcType=VARCHAR}, contact1 = #{record.contact1,jdbcType=VARCHAR}, phone1 = #{record.phone1,jdbcType=VARCHAR}, contact2 = #{record.contact2,jdbcType=VARCHAR}, phone2 = #{record.phone2,jdbcType=VARCHAR}, need_platform_support = #{record.needPlatformSupport,jdbcType=VARCHAR}, category_id = #{record.categoryId,jdbcType=BIGINT}, expected_quote = #{record.expectedQuote,jdbcType=DECIMAL}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, created_by = #{record.createdBy,jdbcType=BIGINT}, deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{record.deletedBy,jdbcType=BIGINT}, system_desc = #{record.systemDesc,jdbcType=LONGVARCHAR}, url = #{record.url,jdbcType=LONGVARCHAR}, attachment = #{record.attachment,jdbcType=LONGVARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, update requirement_api set id = #{record.id,jdbcType=BIGINT}, system_name = #{record.systemName,jdbcType=VARCHAR}, system_type = #{record.systemType,jdbcType=VARCHAR}, belong_to = #{record.belongTo,jdbcType=VARCHAR}, has_ownership = #{record.hasOwnership,jdbcType=TINYINT}, network_type = #{record.networkType,jdbcType=VARCHAR}, dev_language = #{record.devLanguage,jdbcType=VARCHAR}, interface_count = #{record.interfaceCount,jdbcType=INTEGER}, deadline = #{record.deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{record.rqrmntUser,jdbcType=VARCHAR}, contact1 = #{record.contact1,jdbcType=VARCHAR}, phone1 = #{record.phone1,jdbcType=VARCHAR}, contact2 = #{record.contact2,jdbcType=VARCHAR}, phone2 = #{record.phone2,jdbcType=VARCHAR}, need_platform_support = #{record.needPlatformSupport,jdbcType=VARCHAR}, category_id = #{record.categoryId,jdbcType=BIGINT}, expected_quote = #{record.expectedQuote,jdbcType=DECIMAL}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, created_by = #{record.createdBy,jdbcType=BIGINT}, deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{record.deletedBy,jdbcType=BIGINT}, system_desc = #{record.systemDesc,jdbcType=LONGVARCHAR}, url = #{record.url,jdbcType=LONGVARCHAR}, attachment = #{record.attachment,jdbcType=LONGVARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR} update requirement_api set id = #{record.id,jdbcType=BIGINT}, system_name = #{record.systemName,jdbcType=VARCHAR}, system_type = #{record.systemType,jdbcType=VARCHAR}, belong_to = #{record.belongTo,jdbcType=VARCHAR}, has_ownership = #{record.hasOwnership,jdbcType=TINYINT}, network_type = #{record.networkType,jdbcType=VARCHAR}, dev_language = #{record.devLanguage,jdbcType=VARCHAR}, interface_count = #{record.interfaceCount,jdbcType=INTEGER}, deadline = #{record.deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{record.rqrmntUser,jdbcType=VARCHAR}, contact1 = #{record.contact1,jdbcType=VARCHAR}, phone1 = #{record.phone1,jdbcType=VARCHAR}, contact2 = #{record.contact2,jdbcType=VARCHAR}, phone2 = #{record.phone2,jdbcType=VARCHAR}, need_platform_support = #{record.needPlatformSupport,jdbcType=VARCHAR}, category_id = #{record.categoryId,jdbcType=BIGINT}, expected_quote = #{record.expectedQuote,jdbcType=DECIMAL}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, created_by = #{record.createdBy,jdbcType=BIGINT}, deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{record.deletedBy,jdbcType=BIGINT} update requirement_api system_name = #{systemName,jdbcType=VARCHAR}, system_type = #{systemType,jdbcType=VARCHAR}, belong_to = #{belongTo,jdbcType=VARCHAR}, has_ownership = #{hasOwnership,jdbcType=TINYINT}, network_type = #{networkType,jdbcType=VARCHAR}, dev_language = #{devLanguage,jdbcType=VARCHAR}, interface_count = #{interfaceCount,jdbcType=INTEGER}, deadline = #{deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{rqrmntUser,jdbcType=VARCHAR}, contact1 = #{contact1,jdbcType=VARCHAR}, phone1 = #{phone1,jdbcType=VARCHAR}, contact2 = #{contact2,jdbcType=VARCHAR}, phone2 = #{phone2,jdbcType=VARCHAR}, need_platform_support = #{needPlatformSupport,jdbcType=VARCHAR}, category_id = #{categoryId,jdbcType=BIGINT}, expected_quote = #{expectedQuote,jdbcType=DECIMAL}, created_at = #{createdAt,jdbcType=TIMESTAMP}, created_by = #{createdBy,jdbcType=BIGINT}, deleted_at = #{deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{deletedBy,jdbcType=BIGINT}, system_desc = #{systemDesc,jdbcType=LONGVARCHAR}, url = #{url,jdbcType=LONGVARCHAR}, attachment = #{attachment,jdbcType=LONGVARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update requirement_api set system_name = #{systemName,jdbcType=VARCHAR}, system_type = #{systemType,jdbcType=VARCHAR}, belong_to = #{belongTo,jdbcType=VARCHAR}, has_ownership = #{hasOwnership,jdbcType=TINYINT}, network_type = #{networkType,jdbcType=VARCHAR}, dev_language = #{devLanguage,jdbcType=VARCHAR}, interface_count = #{interfaceCount,jdbcType=INTEGER}, deadline = #{deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{rqrmntUser,jdbcType=VARCHAR}, contact1 = #{contact1,jdbcType=VARCHAR}, phone1 = #{phone1,jdbcType=VARCHAR}, contact2 = #{contact2,jdbcType=VARCHAR}, phone2 = #{phone2,jdbcType=VARCHAR}, need_platform_support = #{needPlatformSupport,jdbcType=VARCHAR}, category_id = #{categoryId,jdbcType=BIGINT}, expected_quote = #{expectedQuote,jdbcType=DECIMAL}, created_at = #{createdAt,jdbcType=TIMESTAMP}, created_by = #{createdBy,jdbcType=BIGINT}, deleted_at = #{deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{deletedBy,jdbcType=BIGINT}, system_desc = #{systemDesc,jdbcType=LONGVARCHAR}, url = #{url,jdbcType=LONGVARCHAR}, attachment = #{attachment,jdbcType=LONGVARCHAR}, description = #{description,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update requirement_api set system_name = #{systemName,jdbcType=VARCHAR}, system_type = #{systemType,jdbcType=VARCHAR}, belong_to = #{belongTo,jdbcType=VARCHAR}, has_ownership = #{hasOwnership,jdbcType=TINYINT}, network_type = #{networkType,jdbcType=VARCHAR}, dev_language = #{devLanguage,jdbcType=VARCHAR}, interface_count = #{interfaceCount,jdbcType=INTEGER}, deadline = #{deadline,jdbcType=TIMESTAMP}, rqrmnt_user = #{rqrmntUser,jdbcType=VARCHAR}, contact1 = #{contact1,jdbcType=VARCHAR}, phone1 = #{phone1,jdbcType=VARCHAR}, contact2 = #{contact2,jdbcType=VARCHAR}, phone2 = #{phone2,jdbcType=VARCHAR}, need_platform_support = #{needPlatformSupport,jdbcType=VARCHAR}, category_id = #{categoryId,jdbcType=BIGINT}, expected_quote = #{expectedQuote,jdbcType=DECIMAL}, created_at = #{createdAt,jdbcType=TIMESTAMP}, created_by = #{createdBy,jdbcType=BIGINT}, deleted_at = #{deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{deletedBy,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}