id, code, task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id delete from lease_apply_info where id = #{id,jdbcType=INTEGER} insert into lease_apply_info (code, task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id) values (#{code,jdbcType=VARCHAR}, #{taskId,jdbcType=INTEGER}, #{leasePerson,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{companyAuditBy,jdbcType=INTEGER}, #{companyAuditTime,jdbcType=VARCHAR}, #{companyAuditRemark,jdbcType=VARCHAR}, #{deptAuditBy,jdbcType=INTEGER}, #{deptAuditTime,jdbcType=VARCHAR}, #{deptAuditRemark,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}) insert into lease_apply_info code, task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id, #{code,jdbcType=VARCHAR}, #{taskId,jdbcType=INTEGER}, #{leasePerson,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{companyAuditBy,jdbcType=INTEGER}, #{companyAuditTime,jdbcType=VARCHAR}, #{companyAuditRemark,jdbcType=VARCHAR}, #{deptAuditBy,jdbcType=INTEGER}, #{deptAuditTime,jdbcType=VARCHAR}, #{deptAuditRemark,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}, update lease_apply_info task_id = #{taskId,jdbcType=INTEGER}, lease_person = #{leasePerson,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, `type` = #{type,jdbcType=VARCHAR}, company_audit_by = #{companyAuditBy,jdbcType=INTEGER}, company_audit_time = #{companyAuditTime,jdbcType=VARCHAR}, company_audit_remark = #{companyAuditRemark,jdbcType=VARCHAR}, dept_audit_by = #{deptAuditBy,jdbcType=INTEGER}, dept_audit_time = #{deptAuditTime,jdbcType=VARCHAR}, dept_audit_remark = #{deptAuditRemark,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update lease_apply_info set task_id = #{taskId,jdbcType=INTEGER}, lease_person = #{leasePerson,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, `type` = #{type,jdbcType=VARCHAR}, company_audit_by = #{companyAuditBy,jdbcType=INTEGER}, company_audit_time = #{companyAuditTime,jdbcType=VARCHAR}, company_audit_remark = #{companyAuditRemark,jdbcType=VARCHAR}, dept_audit_by = #{deptAuditBy,jdbcType=INTEGER}, dept_audit_time = #{deptAuditTime,jdbcType=VARCHAR}, dept_audit_remark = #{deptAuditRemark,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER} update lease_apply_info when id = #{item.id,jdbcType=INTEGER} then #{item.taskId,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.leasePerson,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.phone,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.type,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditBy,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditTime,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditRemark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditBy,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditTime,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditRemark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyId,jdbcType=INTEGER} where id in #{item.id,jdbcType=INTEGER} update lease_apply_info when id = #{item.id,jdbcType=INTEGER} then #{item.taskId,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.leasePerson,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.phone,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.type,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditBy,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditTime,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyAuditRemark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditBy,jdbcType=INTEGER} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditTime,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.deptAuditRemark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.companyId,jdbcType=INTEGER} where id in #{item.id,jdbcType=INTEGER} insert into lease_apply_info (task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id) values (#{item.taskId,jdbcType=INTEGER}, #{item.leasePerson,jdbcType=VARCHAR}, #{item.phone,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, #{item.companyAuditBy,jdbcType=INTEGER}, #{item.companyAuditTime,jdbcType=VARCHAR}, #{item.companyAuditRemark,jdbcType=VARCHAR}, #{item.deptAuditBy,jdbcType=INTEGER}, #{item.deptAuditTime,jdbcType=VARCHAR}, #{item.deptAuditRemark,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.remark,jdbcType=VARCHAR}, #{item.companyId,jdbcType=INTEGER} ) insert into lease_apply_info id, task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id, values #{id,jdbcType=INTEGER}, #{taskId,jdbcType=INTEGER}, #{leasePerson,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{companyAuditBy,jdbcType=INTEGER}, #{companyAuditTime,jdbcType=VARCHAR}, #{companyAuditRemark,jdbcType=VARCHAR}, #{deptAuditBy,jdbcType=INTEGER}, #{deptAuditTime,jdbcType=VARCHAR}, #{deptAuditRemark,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}, on duplicate key update id = #{id,jdbcType=INTEGER}, task_id = #{taskId,jdbcType=INTEGER}, lease_person = #{leasePerson,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, `type` = #{type,jdbcType=VARCHAR}, company_audit_by = #{companyAuditBy,jdbcType=INTEGER}, company_audit_time = #{companyAuditTime,jdbcType=VARCHAR}, company_audit_remark = #{companyAuditRemark,jdbcType=VARCHAR}, dept_audit_by = #{deptAuditBy,jdbcType=INTEGER}, dept_audit_time = #{deptAuditTime,jdbcType=VARCHAR}, dept_audit_remark = #{deptAuditRemark,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=INTEGER}, insert into lease_apply_info id, task_id, lease_person, phone, `type`, company_audit_by, company_audit_time, company_audit_remark, dept_audit_by, dept_audit_time, dept_audit_remark, create_by, create_time, update_by, update_time, remark, company_id, values #{id,jdbcType=INTEGER}, #{taskId,jdbcType=INTEGER}, #{leasePerson,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{companyAuditBy,jdbcType=INTEGER}, #{companyAuditTime,jdbcType=VARCHAR}, #{companyAuditRemark,jdbcType=VARCHAR}, #{deptAuditBy,jdbcType=INTEGER}, #{deptAuditTime,jdbcType=VARCHAR}, #{deptAuditRemark,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}, on duplicate key update id = #{id,jdbcType=INTEGER}, task_id = #{taskId,jdbcType=INTEGER}, lease_person = #{leasePerson,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, `type` = #{type,jdbcType=VARCHAR}, company_audit_by = #{companyAuditBy,jdbcType=INTEGER}, company_audit_time = #{companyAuditTime,jdbcType=VARCHAR}, company_audit_remark = #{companyAuditRemark,jdbcType=VARCHAR}, dept_audit_by = #{deptAuditBy,jdbcType=INTEGER}, dept_audit_time = #{deptAuditTime,jdbcType=VARCHAR}, dept_audit_remark = #{deptAuditRemark,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=INTEGER},