UPDATE wf_task_record
SET
NEW_TIME = #{operateTime}
WHERE ID = #{id}
UPDATE wf_info_record
SET
NEW_TIME = #{operateTime}
WHERE ID = #{id}
update t_project_cost_calculation set total_amount = #{totalAmount} where id = #{calculationId}
delete
from t_project_cost_calculation_segment
where calculation_detail_id = #{id}
delete
from t_project_cost_calculation_detail
where calculation_id = #{id}
insert into wf_project_settlement_details(
ID,
SETTLEMENT_ID,
OPERATE_TYPE,
MACHINE_TYPE_ID,
MACHINE_TYPE_NAME,
MACHINE_CODE,
MACHINE_MODEL,
MACHINE_UNIT,
PRICE,
LEASE_NUM,
RETURN_NUM,
LEASE_UNIT,
OPERATE_PERSON_NAME,
OPERATE_DATE,
TASK_CODE
) values
(
#{item.id},
#{item.settlementId},
#{item.operateType},
#{item.machineTypeId},
#{item.machineTypeName},
#{item.machineCode},
#{item.machineModel},
#{item.machineUnit},
#{item.price},
#{item.leaseNum},
#{item.returnNum},
#{item.leaseUnit},
#{item.operatePersonName},
#{item.operateDate},
#{item.taskCode}
)