insert into daily_farming (
daily_record_seq, income_mark, expense_mark
, product_code, product_self, usage
, quantity, unit_code, unit_self, estimated_value
, is_deleted
,
) values (
#{dailyRecordSeq}, #{incomeMark}, #{expenseMark}
, #{productCode}, #{productSelf}, #{usage}
, #{quantity}, #{unitCode}, #{unitSelf}, #{estimatedValue}
, false
,
)
update daily_farming set
, income_mark = #{incomeMark}
, expense_mark = #{expenseMark}
, product_code = #{productCode}
, product_self = #{productSelf}
, usage = #{usage}
, quantity = #{quantity}
, unit_code = #{unitCode}
, unit_self = #{unitSelf}
, estimated_value = #{estimatedValue}
where is_deleted = false
and daily_record_seq = #{dailyRecordSeq}
and id = #{id}
update daily_farming set
where is_deleted = false
and daily_record_seq = #{dailyRecordSeq}
and id = #{id}