UPDATE bm_agreement_info SET is_push = #{isPush} WHERE agreement_id = #{agreementId}
INSERT INTO calc_project_month (MONTH)
VALUES (#{month})
INSERT INTO project_month_costs(
AGREEMENT_ID,
LEASE_MONEY,
CONSUME_MONEY,
LOST_MONEY,
REPAIR_MONEY,
SCRAP_MONEY,
TASK_ID,
TYPE
)
VALUES
(
#{item.agreementId},
#{item.leaseMoney},
#{item.consumeMoney},
#{item.lostMoney},
#{item.repairMoney},
#{item.scrapMoney},
#{item.taskId},
#{item.settlementType}
)
insert into project_month_info(agreementId, typeId, leaseNum, leaseDate, returnDate,
leasePrice, leaseMoney, taskId, buy_price, money, jiju_type)
values
(
#{item.agreementId},
#{item.typeId},
#{item.num},
#{item.calcStartTime},
#{item.calcEndTime},
#{item.leasePrice},
#{item.leaseCost},
#{item.taskId},
null,
0.00,
#{item.equipmentType}
)