select hospital_id, hospital_code, hospital_name, hospital_userinfo, status, create_by, create_time, remark from Reg_hospital update Reg_hospital hospital_code = #{hospitalCode}, hospital_name = #{hospitalName}, hospital_userinfo = #{hospitalUserinfo}, status = #{status}, remark = #{remark}, update_by = #{updateBy}, update_time = getdate() where hospital_id = #{hospitalId} insert into Reg_hospital( hospital_id, hospital_code, hospital_name, hospital_userinfo, status, remark, create_by, create_time )values( #{hospitalId}, #{hospitalCode}, #{hospitalName}, #{hospitalUserinfo}, #{status}, #{remark}, #{createBy}, getdate() ) delete from Reg_hospital where hospital_id = #{hospitalId} delete from Reg_hospital where hospital_id in #{hospitalId}