id, prid, order_no, aid, aname, `type`, type_other, `status`, process_status, total_amount, attachment_url, apply_dep, pay_dep, eaaid, create_time, district_name, user_names, release_start, release_end, duration, examine_name, settlement_amount, debit_id, target_type, liquidation_status, remarks delete from expense_account where id = #{id,jdbcType=INTEGER} insert into expense_account (prid, order_no, aid, aname, `type`, type_other, `status`, process_status, total_amount, attachment_url, apply_dep, pay_dep, eaaid, create_time, district_name, user_names, release_start, release_end, duration, examine_name, settlement_amount, debit_id, target_type, liquidation_status, remarks) values (#{prid,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{typeOther,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{processStatus,jdbcType=INTEGER}, #{totalAmount,jdbcType=DECIMAL}, #{attachmentUrl,jdbcType=VARCHAR}, #{applyDep,jdbcType=VARCHAR}, #{payDep,jdbcType=VARCHAR}, #{eaaid,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{districtName,jdbcType=VARCHAR}, #{userNames,jdbcType=VARCHAR}, #{releaseStart,jdbcType=TIMESTAMP}, #{releaseEnd,jdbcType=TIMESTAMP}, #{duration,jdbcType=DOUBLE}, #{examineName,jdbcType=VARCHAR}, #{settlementAmount,jdbcType=DECIMAL}, #{debitId,jdbcType=INTEGER}, #{targetType,jdbcType=INTEGER}, #{liquidationStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}) insert into expense_account prid, order_no, aid, aname, `type`, type_other, `status`, process_status, total_amount, attachment_url, apply_dep, pay_dep, eaaid, create_time, district_name, user_names, release_start, release_end, duration, examine_name, settlement_amount, debit_id, target_type, liquidation_status, remarks, #{prid,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{typeOther,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{processStatus,jdbcType=INTEGER}, #{totalAmount,jdbcType=DECIMAL}, #{attachmentUrl,jdbcType=VARCHAR}, #{applyDep,jdbcType=VARCHAR}, #{payDep,jdbcType=VARCHAR}, #{eaaid,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{districtName,jdbcType=VARCHAR}, #{userNames,jdbcType=VARCHAR}, #{releaseStart,jdbcType=TIMESTAMP}, #{releaseEnd,jdbcType=TIMESTAMP}, #{duration,jdbcType=DOUBLE}, #{examineName,jdbcType=VARCHAR}, #{settlementAmount,jdbcType=DECIMAL}, #{debitId,jdbcType=INTEGER}, #{targetType,jdbcType=INTEGER}, #{liquidationStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}, update expense_account prid = #{prid,jdbcType=INTEGER}, order_no = #{orderNo,jdbcType=VARCHAR}, aid = #{aid,jdbcType=VARCHAR}, aname = #{aname,jdbcType=VARCHAR}, `type` = #{type,jdbcType=INTEGER}, type_other = #{typeOther,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER}, process_status = #{processStatus,jdbcType=INTEGER}, total_amount = #{totalAmount,jdbcType=DECIMAL}, attachment_url = #{attachmentUrl,jdbcType=VARCHAR}, apply_dep = #{applyDep,jdbcType=VARCHAR}, pay_dep = #{payDep,jdbcType=VARCHAR}, eaaid = #{eaaid,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, district_name = #{districtName,jdbcType=VARCHAR}, user_names = #{userNames,jdbcType=VARCHAR}, release_start = #{releaseStart,jdbcType=TIMESTAMP}, release_end = #{releaseEnd,jdbcType=TIMESTAMP}, duration = #{duration,jdbcType=DOUBLE}, examine_name = #{examineName,jdbcType=VARCHAR}, settlement_amount = #{settlementAmount,jdbcType=DECIMAL}, debit_id = #{debitId,jdbcType=INTEGER}, target_type = #{targetType,jdbcType=INTEGER}, liquidation_status = #{liquidationStatus,jdbcType=INTEGER}, remarks = #{remarks,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update expense_account set prid = #{prid,jdbcType=INTEGER}, order_no = #{orderNo,jdbcType=VARCHAR}, aid = #{aid,jdbcType=VARCHAR}, aname = #{aname,jdbcType=VARCHAR}, `type` = #{type,jdbcType=INTEGER}, type_other = #{typeOther,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER}, process_status = #{processStatus,jdbcType=INTEGER}, total_amount = #{totalAmount,jdbcType=DECIMAL}, attachment_url = #{attachmentUrl,jdbcType=VARCHAR}, apply_dep = #{applyDep,jdbcType=VARCHAR}, pay_dep = #{payDep,jdbcType=VARCHAR}, eaaid = #{eaaid,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, district_name = #{districtName,jdbcType=VARCHAR}, user_names = #{userNames,jdbcType=VARCHAR}, release_start = #{releaseStart,jdbcType=TIMESTAMP}, release_end = #{releaseEnd,jdbcType=TIMESTAMP}, duration = #{duration,jdbcType=DOUBLE}, examine_name = #{examineName,jdbcType=VARCHAR}, settlement_amount = #{settlementAmount,jdbcType=DECIMAL}, debit_id = #{debitId,jdbcType=INTEGER}, target_type = #{targetType,jdbcType=INTEGER}, liquidation_status = #{liquidationStatus,jdbcType=INTEGER}, remarks = #{remarks,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER} a.id, a.prid, a.order_no orderNo, o.contract_no contractNo ,tm.buyer_name buyerName, a.aid, a.aname, a.`type`, a.type_other typeOther , a.status,a.process_status processStatus,a.total_amount totalAmount,a.debit_id debitId, a.attachment_url attachmentUrl,a.apply_dep applyDep, a.pay_dep payDep, a.eaaid,a.district_name districtName, a.user_names userNames,a.create_time, a.release_start,a.release_end, a.duration,b.name appDepName, c.name payDepName,d.name ,d.bank ,d.accounts ,a.settlement_amount settlementAmount, a.liquidation_status liquidationStatus, a.remarks, date_format(a.create_time,'%Y-%m-%d %H:%i:%S')createTimeStr, date_format(a.release_start,'%Y-%m-%d %H:%i:%S')releaseStartStr, date_format(a.release_end,'%Y-%m-%d %H:%i:%S')releaseEndStr