select exp_id, exp_code, exp_pq_code, exp_bid_code, exp_expenditure_mode, exp_customer_bm, exp_customer_name, exp_expenditure_people, exp_project, exp_return_date, exp_expenditure_type, exp_expenditure_amount, exp_bid_area, exp_expenditure_date, exp_expenditure_amount_uppercase, exp_staff_tureorfales, exp_back_office, exp_salesman_code, exp_salesman_bm, exp_salesman_name, exp_salesman_dept_id, exp_salesman_dept_name, exp_dispatch_status, exp_account_name, exp_account_number, exp_deposit_bank, exp_line_number_and_othres, exp_request_remark, exp_return_remark, exp_approval_status, exp_oa_approval_status, create_by, create_time, update_by, update_time from expenses
insert into expenses
exp_id,
exp_code,
exp_pq_code,
exp_bid_code,
exp_expenditure_mode,
exp_customer_bm,
exp_customer_name,
exp_expenditure_people,
exp_project,
exp_return_date,
exp_expenditure_type,
exp_expenditure_amount,
exp_bid_area,
exp_expenditure_date,
exp_expenditure_amount_uppercase,
exp_staff_tureorfales,
exp_back_office,
exp_salesman_code,
exp_salesman_bm,
exp_salesman_name,
exp_salesman_dept_id,
exp_salesman_dept_name,
exp_dispatch_status,
exp_account_name,
exp_account_number,
exp_deposit_bank,
exp_line_number_and_othres,
exp_request_remark,
exp_return_remark,
exp_approval_status,
exp_oa_approval_status,
create_by,
create_time,
update_by,
update_time,
#{expId},
#{expCode},
#{expPqCode},
#{expBidCode},
#{expExpenditureMode},
#{expCustomerBm},
#{expCustomerName},
#{expExpenditurePeople},
#{expProject},
#{expReturnDate},
#{expExpenditureType},
#{expExpenditureAmount},
#{expBidArea},
#{expExpenditureDate},
#{expExpenditureAmountUppercase},
#{expStaffTureorfales},
#{expBackOffice},
#{expSalesmanCode},
#{expSalesmanBm},
#{expSalesmanName},
#{expSalesmanDeptId},
#{expSalesmanDeptName},
#{expDispatchStatus},
#{expAccountName},
#{expAccountNumber},
#{expDepositBank},
#{expLineNumberAndOthres},
#{expRequestRemark},
#{expReturnRemark},
#{expApprovalStatus},
#{expOaApprovalStatus},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update expenses
exp_code = #{expCode},
exp_pq_code = #{expPqCode},
exp_bid_code = #{expBidCode},
exp_expenditure_mode = #{expExpenditureMode},
exp_customer_bm = #{expCustomerBm},
exp_customer_name = #{expCustomerName},
exp_expenditure_people = #{expExpenditurePeople},
exp_project = #{expProject},
exp_return_date = #{expReturnDate},
exp_expenditure_type = #{expExpenditureType},
exp_expenditure_amount = #{expExpenditureAmount},
exp_bid_area = #{expBidArea},
exp_expenditure_date = #{expExpenditureDate},
exp_expenditure_amount_uppercase = #{expExpenditureAmountUppercase},
exp_staff_tureorfales = #{expStaffTureorfales},
exp_back_office = #{expBackOffice},
exp_salesman_code = #{expSalesmanCode},
exp_salesman_bm = #{expSalesmanBm},
exp_salesman_name = #{expSalesmanName},
exp_salesman_dept_id = #{expSalesmanDeptId},
exp_salesman_dept_name = #{expSalesmanDeptName},
exp_dispatch_status = #{expDispatchStatus},
exp_account_name = #{expAccountName},
exp_account_number = #{expAccountNumber},
exp_deposit_bank = #{expDepositBank},
exp_line_number_and_othres = #{expLineNumberAndOthres},
exp_request_remark = #{expRequestRemark},
exp_return_remark = #{expReturnRemark},
exp_approval_status = #{expApprovalStatus},
exp_oa_approval_status = #{expOaApprovalStatus},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where exp_id = #{expId}
delete from expenses where exp_id = #{expId}
delete from expenses where exp_id in
#{expId}