insert into rl_labor_release (project,subcontract,team_category,number_people,team_number,holder_req,contact_person,contact_way,remark,release_time,is_active,is_online,release_status,release_person,user_id) values (#{project},#{subcontract},#{teamCategory},#{numberPeople},#{teamNumber},#{holderReq},#{contactPerson},#{contactWay},#{remark},#{releaseTime},'1','1','0',#{releasePerson},#{userId}) update rl_labor_release set is_online = '0' where id = #{id} update rl_labor_release set is_active = '0' where id = #{id} insert into rl_contact_maintenance(depart_ment,release_people,release_way,audit_type,is_enable,is_active) values (#{departMent},#{releasePeople},#{releaseWay},#{auditType},'1','1') update rl_contact_maintenance set depart_ment = #{departMent}, release_people = #{releasePeople}, release_way = #{releaseWay}, audit_type = #{auditType} where id = #{id} update rl_contact_maintenance set is_active = '0' where id = #{id} update rl_contact_maintenance set is_enable = #{isEnable} where id = #{id}