<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jeeplus.centrecareful.approvalInfo.mapper.ZsReimbursementDetailInfoReportMapper">

	<insert id="insertCwDetail">
		insert into cw_reimbursement_detail_info_report (
		  id,
		  create_by_id,
		  create_time,
		  update_by_id,
		  update_time,
		  del_flag,
		  info_id,
		  user_id,
		  dept_id,
		  type_id,
		  report_id,
		  report_number,
		  number,
		  receipt_number,
		  days,
		  content,
		  project_id,
		  tenant_id
		)
		values
		  (
			#{id},
			#{createById},
			#{createTime},
			#{updateById},
			#{updateTime},
			#{delFlag},
			#{infoId},
			#{userId},
			#{deptId},
			#{typeId},
			#{reportId},
			#{reportNumber},
			#{number},
			#{receiptNumber},
			#{days},
			#{content},
			#{projectId},
			#{tenantId}
		  ) ;

	</insert>

	<update id="deleteCwDetail">
		update cw_reimbursement_detail_info_report set del_flag = 1 where info_id = #{id}
	</update>

</mapper>
