insert into daily_income (
daily_record_seq, input_type, is_credit, crop_code, category_code, category_self, source_purpose
, quantity, unit_code, price, estimated_value
, is_deleted
,
) values (
#{dailyRecordSeq}
, #{inputType}, #{credit}, #{cropCode}, #{categoryCode}, #{categorySelf}, #{sourcePurpose}
, #{quantity}, #{unitCode}, #{price}, #{estimatedValue}
, false
,
)
update daily_income set
, is_credit = #{credit}
, crop_code = #{cropCode}
, category_code = #{categoryCode}
, 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}