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} APC_ID, APC_SPECS_ID, APC_CONTRACT_ID, APC_PRICE, APC_WEIGHT, APC_CREATE_USER, APC_CREATE_TIME, APC_MODIFY_USER, APC_MODIFY_TIME delete from ap_contract_detail where APC_ID = #{id,jdbcType=VARCHAR} delete from ap_contract_detail insert into ap_contract_detail (APC_ID, APC_SPECS_ID, APC_CONTRACT_ID, APC_PRICE, APC_WEIGHT, APC_CREATE_USER, APC_CREATE_TIME, APC_MODIFY_USER, APC_MODIFY_TIME ) values (#{id,jdbcType=VARCHAR}, #{specsId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR} ) insert into ap_contract_detail APC_ID, APC_SPECS_ID, APC_CONTRACT_ID, APC_PRICE, APC_WEIGHT, APC_CREATE_USER, APC_CREATE_TIME, APC_MODIFY_USER, APC_MODIFY_TIME, #{id,jdbcType=VARCHAR}, #{specsId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR}, update ap_contract_detail APC_ID = #{record.id,jdbcType=VARCHAR}, APC_SPECS_ID = #{record.specsId,jdbcType=VARCHAR}, APC_CONTRACT_ID = #{record.contractId,jdbcType=VARCHAR}, APC_PRICE = #{record.price,jdbcType=VARCHAR}, APC_WEIGHT = #{record.weight,jdbcType=VARCHAR}, APC_CREATE_USER = #{record.createUser,jdbcType=VARCHAR}, APC_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR}, APC_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR}, APC_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR}, update ap_contract_detail set APC_ID = #{record.id,jdbcType=VARCHAR}, APC_SPECS_ID = #{record.specsId,jdbcType=VARCHAR}, APC_CONTRACT_ID = #{record.contractId,jdbcType=VARCHAR}, APC_PRICE = #{record.price,jdbcType=VARCHAR}, APC_WEIGHT = #{record.weight,jdbcType=VARCHAR}, APC_CREATE_USER = #{record.createUser,jdbcType=VARCHAR}, APC_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR}, APC_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR}, APC_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR} update ap_contract_detail APC_SPECS_ID = #{specsId,jdbcType=VARCHAR}, APC_CONTRACT_ID = #{contractId,jdbcType=VARCHAR}, APC_PRICE = #{price,jdbcType=VARCHAR}, APC_WEIGHT = #{weight,jdbcType=VARCHAR}, APC_CREATE_USER = #{createUser,jdbcType=VARCHAR}, APC_CREATE_TIME = #{createTime,jdbcType=VARCHAR}, APC_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR}, APC_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR}, where APC_ID = #{id,jdbcType=VARCHAR} update ap_contract_detail set APC_SPECS_ID = #{specsId,jdbcType=VARCHAR}, APC_CONTRACT_ID = #{contractId,jdbcType=VARCHAR}, APC_PRICE = #{price,jdbcType=VARCHAR}, APC_WEIGHT = #{weight,jdbcType=VARCHAR}, APC_CREATE_USER = #{createUser,jdbcType=VARCHAR}, APC_CREATE_TIME = #{createTime,jdbcType=VARCHAR}, APC_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR}, APC_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR} where APC_ID = #{id,jdbcType=VARCHAR}