일계부 데이터 Excel 일괄 업로드 기능 추가

관리자 > 임가현황
This commit is contained in:
2025-11-11 17:53:04 +09:00
parent 85a7a1be6d
commit f500993ac1
121 changed files with 3339 additions and 316 deletions

View File

@@ -51,9 +51,43 @@
, unit_self = #{unitSelf}
, price = #{price}
, estimated_value = #{estimatedValue}
, ocr_error_result = false
where is_deleted = false
and daily_record_seq = #{dailyRecordSeq}
and id = #{id}
</update>
<update id="updateDailyIncomeOnlyId">
update daily_income set <include refid="common.fields.UpdateBaseSet"/>
, is_credit = #{credit}
, expense_mark = #{expenseMark}
, crop_code = #{cropCode}
, income_kind = #{incomeKind}
, source_purpose = #{sourcePurpose}
, quantity = #{quantity}
, unit_code = #{unitCode}
, unit_self = #{unitSelf}
, price = #{price}
, estimated_value = #{estimatedValue}
, ocr_error_result = false
, daily_record_seq = #{dailyRecordSeq}
where is_deleted = false
and id = #{id}
</update>
<insert id="createDailyIncomeExcel" useGeneratedKeys="true" keyProperty="id">
insert into daily_income (
daily_record_seq, input_type, category, income_mark, expense_mark
, is_credit, crop_code, income_kind, source_purpose
, quantity, unit_code, unit_self, price, estimated_value
, is_deleted
, <include refid="common.fields.CreateUpdateBaseColumns"/>
) values (
#{dailyRecordSeq}, #{inputType}, #{category}, #{incomeMark}, #{expenseMark}
, #{credit}, #{cropCode}, #{incomeKind}, #{sourcePurpose}
, #{quantity}, #{unitCode}, #{unitSelf}, #{price}, #{estimatedValue}
, false
, <include refid="common.fields.CreateUpdateBaseValues"/>
)
</insert>
</mapper>