insert into daily_income ( daily_record_seq, input_type, is_credit, expense_mark_code, crop_code, category_self, source_purpose , quantity, unit_code, price, estimated_value , is_deleted , ) values ( #{dailyRecordSeq} , #{inputType}, #{credit}, #{expenseMarkCode}, #{cropCode}, #{categorySelf}, #{sourcePurpose} , #{quantity}, #{unitCode}, #{price}, #{estimatedValue} , false , ) update daily_income set , is_credit = #{credit} , expense_mark_code = #{expenseMarkCode} , crop_code = #{cropCode} , category_self = #{categorySelf} , source_purpose = #{sourcePurpose} , quantity = #{quantity} , unit_code = #{unitCode} , price = #{price} , estimated_value = #{estimatedValue} where is_deleted = false and daily_record_seq = #{dailyRecordSeq} and id = #{id} update daily_income set where is_deleted = false and daily_record_seq = #{dailyRecordSeq} and id = #{id}